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
Need help?
Do you have a question about the STM32F101 series and is the answer not in the manual?
Questions and answers