Datasheet

DS1631/DS1631A/DS1731
14 of 15
Figure 9 (a, b, c, d, e). 2-WIRE INTERFACE TIMING
THERM = DS1631, DS1631A, or DS1731
C2
a) Issue a "Start Convert T” or “Stop Convert T” Command
S
11
00
A2 A1 A0
W
AC7C6C5C4 A
C3
C1 C0
P
Control Byte
Command Byte
START
STOP
ACK
(THERM)
SCL
SDA
ACK
(THERM)
d) Write to the T
H
or T
L
Register
A2 A1 A0 C2
SCL
SDA
S 1
1
0
0W
A
Control Byte
START
ACK
(THERM)
A
C7 C6 C5 C4
C3
C1 C0
Command Byte ACK
(THERM)
D4
D6 D5
D3
D2 D0D7D6 D5 D4
D3
D2 D1 D0
D7
A
D1
P
LS Data Byte
(from Master)
A
MS Data Byte
(from Master)
STOP
ACK
(THERM)
ACK
(THERM)
e) Read From the Temperature, T
H
, or T
L
Register
AD2D1D0D6 D5 D4
D3
D7
A2 A1 A0
00
AC4
C3
C2 C1C7 C6 C5A2 A1 A0
A
ACK
(THERM)
Repeat
START
A
SCL
SDA
S 11
00
W
Control Byte
START
C0
Command Byte
S 11
R
Control Byte MS Data Byte
(from THERM)
ACK
(THERM)
ACK
(THERM)
ACK
(Master)
D5
N
D6 D4
D3
D2 D1 D0 P
LS Data Byte
(from THERM)
STOP
D7
NACK
(Master)
(THERM)
(THERM)
AD2D6 D5 D4
D3
D1 D0A0
W
AA1 1 0 1 0
1
100AD7A2
b) Write to the Configuration Register
S1 100
Control ByteSTART
SCL
SDA
ACK
Command Byte
P
Data Byte
(from Master)
STOP
ACK
ACK
(THERM)
NA1S1 1
00
A2 A1 A0
W
010 A
1
100
D6 D5
D4
D3
D2 D1 D0
P
D7
S1
1
00
A2 A1 A0
R
A
c) Read From the Configuration Register
ACK
(THERM)
Repeat
START
SCL
SDA
Control Byte
START
Command Byte
Data Byte
(from THERM)
STOP
NACK
(Master)
Control Byte
ACK
(THERM)
ACK
(THERM)