English
Language : 

RM0313 Datasheet, PDF (595/900 Pages) STMicroelectronics – This reference manual targets application developers
RM0313
Inter-integrated circuit (I2C) interface
Caution:
When the SMBus master wants to send a RESTART condition after the PEC, software
mode must be selected (AUTOEND=0). In this case, once NBYTES-1 have been
transmitted, the I2C_PECR register content is transmitted and the TC flag is set after the
PEC transmission, stretching the SCL line low. The RESTART condition must be
programmed in the TC interrupt subroutine.
The PECBYTE bit has no effect when the RELOAD bit is set.
Figure 194. Bus transfer diagrams for SMBus master transmitter
([DPSOH60%XVPDVWHUWUDQVPLWWHUE\WHV3(&DXWRPDWLFHQGPRGH 6723
7;,6 7;,6
6 $GGUHVV $
GDWD
$ GDWD
$ 3(&
,1,7
7;(
(9 (9
$3
OHJHQG
WUDQVPLVVLRQ
UHFHSWLRQ
6&/VWUHWFK
1%<7(6 [[

,1,7SURJUDP6ODYHDGGUHVVSURJUDP1%<7(6 $872(1' VHW3(&%<7(VHW67$57
(97;,6,65ZUGDWD
(97;,6,65ZUGDWD
([DPSOH60%XVPDVWHUWUDQVPLWWHUE\WHV3(&VRIWZDUHHQGPRGH 5(67$57
7;,6 7;,6
6 $GGUHVV $
GDWD
,1,7
(9 (9
$ GDWD
$ 3(&
7&
$
5VWDUW $GGUHVV
(9
OHJHQG
WUDQVPLVVLRQ
UHFHSWLRQ
6&/VWUHWFK
[[

1
1%<7(6
,1,7SURJUDP6ODYHDGGUHVVSURJUDP1%<7(6 $872(1' VHW3(&%<7(VHW67$57
(97;,6,65ZUGDWD
(97;,6,65ZUGDWD
(97&,65SURJUDP6ODYHDGGUHVVSURJUDP1%<7(6 1VHW67$57
069
SMBus Master receiver
When the SMBus master wants to receive the PEC followed by a STOP at the end of the
transfer, automatic end mode can be selected (AUTOEND=1). The PECBYTE bit must be
DocID022448 Rev 4
595/900
619