Microchip Technology MA160014 Data Sheet

Page of 560
PIC18(L)F2X/4XK22
DS41412F-page 238
 2010-2012 Microchip Technology Inc.
FIGURE 15-21:
I
2
C SLAVE, 10-BIT ADDRESS, RECEPTION (SEN = 0, AHEN = 1, DHEN = 0)   
R
e
ce
iv
e F
irst
 A
ddr
ess 
B
y
te
UA
R
e
ce
iv
e S
e
cond
 A
d
d
res
s B
y
te
UA
Re
ce
ive
 Da
ta
ACK
Re
c
e
ive
 Da
ta
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
SD
A
x
SCL
x
SSPx
IF
BF
ACKDT
UA
CKP
ACKT
IM
1
2
3
4
5
678
9
S
ACK
ACK
12
3
4
56
78
9
12
345
6
7
8
91
2
S
SPx
BUF
is
 re
ad 
fro
m
 
R
e
ce
iv
ed data
S
SPx
BUF c
a
n
 b
e
re
ad any
ti
me
 bef
ore
the
 ne
xt r
e
ce
iv
ed 
byte
C
lear
ed
 by 
sof
tw
a
re
fa
lli
ng 
edg
e o
f S
C
Lx
no
t a
llo
w
e
d
 un
ti
l 9th
Up
d
a
te
 to
 S
SPxADD is
Se
t CKP wit
h
 s
o
ft
w
a
re
 
re
leas
es S
C
Lx
SCL
x
cl
ear
s U
A
 a
nd r
e
le
ases
Up
d
a
te
 o
SSPx
ADD,
S
e
t by 
har
dw
a
re
o
n
 9
th
 f
a
llin
g
 e
d
g
e
 
S
la
v
e so
ft
wa
re
 clea
rs
ACKDT t
o
 ACK
the rec
e
iv
ed
 byt
e
If
 whe
n
 A
H
E
N
=
1
;
o
n
 th
e
 8
th
 fa
llin
g
 e
d
g
e
o
f S
C
Lx 
of a
n
 a
ddr
ess
b
y
te
, CKP
 is cle
a
re
d
A
C
K
T
IM
 is se
t b
y
 ha
rdwa
re
on
 8t
h fa
lli
n
g
 e
d
g
e
 of
 S
C
Lx
C
le
ar
ed
 by
 s
o
ft
w
a
re
R/W 
0