Wire communication timing diagram figure 5 – Rainbow Electronics DS1678 User Manual
Page 22

DS1678
22 of 26
2-WIRE SERIAL COMMUNICATION WITH DS1678 Figure 4
A 2
1
0
W
0
A
0
W
1
S
1
0
A 1 A 0
0
0
A
A
P
S D A
S C L
D evice A ddress B yte
M em ory A ddress B yte
S tart
D S 16 78
A C K
S top
D S 1 67 8
A C K
W rite to M em o ry A d dress P o in ter
1
S
1
1
0
0
0
R d
A
N
P
S D A
S C L
D evic e A ddress B yte
D ata B yte
S tart
D S 16 78
A C K
S top
M aster
N A C K
R ead S ing le B yte fro m C u rren t M em ory A d d re ss P ointer L o catio n
D 1
D 2
D 3
D 4
D 5
D 6
D 7
0
D 0
1
S
1
1
0
D 0
0
0
R d
A
A
S D A
S C L
D evic e A ddress B yte
M os t S ignificant
D ata B yte
S tart
D S 16 78
A C K
M aster
A C K
R ead M u ltip le B ytes fro m C u rre nt M em o ry A d d ress P ointer L o catio n
D 1
D 2
D 3
D 4
D 5
D 6
D 7
N
P
S to p
M as ter
N A C K
Leas t S ignificant
D ata B yte
D 1
D 2
D 3
D 4
D 5
D 6
D 7
0
D 0
1
S
1
0
0
0
A
A
S D A
S C L
D evic e A ddress B yte
M em ory A d dress B yte
S tart
D S 16 78
A C K
D S 16 78
A C K
R ead S ing le B yte fro m N ew M em o ry A d d ress P o in ter L o cation
1
R
1
1
0
0
0
R d
A
D evic e A dd ress
B yte
R epeated
S tart
D S 16 78
A C K
N
P
D ata B yte
S to p
M as ter
N A C K
D 1
D 2
D 3
D 4
D 5
D 6
D 0
S D A
S C L
D 7
S D A
S C L
W rite to M em o ry Lo catio n (S in gle B yte)
A
P
S top
D S 1 67 8
A C K
D 0
D ata B yte
D 1
D 2
D 3
D 4
D 5
D 6
D 7
A 3
A 4
A 5
A 6
A 7
0
W
1
S
1
0
A 1 A 0
0
0
A
D evic e A ddress B yte
M em ory A ddres s B yte
S tart
D S 16 78
A C K
D S 1 67 8
A C K
A 2
A 3
A 4
A 5
A 6
A 7
1
1
A 1 A 0
A 2
A 3
A 4
A 5
A 6
A 7
2-WIRE COMMUNICATION TIMING DIAGRAM Figure 5
SU:STO
t
HD:STA
t
t
SU:STA
SU:DAT
t
t
HIGH
R
t
t
LOW
t
HD:STA
SCL
START
SDA
STOP
t
BUF
t
F
REPEATED
START
t
HD:DAT