Datasheet

PIC16(L)F1824/1828
DS41419D-page 270 2010-2012 Microchip Technology Inc.
FIGURE 25-20: I
2
C SLAVE, 10-BIT ADDRESS, RECEPTION (SEN = 1 , AHEN = 0, DHEN = 0)
SSP1IF
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 SSP1ADD
Data is read
SCL is held low
Set by software,
while CKP =
0
from SSP1BUF
releasing SCL
When SEN =
1
;
CKP is cleared after
9th falling edge of received byte
read from SSP1BUF
and releases SCL
When UA =
1
;
If address matches
Set by hardware
on 9th falling edge
SSP1ADD it is loaded into
SSP1BUF
SCL is held low
S
BF