Figure 360. Master Full-Duplex Communication In Packed Mode - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Serial peripheral interface / integrated interchip sound (SPI/I2S)

Figure 360. Master full-duplex communication in packed mode

NSS
SCK
BSY
MOSI
SPE
TXE
DTx1-2
FTLVL
00
MISO
1
RXNE
DMA or software control at Rx events
FRLVL
Assumptions for master full-duplex communication in packed mode example:
Data size = 5 bit
Read/write FIFO is performed mostly by 16-bit access
FRXTH=0
If DMA is used:
Number of Tx frames to be transacted by DMA is set to 3
Number of Rx frames to be transacted by DMA is set to 3
PSIZE for both Tx and Rx DMA channel is set to 16-bit
LDMA_TX=1 and LDMA_RX=1
See also
and notes.
1274/1450
DTx1-2
5
4 3 2 1
5
3
Enable Tx/Rx DMA or interrupts
DTx3-4
10
11
10
4
5 4 3 2
1
5 4 3 2
DRx1-2
00
DMA Tx TICF
: Communication diagrams on page 1270
2
DTx3-4
4 3 2 1
5
4 3 2 1
5
4 3 2 1
3
DTx5
DMA or software control at Tx events
7
11
10
01
1
5 4 3 2
1
5 4 3 2
DRx3-4
DRx3-4
DRx1-2
10
00
01
01
DMA Rx TICF
5
for details about common assumptions
RM0453 Rev 5
DTx5
5
4 3 2 1
00
1
5 4 3 2
1
DRx5
FRTHX=1
DRx5
8
10
00
01
RM0453
1
00
MSv32125V2

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents