Datasheet

2010-2012 Microchip Technology Inc. DS41452C-page 205
PIC16(L)F1516/7/8/9
FIGURE 21-20: I
2
C SLAVE, 10-BIT ADDRESS, RECEPTION (SEN = 1, AHEN = 0, DHEN = 0)
SSPIF
Receive First Address Byte
ACK
Receive Second Address Byte
ACK
Receive Data
ACK
Receive Data
ACK
1 1 1 1
0
A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
SDA
SCL
UA
CKP
12345678
912345678
912345678
9
12345678
9
P
Master sends
Stop condition
Cleared by software
Receive address is
Software updates SSPADD
Data is read
SCL is held low
Set by software,
while CKP =
0
from SSPBUF
releasing SCL
When SEN =
1
;
CKP is cleared after
9th falling edge of received byte
read from SSPBUF
and releases SCL
When UA =
1
;
If address matches
Set by hardware
on 9th falling edge
SSPADD it is loaded into
SSPBUF
SCL is held low
S
BF