Microchip Technology IC PIC MCU PIC16F1937-I/PT TQFP-44 MCP PIC16F1937-I/PT Data Sheet

Product codes
PIC16F1937-I/PT
Page of 472
 2008-2011 Microchip Technology Inc.
DS41364E-page 283
PIC16(L)F1934/6/7
24.6.13.3
Bus Collision During a Stop 
Condition
Bus collision occurs during a Stop condition if:
a)
After the SDA pin has been deasserted and
allowed to float high, SDA is sampled low after
the BRG has timed out.
b)
After the SCL pin is deasserted, SCL is sampled
low before SDA goes high.
The Stop condition begins with SDA asserted low.
When SDA is sampled low, the SCL pin is allowed to
float. When the pin is sampled high (clock arbitration),
the Baud Rate Generator is loaded with SSPADD and
counts down to 0. After the BRG times out, SDA is
sampled. If SDA is sampled low, a bus collision has
occurred. This is due to another master attempting to
drive a data ‘0’ (
). If the SCL pin is sampled
low before SDA is allowed to float high, a bus collision
occurs. This is another case of another master
attempting to drive a data ‘0’ (
). 
FIGURE 24-38:
BUS COLLISION DURING A STOP CONDITION (CASE 1)      
FIGURE 24-39:
BUS COLLISION DURING A STOP CONDITION (CASE 2)      
SDA
SCL
BCLIF
PEN
P
SSPIF
T
BRG
T
BRG
T
BRG
SDA asserted low
SDA sampled
low after T
BRG
,
set BCLIF
’0’
’0’
SDA
SCL
BCLIF
PEN
P
SSPIF
T
BRG
T
BRG
T
BRG
Assert SDA
SCL goes low before SDA goes high,
set BCLIF
’0’
’0’