2003 Microchip Technology Inc.
DS39582B-page 107
PIC16F87XA
FIGURE 9-27:
BUS COLLISION DURING START CONDITION (SCL =
0
)
FIGURE 9-28:
BRG RESET DUE TO SDA ARBITRATION DURING START CONDITION
SDA
SCL
SEN
bus collision occurs. Set BCLIF.
SCL =
0
before SDA =
0
,
Set SEN, enable Start
sequence if SDA =
1
, SCL =
1
T
BRG
T
BRG
SDA =
0
, SCL =
1
BCLIF
S
SSPIF
Interrupt cleared
in software
bus collision occurs. Set BCLIF.
SCL =
0
before BRG time-out,
‘
0
’
‘
0
’
‘
0
’
‘
0
’
SDA
SCL
SEN
Set S
Less than T
BRG
T
BRG
SDA =
0
, SCL =
1
BCLIF
S
SSPIF
S
Interrupts cleared
in software
set SSPIF
SDA =
0
, SCL =
1
,
SCL pulled low after BRG
time-out
Set SSPIF
‘
0
’
SDA pulled low by other master.
Reset BRG and assert SDA.
Set SEN, enable Start
sequence if SDA =
1
, SCL =
1
http://www.xinpian.net
提供单片机解密、IC解密、芯片解密业务
010-62245566 13810019655