Texas Instruments OMAP5912 Reference Manual page 1110

Multimedia processor device overview and architecture
Hide thumbs Also See for OMAP5912:
Table of Contents

Advertisement

DMA Receive Protocol in Slave Mode
SPRU760B
The protocol has several steps:
Step 1: MCU-DSP writes to the setup and control registers (SPI_SET1,
SPI_SET2, and SPI_CTRL).
If CEi = 0 in SPI_SET2 and the RD bit is set, the reception starts
-
as soon as the slave device enable goes low (nSPEN0) and the
shift register clock is activated (SRCLK).
Step 2: When the reception is completed:
The device enable goes high (nSPEN0), if CEi = 0 in SPI_SET2.
-
The RX_FULL bit is set in the data status register (SPI_DSR).
-
The shift register (SPI_SR) is copied into the receive register
-
(SPI_RX).
A receive DMA request is generated.
-
Step 3: Once the DMA reads the receive register (SPI_RX):
The RX_FULL status bit is reset in the data status register
-
(SPI_DSR).
The receive DMA request is released.
-
Another reception can start.
-
To stop the process, the MCU-DSP must reset the RD bit in the con-
trol register (SPI_CTRL).
SPI Master/Slave
Serial Interfaces
45

Advertisement

Table of Contents
loading

Table of Contents