Master Mode Dma Operation - Analog Devices SHARC ADSP-21368 Hardware Reference Manual

Hide thumbs Also See for SHARC ADSP-21368:
Table of Contents

Advertisement

SPI transfers. For example, the
scratch register for temporary data storage. Writing to the
sets the
bit.
TXS
When the SPI DMA engine is configured for transmitting:
1. The receive interface cannot generate an interrupt, but the status
can be polled.
2. The four-deep FIFO is not available in the receive path.
3. The
RXSPIx
Similarly, when the SPI DMA engine is configured for receiving,
1. The transmit interface cannot generate an interrupt, but the status
can be polled.
2. The four-deep FIFO is not available in the transmit path.
3. The
TXSPIx

Master Mode DMA Operation

To configure the SPI port for master mode DMA transfers:
1. Specify which
one or more of the
registers.
2. Enable the device as a master and configure the SPI system by
selecting the appropriate word length, transfer format, baud rate,
and so on in the
(bits 1–0) in the
or receive with DMA mode (
3. Activate the desired slaves by clearing one or more of the SPI flag
bits (
SPIFLGx
ADSP-21368 SHARC Processor Hardware Reference
Serial Peripheral Interface Ports
TXSPIx
register is used to receive data.
register is used to transmit data.
pins to use as the slave-select signals by setting
FLAG
bits (bits 3–0) in the SPI flag (
DSxEN
and
SPIBAUDx
registers is configured to select transmit
SPICTLx
TIMOD
) of
registers if
SPIFLGx
registers should not be used as a
registers. The
SPICTLx
= 10).
= 1.
CPHASE
registers
TXSPIx
)
SPIFLGx
field
TIMOD
6-15

Advertisement

Table of Contents
loading

Table of Contents