RM0351
Table 186. Examples of TIMEOUTB settings for various I2CCLK frequencies
f
I2CCLK
8 MHz
16 MHz
48 MHz
•
Configuring the maximum duration of t
Table 187. Examples of TIMEOUTA settings for various I2CCLK frequencies
f
I2CCLK
8 MHz
16 MHz
48 MHz
35.4.13
SMBus slave mode
This section is relevant only when SMBus feature is supported. Please refer to
I2C
implementation.
In addition to 2C slave transfer management (refer to
additional software flowcharts are provided to support 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
that case the total number of TXIS interrupts will be NBYTES-1 and the content of the
I2C_PECR register is automatically transmitted if the master requests an extra byte after the
NBYTES-1 data transfer.
Caution:
The PECBYTE bit has no effect when the RELOAD bit is set.
TIMEOUTB[11:0]
TEXTEN bit
bits
0x1F
0x3F
0xBB
(max t
TIMEOUTA[11:0]
TIDLE bit
bits
0x63
0xC7
0x257
DocID024597 Rev 3
Inter-integrated circuit (I2C) interface
1
32 x 2048 x 125 ns = 8 ms
1
64 x 2048 x 62.5 ns = 8 ms
1
188 x 2048 x 20.08 ns = 8 ms
to 50 µs
IDLE
= 50 µs)
IDLE
TIMEOUTEN
bit
1
1
1
1
1
1
Section 35.4.7: I2C slave
t
LOW:EXT
t
TIDLE
100 x 4 x 125 ns = 50 µs
200 x 4 x 62.5 ns = 50 µs
600 x 4 x 20.08 ns = 50 µs
Section 35.3:
mode) some
1147/1693
1177
Need help?
Do you have a question about the STM32L4x6 and is the answer not in the manual?
Questions and answers