Microchip Technology AC244045 Data Sheet

Page of 448
 2010-2012 Microchip Technology Inc.
DS41440C-page 277
PIC16(L)F1825/1829
FIGURE 25-28:
I
2
C MASTER MODE WAVEFORM (TRANSMISSION, 7 OR 10-BIT ADDRESS)  
  
   
SDAx
SCL
x
SSPx
IF
 
BF (
SSPx
ST
A
T
<0
>)
SEN
A7
A
6
A5
A4
A
3
A
2
A1
A
C
K
 = 
0
D7
D6
D5
D4
D3
D2
D1
D0
ACK
T
ran
smi
tti
ng 
D
at
a
 or
 S
eco
nd 
H
al
f
R/W
 = 
0
T
ran
smi
A
d
dr
ess t
o S
lave
1
2
3
4
56
7
8
9
1
2
3
4
5
67
8
9
P
C
le
a
red
 by
 softw
ar
e se
rvi
ce
 ro
uti
ne
SSPx
BUF is
 wr
itt
en
 b
y s
o
ftwa
re
fr
om S
S
P
in
ter
rup
t
A
fte
S
tar
t co
ndi
tion,
 S
E
N
 cl
ear
ed
 by h
ar
dw
ar
e
S
SSPx
BUF
 wr
itt
e
n wit
h
 7
-b
it a
dd
re
ss
 a
n
d R/
W
star
t tra
nsm
it
SCL
x h
eld
 lo
w
wh
ile
 CPU
re
sp
o
nd
s t
SSPx
IF
SEN = 
0
o
f 10
-b
it A
ddr
ess
W
rit
e SSPx
CO
N2
<0
> SEN = 
1
S
tar
t con
di
tio
n b
egi
n
s
F
rom
 sl
a
ve, 
cl
ear
 A
C
K
S
TA
T
 bi
t S
S
P
xC
O
N
2<
6
>
ACKST
A
T
 in
 
SSPx
CO
N2
 = 
1
C
le
ar
ed by 
so
ftw
a
re
SS
Px
BUF wr
itt
en
PEN
R/
W
C
le
ar
ed
 by
 s
of
tw
ar
e