Texas Instruments OMAP5912 Reference Manual page 1098

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

Advertisement

MCU-DSP Transmit Protocol in Slave Mode
SPRU760B
The protocol has several steps:
Step 1: MCU-DSP writes to the setup registers (SPI_SET1 and SPI_SET2).
Step 2: MCU-DSP writes to the transmit register (SPI_TX).
Step 3: MCU-DSP writes to the control register (SPI_CTRL).
Once the WR bit is set, the transmit register (SPI_TX) is copied into
the shift register (SPI_SR).
If CEi = 0 in SPI_SET2, the transmission starts as soon as the
slave device enable goes low (nSPEN0) and the shift register clock
is activated (SRCLK).
One SRCLK cycle later, the WR bit is reset.
Step 4: When the transmission is completed:
The device enable goes high (nSPEN0) if CEi = 0 in SPI_SET2.
-
The WE bit is set in the interrupt status register (SPI_ISR).
-
An interrupt is generated if MSK1 is set in the interrupt enable
-
register (SPI_IER).
Step 5: Once the MCU-DSP clears the WE status bit (SPI_ISR), the interrupt
request is released.
SPI Master/Slave
Serial Interfaces
33

Advertisement

Table of Contents
loading

Table of Contents