LM75A_4 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 04 — 10 July 2007 10 of 24
NXP Semiconductors
LM75A
Digital temperature sensor and thermal watchdog
The main difference between the two modes is that in OS comparator mode, the OS
output becomes active when Temp has exceeded T
os
and reset when Temp has dropped
below T
hyst
, reading a register or putting the device into shutdown mode does not change
the state of the OS output; while in OS interrupt mode, once it has been activated either
by exceeding T
os
or dropping below T
hyst
, the OS output will remain active indefinitely until
reading a register, then the OS output is reset.
Temperature limits T
os
and T
hyst
must be selected so that T
os
> T
hyst
. Otherwise, the OS
output state will be undefined.
7.7 OS fault queue
Fault queue is defined as the number of faults that must occur consecutively to activate
the OS output. It is provided to avoid false tripping due to noise. Because faults are
determined at the end of data conversions, fault queue is also defined as the number of
consecutive conversions returning a temperature trip. The value of fault queue is
selectable by programming the two bits B4 and B3 (OS_F_QUE[1:0]) in register Conf.
Notice that the programmed data and the fault queue value are not the same. Table 14
shows the one-to-one relationship between them. At power-up, fault queue data = 0 and
fault queue value = 1.
7.8 Shutdown mode
The device operation mode is selected by programming bit B0 (SHUTDOWN) of register
Conf. Setting bit SHUTDOWN to logic 1 will put the device into shutdown mode. Resetting
bit SHUTDOWN to logic 0 will return the device to normal mode.
In shutdown mode, the device draws a small current of approximately 3.5 µA and the
power dissipation is minimized; the temperature conversion stops, but the I
2
C-bus
interface remains active and register write/read operation can be performed. The OS
output remains unchanged.
7.9 Power-up default and power-on reset
The LM75A always powers-up in its default state with:
Normal operation mode
OS comparator mode
T
os
= 80 °C
T
hyst
= 75 °C
OS output active state is LOW
Pointer value is logic 0
Table 14. Fault queue table
Fault queue data Fault queue value
OS_F_QUE[1] OS_F_QUE[0] Decimal
001
012
104
116
LM75A_4 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 04 — 10 July 2007 11 of 24
NXP Semiconductors
LM75A
Digital temperature sensor and thermal watchdog
When the power supply voltage is dropped below the device power-on reset level of
approximately 1.9 V (POR) and then rises up again, the device will be reset to its default
condition as listed above.
7.10 Protocols for writing and reading the registers
The communication between the host and the LM75A must strictly follow the rules as
defined by the I
2
C-bus management. The protocols for LM75A register read/write
operations are illustrated in Figure 5 to Figure 10 together with the following definitions:
1. Before a communication, the I
2
C-bus must be free or not busy. It means that the SCL
and SDA lines must both be released by all devices on the bus, and they become
HIGH by the bus pull-up resistors.
2. The host must provide SCL clock pulses necessary for the communication. Data is
transferred in a sequence of 9 SCL clock pulses for every 8-bit data byte followed by
1-bit status of the acknowledgement.
3. During data transfer, except the START and STOP signals, the SDA signal must be
stable while the SCL signal is HIGH. It means that the SDA signal can be changed
only during the LOW duration of the SCL line.
4. S: START signal, initiated by the host to start a communication, the SDA goes from
HIGH to LOW while the SCL is HIGH.
5. RS: RE-START signal, same as the START signal, to start a read command that
follows a write command.
6. P: STOP signal, generated by the host to stop a communication, the SDA goes from
LOW to HIGH while the SCL is HIGH. The bus becomes free thereafter.
7. W: write bit, when the write/read bit = LOW in a write command.
8. R: read bit, when the write/read bit = HIGH in a read command.
9. A: device acknowledge bit, returned by the LM75A. It is LOW if the device works
properly and HIGH if not. The host must release the SDA line during this period in
order to give the device the control on the SDA line.
10. A’: master acknowledge bit, not returned by the device, but set by the master or host
in reading 2-byte data. During this clock period, the host must set the SDA line to
LOW in order to notify the device that the first byte has been read for the device to
provide the second byte onto the bus.
11. NA: Not Acknowledge bit. During this clock period, both the device and host release
the SDA line at the end of a data transfer, the host is then enabled to generate the
STOP signal.
12. In a write protocol, data is sent from the host to the device and the host controls the
SDA line, except during the clock period when the device sends the device
acknowledgement signal to the bus.
13. In a read protocol, data is sent to the bus by the device and the host must release the
SDA line during the time that the device is providing data onto the bus and controlling
the SDA line, except during the clock period when the master sends the master
acknowledgement signal to the bus.
LM75A_4 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 04 — 10 July 2007 12 of 24
NXP Semiconductors
LM75A
Digital temperature sensor and thermal watchdog
Fig 5. Write configuration register (1-byte data)
001aad624
1
1SSDA
SCL
001A2A1A0WA 00000001A 000D4D3D2D1D0A P
23456789123456789123456789
START
STOP
write device
acknowledge
device
acknowledge
device
acknowledge
device address pointer byte configuration data byte
Fig 6. Read configuration register including pointer byte (1-byte data)
001aad625
SCL
SDA
(next)
(next)
123456789123456789
device address pointer byte
START
RE-START
write
device
acknowledge
device
acknowledge
00000001A
RS
1S 0 0 1 A2 A1 A0 W A
SCL (cont.)
SDA (cont.)
123456789123456789
device address data byte from device
STOP
read
master not
acknowledged
device
acknowledge
D7 D6 D5 D4 D3 D2 D1 D0 P1001A2A1A0RA NA
Fig 7. Read configuration register with preset pointer (1-byte data)
001aad626
START
S
SCL
SDA
123456789123456789
device address data byte from device
STOP
read
master not
acknowledged
device
acknowledge
D7 D6 D5 D4 D3 D2 D1 D0 P1001A2A1A0RA NA

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