DocID025202 Rev 7
904/1080
RM0365
Serial peripheral interface / inter-IC sound (SPI/I2S)
959
30.5
SPI functional description
30.5.1 General
description
The SPI allows synchronous, serial communication between the MCU and external devices.
Application software can manage the communication by polling the status flag or using
dedicated SPI interrupt. The main elements of SPI and their interactions are shown in the
following block diagram
Figure 340. SPI block diagram
Table 162. STM32F302xB/C/D/E SPI implementation
SPI
Features
(1)
SPI1
SPI2
SPI3
SPI4
(2)
Hardware CRC calculation
X
X
X
X
Rx/Tx FIFO
X
X
X
X
NSS pulse mode
X
X
X
X
I2S mode
-
X
X
-
TI mode
X
X
X
X
1. X = supported.
2. SPI4 is only in STM32F302xD/E.
6KLIWUHJLVWHU
:ULWH
5HDG
$GGUHVVDQGGDWDEXV
&5&FRQWUROOHU
,QWHUQDO166
&5&(1
&5&1(;7
&5&/
5;21/<
&32/
&3+$
026,
0,62
6&.
166
5[
),)2
7[
),)2
%5>@
069
'6>@
%,',2(
&RPPXQLFDWLRQ
FRQWUROOHU
166
ORJLF
%DXGUDWH
JHQHUDWRU