Smbus Slave Mode; Table 72. Examples Of Timeouta Settings For Various I2Cclk Frequencies; Table 73. Examples Of Timeoutb Settings For Various I2Cclk Frequencies; Table 74. Examples Of Timeouta Settings For Various I2Cclk Frequencies - STMicroelectronics STM32F05 series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Inter-integrated circuit (I
Table 72.
f
I2CCLK
8 MHz
16 MHz
48 MHz
Configuring the maximum duration of t
Table 73.
f
I2CCLK
8 MHz
16 MHz
48 MHz
Configuring the maximum duration of t
Table 74.
f
I2CCLK
8 MHz
16 MHz
48 MHz
23.4.14

SMBus slave mode

This section is relevant only when SMBus feature is supported. Please refer to
I2C
implementation.
In addition to I2C slave transfer management (refer to
some 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
I2Cx_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.
506/742
2
C) interface
Examples of TIMEOUTA settings for various I2CCLK frequencies
TIMEOUTA[11:0]
bits
0x61
0xC3
0x249
Examples of TIMEOUTB settings for various I2CCLK frequencies
TIMEOUTB[11:0]
bits
0x1F
0x3F
0xBB
Examples of TIMEOUTA settings for various I2CCLK frequencies
TIMEOUTA[11:0]
bits
0x63
0xC7
0x257
Doc ID 018940 Rev 1
TIDLE
TIMEOUTEN
bit
bit
0
1
0
1
0
1
and t
LOW:SEXT
LOW:MEXT
TEXTEN bit
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
TIMEOUTEN
TIDLE bit
bit
1
1
1
1
1
1
Section 23.4.8: I2C slave
RM0091
t
TIMEOUT
98 x 2048 x 125 ns = 25 ms
196 x 2048 x 62.5 ns = 25 ms
586 x 2048 x 20.08 ns = 25 ms
to 8 ms:
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 23.3:
mode)

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents