RM0367
Caution:
Changing the TIMEOUTA and TIDLE configuration is not allowed when the TIMEOUTEN is
set.
SMBus:
28.4.14
This section is relevant only when SMBus feature is supported. Refer to
implementation.
•
Configuring the maximum duration of t
Table 133. Examples of TIMEOUTA settings for various I2CCLK frequencies
f
I2CCLK
8 MHz
16 MHz
32 MHz
•
Configuring the maximum duration of t
Table 134. Examples of TIMEOUTB settings for various I2CCLK frequencies
f
I2CCLK
8 MHz
16 MHz
32 MHz
•
Configuring the maximum duration of t
Table 135. Examples of TIMEOUTA settings for various I2CCLK frequencies
f
I2CCLK
8 MHz
16 MHz
32 MHz
28.4.15
SMBus slave mode
This section is relevant only when the SMBus feature is supported. Refer to
I2C
implementation.
In addition to I2C slave transfer management (refer to
some additional software flowcharts are provided to support the SMBus.
SMBus slave transmitter
When the IP is used in SMBus, SBC must be programmed to '1' in order to allow the PEC
transmission at the end of the programmed number of data bytes. When the PECBYTE bit
is set, the number of bytes programmed in NBYTES[7:0] includes the PEC transmission. In
I2C_TIMEOUTR register configuration examples
(max t
TIMEOUTA[11:0] bits
0x61
0xC3
0x186
TIMEOUTB[11:0] bits
0x1F
0x3F
0x7C
TIMEOUTA[11:0] bits
0x63
0xC7
0x18F
RM0367 Rev 7
Inter-integrated circuit (I2C) interface
to 25 ms:
TIMEOUT
= 25 ms)
TIMEOUT
TIDLE bit TIMEOUTEN bit
0
1
0
1
0
1
and t
LOW:SEXT
TEXTEN bit
1
1
1
to 50 µs
IDLE
(max t
= 50 µs)
IDLE
TIDLE bit TIMEOUTEN bit
1
1
1
1
1
1
Section 28.4.9: I2C slave
Section 28.3: I2C
t
TIMEOUT
98 x 2048 x 125 ns = 25 ms
196 x 2048 x 62.5 ns = 25 ms
391 x 2048 x 31.25 ns = 25 ms
to 8 ms:
LOW:MEXT
t
LOW:EXT
32 x 2048 x 125 ns = 8 ms
64 x 2048 x 62.5 ns = 8 ms
125 x 2048 x 31.25 ns = 8 ms
t
TIDLE
100 x 4 x 125 ns = 50 µs
200 x 4 x 62.5 ns = 50 µs
400 x 4 x 31.25 ns = 50 µs
Section 28.3:
mode)
735/1043
763
Need help?
Do you have a question about the STM32L0x3 and is the answer not in the manual?