Electrical characteristics
STM32L151x6/8/B, STM32L152x6/8/B
88/129
DocID17659 Rev 10
SPI characteristics
Unless otherwise specified, the parameters given in the following table are derived from
tests performed under ambient temperature, f
PCLKx
frequency and V
DD
supply voltage
conditions summarized in
.
Section 6.3.12: I/O current injection characteristics
input/output alternate function characteristics (NSS, SCK, MOSI, MISO).
Table 49. SPI characteristics
(1)
1. The characteristics above are given for voltage Range 1.
Symbol
Parameter
Conditions
Min
Max
(2)
2. Based on characterization, not tested in production.
Unit
f
SCK
1/t
c(SCK)
SPI clock frequency
Master mode
-
16
MHz
Slave mode
-
16
Slave transmitter
-
12
(3)
3. The maximum SPI clock frequency in slave transmitter mode is given for an SPI slave input clock duty
cycle (DuCy(SCK)) ranging between 40 to 60%.
t
r(SCK)
t
SPI clock rise and fall
time
Capacitive load: C = 30 pF
-
6
ns
DuCy(SCK)
SPI slave input clock duty
cycle
Slave mode
30
70
%
t
su(NSS)
NSS setup time
Slave mode
4t
HCLK
-
ns
t
h(NSS)
NSS hold time
Slave mode
2t
HCLK
-
t
w(SCKH)
t
w(SCKL)
SCK high and low time
Master mode
t
SCK
/2
−
5
t
SCK
/2+
3
t
su(MI)
Data input setup time
Master mode
5
-
t
su(SI)
Slave mode
6
-
t
h(MI)
Data input hold time
Master mode
5
-
t
h(SI)
Slave mode
5
-
t
a(SO)
(4)
4. Min time is for the minimum time to drive the output and max time is for the maximum time to validate the
data.
Data output access time
Slave mode
0
3t
HCLK
t
v(SO)
Data output valid time
Slave mode
-
33
t
Data output valid time
Master mode
-
6.5
t
h(SO)
Data output hold time
Slave mode
17
-
t
h(MO)
Master mode
0.5
-