English
Language : 

DS1631 Datasheet, PDF (8/15 Pages) National Semiconductor (TI) – CMOS Dual Peripheral Drivers
DS1631/DS1631A/DS1731
provides user access to the temperature register. Bits 3 through 0 of the temperature register are
hardwired to 0. When the device is configured for 12-bit resolution, the 12 MSbs (bits 15 through 4) of
the temperature register contain temperature data. For 11-bit resolution, the 11 MSbs (bits 15 through 5)
of the temperature register contain data, and bit 4 is 0. Likewise, for 10-bit resolution, the 10 MSbs (bits
15 through 6) contain data, and for 9-bit the 9 MSbs (bits 15 through 7) contain data, and all unused LSbs
contain 0s. Table 4 gives examples of 12-bit resolution output data and the corresponding temperatures.
Figure 4. TEMPERATURE, TH, AND TL REGISTER FORMAT
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
MS Byte
S
26
25
24
23
22
21
20
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
LS Byte
2-1
2-2
2-3
2-4
0
0
0
0
Table 4. 12-BIT RESOLUTION TEMPERATURE/DATA RELATIONSHIP
TEMPERATURE
(°C)
+125
+25.0625
+10.125
+0.5
0
-0.5
-10.125
-25.0625
-55
DIGITAL OUTPUT
(BINARY)
0111 1101 0000 0000
0001 1001 0001 0000
0000 1010 0010 0000
0000 0000 1000 0000
0000 0000 0000 0000
1111 1111 1000 0000
1111 0101 1110 0000
1110 0110 1111 0000
1100 1001 0000 0000
DIGITAL OUTPUT
(HEX)
7D00h
1910h
0A20h
0080h
0000h
FF80h
F5E0h
E6F0h
C900h
OPERATION—THERMOSTAT FUNCTION
The thermostat output (TOUT) is updated after every temperature conversion, based on a comparison
between the measured digital temperature and user-defined upper and lower thermostat trip points. TOUT
remains at the updated value until the next conversion completes. When the measured temperature meets
or exceeds the value stored in the upper trip-point register (TH), TOUT becomes active and remains active
until the measured temperature falls below the value stored in the lower trip-point register (TL) (see
Figure 5). This allows the user to program any amount of hysteresis into the output response. The active
state of TOUT is user-programmable through the polarity bit (POL) in the configuration register.
The user-defined values in the TH and TL registers (see Figure 4) must be in two’s complement format
with the MSb (bit 15) containing the sign bit (S). The TH and TL resolution is determined by the R0 and
R1 bits in the configuration register (see Table 6), so the TH and TL resolution matches the output
temperature resolution. For example, for 10-bit resolution bits 5 through 0 of the TH and TL registers read
out as 0 (even if 1s are written to these bits), and the converted temperature is compared to the 10 MSbs
of TH and TL.
The TH and TL registers are stored in EEPROM; therefore, they are NV and can be programmed prior to
device installation. Writing to and reading from the TH and TL registers is achieved using the Access TH
8 of 15