Figure 298. Lsb Justified 16-Bit Or 32-Bit Full-Accuracy With Cpol = 0; Figure 299. Lsb Justified 24-Bit Frame Length With Cpol = 0; Figure 300. Operations Required To Transmit 0X3478Ae - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

RM0090
LSB justified standard
This standard is similar to the MSB justified standard (no difference for the 16-bit and 32-bit
full-accuracy frame formats).

Figure 298. LSB justified 16-bit or 32-bit full-accuracy with CPOL = 0

CK
WS
SD

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

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.

Figure 300. Operations required to transmit 0x3478AE

In reception mode:
If data 0x3478AE are received, two successive read operations from SPI_DR are
required on each RXNE event.
Transmission
May be 16-bit, 32-bit
MSB
Channel left
8-bit data
0 forced
Channel left 32-bit
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
Doc ID 018909 Rev 4
Serial peripheral interface (SPI)
Reception
LSB MSB
Transmission
24-bit remaining
MSB
Second write to Data register
conditioned by TXE = '1'
0x78AE
Channel right
Reception
LSB
Channel right
826/1422

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF