LM80
Serial Interface ACPI-Compatible Microprocessor System
Hardware Monitor
General Description
The LM80 provides 7 positive voltage inputs, temperature
measurement, fan speed measurement, and hardware
monitoring on an I
WATCHDOG comparisons of all measured values and an
open-drain interrupt output becomes active when any values
exceed programmed limits.AChassis Intrusion input is provided to monitor and reset an external circuit designed to
latch a chassis intrusion event.
The LM80 is especially suited to interface to both linear and
digital temperature sensors. The 10 mV LSB and 2.56 volt
input range is ideal for accepting inputs from a linear sensor
such as the LM50. The BTI is used as an input from either
digital or thermostat sensors such as LM75 and LM56.
The LM80’s 2.8V to 5.75V supply voltage range, low supply
current, and I
applications. These includehardwaremonitoringandprotection applications in personal computers, electronic test
equipment, and office electronics.
2
C™interface. The LM80 performs
2
C interface make it ideal for a wide range of
Features
n Temperature sensing
n 7 positive voltage inputs
n 2 programmable fan speed monitoring inputs
n 10 mV LSB and 2.56V input range accepts outputs from
linear temperature sensors such as the LM50
n Chassis Intrusion Detector input
n WATCHDOG comparison of all monitored values
n Separate input to show status in Interrupt Status
Register of additional external temperature sensors such
as the LM56 or LM75
2
n I
C Serial Bus interface compatibility
n Shutdown mode to minimize power consumption
n Programmable RST_OUT/OS pin: RST_OUT provides a
Reset output; OS provides an Interrupt Output activated
by an Overtemperature Shutdown event
Key Specifications
j
Voltage monitoring Error
j
Temperature Error
−25˚C to +125˚C
j
Supply Voltage Range2.8V to
j
Supply CurrentOperating:0.2 mA typ
Shutdown:15 µA typ
j
ADC Resolution8 Bits
j
Temperature Resolution0.5˚C
±
1% (max)
±
3˚C (max)
5.75V
Applications
n System Thermal and Hardware Monitoring for Servers
and PCs
n Office Electronics
n Electronic Test Equipment and Instrumentation
LM80 Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor
Typical Application
DS100040-1
#
Indicates Active Low (“Not”)
I2C®is a registered trademark of the Philips Corporation.
-Tape and reel transport media, 3400 parts per reel
1
LM80CIMT-3MTC24B3.3V
2
1
LM80CIMT-5MTC24B5.0V
2
Block Diagram
Marking
NS
Package
Number
Connection Diagram
Power
Supply
Voltage
DS100040-2
Pin Descriptions
Pin
Name(s)
INT_IN
SDA21Digital I/OSerial Bus bidirectional Data. Open-drain output.
SCL31Digital InputSerial Bus Clock.
www.national.com2
Pin
Number
Number
of Pins
TypeDescription
11Digital InputThis is an active low input that propagates the INT_IN signal to the
INT output of the LM80 via Interrupt Mask Register 1 Bit 7 and INT
enable Bit 1 of the Configuration Register.
DS100040-3
Pin Descriptions (Continued)
LM80
Pin
Name(s)
FAN1-FAN24-52Digital Inputs0 to V
BTI
CI (Chassis
Intrusion)
GND81GROUNDInternally connected to all of the digital circuitry.
+
V
(+2.8V to
+5.75V)
INT
GPO (Power
Switch Bypass)
NTEST_IN/
RESET_IN
RST_OUT/OS
GNDA141GROUNDInternally connected to all analog circuitry. The ground reference for
IN6-IN015-217Analog Inputs0V to 2.56V full scale range Analog Inputs.
A0/NTEST_OUT221Digital I/OThe lowest order bit of the Serial Bus Address. This pin functions as
A1-A223-242Digital InputsThe two highest order bits of the Serial Bus Address.
TOTAL PINS24
Pin
Number
61Digital InputBoard Temperature Interrupt driven by O.S. outputs of additional
71Digital I/OAn active high input from an external circuit which latches a Chassis
91POWER+3.3V or +5V V+power. Bypass with the parallel combination of
111Digital OutputAn active low open drain output intended to drive an external
121Digital InputAn active-low input that enables NAND Tree board-level connectivity
131Digital OutputMaster Reset, 5 mA driver (open drain), active low output with a
Number
of Pins
TypeDescription
+
fan tachometer inputs.
temperature sensors such as LM75. Provides internal pull-up of
10 kΩ.
Intrusion event. This line can go high without any clamping action
regardless of the powered state of the LM80. The LM80 provides an
internal open drain on this line, controlled by Bit 5 of the
Configuration Register, to provide a minimum 10 ms reset of this
line.
10 µF (electrolytic or tantalum) and 0.1 µF (ceramic) bypass
capacitors.
drain). The mode is selected with Bit 5 of the Configuration Register
and the output is enabled when Bit 1 of the Configuration Register
is set to 1. The default state is disabled.
P-channel power MOSFET for software power control.
testing. Refer to Section 10.0 on NAND Tree testing. Whenever
NAND Tree connectivity is enabled the LM80 is also reset to its
power on state.
10 ms minimum pulse width. Available when enabled via Bit 4 in
Configuration Register and Bit 7 of the Fan Divisor/RST_OUT/OS
Register. Bit 6 of the Fan Divisor/RST_OUT/OS Register enables
this output as an active low Overtemperature Shutdown (OS).
all analog inputs. This pin needs to be taken to a low noise analog
ground plane for optimum performance.
an output when doing a NAND Tree test.
www.national.com3
Absolute Maximum Ratings (Notes 1, 2)
LM80
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
Positive Supply Voltage (V
+
)6.5V
Voltage on Any Input or Output Pin−0.3V to (V
Ground Difference (GND - GNDA)
Input Current at any Pin (Note 3)
Package Input Current (Note 3)
Maximum Junction Temperature
The following specifications apply for +2.8 VDC≤V+≤ +3.8 VDCfor LM80CIMT-3, +4.25 VDC≤V+≤ +5.75 VDCfor LM80CIMT-5,
unless otherwise specified. Boldface limits apply for T
A=TJ=TMIN
SymbolParameterConditionsTypicalLimitsUnits
SERIAL BUS TIMING CHARACTERISTICS
t
1
t
2
t
3
t
4
t
5
SCL (Clock) Period2.5µs (min)
Data In Setup Time to SCL High100ns (min)
Data Out Stable After SCL Low0ns (min)
SDA Low Setup Time to SCL Low (start)100ns (min)
SDA High Hold Time After SCL High (stop)100ns (min)
to T
; all other limits TA=TJ= 25˚C. (Note 13)
MAX
(Note 8)(Note 9)(Limits)
FIGURE 1. Serial Bus Timing Diagram
www.national.com6
DS100040-4
AC Electrical Characteristics (Continued)
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Operating Ratings indicate conditions for which the device is
functional, but do not guarantee specific performance limits. For guaranteed specifications and test conditions, see the Electrical Characteristics. The guaranteed
specifications apply only for the test conditions listed. Some performance characteristics may degrade when the device is not operated under the listed test
conditions.
Note 2: All voltages are measured with respect to GND, unless otherwise specified
Note 3: When the input voltage (V
The 20 mA maximum package input current rating limits the number of pins that can safely exceed the power supplies with an input current of 5 mA to four.
Note 4: The maximum power dissipation must be derated at elevated temperatures and is dictated by T
allowable power dissipation at any temperature is P
Note 5: The human body model is a 100 pF capacitor discharged through a 1.5 kΩ resistor into each pin. The machine model is a 200 pF capacitor discharged
directly into each pin.
Note 6: See the section titled “Surface Mount” found in any post 1986 National Semiconductor Linear Data Book for other methods of soldering surface mount
devices.
Note 7: Each input and output is protected by a nominal 6.5V breakdown voltage zener diode to GND; as shown below, input voltage magnitude up to 0.3V above
+
V
or 0.3V below GND will not damage the LM80. There are parasitic diodes that exist between the inputs and the power supply rails. Errors in the ADC conversion
can occur if these diodes are forward biased by more than 50 mV. As an example, if V
conversions.
) at any pin exceeds the power supplies (V
IN
=(TJmax−TA)/θJA.
D
<
(GND or GNDA) or V
IN
+
is 4.50 VDC, input voltage must be ≤ 4.55 VDC, to ensure accurate
DS100040-5
>
V+), the current at that pin should be limited to 5 mA.
IN
max, θJAand the ambient temperature, TA. The maximum
J
LM80
An x indicates that the diode exists.
Pin NameD1D2D3Pin NameD1D2 D3
INT_IN
xxxNTEST_IN/
x
Reset_IN
CIxxIN0-IN6xxx
GPO
FAN1–FAN2xINT
xxBTIxxx
xxx
SCLxA1-A2xxx
SDAxxA0/NTEST_Outxxx
RST_OUT/OS
x
FIGURE 2. ESD Protection Input Structure
Note 8: Typicals are at T
Note 9: Limits are guaranteed to National’s AOQL (Average Outgoing Quality Level).
Note 10: TUE (Total Unadjusted Error) includes Offset, Gain and Linearity errors of the ADC.
Note 11: Total Monitoring Cycle Time includes temperature conversion, 7 analog input voltage conversions and 2 tachometer readings. Each input voltage
conversion takes 100 ms typical and 112 ms maximum. 8-plus sign Temperature resolution takes 100 ms typical and 112 ms maximum, while 11-bit plus sign takes
800 ms typical and 900 ms maximum. Fan tachometer readings take 20 ms typical, at 4400 rpm, and 200 ms max.
Note 12: The total fan count is based on 2 pulses per revolution of the fan tachometer output.
Note 13: Timing specifications are tested at the Serial Bus Input logic levels, V
=25˚C and represent most likely parametric norm.
J=TA
=0.3xV+for a falling edge and V
IN(0)
=0.7xV+for a rising edge.
IN(1)
www.national.com7
Test Circuit
LM80
FIGURE 3. Digital Output Load Test Circuitry
Functional Description
1.0 GENERAL DESCRIPTION
The LM80 provides 7 analog inputs, a temperature sensor, a
Delta-Sigma ADC (Analog-to-Digital Converter), 2 fan speed
counters, WATCHDOG registers, and a variety of inputs and
outputs on a single chip. A two wire Serial Bus interface is
provided. The LM80 performs power supply, temperature,
fan control and fan monitoring for personal computers.
The LM80 continuously converts analog inputs to 8-bit digital
words with a 10 mV LSB (Least Significant Bit) weighting,
yielding input ranges of 0 to 2.56V. The Analog inputs are
intended to be connected to the several power supplies
present in a a typical computer. Temperature can be converted to a 9-bit or 12-bit two’s complement word with resolutions of 0.5˚C LSB or 0.0625˚C LSB, respectively.
Fan inputs can be programmed to accept either fan failure
indicator or tachometer signals. Fan failure signals can be
programmed to be either active high or active low.Fan inputs
measure the period of tachometer pulses from the the fans,
providing a higher count for lower fan speeds. The fan inputs
are digital inputs with and acceptable range of 0 to V
and a transition level of approximately V
fan counts are 255 (8-bit counter), which represent a
stopped or very slow fan. Nominal speed based on a count
of 153, are programmable from 1100 to 8800 RPM. Signal
conditioning circuitry is included to accommodate slow rise
and fall times.
The LM80 provides a number of internal registers, as detailed in
Configuration Register:Provides control and configuration.
Interrupt Status Registers:Two registers to provide
status of each WATCHDOG limit or Interrupt event.
Interrupt Mask Registers:Allows masking of individual
Interrupt sources, as well as separate masking for each of
both hardware Interrupt outputs.
Figure 4
. These include:
+
/2 volts. Full scale
+
volts
DS100040-6
Fan Divisor/RST_OUT/OS Registers: Bits 0-5 of this register contain the divisor bits for FAN1 and FAN2 inputs. Bits
6-7 control the function of the RST_OUT/OS output.
OS Configuration/Temperature Resolution Register: The
configuration of the OS (Overtemperature Shutdown) is controlled by the lower 3 bits of this register. Bit 3 enables 12-bit
temperature conversions. Bits 4-7 reflect the lower four bits
of the temperature reading for a 12-bit resolution.
Value RAM: The monitoring results: temperature, voltages,
fan counts, and Fan Divisor/RST_OUT/OS Register limits
are all contained in the Value RAM. The Value RAM consists
of a total of 32 bytes. The first 10 bytes are all of the results,
the next 20 bytes are the Fan Divisor/RST_OUT/OS Register limits, and are located at 20h-3Fh, including two unused
bytes in the upper locations.
When the LM80 is started, it cycles through each measurement in sequence, and it continuously loops through the
sequence approximately once every second. Each measured value is compared to values stored in WATCHDOG, or
Limit registers. When the measured value violates the programmed limit the LM80 will set a corresponding Interrupt in
the Interrupt Status Registers. Two hardware Interrupt lines,
INT and RST_OUT/OS are available. INT is fully programmable with masking of each Interrupt source, and masking of
each output. RST_OUT/OS is dedicated to the temperature
reading WATCHDOG registers. In addition, the Fan Divisor
register has control bits to enable or disable the hardware
Interrupts.
Additional digital inputs are provided for chaining of INT,
outputs of multiple external LM75 temperature sensors via
the BTI (Board Temperature Interrupt) input, and a CI (Chassis Intrusion) input. The Chassis Intrusion input is designed
to accept an active high signal from an external circuit that
latches when the case is removed from the computer.
www.national.com8
Functional Description (Continued)
2.0 INTERFACE
LM80
FIGURE 4. LM80 Register Structure
DS100040-7
www.national.com9
Functional Description (Continued)
LM80
2.1 Internal Registers of the LM80
TABLE 1. The internal registers and their corresponding internal LM80 address is as follows:
RegisterLM80 Internal Hex
Address (This is the
data to be written to
the Address Register)
Configuration Register00h0000 1000
Interrupt Status Register 101h0000 0000
Interrupt Status Register 202h0000 0000
Interrupt Mask Register 103h0000 0000
Interrupt Mask Register 204h0000 0000
Fan Divisor/RST_OUT/OS
Register
OS/ Configuration and
Temperature Resolution
Register
Value RAM20h-3Fh
05h0001 0100FAN1 and FAN2 divisor = 2 (count of 153 =
06h0000 0001
Power on
Value
Notes
4400 RPM)
www.national.com10
Functional Description (Continued)
2.2 Serial Bus Interface
(a) Serial Bus Write to the Internal Address Register followed by the Data Byte
LM80
DS100040-8
(b) Serial Bus Write to the Internal Address Register Only
(c) Serial Bus Read from a Register with the Internal Address Register Preset to Desired Location
FIGURE 5. Serial Bus Timing
The Serial Bus control lines consists of the SDA (serial data),
SCL (serial clock) and A0-A1 (address) pins. The LM80 can
only operate as a slave. The SCL line only controls the serial
interface, all other clock functions within LM80 such as the
ADC and fan counters are done with a separate asynchronous internal clock.
When using the Serial Bus Interface a write will always
consist of the LM80 Serial Bus Interface Address byte, followed by the Internal Address Register byte, then the data
byte. There are two cases for a read:
1. If the Internal Address Register is known to be at the
desired Address, simply read the LM80 with the Serial
Bus Interface Address byte, followed by the data byte
read from the LM80.
DS100040-9
DS100040-10
2. If the Internal Address Register value is unknown, write
to the LM80 with the Serial Bus Interface Address byte,
followed by the Internal Address Register byte. Then
restart the Serial Communication with a Read consisting
of the Serial Bus Interface Address byte, followed by the
data byte read from the LM80.
The default power on Serial Bus address for the LM80 is:
0101(A2)(A1)(A0) binary, where A0-A2 reflect the state of
the pins defined by the same names.
All of these communications are depicted in the Serial Bus
Interface Timing Diagrams as shown in
Figure 5
.
www.national.com11
Functional Description (Continued)
LM80
3.0 USING THE LM80
3.1 Power On
When power is first applied, the LM80 performs a “power on
reset” on several of its registers. The power on condition of
registers is shown in
values are not shown have power on conditions that are
indeterminate (this includes the value RAM and WATCHDOG limits). The ADC is inactive. In most applications, usually the first action after power on would be to write WATCHDOG limits into the Value RAM.
3.2 Resets
Configuration Register INITIALIZATION accomplishes the
same function as power on reset. The Value RAM conversion results, and Value RAM WATCHDOG limits are not
Reset and will be indeterminate immediately after power on.
If the Value RAM contains valid conversion results and/or
Value RAM WATCHDOG limits have been previously set,
they will not be affected by a Configuration Register INITIALIZATION.Power on reset, or Configuration Register INITIALIZATION, clear or initialize the following registers (the initialized values are shown in
Configuration Register
Interrupt Status Register 1
Interrupt Status Register 2
Interrupt Mask Register 1
Interrupt Mask Register 2
Fan Divisor/RST_OUT/OS Register
OS Configuration/Temperature Resolution Register
Value Ram (Registers at Address 20h - 3Fh, which include:
Temperature reading, IN0-IN6 readings, FAN1 and FAN2
readings, and WATCHDOG limits)
Configuration Register INITIALIZATION is accomplished by
setting Bit 7 of the Configuration Register high. This Bit
automatically clears after being set.
The LM80 can be reset to it’s “power on state” by taking
NTEST_IN/Reset_IN pin low for at least 50 ns.
3.3 Using the Configuration Register
The Configuration Register provides all control over the
LM80. At power on, the ADC is stopped and INT_Clear is
asserted, clearing the INT and RST_OUT/OS hardwire outputs. The Configuration Register starts and stops the LM80,
enables and disables INT outputs, clears and sets CI and
GPO I/O pins, initiates reset pulse on RST_OUT/OS pin, and
provides the Reset function described in
Bit 0 of the Configuration Register controls the monitoring
loop of the LM80. Setting Bit 0 low stops the LM80 monitoring loop and puts the LM80 in shutdown mode, reducing
power consumption. Serial Bus communication is possible
with any register in the LM80 although activity on these lines
will increase shutdown current, up to as much as maximum
rated supply current, while the activity takes place. TakingBit
0 high starts the monitoring loop, described in more detail
subsequently.
Bit 1 of the Configuration Register enables the INT Interrupt
hardwire output when this bit is taken high.
Bit 2 of the Configuration Register defines whether the INT
pin is open source or open drain.
Table 1
. Registers whose power on
Table 1
):
Section 3.2
Bit 3 clears the INT output when taken high. The LM80
monitoring function will stop until bit 3 is taken low. The
content of the Interrupt (INT) Status Registers will not be
affected.
Bit4, when taken high, will initiate a 10 ms RESET signal on
the RST_OUT/OS output (when this pin is in the RST mode).
When bit 5 is taken high the CI (Chassis Intrusion) pin is
reset.
Bit 6 of the configuration register sets or clears the GPO
output. This pin can be used in software power control by
activating an external power control MOSFET.
3.4 Starting Conversions
3.4 STARTING CONVERSION The monitoring function
(Analog inputs, temperature, and fan speeds) in the LM80 is
started by writing to the Configuration Register and setting
INT_Clear (Bit 3), low, and Start (Bit 0), high. The LM80 then
performs a round-robin monitoring of all analog inputs, temperature, and fan speed inputs approximately once a second. If the temperature resolution is set to 12 bits one
complete monitoring function will take approximately 2 seconds. The sequence of items being monitored corresponds
to locations in the Value RAM (except for the Temperature
reading) and is:
1. Temperature
2. IN0
3. IN1
4. IN2
5. IN3
6. IN4
7. IN5
8. IN6
9. Fan 1
10. Fan 2
3.5 Reading Conversion Results
The conversion results are available in the Value RAM.
Conversions can be read at any time and will provide the
result of the last conversion. Because the ADC stops, and
starts a new conversion whenever the conversion is read,
reads of any single value should not be done more often
than once every 120 ms. When reading all values with the
temperature resolution set to 9-bits, allow at least 1.5 seconds between reading groups of values. Reading more frequently than once every 1.5 seconds can also prevent complete updates of Interrupt Status Registers and Interrupt
Outputs. If the temperature resolution is set to 12-bit, allow at
.
least 2.0 seconds between reading groups of values.
A typical sequence of events upon power on of the LM80
would consist of:
1. Set WATCHDOG Limits
2. Set Interrupt Masks
3. Start the LM80 monitoring process
4.0 ANALOG INPUTS
The 8-bit ADC has a 10 mV LSB, yielding a 0V to 2.55V
(2.56 - 1LSB) input range. This is true for all analog inputs. In
PC monitoring applications these inputs would most often be
connected to power supplies. The 2.5, 3.3,
inputs should be attenuated with external resistors to any
desired value within the input range. Care should be taken
not to exceed the power supply voltage (V
±
5 and±12 volt
+
) at any time.
www.national.com12
Functional Description (Continued)
A typical application, such as is shown in
select the input voltage divider to provide 1.9V at the analog
inputs of the LM80. This is sufficiently high for good resolution of the voltage, yet leaves headroom for upward excursions from the supply of about 25%. To simplify the process
of resistor selection, set the value of R2 first. Select a value
for R2 or R4 between 10 kΩ and 100 kΩ This is low enough
to avoid errors due to input leakage currents yet high enough
to both protect the inputs under overdrive conditions as well
as minimize loading of the source. Then select R1 or R3 to
provide a 1.9V input as show in
Figure 6
For positive input voltages the equation for calculating R1 is
as follows:
R1=[(V
S−VIN
)/VIN]R2
For negative input voltages the equation for Calculating R3
is as follows:
R3=[(V
)/(VIN− 5V)] R4
S−VIN
The analog inputs have internal diodes that clamp inputs
exceeding the power supply and ground. Exceeding any
analog input has no detrimental effect on other channels.
The input diodes will also clamp voltages appearing at the
inputs of an un-powered LM80. External resistors should be
included to limit input currents to the values given in the
ABSOLUTE MAXIMUM RATINGS for Input Current At Any
Pin. Inputs with the attenuator networks will usually meet
these requirements. If it is possible for inputs without attenuators to be turned on while LM80 is powered off, additional
resistors of about 10 kΩ should be added in series with the
inputs to limit the input current.
Figure 6
.
, might
LM80
5.0 LAYOUT AND GROUNDING
Analog inputs will provide best accuracy when referred to the
AGND pin or a supply with low noise. A separate,
low-impedance ground plane for analog ground, which provides a ground point for the voltage dividers and analog
components, will provide best performance but is not mandatory.Analog components such as voltage dividers should
be located physically as close as possible to the LM80.
The power supply bypass, the parallel combination of 10 µF
(electrolytic or tantalum) and 0.1 µF (ceramic) bypass capacitors connected between pin 9 and ground, should also
be located as close as possible to the LM80.
Divide by 188006.82 ms15361609.74 ms
Divide by 2440013.64 ms153308019.48 ms
Divide by 4220027.27 ms153154038.96 ms
Divide by 8110054.54 ms15377077.92 ms
www.national.com15
Functional Description (Continued)
LM80
7.0 TEMPERATURE MEASUREMENT SYSTEM
The LM80 bandgap type temperature sensor and ADC perform 9-bit or a 12-bit two’s-complement conversions of the
temperature. An 8-bit digital comparator is also incorporated
that compares the readings to the user-programmable Hot
and Overtemperature setpoints, and Hysteresis values.
(Non-Linear Scale for Clarity)
FIGURE 8. 9-bit Temperature-to-Digital Transfer
Function
DS100040-20
7.1 Temperature Data Format
Temperature data can be read from the Temperature, T
T
,Tosand T
hot hyst
T
hot,Thot hyst,Tos
point, T
hot hyst
set point, Tosset point and T
setpoint registers; and written to the
os hyst
and T
setpoint registers. T
os hyst
os hyst
hot
set
hot
temperature data is represented by an 8-bit, two’s complement word
with an LSB (Least Significant Bit) equal to 1˚C:
TemperatureDigital Output
BinaryHex
+125˚C0111 11017Dh
+25˚C0001 100119h
+1.0˚C0000 000101h
+0˚C0000 000000h
−1.0˚C1111 1111FFh
−25˚C1110 0111E7h
−55˚C1100 1001C9h
,
DS100040-16
(Non-Linear Scale for Clarity)
FIGURE 9. 12-bit Temperature-to-Digital Transfer
Function
www.national.com16
Functional Description (Continued)
By default Temperature Register data is represented by a
9-bit two’s complement digital word with the LSB having a
resolution of 0.5˚C:
TemperatureDigital Output
BinaryHex
+125˚C0 1111 10100 FAh
+25˚C0 0011 00100 32h
+1.5˚C0 0000 00110 03h
+0˚C0 0000 00000 00h
−0.5˚C1 1111 11111 FFh
−25˚C1 1100 11101 CEh
−55˚C1 1001 00101 92h
Temperature Register data can also be represented by a
12-bit two’s complement digital word with a LSB of 0.0625˚C:
TemperatureDigital Output
BinaryHex
+125˚C0111 1100 00007 D0h
+25˚C0001 1001 00001 90h
+1.0˚C0000 0001 00000 10h
+0.0625˚C0000 0000 00010 01h
0˚C0000 0000 000000h
−0.0625˚C1111 1111 1111F FFh
−1.0˚C1111 1111 0000F F0h
−25˚C1110 0111 0000E 70h
−55˚C1100 1001 0000C 90h
The 8 MSBs of the Temperature reading can be found at
ValueRAM address 28 h. The remainder of the Temperature
reading can be found in the OS Configuration/Temperature
Resolution Register bits 7-4. In 9-bit format bit 7 is the only
valid bit.
7.2 Temperature Interrupts
There are four Value RAM WATCHDOG limits for the Temperature reading that affect the INT and OS outputs of the
LM80. They are: Hot Temperature Limit, Hot Temperature
Hysteresis Limit, OS Limit, OS Hysteresis Limit. There are
three interrupt modes of operation: “One-Time Interrupt”
mode, “Default Interrupt” mode, and “Comparator Mode”.
The OS output of the LM80 can be programmed for
“One-TimeInterrupt” mode and “Comparator” mode. INT can
be programmed for “Default Interrupt” mode and “One-Time”
Interrupt.
“Default Interrupt mode” operates in the following way:
Exceeding T
causes an Interrupt that will remain active
hot
indefinitely until reset by reading Interrupt Status Register 1
or cleared by the INT_Clear bit in the Configuration register.
Once an Interrupt event has occurred by crossing T
hot
, then
reset, an Interrupt will occur again once the next temperature
conversion has completed. The interrupts will continue to
occur in this manner until the temperature goes below T
, at which time the Interrupt output will automatically
hyst
hot
clear.
“One-Time Interrupt” mode operates in the following way:
Exceeding T
causes an Interrupt that will remain active
hot
indefinitely until reset by reading Interrupt Status Register 1
or cleared by the INT_Clear bit in the Configuration register.
Once an Interrupt event has occurred by crossing T
hot
, then
reset, an Interrupt will not occur again until the temperature
goes below T
hot hyst
.
“Comparator” mode operates in the following way: Exceeding T
causes the OS output to go Low (default). OS
os
will remain Low until the temperature goes below Tos. Once
the temperature goes below T
, OS will go High.
os
LM80
www.national.com17
Functional Description (Continued)
LM80
DS100040-17
Interrupt Status Register.
the OS and INT outputs nor the OS and Hot Temp bits. The interrupt outputs are cleared by reading the appropriate
Temperature Interrupt Response Diagram. This diagram does not reflect all the possible variations in the operation of
www.national.com18
Functional Description (Continued)
8.0 THE LM80 INTERRUPT STRUCTURE
LM80
FIGURE 10. Interrupt Structure
Figure 10
LM80 can generate Interrupts as a result of each of its
internal WATCHDOG registers on the analog, temperature,
and fan inputs.
8.1 INTERRUPT INPUTS
External Interrupts can come from the following sources.
While the label suggests a specific type or source of Interrupt, this label is not a restriction of its usage, and it could
come from any desired source:
•
depicts the Interrupt Structure of the LM80. The
BTI - This is an active low Interrupt intended to come
from the O.S. output of LM75 temperature sensors. The
LM75 O.S. output goes active when its temperature exceeds a programmed threshold. Up to 8 LM75’s can be
connected to a single Serial Bus bus with their O.S.
output’s wire or’d to the BTI input of the LM80. If the
temperature of any LM75 exceeds its programmed limit,
it drives BTI low. This generates an Interrupt to notify the
host of a possible overtemperature condition. Provides
an internal pull-up of 10 kΩ.
DS100040-18
CI (Chassis Intrusion) -This is an active high interrupt
•
from any type of device that detects and captures chassis
intrusion violations. This could be accomplished mechanically, optically, or electrically, and circuitry external
to the LM80 is expected to latch the event. The design of
the LM80 allows this input to go high even with no power
applied to the LM80, and no clamping or other interference with the line will occur. This line can also be pulled
low for at least 10 ms by the LM80 to reset a typical
Chassis Intrusion circuit. Accomplish this reset by setting
Bit 5 of Configuration Register high. The bit in the Register is self-clearing.
www.national.com19
Functional Description (Continued)
LM80
INT_IN -This active low Interrupt merely provides a
•
way to chain the INT (Interrupt) from other devices
through the LM80 to the processor.
8.2 INTERRUPT OUTPUTS
All Interrupts are indicated in the two Interrupt Status Registers.
INT output has two mask registers, and individual masks for
each Interrupt. As described in Section 3.3, this hardware
Interrupt line can also be enabled/disabled in the Configuration Register. The Configuration Register is also used to set
the mode of the INT Interrupt line.
OS is dedicated to the Temperature reading WATCHDOG. In
the “Fan Divisor/RST_OUT/OS Register” the OS enable bit
(Bit-6), must be set high and the RST enable bit (Bit -7) must
be set low to enable the OS function on the RST_OUT/OS
pin. OS pin has two modes of operation: “One-Time Interrupt” and “Comparator”. “One-Time Interrupt” mode is selected by taking bit-2 of the “OS Configuration/Temperature
Resolution Register” high. If bit-2 is taken low “Comparator”
mode is selected. Unlike the OS pin, the OS bit in “Interrupt
Status Register 2” functions in “Default Interrupt” and
“One-Time Interrupt” modes. The OS bit can be masked to
INT pin by taking bit-5 in the “Interrupt Mask Register 2” low.
A description of “Comparator”, “Default Interrupt” and
“One-Time Interrupt” modes can be found in Section 7.1.
8.3 INTERRUPT CLEARING
Reading an Interrupt Status Register will output the contents
of the Register, and reset the Register. A subsequent read
done before the analog “round-robin” monitoring loop is
complete will indicate a cleared Register. Allow at least 1.5
seconds to allow all Registers to be updated between reads.
In summary, the Interrupt Status Register clears upon being
read, and requires at least 1.5 seconds to be updated. When
the Interrupt Status Register clears, the hardwire interrupt
line will also clear until the Registers are updated by the
monitoring loop. The hardware Interrupt lines are cleared
with the INT_Clear bit, which is Bit 3 of the Configuration
Register, without affecting the contents of the Interrupt (INT)
Status Registers. When this bit is high, the LM80 monitoring
loop will stop. It will resume when the bit is low.
9.0 RST and GPO OUTPUTS
In PC applications the open drain GPO provides a gate drive
signal to an external P-channel MOSFET power switch. This
external MOSFET then would keep power turned on regardless of the state of front panel power switches when software
power control is used. In any given application this signal is
not limited to the function described by its label. For example, since the LM80 incorporates temperature sensing,
the GPO output could also be utilized to control power to a
cooling fan. Take GPO active low by setting Bit 6 in the
Configuration Register low.
RST is intended to provide a master reset to devices connected to this line. The RST_OUT/OS Control bit in Fan
Divisor/RST_OUT/OS Register, Bit 7, must be set high to
enable this function. Setting Bit 4 in the Configuration Register high outputs a least 10 ms low on this line, at the end of
which Bit 4 in the Configuration Register automatically
clears. Again, the label for this pin is only its suggested use.
In applications where the RST capability is not needed it can
be used for any type of digital control that requires a 10 ms
active low open drain output.
10.0 NAND TREE TESTS
A NAND tree is provided in the LM80 for Automated Test
Equipment (ATE) board level connectivity testing. If the user
applies a logic zero to the NTEST_IN/Reset_IN input pin, the
device will be in the NAND tree test mode. A0/NTEST_OUT
will become the NAND tree output pin. To perform a NAND
tree test all pins included in the NAND tree should be driven
to 1. Beginning with IN0 and working clockwise around the
chip, each pin can be toggled and a resulting toggle can be
observed on A0/NTEST_OUT. The following pins are excluded from the NAND tree test: GNDA (analog ground),
GND (digital ground), V + (power supply), A0/NTEST_OUT,
NTEST_IN/Reset_IN and RST_OUT/OS. Allow for a typical
propagation delay of 500 ns.
www.national.com20
Functional Description (Continued)
11.0 FAN MANUFACTURERS
Manufacturers of cooling fans with tachometer outputs are
listed below:
NMB Tech
9730 Independence Ave.
Chatsworth, California 91311
818 341-3355
818 341-8207
Model Num-
ber
2408NL2.36 in sq. X 0.79 in9-16
2410ML2.36 in sq. X 0.98 in14-25
3108NL3.15 in sq. X 0.79 in25-42
3110KL3.15 in sq. X 0.98 in25-40
Mechatronics Inc.
P.O. Box 20
Mercer Island, WA 98040
800 453-45698
Various sizes available with tach output option.
Frame SizeAirflow
CFM
(60 mm sq. X 20 mm)
(60 mm sq. X 25 mm)
(80 mm sq. X 20 mm)
(80 mm sq. X 25 mm)
LM80
Sanyo Denki America, Inc.
468 Amapola Ave.
Torrance, CA 90501
310 783-5400
Model NumberFrame SizeAirflow
CFM
109P06XXY6012.36 in sq. X 0.79 in11-15
(60 mm sq. X 20 mm)
109R06XXY4012.36 in sq. X 0.98 in13-28
(60 mm sq. X 25 mm)
109P08XXY6013.15 in sq. X 0.79 in23-30
(80 mm sq. X 20 mm)
109R08XXY4013.15 in sq. X 0.98 in21-42
(80 mm sq. X 25 mm)
www.national.com21
Functional Description (Continued)
LM80
12.0 REGISTERS AND RAM
12.1 Address Register
The main register is the ADDRESS Register. The bit designations are as follows:
BitNameRead/
Write
7-0Address
Pointer
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
A7A6A5A4A3A2A1A0
12.2 Address Pointer Index (A7–A0)
Registers and RAM
Configuration Register00h0000 1000
Interrupt Status Register 101h0000 0000
Interrupt Status Register 202h0000 0000
Interrupt Mask Register 103h0000 0000
Interrupt Mask Register 204h0000 0000
Fan Divisor/RST_OUT/OS
OS
Configuration/Temperature
Resolution Register
Value RAM20h–3Fh
Read/WriteAddress of RAM and Registers. See the tables below for detail.
Address Pointer (Power On default 00h)
A6–A0 in
Hex
05h0001 0100
06h0000 0001
Description
Power On Value of Registers:
<
7:0>in Binary
www.national.com22
Functional Description (Continued)
12.3 Configuration Register —Address 00h
Power on default
<
7:0>= 00001000 binary
BitNameRead/
Write
0StartRead/WriteA one enables startup of monitoring operations, a zero puts the part in standby mode.
Note: The outputs of Interrupt pins will not be cleared if the user writes a zero to this
location after an interrupt has occurred unlike “INT_Clear” bit.At start up, limit checking
functions and scanning begin. Note, all limits should be set in the Value RAM before
setting this bit HIGH.
1INT Enable
2INT polarity
select
3INT_ClearRead/WriteA one disables the INT and RST_OUT/OS outputs without affecting the contents of
4RESET
Read/WriteA one enables the INT Interrupt output.
Read/WriteA one selects an active high open source output while a zero selects an active low
open drain output.
Interrupt Status Registers. The device will stop monitoring. It will resume upon clearing
of this bit.
Read/WriteA one outputs at least a 10 ms active low reset signal at RESET, if<7>= 1 and
<6>
= 0 in the Fan Divisor/RST_OUT/OS Register. This bit is cleared once the pulse
Description
Functional Description (Continued)
12.4 Interrupt Status Register 1—Address 01h
Power on default
BitNameRead/WriteDescription
0IN0Read OnlyA one indicates a High or Low limit has been exceeded.
1IN1Read OnlyA one indicates a High or Low limit has been exceeded.
2IN2Read OnlyA one indicates a High or Low limit has been exceeded.
3IN3Read OnlyA one indicates a High or Low limit has been exceeded.
4IN4Read OnlyA one indicates a High or Low limit has been exceeded.
5IN5Read OnlyA one indicates a High or Low limit has been exceeded.
6IN6Read OnlyA one indicates a High or Low limit has been exceeded.
7INT_IN
12.5 Interrupt Status Register 2—Address 02h
Power on default
BitNameRead/WriteDescription
0Hot TemperatureRead OnlyA one indicates a High or Low limit has been exceeded. Only “One-Time Interrupt”
1BTI
2FAN1Read OnlyA one indicates that a fan count limit has been exceeded.
3FAN2Read OnlyA one indicates that a fan count limit has been exceeded.
4CI (Chassis
Intrusion)
5OS bit
<
7:0>= 0000 0000 binary
Read OnlyA one indicates that a Low has been detected on the INT_IN.
<
7:0>= 0000 0000 binary
and “Default Interrupt” modes are supported. The mode is set by bit-6 of the
Interrupt Mask Register 2.
Read OnlyA one indicates that an interrupt has occurred from the Board Temperature
Interrupt (BTI) input pin. BTI can be tied to the OS output of multiple LM75 chips.
Read OnlyA one indicates CI (Chassis Intrusion) has gone high.
Read OnlyA one indicates a High or a Low OS Temperature limit has been exceed. Only
Functional Description (Continued)
12.7 Interrupt Mask Register 2—Address 04h
Power on default
<
7:0>= 0000 0000 binary
LM80
BitNameRead/
Write
0Hot TemperatureRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
1BTIRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
2FAN1Read/WriteA one disables the corresponding interrupt status bit for INT interrupt.
3FAN2Read/WriteA one disables the corresponding interrupt status bit for INT interrupt.
4CI (Chassis
Intrusion)
5OS bitRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
6Hot Temperature
Interrupt mode
select
7OS bit Interrupt
mode select
Read/WriteA one disables the corresponding interrupt status bit for INT interrupt.
Read/Write
Read/Write
A zero selects the default interrupt mode which gives the user an interrupt if the
temperature goes above the hot limit. The interrupt will be cleared once the status
register is read, but it will again be generated when the next conversion has completed.
It will continue to do so until the temperature goes below the hysteresis limit.
Aone selects the one time interrupt mode which only gives the user one interrupt when
it goes above the hot limit. The interrupt will be cleared once the status register is read.
Another interrupt will not be generated until the temperature goes below the hysteresis
limit. It will also be cleared if the status register is read. No more interrupts will be
generated until the temperature goes above the hot limit again. The corresponding bit
will be cleared in the status register every time it is read but may not set again when the
next conversion is done. (See in Section 7.0)
A zero selects the default interrupt mode which gives the user an interrupt if the
temperature goes above the hot limit. The interrupt will be cleared once the status
register is read, but it will again be generated when the next conversion has completed.
It will continue to do so until the temperature goes below the hysteresis limit.
Aone selects the one time interrupt mode which only gives the user one interrupt when
it goes above the hot limit. The interrupt will be cleared once the status register is read.
Another interrupt will not be generated until the temperature goes below the hysteresis
limit. It will also be cleared if the status register is read. No more interrupts will be
generated until the temperature goes above the hot limit again. The corresponding bit
will be cleared in the status register every time it is read but may not set again when the
next conversion is done. (See Section in Section 7.0)
Description
www.national.com25
Functional Description (Continued)
LM80
12.8 Fan Divisor Register/RST_OUT/OS—Address 05h
Power on –<7:4>is 0101, and<3:0>is mapped to VID<3:0
BitNameRead/WriteDescription
0FAN1 Mode
Select
1FAN2 Mode
Select
2-3FAN1 RPM
Control
4-5FAN2 RPM
Control
6OS pin enable
7RST enable
Read/WriteA one selects the level sensitive input mode while a zero selects Fan count mode
for the FAN1 input pin.
Read/WriteA one selects the level sensitive input mode while a zero selects Fan count mode
for the FAN2 input pin.
Read/WriteFAN1 Speed Control.
<
3:2>= 00 - divide by 1;
<
3:2>= 01 - divide by 2;
<
3:2>= 10 - divide by 4;
<
3:2>= 11 - divide by 8.
If level sensitive input is selected:
will be generated if the FAN2 input is Low),
interrupt will be generated if the FAN2 input is High).
Read/WriteFAN2 Speed Control.
<
5:4>= 00 - divide by 1;
<
5:4>= 01 - divide by 2;
<
5:4>= 10 - divide by 4;
<
5:4>= 11 - divide by 8.
If level sensitive input is selected:
will be generated if the FAN2 input is Low),
interrupt will be generated if the FAN2 input is High).
Read/WriteA one enables OS mode on the RST_OUT/OS output pin, while Bit 7 of this register
is set to zero. If bits 6 and 7 of this register are set to zero the RST_OUT/OS pin is
disabled.
Read/WriteA one sets the RST_OUT/OS pin in the RST mode. In the RST mode, bit 7 of the
Fan Divisor/RST_OUT/OS Register has to be set to one. If bits 6 and 7 of this
register are set to zero the RST_OUT/OS pin is disabled.
>
>2<
<2>
= 1 selects and active-low input (An interrupt
>2<
= 0 selects an active-high input (an
= 1 selects and active-low input (An interrupt
<2>
= 0 selects an active-high input (an
12.9 OS Configuration/Temperature Resolution Register—Address 06h
Power on default Serial Bus address<7:0>= 0000 0001 binary
BitNameRead/WriteDescription
0OS status
1OS Polarity
2OS mode select
3Temperature
Resolution
Control
4-7Temp [3:0]Read/WriteThe lower nibble (4 LSBs) of the 11-bit plus sign temperature data.
www.national.com26
Read onlyStatus of the OS.This bit mirrors the state of the RST_OUT/OS pin when in the OS
mode.
Read/WriteA zero selects OS to be active-low, while a one selects OS to be active high. OS is
an open-drain output.
Read/WriteA one selects the one time interrupt mode for OS, while a zero selects comparator
mode for OS. (See in Section 7.0)
Read/WriteA zero selects the default 8-bit plus sign resolution temperature conversions while a
one selects 11-bit plus sign resolution temperature conversions. 8-bit plus sign
conversions time is approximately 100 ms, while 11-bit plus sign conversion time is
approximately 2 seconds.
<5>
[0] (nibble LSB, 0.0625˚C),
(nibble MSB, 0.5˚C). For 8-bit plus sign temperature resolution,
Note: This location stores the number of counts of the internal clock per revolution.
29hFAN2 reading
Note: This location stores the number of counts of the internal clock per revolution.
2AhIN0 High Limit
2BhIN0 Low Limit
2ChIN1 High Limit
2DhIN1 Low Limit
2EhIN2 High Limit
2FhIN2 Low Limit
30hIN3 High Limit
31hIN3 Low Limit
32hIN4 High Limit
33hIN4 Low Limit
34hIN5 High Limit
35hIN5 Low Limit
36hIN6 High Limit
37hIN6 Low Limit
38hHot Temperature Limit (High)
39hHot Temperature Hysteresis Limit (Low)
3AhOS Temperature Limit (High)
3BhOS Temperature Hysteresis Limit (Low)
3ChFAN1 Fan Count Limit
Note: It is the number of counts of the internal clock for the Low Limit of the fan speed.
3DhFAN2 Fan Count Limit
Note: It is the number of counts of the internal clock for the Low Limit of the fan speed.
3Eh-3FhReserved
Note: Setting all ones to the high limits for voltages and fans (0111 1111 binary for temperature) means interrupts will never be generated except the case when
voltages go below the low limits.
For voltage input high limits, the device is doing a greater than comparison. For low limits, however, it is doing a less than or equal to comparison.
LM80
www.national.com27
Typical Application
LM80
DS100040-19
FIGURE 11. In this PC application the LM80 monitors temperature, fan speed for 2 fans, and 7 power
supply voltages. It also monitors an optical chassis intrusion detector.
LM80 Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor
24-Lead Molded Plastic TSSOP
Order Number LM80CIMT-3, LM80CIMTX-3, LM80CIMTX-5 or LM80CIMT-5
NS Package Number MTC24B
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL
COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or
systems which, (a) are intended for surgical implant
into the body, or (b) support or sustain life, and
whose failure to perform when properly used in
accordance with instructions for use provided in the
2. A critical component is any component of a life
support device or system whose failure to perform
can be reasonably expected to cause the failure of
the life support device or system, or to affect its
safety or effectiveness.
labeling, can be reasonably expected to result in a
significant injury to the user.
National Semiconductor
Corporation
Americas
Email: support@nsc.com
www.national.com
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.