Microchip Technology DV164136 Data Sheet
PIC18F8722 FAMILY
DS39646C-page 228
© 2008 Microchip Technology Inc.
FIGURE 19-14:
I
2
C™ SLAVE MODE TIMING WITH SEN = 1 (RECEPTION, 10-BIT ADDRESS)
SD
A
x
SC
L
x
S
S
P
x
IF
(
P
IR1
<
3
>
o
r P
IR3<
7
>
)
BF
(
S
SP
x
S
T
A
T
<
0
>
)
S
1
2
3
4
5
6
78
9
1
2
3
4
5
6
7
8
9
1
2
3
4
5
7
89
P
1
1
1
1
0
A
9
A
8
A
7
A
6
A
5
A
4A
3A
2
A
1
A
0
D
7
D
6
D
5
D
4
D
3
D
1
D
0
Re
ce
ive
Da
ta
B
y
te
AC
K
R/W
=
0
ACK
Receive F
irst B
y
te o
f A
ddre
s
s
C
lea
re
d i
n
s
o
ft
w
a
re
D2
6
Cl
e
a
re
d
in
so
ft
wa
re
R
e
cei
v
e S
e
co
nd B
y
te of
A
d
d
ress
C
le
a
red
by har
dw
are
w
h
en
SSP
xADD is u
p
d
a
te
d
wi
th
lo
w
b
y
te of
addr
ess af
ter
falling ed
ge
U
A
(
S
SPxS
T
A
T
<1
>)
Clo
ck is h
e
ld
lo
w u
n
til
up
date o
f S
S
P
x
A
D
D
has
ta
ken
pl
ace
U
A
i
s
set
in
di
cati
ng
that
th
e S
S
P
x
A
D
D
needs
to be
u
pdate
d
UA
is se
t indicatin
g
that
S
S
P
x
A
D
D
n
eeds to
be
upda
ted
Cle
a
re
d
b
y
h
a
rd
wa
re
wh
e
n
S
S
P
x
A
D
D
i
s
upda
ted w
it
h h
igh
byte
of ad
dress a
ft
e
r fa
lli
n
g edge
SSP
xBUF
is wr
itte
n
wi
th
co
ntent
s o
f S
S
P
x
S
R
Du
m
m
y
r
e
a
d
o
f SS
Px
BUF
to clear
B
F
flag
AC
K
CK
P
12
3
4
5
7
8
9
D7
D6
D5
D4
D3
D1
D0
Re
ce
ive
Da
ta
Byte
B
u
s m
a
ster
te
rmi
n
a
tes
tr
ansfe
r
D2
6
AC
K
Cle
a
re
d
i
n
so
ft
wa
re
C
lea
re
d i
n
s
o
ft
w
a
re
S
SPO
V
(
S
SPx
CO
N1
<6
>)
CK
P
written
to
‘
1
’
No
te
:
An
u
p
d
a
te
o
f t
h
e
SS
Px
ADD r
e
g
is
te
r b
e
fo
re
th
e
fa
llin
g
e
d
g
e
o
f th
e
n
in
th
clo
ck will
h
a
ve
n
o
ef
fe
ct on U
A
an
d U
A
w
ill
r
e
ma
in
set.
No
te
:
An
u
p
d
a
te
o
f t
h
e
SS
Px
ADD
re
g
is
ter
be
fo
re
t
h
e f
a
lli
n
g
e
d
g
e
o
f th
e
n
in
th
clo
ck will
h
a
ve n
o
ef
fect
on U
A
and
UA will r
e
m
a
in
se
t.
in
so
ft
wa
re
Clo
ck is h
e
ld
l
o
w u
n
til
upda
te of S
S
P
xA
D
D
has
ta
k
e
n
pl
ac
e
of n
inth cl
ock
o
f ni
nth
cl
ock
SS
PO
V is
s
e
t
be
cause S
S
P
xB
U
F
i
s
still fu
ll. ACK
is not se
nt.
Du
m
m
y
r
e
a
d
o
f SS
Px
BU
F
to
clear
B
F
flag
Clo
ck is h
e
ld
lo
w u
n
ti
l
CK
P
is se
t to
‘
1
’
Clo
ck is n
o
t h
e
ld
lo
w
be
c
a
u
s
e A
C
K
=
1