PIC17C75X
FIGURE 15-35: STOP CONDITION FLOWCHART
Idle Mode,
SSPEN = 1,
SSPCON1<3:0> = 1000
PEN = 1
Start BRG
Force SDA = 0
SCL doesn’t change
No
BRG
rollover?
Yes
No
SDA = 0?
Release SDA,
Start BRG
Yes
Start BRG
No
BRG
rollover?
No
BRG
Yes
rollover?
Bus Collision detected,
Set BCLIF,
No
Yes
P bit Set?
Yes
Clear SPEN
De-assert SCL,
SCL = 1
SDA going from
0 to 1 while SCL = 1
Sets P bit SSPSTAT<4>,
Set SSPIF,
(Clock Arbitration)
No
SCL = 1?
Yes
Stop Condition done
DS30264A-page 158
Preliminary
1997 Microchip Technology Inc.