DocID024597 Rev 5 1277/1830
RM0351 Inter-integrated circuit (I2C) interface
1301
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.
Caution: The PECBYTE bit has no effect when the RELOAD bit is set.
Figure 403. Bus transfer diagrams for SMBus master transmitter
069
([DPSOH60%XVPDVWHUWUDQVPLWWHUE\WHV3(&DXWRPDWLFHQGPRGH6723
$GGUHVV
6
,1,7SURJUDP6ODYHDGGUHVVSURJUDP1%<7(6 $872(1' VHW3(&%<7(VHW67$57
(97;,6,65ZUGDWD
(97;,6,65ZUGDWD
$
GDWD
$
7;,6
7;,6
GDWD
$
1%<7(6
$
OHJHQG
WUDQVPLVVLRQ
UHFHSWLRQ
6&/VWUHWFK
(9
[[
,1,7
([DPSOH60%XVPDVWHUWUDQVPLWWHUE\WHV3(&VRIWZDUHHQGPRGH5(67$57
,1,7SURJUDP6ODYHDGGUHVVSURJUDP1%<7(6 $872(1' VHW3(&%<7(VHW67$57
(97;,6,65ZUGDWD
(97;,6,65ZUGDWD
(97&,65SURJUDP6ODYHDGGUHVVSURJUDP1%<7(6 1VHW67$57
1%<7(6
5VWDUW
OHJHQG
WUDQVPLVVLRQ
UHFHSWLRQ
6&/VWUHWFK
[[
$GGUHVV
1
3(&
3
(9
$
7;(
$GGUHVV
6
$
GDWD
$
7;,6 7;,6
GDWD
$
(9
,1,7
3(&
(9
7&
(9