English
Language : 

PIC17C7XX_13 Datasheet, PDF (168/306 Pages) Microchip Technology – High-Performance 8-bit CMOS EPROM Microcontrollers with 10-bit A/D
PIC17C7XX
FIGURE 15-32: STOP CONDITION FLOW CHART
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
DS30289C-page 168
 1998-2013 Microchip Technology Inc.