Datasheet

PIC18F47J13 FAMILY
DS39974A-page 320 Preliminary  2010 Microchip Technology Inc.
FIGURE 20-9: I
2
Cā„¢ SLAVE MODE TIMING WITH SEN = 0 AND ADMSK<5:1> = 01011
(RECEPTION, 7-BIT ADDRESS)
(1)
SDAx
SCLx
SSPxIF (PIR1<3> or PIR3<7>)
BF (SSPxSTAT<0>)
SSPOV (SSPxCON1<6>)
S
12345678912345678912345 789
P
A7 A6 A5 X A3 X X D7D6D5D4D3D2D1 D0 D7D6D5D4D3 D1D0
ACK
Receiving Data
ACK
Receiving Data
R/W
= 0
ACK
Receiving Address
Cleared in software
SSPxBUF is read
Bus master
terminates
transfer
SSPOV is set
because SSPxBUF is
still full. ACK is not sent.
D2
6
CKP (SSPxCON1<4>)
(CKP does not reset to ā€˜0’ when SEN = 0)
Note 1: In this example, an address equal to A7.A6.A5.X.A3.X.X will be Acknowledged and cause an interrupt.