ADSP-214xx SHARC Processor Hardware Reference
15-31
Serial Peripheral Interface Ports
Core Master Transfers
When a device is to be used as a master, configure the ports using the fol-
lowing procedure.
1. Initiate the SPI transfer by writing or reading to/from SPI buffers.
The trigger mechanism for starting the transfer is dependant upon
the
TIMOD
bits in the
SPICTLx
registers. See
for more details.
2. The SPI generates the programmed clock pulses on
SPICLK.
The
data is shifted out of
MOSI
and shifted in from
MISO
simultaneously.
Before starting to shift, the transmit shift register is loaded with the
contents of the
TXSPIx
registers. At the end of the transfer, the con-
tents of the receive shift register are loaded into the
RXSPI
buffer.
3. With each new buffer access, the SPI continues to send and receive
words, according to the SPI transfer mode (
TIMOD
bit in SPICTLx
registers). See
for more details.
4. If there are no further SPI buffer accesses the
SPICLK
signal is
stalled until new core requests are received.
DMA Master Transfers
To configure the SPI port for master mode DMA transfers:
1. Define DMA receive (or transmit) transfer parameters by writing
to the
IISPIx
,
IMSPIx
, and
CSPIx
registers.
2. Write to the
SPIDMACx
register to enable the SPI DMA engine
(
SPIDEN
, bit 0). And configure the following:
• A receive access (
SPIRCV
= 1) or
• A transmit access (
SPIRCV
= 0)
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...