RM0401 Rev 3 711/771
RM0401 Serial peripheral interface/ inter-IC sound (SPI/I2S)
731
• In transmission mode:
If data 0x3478AE have to be transmitted, two write operations to the SPIx_DR register
are required by software or by DMA. The operations are shown below.
Figure 265. Operations required to transmit 0x3478AE
• In reception mode:
If data 0x3478AE are received, two successive read operations from the SPIx_DR
register are required on each RXNE event.
Figure 266. Operations required to receive 0x3478AE
Figure 267. LSB justified 16-bit extended to 32-bit packet frame with CPOL = 0
When 16-bit data frame extended to 32-bit channel frame is selected during the I
2
S
configuration phase, Only one access to the SPIx_DR register is required. The 16 remaining
bits are forced by hardware to 0x0000 to extend the data to 32-bit format. In this case it
corresponds to the half-word MSB.
If the data to transmit or the received data are 0x76A3 (0x0000 76A3 extended to 32-bit),
the operation shown in Figure 268 is required.
[;;
[$(
)LUVWZULWHWR'DWDUHJLVWHU
FRQGLWLRQHGE\7;(
6HFRQGZULWHWR'DWDUHJLVWHU
FRQGLWLRQHGE\7;(
2QO\WKH/6%RIWKH
KDOIZRUGDUHVLJQLILFDQW
$ILHOGRI[LVIRUFHG
LQVWHDGRIWKH06%V
069
[;;
[$(
)LUVWUHDGIURP'DWDUHJLVWHU
FRQGLWLRQHGE\5;1(
6HFRQGUHDGIURP'DWDUHJLVWHU
FRQGLWLRQHGE\5;1(
2QO\WKH/6%RIWKH
KDOIZRUGDUHVLJQLILFDQW
$ILHOGRI[LVIRUFHG
LQVWHDGRIWKH06%V
069
069
&.
:6
6'
7UDQVPLVVLRQ
5HFHSWLRQ
ELWGDWD
IRUFHG
06%
/6%
&KDQQHOOHIWELW
&KDQQHOULJKW
ELWUHPDLQLQJ