Table 140. I2C-Smbus Specification Data Setup And Hold Times - ST STM32F423 Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F423:
Table of Contents

Advertisement

Fast-mode Plus Inter-integrated circuit (FMPI2C) interface
When the SCL falling edge is internally detected, a delay is inserted before sending
SDA output. This delay is
x t
I2CCLK
T
SDADEL
The total SDA output delay is:
t
+ {[SDADEL x (PRESC+1) + 1] x t
SYNC1
duration depends on these parameters:
t
SYNC1
In order to bridge the undefined region of the SCL falling edge, the user must program
SDADEL in such a way that:
{t
+t
f (max)
SDADEL ≤ {t
Note:
t
/ t
AF(min)
device datasheet for t
The maximum t
and Fast-mode Plus, but must be less than the maximum of t
This maximum must only be met if the device does not stretch the LOW period (t
SCL signal. If the clock stretches the SCL, the data must be valid by the set-up time before
it releases the clock.
The SDA rising edge is usually the worst case, so in this case the previous equation
becomes:
SDADEL ≤ {t
Note:
This condition can be violated when NOSTRETCH=0, because the device stretches SCL
low to guarantee the set-up time, according to the SCLDEL value.
Refer to
t
standard values.
VD;DAT
After t
clock because the data was not yet written in I2C_TXDR register, SCL line is kept at
low level during the setup time. This setup time is
t
PRESC
t
SCLDEL
In order to bridge the undefined region of the SDA transition (rising edge usually worst
case), the user must program SCLDEL in such a way that:
{[t
+ t
r (max)
Refer to
standard values.
788/1324
.
impacts the hold time
SCL falling slope
When enabled, input delay brought by the analog filter: t
When enabled, input delay brought by the digital filter: t
Delay due to SCL synchronization to FMPI2CCLK clock (2 to 3 FMPI2CCLK
periods)
-t
- [(DNF +3) x t
HD;DAT (min)
AF(min)
-t
HD;DAT (max)
AF(max)
are part of the equation only when the analog filter is enabled. Refer to
AF(max)
values.
AF
could be 3.45 µs, 0.9 µs and 0.45 µs for Standard-mode, Fast-mode
HD;DAT
-t
VD;DAT (max)
r (max)
Table 140: I2C-SMBUS specification data setup and hold times
delay, or after sending SDA output in case the slave had to stretch the
SDADEL
= (PRESC+1) x t
I2CCLK.
impacts the setup time
] / [
(PRESC+1)] x t
SU;DAT (min)
Table 140: I2C-SMBUS specification data setup and hold times
t
= SDADEL x t
SDADEL
PRESC
t
HD;DAT.
}
I2CCLK
]} / {(PRESC +1) x t
I2CCLK
- [(DNF+4) x t
I2CCLK
-260 ns - [(DNF+4) x t
t
SU;DAT .
]} - 1 <=
I2CCLK
RM0430 Rev 8
where
+ t
t
I2CCLK
PRESC
< t
AF(min)
AF
= DNF
DNF
I2CCLK
]} / {(PRESC +1) x t
I2CCLK
by a transition time.
VD;DAT
]} / {(PRESC +1) x t
I2CCLK
for t
t
= (SCLDEL+1) x t
SCLDEL
SCLDEL
for t
RM0430
= (PRESC+1)
< t
ns.
AF(max)
t
x
I2CCLK
} ≤ SDADEL
}
) of the
LOW
}.
I2CCLK
, t
, t
and
f
r
HD;DAT
where
PRESC
and t
r
SU;DAT

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents