2010-2012 Microchip Technology Inc.
DS41414D-page 281
PIC16(L)F1946/47
FIGURE 24-29:
I2C MASTER MODE WAVEFORM (RECEPTION, 7-BIT ADDRESS)
P
9
8
7
6
5
D0
D1
D2
D3
D4
D5
D6
D7
S
A7
A6
A5
A4
A3
A2
A1
SDAx
SCL
x
12
3
4
5
6
7
8
9
12
3
4
5
67
8
9
12
3
4
B
u
sm
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
gDa
ta
fr
om
Sla
ve
D0
D1
D2
D3
D4
D5
D6
D7
ACK
R/W
T
ra
n
smi
tA
ddr
ess
to
S
lave
SSPx
IF
BF
AC
K
is
not
sent
W
rite
to
SS
PxCON2
<0
>
(S
E
N
=
1
),
W
rit
e
to
SS
Px
BUF
o
cc
ur
sh
er
e
,
A
C
K
fr
o
m
Sl
a
ve
M
a
ster
confi
gured
as
a
r
e
cei
ver
by
p
ro
g
ra
m
in
g
S
SPxCON2
<3
>
(
RCEN
=
1
)
PE
N
b
it=
1
w
ri
tte
n
her
e
Da
ta
sh
ifte
d
in
o
nfa
llin
g
e
dg
e
o
fCL
K
C
lear
ed
by
so
ftw
are
st
ar
tX
M
IT
SEN
=
0
SSPO
V
SDA
x=
0
,S
C
Lx
=
1
wh
ile
CPU
(S
S
P
xS
TA
T
<
0>)
AC
K
Cle
a
re
d
b
yso
ftwa
re
C
lea
re
db
ys
o
ftw
a
re
S
et
S
P
xIF
in
terr
upt
at
en
d
of
r
e
cei
ve
Se
tP
b
it
(SSP
xS
TA
T
<
4
>
)
a
nd
SS
Px
IF
Cle
a
re
d
in
sof
twar
e
A
C
K
fro
m
Ma
ster
Se
tSS
Px
IF
a
te
nd
Se
tSSP
xI
F
in
te
rr
u
pt
at
end
o
fA
cknow
ledge
se
quence
S
e
tS
S
P
xIF
inter
rupt
at
e
n
d
of
A
ckno
w
-
le
dge
seque
nce
of
r
e
ceive
S
e
tA
C
K
E
N
,st
ar
tA
cknow
ledg
e
sequ
ence
S
P
O
V
is
set
beca
u
se
S
SPxB
U
F
is
still
fu
ll
S
D
Ax
=
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
SPxCON2
<4
>
to
st
ar
tA
cknow
ledge
seque
n
ce
SD
Ax
=
ACK
D
T
(
SSP
xC
O
N
2
<
5
>
)=
0
RCEN
cle
a
re
d
au
tom
a
tically
re
sponds
to
S
P
xIF
ACKEN
be
gi
n
S
tart
condi
tion
C
lear
ed
by
so
ftw
are
SDAx
=
A
C
KDT
=
0
La
st
bit
is
shif
ted
into
S
P
xS
R
and
con
tent
sar
e
unl
oa
ded
in
to
S
P
xB
U
F
RCEN
Maste
rconf
ig
ured
as
a
r
e
cei
ver
by
pr
ogra
mmi
ng
S
P
xC
O
N
2
<
3
>
(R
C
E
N
=
1
)
RCEN
cle
a
re
d
au
toma
tically
ACK
f
ro
m
M
a
st
e
r
SDA
x
=
ACKDT
=
0
RCE
N
cle
a
re
d
auto
matica
lly