2005 Microchip Technology Inc.
DS39612B-page 195
PIC18F6525/6621/8525/8621
FIGURE 18-14:
I2C SLAVE MODE TIMING SEN = 1 (RECEPTION, 10-BIT ADDRESS)
SD
A
SC
L
S
SPI
F
B
F
(
S
PST
A
T
<0
>)
S
1
2
3
4
56
7
8
9
1
23
4
5
6
7
8
9
1
2
3
4
5
7
8
9
P
1
0
A
9A
8
A
7
A
6
A
5
A
4
A
3
A
2
A
1
A
0
D
7D
6D
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
fA
ddre
s
C
lea
re
d
i
n
s
o
ft
w
ar
e
D2
6
(P
IR
1<
3>
)
C
lea
re
d
i
n
s
o
ft
w
ar
e
R
e
cei
v
e
S
e
co
nd
B
y
te
of
A
d
ress
C
le
a
red
by
har
dw
are
w
hen
S
P
A
D
i
s
upda
ted
w
it
h
lo
w
b
y
te
of
addr
ess
afte
rfalling
edge
UA
(
S
SPS
T
A
T
<
1
>
)
Clo
ck
is
h
e
ld
lo
w
u
n
til
up
date
o
fS
S
P
A
D
ha
s
ta
ken
pl
ace
U
A
i
s
set
in
di
cati
ng
that
th
e
S
P
A
D
n
eeds
to
be
u
pdate
d
UA
is
se
tindicatin
g
that
S
P
A
D
nee
ds
to
b
e
upda
ted
C
lear
ed
by
h
a
rdw
a
re
w
h
e
n
S
P
A
D
i
s
u
pdate
d
w
it
h
hi
gh
byte
of
ad
dress
a
fter
fal
ling
ed
ge
SSP
BUF
is
wr
it
te
n
w
it
h
co
ntent
s
o
fS
S
P
S
R
D
u
mm
y
read
of
S
P
B
U
F
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
term
inates
tran
sfer
D2
6
AC
K
C
le
a
red
i
n
softw
ar
e
C
lea
re
d
i
n
s
o
ft
w
a
re
SS
PO
V
(
SSP
CO
N1
<6
>)
CK
P
written
to
‘
1
’
No
te
:
A
n
u
pdate
of
th
e
S
P
A
D
regi
ste
rb
e
fore
the
falling
edge
of
the
ninth
cl
o
ck
w
ill
have
no
ef
fect
o
n
UA
and
UA
will
r
e
m
a
in
set
.
No
te
:
A
n
updat
e
of
the
S
P
A
D
re
g
is
ter
be
fo
re
t
h
e
f
a
lli
n
g
e
dge
of
the
ninth
clock
will
h
a
ve
n
o
ef
fect
on
U
A
and
UA
will
r
e
m
a
in
se
t.
in
softwar
e
Clo
ck
is
h
e
ld
lo
w
u
n
til
upda
te
of
S
P
A
D
has
ta
k
e
n
pl
ac
e
of
n
inth
cl
ock
o
fni
nth
cl
ock
SS
PO
V
is
s
e
t
be
cause
S
P
B
U
F
i
s
still
fu
ll.
ACK
i
s
not
se
nt.
D
u
m
y
r
ead
o
fS
S
P
B
U
F
to
clear
B
F
flag
Clo
ck
is
h
e
ld
lo
w
u
n
ti
l
CK
P
is
se
tto
‘
1
’
Clo
ck
is
n
o
th
e
ld
lo
w
be
c
a
u
s
e
A
C
K
=
1