Figure 259. Lsb Justified 24-Bit Frame Length With Cpol = 0; Figure 260. Operations Required To Transmit 0X3478Ae; Figure 261. Operations Required To Receive 0X3478Ae - ST STM32F101 series Reference Manual

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

Advertisement

RM0008
CK
WS
SD
In transmission mode:
If data 0x3478AE have to be transmitted, two write operations to the SPI_DR register
are required from software or by DMA. The operations are shown below.
In reception mode:
If data 0x3478AE are received, two successive read operations from SPI_DR are
required on each RXNE event.

Figure 259. LSB Justified 24-bit frame length with CPOL = 0

8-bit data
0 forced
Channel left 32-bit

Figure 260. Operations required to transmit 0x3478AE

First write to Data register
conditioned by TXE = '1'
0xXX34
Only the 8 LSB bits of the half-word
are significant. Whatever the 8 MSBs
a field of 0x00 is forced instead

Figure 261. Operations required to receive 0x3478AE

First read from Data register
conditioned by RXNE = '1'
0x0034
Only the 8 LSB bits of the half-word
are significant. Whatever the 8 MSBs,
a field of 0x00 is forced instead
DocID13902 Rev 15
Serial peripheral interface (SPI)
Transmission
24-bit remaining
MSB
Second write to Data register
conditioned by TXE = '1'
0x78AE
Second read from Data register
conditioned by RXNE = '1'
0x78AE
Reception
LSB
Channel right
720/1128
742

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F101 series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f107 seriesStm32f102 seriesStm32f103 seriesStm32f105 seriesStm32f101 series

Table of Contents