ADSP-214xx SHARC Processor Hardware Reference
A-235
Registers Reference
13
OPD
Open Drain Output Enable.
Enables open drain data output enable for MOSI
and MISO pins.
0 = Drive (MOSI and MISO driven)
1 = Open drain (MOSI and MISO three-stated).
In a multimaster/slave SPI system, the data output pins (MOSI and MISO) can
be configured to behave as open drain drivers to prevent contention and possi-
ble damage to pin drivers. An external pull-up resistor is required on both the
MOSI/MISO pins when this option is selected.
When the OPD bit is set and the SPI ports are configured as masters,
the SPI_MOSI_O pin is three-stated. Instead the SPI_MOSI_PBEN_O pin is
driven and act as output enable pin. Note that the corresponding DPI input
buffer pin should be tied to GND.
Similarly, when OPD is set and the SPI ports are configured as slaves, the
SPI_MISO_O pin is three-stated. Instead the SPI_MISO_PBEN_O pin is
driven and act as output enable pin. Note that the corresponding DPI input
buffer pin should be tied to GND. See
“Pin Buffers as Open Drain” on
.
14
SPIEN
SPI Port Enable.
Enables the SPI port. If configured as a master (SPIMS=1)
and SPIEN=0, the MOSI and SPICLK outputs are disabled, and the MISO
input is ignored. If configured as a slave (SPIMS=0) and SPIEN=0, the MOSI
and SPICLK inputs are ignored, and the MISO output is disabled. The SPIEN
and SPIMS bits can be cleared by hardware if the MME-bit is set. For SPI
slaves, the slave-select input (
SPIDS
) acts like a reset for the internal SPI logic.
For this reason, the
SPIDS
line must be error free.
The SPIEN bit can also be used as a software reset of the internal SPI logic. An
exception to this is the W1C-type (write 1-to-clear) bits in the SPISTATx regis-
ters. These bits remain set if they are already set.
Note: always clear the W1C-type bits in SPISTATx registers before re-enabling
the SPI, as these bits do not get cleared even if the SPI is disabled. This can be
done by writing 0xFF to the SPISTATx registers. In the case of an MME error,
enable the SPI ports after
SPIDS
is deasserted.
0 = SPI module is disabled
1 = SPI module is enabled
Table A-122. SPICTL Register Bit Descriptions (RW) (Cont’d)
Bit
Name
Description
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...