Fmpi2C_Timingr Register Configuration Examples; Table 122. Examples Of Timing Settings For Fi2Cclk = 8 Mhz; Table 123. Examples Of Timings Settings For Fi2Cclk = 16 Mhz - ST STM32F412 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0402
23.4.10

FMPI2C_TIMINGR register configuration examples

The tables below provide examples of how to program the FMPI2C_TIMINGR to obtain
timings compliant with the I
values, the STM32CubeMX tool (I2C Configuration window) must be used.
Table 122. Examples of timing settings for f
Parameter
PRESC
SCLL
t
200x250 ns = 50 µs
SCLL
SCLH
t
196x250 ns = 49 µs
SCLH
(1)
t
~100 µs
SCL
SDADEL
t
2x250 ns = 500 ns
SDADEL
SCLDEL
t
5x250 ns = 1250 ns
SCLDEL
1. SCL period t
is greater than t
SCL
only.
2. t
+ t
minimum value is 4 x t
SYNC1
SYNC2
3.
t
+ t
minimum value is 4 x t
SYNC1
SYNC2
4.
t
+ t
minimum value is 4 x t
SYNC1
SYNC2
Table 123. Examples of timings settings for f
Parameter
10 kHz
PRESC
SCLL
0xC7
t
200 x 250 ns = 50 µs
SCLL
SCLH
0xC3
t
196 x 250 ns = 49 µs
SCLH
(1)
t
~100 µs
SCL
SDADEL
t
2 x 250 ns = 500 ns
SDADEL
SCLDEL
t
5 x 250 ns = 1250 ns
SCLDEL
1. SCL period t
is greater than t
SCL
only.
Fast-mode Plus Inter-integrated circuit (FMPI2C) interface
2
C specification. In order to get more accurate configuration
Standard-mode (Sm)
10 kHz
1
0xC7
20x250 ns = 5.0 µs
0xC3
16x250 ns = 4.0µs
(2)
0x2
2x250 ns = 500 ns
0x4
5x250 ns = 1250 ns
+ t
due to SCL internal detection delay. Values provided for t
SCLL
SCLH
= 500 ns. Example with t
I2CCLK
= 500 ns. Example with t
I2CCLK
= 500 ns. Example with t
I2CCLK
Standard-mode (Sm)
100 kHz
3
20 x 250 ns = 5.0 µs
16 x 250 ns = 4.0 µs
(2)
~10 µs
0x2
2 x 250 ns = 500 ns
0x4
5 x 250 ns = 1250 ns
+ t
due to SCL internal detection delay. Values provided for t
SCLL
SCLH
Fast-mode (Fm)
100 kHz
1
0x13
10x125 ns = 1250 ns
0xF
4x125 ns = 500 ns
(2)
~10 µs
0x2
1x125 ns = 125 ns
0x4
4x125 ns = 500 ns
+ t
SYNC1
SYNC1
SYNC1
Fast-mode (Fm)
400 kHz
3
0x13
10 x 125 ns = 1250 ns
0xF
4 x 125 ns = 500 ns
(2)
~2500 ns
0x2
2 x 125 ns = 250 ns
0x4
4 x 125 ns = 500 ns
RM0402 Rev 6
= 8 MHz
I2CCLK
Fast-mode Plus (Fm+)
400 kHz
0
0x9
7x125 ns = 875 ns
0x3
4x125 ns = 500 ns
(3)
~2500 ns
0x1
0x3
2x125 ns = 250 ns
SCL
= 1000 ns.
SYNC2
+ t
= 750 ns.
SYNC2
+ t
= 655 ns.
SYNC2
= 16 MHz
I2CCLK
Fast-mode Plus (Fm+)
1
0x9
5 x 62.5 ns = 312.5 ns
0x3
3 x 62.5 ns = 187.5 ns
(3)
0x2
0x3
3 x 62.5 ns = 187.5 ns
SCL
500 kHz
0
0x6
0x3
(4)
~2000 ns
0x0
0 ns
0x1
are examples
1000 kHz
0
0x4
0x2
(4)
~1000 ns
0x0
0 ns
0x2
are examples
689/1163
722

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF