![Microchip Technology PIC12F1501 Скачать руководство пользователя страница 214](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833214.webp)
2011-2015 Microchip Technology Inc.
DS40001609E-page 215
PIC16(L)F1508/9
21.6.13.3
Bus Collision During a Stop
Condition
Bus collision occurs during a Stop condition if:
a)
After the SDAx pin has been deasserted and
allowed to float high, SDAx is sampled low after
the BRG has timed out (Case 1).
b)
After the SCLx pin is deasserted, SCLx is
sampled low before SDAx goes high (Case 2).
The Stop condition begins with SDAx asserted low.
When SDAx is sampled low, the SCLx pin is allowed to
float. When the pin is sampled high (clock arbitration),
the Baud Rate Generator is loaded with SSPxADD and
counts down to 0. After the BRG times out, SDAx is
sampled. If SDAx is sampled low, a bus collision has
occurred. This is due to another master attempting to
drive a data ‘
0
). If the SCLx pin is
sampled low before SDAx is allowed to float high, a bus
collision occurs. This is another case of another master
attempting to drive a data ‘
0
’ (
).
FIGURE 21-38:
BUS COLLISION DURING A STOP CONDITION (CASE 1)
FIGURE 21-39:
BUS COLLISION DURING A STOP CONDITION (CASE 2)
SDAx
SCLx
BCLxIF
PEN
P
SSPxIF
T
BRG
T
BRG
T
BRG
SDAx asserted low
SDAx sampled
low after T
BRG
,
set BCLxIF
‘
0
’
‘
0
’
SDAx
SCLx
BCLxIF
PEN
P
SSPxIF
T
BRG
T
BRG
T
BRG
Assert SDAx
SCLx goes low before SDAx goes high,
set BCLxIF
‘
0
’
‘
0
’
Содержание PIC12F1501
Страница 307: ...PIC16 L F1508 9 DS40001609E page 308 2011 2015 Microchip Technology Inc NOTES...
Страница 392: ...2011 2015 Microchip Technology Inc DS40001609E page 393 PIC16 L F1508 9 1RWH 6 7 7 588 8 7...
Страница 399: ...PIC16 L F1508 9 DS40001609E page 400 2011 2015 Microchip Technology Inc NOTES...