English
Language : 

PIC17C7XX Datasheet, PDF (166/328 Pages) Microchip Technology – High-Performance 8-Bit CMOS EPROM Microcontrollers with 10-bit A/D
PIC17C7XX
FIGURE 15-35: STOP CONDITION FLOWCHART
Idle Mode,
SSPEN = 1,
SSPCON1<3:0> = 1000
PEN = 1
Force SDA = 0
SCL doesn’t change
No
SDA = 0?
Yes
Start BRG
BRG
No
rollover?
Yes
De-assert SCL,
SCL = 1
(Clock Arbitration)
No
SCL = 1?
Yes
Start BRG
BRG
No
rollover?
Yes
Release SDA,
Start BRG
BRG
No
rollover?
Yes
No
P bit Set?
Bus Collision detected,
Set BCLIF,
Clear PEN
Yes
SDA going from
0 to 1 while SCL = 1
Set SSPIF,
Stop Condition done
PEN cleared.
DS30289A-page 166
© 1998 Microchip Technology Inc.