Datasheet

PIC16C77X
1999-2013 Microchip Technology Inc. Advance Information DS30275B-page 75
FIGURE 8-21: START CONDITION FLOWCHART
Idle Mode
SEN (SSPCON2<0> = 1)
Bus collision detected,
Set BCLIF,
SDA = 1?
Load BRG with
Ye s
BRG
Rollover?
Force SDA = 0,
Load BRG with
SSPADD<6:0>,
No
Ye s
Force SCL = 0,
Clear SEN
Set S bit.
SSPADD<6:0>
SCL = 1?
SDA = 0?
No
Ye s
BRG
rollover?
No
Clear SEN
Start Condition Done,
No
Yes
Reset BRG
SCL= 0?
No
Yes
SCL = 0?
No
Ye s
Reset BRG
Release SCL,
SSPEN = 1,
SSPCON<3:0> = 1000
and set SSPIF
774.book Page 75 Tuesday, January 29, 2013 12:02 PM