LM75A_4 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 04 — 10 July 2007 7 of 24
NXP Semiconductors
LM75A
Digital temperature sensor and thermal watchdog
read a register that is different from the one that has been recently read, the pointer byte
must be included. However, a write to the LM75A must always include the pointer byte in
the statement. The bus communication protocols are described in Section 7.10.
At power-up, the Pointer value is equal to 0 and the Temp register is selected; users can
then read the Temp data without specifying the pointer byte.
7.4.2 Configuration register
The Configuration register (Conf) is a write/read register and contains an 8-bit
non-complement data byte that is used to configure the device for different operation
conditions. Table 8 shows the bit assignments of this register.
7.4.3 Temperature register
The Temperature register (Temp) holds the digital result of temperature measurement or
monitor at the end of each analog-to-digital conversion. This register is read-only and
contains two 8-bit data bytes consisting of one Most Significant Byte (MSByte) and one
Least Significant Byte (LSByte). However, only 11 bits of those two bytes are used to store
the Temp data in 2’s complement format with the resolution of 0.125 °C. Table 9 shows the
bit arrangement of the Temp data in the data bytes.
Table 8. Conf register
Legend: * = default value.
Bit Symbol Access Value Description
B[7:5] reserved R/W 000* reserved for manufacturer’s use; should be kept as
zeroes for normal operation
B[4:3] OS_F_QUE[1:0] R/W OS fault queue programming
00* queue value = 1
01 queue value = 2
10 queue value = 4
11 queue value = 6
B2 OS_POL R/W OS polarity selection
0* OS active LOW
1 OS active HIGH
B1 OS_COMP_INT R/W OS operation mode selection
0* OS comparator
1 OS interrupt
B0 SHUTDOWN R/W device operation mode selection
0* normal
1 shutdown
Table 9. Temp register
MSByte LSByte
7654321076543210
D10D9D8D7D6D5D4D3D2D1D0XXXXX
LM75A_4 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 04 — 10 July 2007 8 of 24
NXP Semiconductors
LM75A
Digital temperature sensor and thermal watchdog
When reading register Temp, all 16 bits of the two data bytes (MSByte and LSByte) are
provided to the bus and must be all collected by the controller to complete the bus
operation. However, only the 11 most significant bits should be used, and the 5 least
significant bits of the LSByte are zero and should be ignored. One of the ways to calculate
the Temp value in °C from the 11-bit Temp data is:
1. If the Temp data MSByte bit D10 = 0, then the temperature is positive and Temp value
(°C) = +(Temp data) × 0.125 °C.
2. If the Temp data MSByte bit D10 = 1, then the temperature is negative and
Temp value (°C) = (2’s complement of Temp data) × 0.125 °C.
Examples of the Temp data and value are shown in Table 10.
Obviously, for 9-bit Temp data application in replacing the industry standard LM75, just
use only 9 MSB bits of the two bytes and disregard 7 LSB of the LSByte. The 9-bit Temp
data with 0.5 °C resolution of the LM75A is defined exactly in the same way as for the
standard LM75 and it is here similar to the Tos and Thyst registers.
7.4.4 Overtemperature shutdown threshold (Tos) and hysteresis (Thyst) registers
These two registers, are write/read registers, and also called set-point registers. They are
used to store the user-defined temperature limits, called overtemperature shutdown
threshold (Tos) and hysteresis temperature (Thyst), for the device watchdog operation. At
the end of each conversion the Temp data will be compared with the data stored in these
two registers in order to set the state of the device OS output; see Section 7.1.
Each of the set-point registers contains two 8-bit data bytes consisting of one MSByte and
one LSByte the same as register Temp. However, only 9 bits of the two bytes are used to
store the set-point data in 2’s complement format with the resolution of 0.5 °C. Table 11
and Table 12 show the bit arrangement of the Tos data and Thyst data in the data bytes.
Notice that because only 9-bit data are used in the set-point registers, the device uses
only the 9 MSB of the Temp data for data comparison.
Table 10. Temp register value
11-bit binary
(2’s complement)
Hexadecimal value Decimal value Value
011 1111 1000 3F8 1016 +127.000 °C
011 1111 0111 3F7 1015 +126.875 °C
011 1111 0001 3F1 1009 +126.125 °C
011 1110 1000 3E8 1000 +125.000 °C
000 1100 1000 0C8 200 +25.000 °C
000 0000 0001 001 1 +0.125 °C
000 0000 0000 000 0 0.000 °C
111 1111 1111 7FF 1 0.125 °C
111 0011 1000 738 200 25.000 °C
110 0100 1001 649 439 54.875 °C
110 0100 1000 648 440 55.000 °C
LM75A_4 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 04 — 10 July 2007 9 of 24
NXP Semiconductors
LM75A
Digital temperature sensor and thermal watchdog
When a set-point register is read, all 16 bits are provided to the bus and must be collected
by the controller to complete the bus operation. However, only the 9 most significant bits
should be used and the 7 LSB of the LSByte are equal to zero and should be ignored.
Table 13 shows examples of the limit data and value.
7.5 OS output and polarity
The OS output is an open-drain output and its state represents results of the device
watchdog operation as described in Section 7.1. In order to observe this output state, an
external pull-up resistor is needed. The resistor should be as large as possible, up to
200 k, to minimize the Temp reading error due to internal heating by the high OS sinking
current.
The OS output active state can be selected as HIGH or LOW by programming bit B2
(OS_POL) of register Conf: setting bit OS_POL to logic 1 selects OS active HIGH and
setting bit B2 to logic 0 sets OS active LOW. At power-up, bit OS_POL is equal to logic 0
and the OS active state is LOW.
7.6 OS comparator and interrupt modes
As described in Section 7.1, the device OS output responds to the result of the
comparison between register Temp data and the programmed limits, in registers Tos and
Thyst, in different ways depending on the selected OS mode: OS comparator or
OS interrupt. The OS mode is selected by programming bit B1 (OS_COMP_INT) of
register Conf: setting bit OS_COMP_INT to logic 1 selects the OS interrupt mode, and
setting to logic 0 selects the OS comparator mode. At power-up, bit OS_COMP_INT is
equal to logic 0 and the OS comparator is selected.
Table 11. Tos register
MSByte LSByte
7654321076543210
D8D7D6D5D4D3D2D1D0XXXXXXX
Table 12. Thyst register
MSByte LSByte
7654321076543210
D8D7D6D5D4D3D2D1D0XXXXXXX
Table 13. Tos and Thyst limit data and value
11-bit binary
(2’s complement)
Hexadecimal value Decimal value Value
0 1111 1010 0FA 250 +125.0 °C
0 0011 0010 032 50 +25.0 °C
0 0000 0001 001 1 +0.5 °C
0 0000 0000 000 0 0.0 °C
1 1111 1111 1FF 1 0.5 °C
1 1100 1110 1CE 50 25.0 °C
1 1001 0010 192 110 55.0 °C

MIKROE-2632

Mfr. #:
Manufacturer:
Mikroe
Description:
Temperature Sensor Development Tools THERMO 4 click
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union