|
PIC18F97J60_11 Datasheet, PDF (310/492 Pages) Microchip Technology – 64/80/100-Pin, High-Performance, 1-Mbit Flash Microcontrollers with Ethernet | |||
|
◁ |
PIC18F97J60 FAMILY
FIGURE 20-29:
BUS COLLISION DURING START CONDITION (SCLx = 0)
SDAx = 0, SCLx = 1
SDAx
TBRG
TBRG
SCLx
Set SEN, enable Start
sequence if SDAx = 1, SCLx = 1
SEN
BCLxIF
SCLx = 0 before BRG time-out,
bus collision occurs. Set BCLxIF.
S â0â
SSPxIF â0â
SCLx = 0 before SDAx = 0,
bus collision occurs. Set BCLxIF.
Interrupt cleared
in software
â0â
â0â
FIGURE 20-30: BRG RESET DUE TO SDAx ARBITRATION DURING START CONDITION
Less than TBRG
SDAx = 0, SCLx = 1
Set S
TBRG
SDAx SDAx pulled low by other master.
Reset BRG and assert SDAx.
Set SSPxIF
SCLx
SEN
BCLxIF
S
SCLx pulled low after BRG
time-out
Set SEN, enable Start
sequence if SDAx = 1, SCLx = 1
â0â
S
SSPxIF
SDAx = 0, SCLx = 1,
set SSPxIF
Interrupts cleared
in software
DS39762F-page 310
ï£ 2011 Microchip Technology Inc.
|
▷ |