![Microchip Technology PIC12F1501 Manual Download Page 207](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833207.webp)
PIC16(L)F1508/9
DS40001609E-page 208
2011-2015 Microchip Technology Inc.
FIGURE 21-29:
I
2
C MASTER MODE WAVEFORM (RECEPTION, 7-BIT ADDRESS)
P
9
8
7
6
5
D0
D1
D2
D3
D4
D5
D6
D7
S
A7
A6
A
5
A
4
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
s m
a
ster
te
rmin
a
tes
tr
ansfe
r
ACK
Re
ce
iv
in
g
Da
ta
fr
o
m
Sla
ve
Re
ce
ivin
g
Da
ta
fr
o
m
S
la
ve
D0
D1
D2
D3
D4
D5
D6
D7
AC
K
R/W
T
ransm
it A
ddress
to S
lave
SSP
xI
F
BF
ACK
is n
o
t sent
Wr
ite
t
o
SSP
xC
O
N
2<
0>
(SEN
=
1
),
W
rit
e to S
S
P
xB
U
F
occurs
here
,
A
C
K f
ro
m
Sla
ve
Ma
ster co
nfi
g
ur
ed as a
rece
iv
er
b
y p
ro
g
ra
m
m
in
g
SS
PxCON2
<3
> (
R
CEN =
1
)
PEN b
it =
1
wr
itte
n
h
e
re
D
ata
sh
ifte
d
in
o
n
fa
llin
g e
d
g
e o
f CL
K
C
le
ar
ed by
sof
tw
a
re
st
ar
t X
M
IT
SE
N
=
0
SSPO
V
SDAx
=
0
, S
C
Lx
=
1
wh
ile
CP
U
(SSPx
ST
A
T
<0
>)
ACK
Cle
a
re
d
b
y so
ftwa
re
C
le
ar
ed by
sof
tw
a
re
Se
t SSP
xI
F in
te
rr
u
pt
at
end o
f rece
iv
e
Se
t P b
it
(S
S
P
xS
TA
T
<
4>
)
and S
S
P
xIF
C
lea
re
d i
n
sof
twar
e
A
C
K
fr
o
m
M
a
st
er
S
e
t S
S
P
xIF
at
end
S
et S
S
P
xIF
in
terr
upt
at en
d of A
ckno
w
le
dge
seque
nce
S
e
t S
S
P
xIF
inte
rru
pt
at
end
of A
cknow
-
le
dge se
quence
of
r
e
ce
ive
S
et A
C
K
E
N
, st
art A
ckno
w
le
dge se
quence
SS
PO
V is
s
e
t b
e
ca
u
se
SS
PxBUF
is still fu
ll
S
D
Ax
= AC
K
D
T
=
1
RCE
N cle
a
re
d
auto
matically
RCE
N =
1
, st
ar
t
next r
e
ceive
W
rite
to S
S
P
xCON2<
4>
to
st
art A
ckno
w
le
dge se
quence
SDAx
= A
C
KDT
(
S
SPx
CO
N2
<5
>)
=
0
RCE
N c
le
a
re
d
auto
matica
lly
re
spon
ds to S
S
P
xI
F
ACKEN
b
e
g
in
S
ta
rt co
nd
itio
n
C
le
ar
ed by
sof
tw
a
re
SD
Ax
= ACK
D
T =
0
Last bit
is shif
ted into
S
S
P
xS
R
a
n
d
conten
ts
are u
n
loade
d
in
to S
S
P
xB
U
F
RC
E
N
Ma
ster c
onfi
gur
ed as
a rec
e
iv
er
by p
rogr
a
mm
ing S
S
P
xC
ON
2<
3>
(
R
C
E
N
=
1
)
RCE
N cle
ar
e
d
autom
a
tically
AC
K f
ro
m
M
a
st
e
r
S
D
Ax
= ACK
D
T =
0
RCEN cle
a
re
d
au
tom
a
tically