RM0440 Rev 4 1751/2126
RM0440 Serial peripheral interface / integrated interchip sound (SPI/I2S)
1791
Figure 581. Master full-duplex communication
Assumptions for master 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
MOSI
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 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
MISO
MSv19266V2