lm76chmx-5 National Semiconductor Corporation, lm76chmx-5 Datasheet - Page 9

no-image

lm76chmx-5

Manufacturer Part Number
lm76chmx-5
Description
?0.5?c, ?1?c, 12-bit + Sign Digital Temperature Sensor And Thermal Window Comparator With Two-wire Interface
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM76CHMX-5
Manufacturer:
NS/国半
Quantity:
20 000
1.0 Functional Description
and T_CRIT_A outputs. The fault queue is enabled by set-
ting bit 4 of the Configuration Register high (see Section
1.11).
1.8 INTERNAL REGISTER STRUCTURE
There are four data registers in the LM76, selected by the
Pointer register. At power-up the Pointer is set to “00”; the
location for the Temperature Register. The Pointer register
latches the last location it was set to. In Interrupt Mode, a
read from the LM76 resets the INT output. Placing the device
in Shutdown mode resets the INT and T_CRIT_A outputs. All
registers are read and write, except the Temperature register
which is read only.
A write to the LM76 will always include the address byte and
the Pointer byte. A write to the Configuration register re-
quires one data byte, while the T
registers require two data bytes.
Reading the LM76 can take place either of two ways: If the
location latched in the Pointer is correct (most of the time it is
expected that the Pointer will point to the Temperature reg-
ister because it will be the data most frequently read from the
LM76), then the read can simply consist of an address byte,
followed by retrieving the corresponding number of data
bytes. If the Pointer needs to be set, then an address byte,
FIGURE 4. Inadvertent 8-Bit Read from 16-Bit Register where D7 is Zero (“0”)
LOW
, T
HIGH
, and T_CRIT
(Continued)
9
pointer byte, repeat start, and another address byte plus
required number of data bytes will accomplish a read.
The first data byte is the most significant byte with most
significant bit first, permitting only as much data as neces-
sary to be read to determine the temperature condition. For
instance, if the first four bits of the temperature data indi-
cates a critical condition, the host processor could immedi-
ately take action to remedy the excessive temperature. At
the end of a read, the LM76 can accept either Acknowledge
or No Acknowledge from the Master (No Acknowledge is
typically used as a signal for the slave that the Master has
read its last byte).
An inadvertent 8-bit read from a 16-bit register, with the D7
bit low, can cause the LM76 to stop in a state where the SDA
line is held low as shown in Figure 4. This can prevent any
further bus communication until at least 9 additional clock
cycles have occurred. Alternatively, the master can issue
clock cycles until SDA goes high, at which time issuing a
“Stop” condition will reset the LM76.
10101507
10101508
www.national.com

Related parts for lm76chmx-5