Microchip Technology MA180025 データシート

ページ / 450
 2010 Microchip Technology Inc.
DS39933D-page 247
PIC18F87J90 FAMILY
FIGURE 18-24:
I
2
C™ MASTER MODE WAVEFORM (RECEPTION, 7-BIT ADDRESSING)
  
  
P
9
8
7
6
5
D0
D1
D2
D3
D4
D5
D6
D7
S
A7
A6
A5
A4
A3
A2
A1
SDA
SCL
1
2
34
5
6
78
9
1
23
4
5
6
7
8
9
12
3
4
B
u
s m
aster
ter
m
inate
s
tra
n
sfer
AC
K
Re
ce
ivin
g
 Da
ta
 fr
o
m
 Sl
av
e
Re
ce
ivin
g Da
ta
 fr
om
 Sla
ve
D0
D1
D2
D3
D4
D5
D6
D7
ACK
R/W
 = 
1
T
ra
n
smi
t A
ddr
ess to S
lave
SSPI
F
BF 
AC
K
 is
 not 
sent
W
rit
e
 to
 SS
PCO
N
2
<
0
>
 (
SEN = 
1
),
W
ri
te 
to S
S
P
B
U
F
 occu
rs her
e,
A
C
K f
ro
m
 Sl
a
ve
M
a
ster
 confi
gured
 as a r
e
cei
ver
by
 pro
g
ram
m
ing 
S
S
P
C
ON
2<
3>
 (R
C
E
N
 =
 1
)
PE
N b
it =
 1
w
ri
tte
n her
e
D
a
ta
 sh
ifte
d i
n
 on
 fal
ling ed
ge of 
C
L
K
C
lear
ed i
n
 so
ftw
ar
e
st
ar
t X
M
IT
SEN =
 0
SSPO
V
SD
A =
 0
, S
C
L =
 1
wh
ile
 CPU 
(S
S
PST
A
T
<0
>)
AC
K
Cle
a
re
d
 in
 so
ftwa
re
Cl
ea
re
d in
 so
ftwa
re
S
et S
S
P
IF
 in
terr
upt
at en
d of r
e
cei
ve
Se
t P b
it 
(SSP
ST
A
T
<4
>)
an
d S
S
P
IF
A
C
K
 fro
m
 Ma
ster
,
Se
t SS
PI
F a
t e
nd
S
e
t S
S
P
IF
 inter
rup
t
at
 end o
f A
cknow
ledge
se
quence
S
et S
S
P
IF
 in
terr
upt
at en
d of A
cknow
le
dg
e
seque
nce
of r
e
ceive
S
e
t A
C
K
E
N
, st
ar
t A
cknow
ledg
e sequ
ence,
S
D
A = ACK
D
T = 
1
 
RCEN cle
a
re
d
au
tom
a
tically
RCEN = 
1
, st
ar
t
ne
xt r
e
ce
ive
W
rite to
 S
S
P
C
ON2<
4>
to st
ar
t A
cknowledge
 seque
n
ce,
SD
A = ACK
D
T (
SSP
CO
N2
<5
>)
 = 
0
RCEN cle
a
re
d
au
tom
a
tically
ACKEN
be
gi
n S
tart 
condi
tion
C
lear
ed i
n
 so
ftw
ar
e
SDA = A
C
KDT
 = 
0
 
La
st bit is shif
ted
 into S
S
P
S
R
 and
con
tent
s ar
e unl
o
aded i
nto S
S
P
B
U
F
Cle
a
re
d
 in
sof
twar
e
S
S
P
O
V
 is
 set 
beca
use
S
SPB
UF
 is still fu
ll
re
sponds to 
S
S
P
IF