Microchip Technology MA180025 データシート

ページ / 450
PIC18F87J90 FAMILY
DS39933D-page 232
 2010 Microchip Technology Inc.
FIGURE 18-12:
I
2
C™ SLAVE MODE TIMING WITH SEN = 0 AND ADMSK<5:1> = 01001 
(RECEPTION, 10-BIT ADDRESSING) 
SD
A
SC
L
S
SPI
F
 (
P
IR
1<
3
>
B
F
 (
SSP
ST
A
T
<0
>)
S
1
2
3
4
56
7
8
9
1
2
3
4
5
6
7
89
1
2
3
4
5
7
8
9
P
1
1
1
1
0
A
9
A
8
A
7
A
6
A
5
X
A3
A
2
X
X
D7
D6
D
5
D4
D3
D1
D0
Re
ce
iv
e Da
ta
 Byte
ACK
R/W
 = 
0
ACK
Re
ceive F
irs
t B
yte of A
d
dr
ess
C
le
a
re
d in
 so
ftwa
re
D2
6
 
Cle
a
re
d
 in
 so
ftw
ar
e
R
e
ce
iv
e S
econd B
yte 
of A
ddre
ss
C
lea
re
d b
y h
a
rd
w
a
re
w
he
n
 SSP
AD
D is
 u
p
d
a
te
d
w
ith
 lo
w
 byte 
of add
ress
UA
 (
S
SPS
TA
T
<
1
>
)
Cl
ock is h
e
ld
 lo
w u
n
til
updat
e of S
S
P
A
D
D
 has 
ta
ken pl
ac
e
UA
 is 
set indicat
in
g
 tha
t
the S
S
P
A
D
D
 need
s to be
upda
ted
U
A
 is
 set 
in
di
cati
ng 
that
S
S
P
A
D
D
 need
s to be
update
d
C
le
ar
ed 
by har
d
w
a
re
 w
hen
SSP
ADD is u
p
d
ate
d
 with
 h
ig
h
by
te of 
addr
e
ss
S
SPB
UF
 is wr
itte
n with
conten
ts o
f S
S
P
S
R
D
ummy 
read
 of S
S
P
B
U
F
to clear
 B
F
 flag
AC
K
CK
P
12
3
4
5
7
8
9
D7
D
6
D5
D4
D3
D1
D0
Re
ce
ive
 Da
ta
 B
yte
B
us m
a
ste
r
term
inates
tran
sfer
D2
6
ACK
Cle
a
re
d
 in
 so
ftwa
re
Cle
a
re
d
 in
 so
ftwa
re
S
SPO
V (
S
S
P
CO
N1
<6
>)
S
SPO
V
 is
 s
et
because
 S
S
P
B
U
F
 is
stil
l f
u
ll. AC
K
 is no
t sent.
(C
K
P
 do
es not 
reset 
to ‘
0
’ w
hen 
S
E
N
 =
 0
)
Clo
ck is h
e
ld
 lo
w u
n
til
upda
te of 
S
S
P
A
D
D
 has 
ta
ke
n
 pl
ac
e
 
No
te
1:
x
 = Don
’t car
e (
i.e.,
 ad
dre
ss b
it can
 be
 eith
er
 a ‘
1
’ or 
a ‘
0
’).
2:
In
 th
is 
ex
a
m
pl
e
, a
n a
d
dr
ess e
qu
al to
 A9
.A8
.A7
.A6
.A
5
.X.A3
.A2
.X.X will b
e
 Ackn
o
wl
ed
g
ed
 a
n
d ca
us
e
 a
in
te
rr
u
pt
.
3:
N
o
te th
at 
the
 Mo
st S
ign
ifi
can
t bi
ts of
 the
 ad
dre
ss a
re 
not
 af
fe
cte
d b
y the
 bi
ma
ski
ng.