Serial peripheral interface / integrated interchip sound (SPI/I2S) RM0440
1752/2126 RM0440 Rev 4
Figure 582. Slave full-duplex communication
Assumptions for slave full-duplex communication example:
• Data size > 8 bit
If DMA is used:
• Number of Tx frames transacted by DMA is set to 3
• Number of Rx frames transacted by DMA is set to 3
See also : Communication diagrams on page 1750 for details about common assumptions
and notes.
DTx1
10
DRx1
NSS
SCK
BSY
MISO
MSB
MSB MSB
DTx2
DTx3
SPE
TXE
00
11 11 00
FTLVL
DTx1
DTx2
LSB
DRx2
LSB
DRx3
LSB
10
10 0010 0000 00
RXNE
DRx1
DRx2 DRx3
FRLVL
DMA Tx TICF
DMA Rx TICF
1
1
2
3
4
5
Enable Tx/Rx DMA or interrupts
DMA or software control at Tx events
DMA or software control at Rx events
10
DTx3
10
3
MOSI
MSv32123V2