Figure 580. Master Full-Duplex Communication - ST STM32G4 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

Serial peripheral interface / inter-IC sound (SPI/I2S)
NSS
SCK
BSY
MOSI
SPE
TXE
FTLVL
00
MISO
RXNE
DMA or software control at Rx events
FRLVL
DMA Tx TICF
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
and notes.
1710/2083

Figure 580. Master full-duplex communication

MSB
DTx1
3
Enable Tx/Rx DMA or interrupts
DTx2
DTx3
DTx1
10
11
10
4
DRx1
1
00
5
: Communication diagrams on page 1709
2
MSB
DTx2
3
DMA or software control at Tx events
11
10
LSB
DRx2
LSB
DRx1
10
00
10
DMA Rx TICF
for details about common assumptions
RM0440 Rev 1
2
MSB
DTx3
00
DRx3
LSB
DRx2
DRx3
00
10
RM0440
1
00
MSv19266V2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF