LM81
Serial Interface ACPI-Compatible Microprocessor System
Hardware Monitor
General Description
The LM81 is a highly integrated data acquisition system for
hardware monitoring of servers, Personal Computers, or
virtually any microprocessor-based system. In a PC, the
LM81 can be used to monitor power supply voltages, temperatures, and fan speeds. Actual values for these inputs
can be read at any time. Programmable WATCHDOG limits
in the LM81 activate a fully programmable and maskable
interrupt system with two outputs (INT and T_CRIT_).
The LM81 has an on-chip digital output temperature sensor
with 9-bit or 12-bit resolution, a 6 analog inputADCwith8-bit
resolution and an 8-bit DAC. Two fan tachometer outputs
can be measured with the LM81’s FAN1 and FAN2 inputs.
The DAC, witha0to1.25V output voltage range, can be
used for fan speed control. Additional inputs are provided for
Chassis Intrusion detection circuits, and VID monitor inputs.
The LM81 has a Serial Bus interface that is compatible with
™
SMBus
.
Features
n Temperature sensing
n 6 positive voltage inputs with scaling resistors to monitor
+5V, +12V, +3.3V, +2.5V, Vccp power supplies directly
n 8-bit DAC output for controlling fan speed
n 2 fan speed monitoring inputs
n Chassis Intrusion detector input
n WATCHDOG comparison of all monitored values
n SMBus 1.0 (LM81C) and 1.1 (LM81B) Serial Bus
interface compatibility
n LM81B has improved voltage monitoring accuracy
n VID0-VID4 monitoring inputs
Key Specifications
j
Voltage Monitoring Error+2% or±1.2% (max)
j
Temperature Error
±
−40˚C to +125˚C
j
Supply Voltage Range2.8V to 3.8V
j
Supply Current0.4 mA (typ)
j
ADC and DAC Resolution8 Bits
j
Temperature Resolution0.5˚C
3˚C (max)
Applications
n System Thermal and Hardware Monitoring for Servers
and PCs
n Office Electronics
n Electronic Test Equipment and Instrumentation
LM81 Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor
A0/NTEST_OUT11Digital I/0The lowest order programmable bit of the serial bus address. This
A121Digital InputThe highest order programmable bit of the serial bus address.
SMBData31Digital I/OSerial Bus bidirectional Data. Open-drain output.
SMBCLK41Digital InputSerial Bus Clock.
FAN1-FAN25-62Digital InputsSchmitt Trigger fan tachometer inputs.
CI71Digital I/OAn active high input from an external circuit which latches a
T_CRIT_A
+
V
(+2.8V to
+3.8V)
Pin
Number
81Digital OutputCritical Temperature Alarm active low open-drain output. This pin
91POWER+3.3V V+power. Bypass with the parallel combination of 10 µF
Number
of Pins
TypeDescription
pin functions as an output during NAND Tree tests (board-level
connectivity testing). Refer to
Chassis Intrusion event. This line can go high without any
clamping action regardless of the powered state of the LM81.
There is also an internal open-drain output on this line, controlled
by Bit 6 of the Configuration Register (40h) or Bit 7 CI Clear
Register (46h), to provide a minimum 20 ms reset pulse. See
Section 3.3
can be grounded when not used.
(electrolytic or tantalum) and 0.1 µF (ceramic) bypass capacitors.
and
Section 9.0
SECTION 11
.
on NAND Tree testing.
www.national.com3
Pin Description (Continued)
LM81
Pin
Name(s)
INT
DACOut/NTEST_IN111Analog
RESET
GND131GROUNDInternally connected to all circuitry. The ground reference for all
Vccp2141Analog InputAnalog input for monitoring −12V or Vccp2. Selectable by
+12Vin151Analog InputAnalog input for monitoring +12V.
+5Vin161Analog InputAnalog input for monitoring +5V.
+3.3Vin171Analog InputAnalog input for monitoring +3.3V.
+2.5Vin181Analog InputAnalog input for monitoring +2.5V.
Vccp1191Analog InputAnalog input for monitoring Vccp, a processor voltage that is
VID4-VID020-245Digital InputsSupply Voltage readouts from the Pentium/PRO power supplies
TOTAL PINS24
Pin
Number
101Digital OutputInterrupt active low open-drain output. This output is enabled when
121Digital I/OMaster Reset, 5 mA driver (open-drain), active low output with a
Number
of Pins
TypeDescription
Bit 1 in the Configuration Register is set to 1. The default state is
disabled.
0V to +1.25V amplitude 8-bit DAC output. When forced high by an
Output/Digital
Input
external voltage the NAND Tree Test mode is enabled which
provides board-level connectivity testing. Refer to Section 11.0 on
NAND Tree testing.
20 ms minimum pulse width. Available when enabled via Bit 4 in
the Configuration register. It acts as an active low power on
RESET input.
analog inputs and the DAC output. This pin needs to be
connected to a low noise analog ground plane for optimum
performance of the DAC output.
choosing the appropriate external resistor divider values such that
the input to the LM81 is scaled to +2.5V. See
nominally at +2.5V.
that indicate the operating voltage or the processor (e.g. 1.5V to
2.9V). The values are read in the VID/Fan Divisor Register and
the VID4 Register.
Section 4.0.
www.national.com4
LM81
Absolute Maximum Ratings (Notes 1, 2)
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
The following specifications apply for +2.8VDC≤ V+≤ +3.8VDCon SMBCLK and SMBData, unless otherwise specified. Boldface limits apply for T
A=TJ=TMIN
to T
; all other limits TA=TJ= 25˚C. (Note 15)
MAX
SymbolParameterConditionsTypicalLimitsUnits
(Note 9)(Note 10)(Limits)
SERIAL BUS TIMING CHARACTERISTICS
t
1
t
rise
t
fall
t
2
t
3
t
4
SMBCLK (Clock) Period2.5µs (min)
SMBCLK and SMBData Rise Time1µs (max)
SMBCLK and SMBData Fall Time300ns (max)
Data In Setup Time to SMBCLK High100ns (min)
Data Out Stable After SMBCLK Low0ns (min)
SMBData Low Setup Time to SMBCLK Low
100ns (min)
(start)
t
5
SMBData High Hold Time After SMBCLK
100ns (min)
High (stop)
t
TIMEOUT
C
L
SMBData or SMBCLK low time required to
reset the Serial Bus Interface to the Idle
State
31
25
35
Capacitive Load on SMBCLK and SMBData400pF (max)
ms
ms (min)
ms (max)
FIGURE 1. Serial Bus Timing Diagram
www.national.com8
DS100072-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: The Absolute maximum input range for :
+2.5Vin - −0.3V to (1.4 x V
+3.3Vin - −0.3V to (1.8 x V
Note 4: When the input voltage (V
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 5: The maximum power dissipation must be derated at elevated temperatures and is dictated by T
allowable power dissipation at any temperature is P
Note 6: 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 7: 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 8: Parasitics and or ESD protection circuitry are shown in the figure below for the LM81’s pins. The nominal breakdown voltage of the zener D3 is 6.5V. Care
should be taken not to forward bias the parasitic diode, D1, present on pins: A0/NTEST_OUT,A1andDACOut/NTEST_IN. Doing so by more than 50 mV may corrupt
a temperature or voltage measurement.
Pin NameD1D2D3D4R1R2Pin NameD1D2D3D4R1R2
INT
CIxx0
FAN1–FAN2x0
SMBCLKx0
SMBDataxx0
RESETxx0
A0/NTEST_OUTxxx0
A1xxx0
+
+ 0.42V or 6V, whichever is smaller
+
+ 0.55V or 6V, whichever is smaller.
) at anypin exceeds the power supplies (V
IN
=(TJmax−TA)/θJA.
D
xx0
∞
∞
∞
∞
∞
∞
∞
∞
IN
<
GND or V
>
V+), the current at that pin should be limited to 5 mA. The 20 mA
IN
max, θJAand the ambient temperature, TA. The maximum
J
+12VinxxxR1+R2
Vccp1, Vccp2xx0
+5VinxxxR1+R2
+3.3Vin, +2.5VinxxxR1+R2
T_CRIT_Axx0
VID4–VID0xx0
DACOut/NTEST_INxxx0
LM81
∼120k
∞
∼120k
∼120k
∞
∞
∞
DS100072-5
An x indicates that the diode exists.
FIGURE 2. ESD Protection Input Structure
Note 9: Typicals are at TJ=TA= 25˚C and represent most likely parametric norm.
Note 10: Limits are guaranteed to National’s AOQL (Average Outgoing Quality Level).
Note 11: TUE (Total Unadjusted Error) includes Offset, Gain and Linearity errors of the ADC.
Note 12: Guaranteed at 3/4 scale
Note 13: Total Monitoring Cycle Time includes temperature conversion, 6 analog input voltage conversions and 2 tachometer readings. Each 9-bit temperature and
8-bit input voltage conversion takes 50 ms typical and 56 ms maximum. Twelve bit temperature conversion takes 400 ms. Fan tachometer readings take 20 ms
typical, at 4400 rpm, and 200 ms maximum.
Note 14: The total fan count is based on 2 pulses per revolution of the fan tachometer output.
Note 15: Timing specifications are tested at the specified logic levels, V
±
15%.
for a falling edge and VIHfor a rising edge.
IL
www.national.com9
Test Circuit
LM81
FIGURE 3. Digital Output Load Test Circuitry
Functional Description
1.0 GENERAL DESCRIPTION
The LM81 provides 6 analog inputs, a temperature sensor, a
Delta-Sigma ADC (Analog-to-Digital Converter), a DAC output, 2 fan speed counters, WATCHDOG registers, and a
variety of inputs and outputs on a single chip. A two wire
Serial Bus interface is included. The LM81 performs power
supply, temperature, fan control and fan monitoring for personal computers.
The analog inputs are useful for monitoring several power
supplies present in a typical computer. The LM81 includes
internal resistor dividers that scale and/or offset external
Vccp, +2.5V, +3.3V, +5.0V and +12V power supply voltages
to a 3/4 scale nominal ADC output. The LM81 ADC then
continuously converts the scaled inputs to 8-bit digital words.
Measurement of negative voltages (such as -5V and -12V
power supplies) can be accommodated with an external
resistor divider applied to the Vccp2 input. Temperature is
converted to a 9-bit or 12-bit two’s-complement digital word
with a 0.5˚C LSB or 0.0625˚C LSB, respectively.
Fan inputs measure the period of tachometer pulses from
the fans, providing a higher count for lower fan speeds. The
fan inputs are Schmitt-Trigger digital inputs with an acceptable range of 0V to V
+
V
/2. Full scale fan counts are 255 (8-bit counter) and this
represents a stopped or very slow fan. Nominal speeds,
based on a count of 153, are programmable from 1100 to
8800 RPM on FAN1 and FAN2. Schmitt-Trigger input circuitry is included to accommodate slow rise and fall times. A
0V to 1.25V DAC output voltage range can be used for
control of fan speed.
The LM81 has several internal registers, as shown in
4
,
Table 1
•
•
•
and
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 the two hardware Interrupt outputs.
+
and a transition level of approximately
Section 13.0
. These include:
Figure
DS100072-6
CI Clear Register:Allows transmitting a 20 ms low
•
pulse on the chassis intrusion pin (CI).
VID/Fan Divisor Register: This register contains the
•
state of the VID0-VID3 input lines and the divisor bits for
FAN1 and FAN2 inputs.
Serial Bus Address Register: Contains the Serial Bus
•
address. At power on it assumes the default value of
01011XX binary, and can be altered by the state of A0
and A1.
VID4 Register: Contains the state of the VID4 input.
•
Temperature Configuration Register: Selects the in-
•
terrupt mode and contains the 0.5˚C LSB of the temperature reading.
Extended Mode Registers:Enable and control the
•
Extended Mode which includes the LSBs of the 12-bit
temperature reading, T_CRIT, and T
Value RAM:The DAC digital input, monitoring results
•
(temperature, voltages, fan counts), WATCHDOG limits,
and Company/Stepping IDs are all contained in the Value
RAM. The Value RAM consists of a total of 34 bytes,
addresses 15h - 3Fh, containing:
— byte 1 at address 15h a manufacturers test register
— locations 16h - 18h are unassigned and do not have
associated registers
— byte 2 at address 19h contains the DAC Data Register
— locations 1Ah - 1Fh are unassigned and do not have
associated registers
— the next 10 bytes at addresses 20h -29h contain all of
the results, with address 26h reserved
— the next 18 bytes at addresses 2Bh-3Ch are the
WATCHDOG limits
— the last 2 bytes at addresses 3Eh and 3Fh contain the
Company ID and Stepping ID numbers, respectively
When the LM81 is started, it cycles through each measurement in sequence, and it continuously loops through the
sequence approximately once every 400 ms. Each measured value is compared to values stored in WATCHDOG,or
Limit registers. When the measured value violates the programmed limit the LM81 will set a corresponding Interrupt in
the Interrupt Status Registers. The hardware Interrupt line
INT is fully programmable with separate masking of each
HYST
www.national.com10
Functional Description (Continued)
Interrupt source. In addition, the Configuration Register has
a control bit to enable or disable the hardware Interrupt.
Another hardware Interrupt line available T_CRIT_A (Critical
Temperature Alarm Output) is used to signal a catastrophic
overtemperature event. Having a dedicated interrupt for this
2.0 INTERFACE
LM81
purpose allows for the fastest possible response time to a
thermal runaway event. This output can be enabled by setting bit 4 of Extended Mode Register 1.
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.
FIGURE 4. LM81 Register Structure
DS100072-7
www.national.com11
Functional Description (Continued)
LM81
2.1 Internal Registers of the LM81
TABLE 1. The internal registers and their corresponding internal LM81 addresses are as follows:
RegisterLM81 Internal Hex
Address
Configuration Register40h0000 1000
Interrupt Status Register 141h0000 0000
Interrupt Status Register 242h0000 0000
Interrupt Mask Register 143h0000 0000
Interrupt Mask Register 244h0000 0000
CI Clear Register46h0000 0000
VID/Fan Divisor Register47h0101 XXXXThe upper four bits set the divisor for Fan Counters 1
Serial Bus Address Register48h0010 11XXThe lower 2 bits reflect the state of A1 and A0, the
VID4 Register49h1000 000XThe lower bit reflects the state of VID4 input.
Temperature Configuration
Register
Extended Mode Register 14Ch0100 0100
Extended Mode Register 24Dh0000 0000
Value RAM DAC Data
Register
Value RAM20h-3FhContains: monitoring results (temperature, voltages,
4Bh0000 0001
19h1111 1111
Power on
Value
Notes
and 2. The lower four bits reflect the state of the
VID0-VID3 inputs.
Serial Bus address input pins.
fan counts), WATCHDOG limits, and
Company/Stepping IDs
www.national.com12
Functional Description (Continued)
2.2 Serial Bus Interface
(a) Serial Bus Write to the Internal Address Register followed by the Data Byte
LM81
DS100072-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 consist of the SMBData (serial
data), SMBCLK (serial clock) and A0-A1 (address) pins. The
LM81 can operate only as a slave. The SMBCLK line only
controls the serial interface, all other clock functions within
LM81 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 LM81 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 InternalAddress Register is known to already be at
the desired Address, simply read the LM81 with the
Serial Bus Interface Address byte, followed by the data
byte read from the LM81.
2. If the Internal Address Register value is unknown, or if it
is not the desired value, write to the LM81 with the Serial
DS100072-9
DS100072-10
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 LM81.
The default Serial Bus address of the LM81 is set to 010
11(A1)(A0).Allbits, except forA0 and A1, can be changed by
writing to the Serial Bus address register. A0 and A1 will
always reflect the state of the A0 and A1 input pins.
All of these communications are depicted in the Serial Bus
Interface Timing Diagrams as shown in
Figure 5
.
Serial Bus Timeout can be initiated by holding the SMBCLK
and/or SMBData lines low for greater than t
TIMEOUT
(35 ms
max). Serial Bus Timeout resets the serial bus interface
circuitry to the idle state and readies the LM81 for a new
serial bus communication.
www.national.com13
Functional Description (Continued)
LM81
3.0 USING THE LM81
3.1 Power On
When power is first applied, the LM81 performs a “power on
reset” on several of its registers. The power on condition of
the LM81’s registers in shown in
power on values are not shown have power on conditions
that are indeterminate (this includes the value RAM ,exclusive of the DAC data, and WATCHDOGlimits). When power
is first applied the ADC is inactive. In most applications,
usually the first action after power on is usually to write
WATCHDOG limits into the Value RAM. Register values can
be returned to their default values after power is applied to
the LM81 by taking RESET low for at least 50 ns.
3.2 Resets
Configuration Register INITIALIZATION accomplishes the
same function as power on reset on most registers. 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 on
Configuration Register
•
Interrupt Status Register 1
•
Interrupt Status Register 2
•
INT Mask Register 1
•
INT Mask Register 2
•
VID/Fan Divisor Register
•
Serial Bus Address Register (Power on reset only, not
•
reset by Configuration Register INITIALIZATION)
VID4 Register
•
Temperature Configuration Register
•
Extended Mode Register 1
•
Extended Mode Register 2
•
Configuration Register INITIALIZATION is accomplished by
setting Bit 7 of the Configuration Register high. This bit
automatically clears after being set.
3.3 Using the Configuration Register
The Configuration Register controls the LM81 operation. At
power on, the ADC is stopped and INT_Clear is asserted,
clearing the INT hardwire output. The Configuration Register
starts and stops the LM81, enables and disables interrupt
output, and provides the Reset function described in
3.2
.
Table 1
Registers whose
Table 1
Section
Bit 0 of the Configuration Register controls the monitoring
loop of the LM81. Setting Bit 0 low stops the LM81 monitoring loop and puts the LM81 in shutdown mode, reducing
power consumption. Serial Bus communication can take
place with any register in the LM81 although activity on the
SMBData and SMBCLK lines will increase shutdown current,
up to as much as maximum rated supply current, while the
activity takes place. Taking Bit 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 3 of the Configuration Register clears the INT output
when set high, without affecting the contents of the Interrupt
Status Registers. The LM81 will stop monitoring. It will resume upon clearing of this bit.
Bit 4 of the Configuration Register provides an active low 20
ms pulse at the RESET output when set high.
The CI_Clear provides an active low 20 ms pulse at the CI
output pin when set high. This is intended for resetting the
Chassis Intrusion circuitry.
The INITIALIZATION bit resets the internal registers of the
LM81 as described in
3.4 Starting Conversions
The monitoring function (Analog inputs, temperature, and
fan speeds) in the LM81 is started by writing to the Configu-
:
ration Register and setting INT_Clear (Bit 3), low, and Start
(bit 0), high. The LM81 then performs a “round-robin” monitoring of all analog inputs, temperature, and fan speed inputs
approximately once every 400 ms. The sequence of items
being monitored corresponds to locations in the Value RAM
and is:
1. Temperature
2. Vccp2
3. +12Vin
4. +5Vin
5. +3.3Vin
6. Vccp1
7. +2.5Vin
8. Fan 1
9. Fan 2
DACOut immediately changes after the DAC Data Register
in the Value RAM has been updated. For a zero to full scale
transition DACOut will typically settle within 100 µsec of the
stop by master in the write to the DAC Data Register Serial
Bus transaction. The DAC Data Register is not reset by the
INITIALIZATION bit found in the Configuration Register.
Section 3.2
.
www.national.com14
Functional Description (Continued)
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 it is read, reads of any
single value should not be done more often than once every
56 ms. When reading all values, allow at least 0.82 seconds
between reading groups of values. Reading more frequently
than once every 0.82 seconds can also prevent complete
updates of Interrupt Status Registers and Interrupt Output’s.
A typical sequence of events upon power on of the LM81
would consist of:
1. Set WATCHDOG Limits
2. Set Interrupt Masks
3. Start the LM81 monitoring process
3.6 Digital Communication Noise Considerations
The SMBData and SMBCLK logic input levels were changed
in the SMBus 1.1 specification. SMBus 1.0 levels were set to
1.4V for a logic high and 0.6V for a logic low. In SMBus 1.1
they were changed to 2.1V for a logic high and 0.8V for a
logic low. Devices that meet the SMBus 1.0 specification
have issues in that the logic levels did not allow for enough
noise immunity for some pcb layouts. This has changed with
the SMBus 1.1 specification because the higher logic levels
allow for more hysteresis in the schmitt trigger inputs stages
and thus more noise immunity. It may be required in some
cases to add a series 5.1kΩ resistor connected at the SMBCLK pin of the LM81C to improve its noise immunity. In
addition to meeting the SMBus 1.1 logic levels, the LM81B
has a built-in glitch filter that rejects 100MHz or greater to
make it impervious to noise.
4.0 ANALOG INPUTS
All analog input voltages are digitized to 8-bits of resolution.
All analog inputs, except for Vccp1 and Vccp2, include internal resistor attenuators. The theoretical LSB size, theoretical
voltage input required for an ADC reading of 192 (3/4 scale)
and 255 (full scale) for each analog input is detailed in the
table below:
InputLSB sizeVin for
192
2.5 Vin13 mV2.5V3.320V
3.3 Vin17.2 mV3.3V4.383V
5 Vin26 mV5V6.641V
12 Vin62.5 mV12V15.93V
Vccp1, Vccp214.1 mV2.7V3.586V
Thus monitoring power supplies within a system can be
easily accomplished by tying the Vccp, +2.5 Vin, +3.3 Vin,
+5 Vin and +12 Vin analog inputs to the corresponding
system supply. A digital reading can be converted to a voltage by simply multiplying the decimal value of the reading by
the LSB size.
For inputs with attenuators the input impedance is greater
than 90 kΩ. Vccp inputs do not have resistor attenuators and
are are directly tied to the ADC, therefore having a much
larger input impedance.
A negative power supply voltage can be applied to a Vccp
input through a resistor divider referenced to a known positive DC voltage as show in
Figure 6
. The resistor values
Vin for
255
shown in the table below for the circuit of
Figure 6
will
provide approximately 1.25V at the Vccp analog inputs of the
LM81 for a nominal reading of 89.
Voltage
Measure-
ments
)
(V
S
R2R1V
+
Voltage
at
Analog In-
puts
(ADC code
89)
−12V40 kΩ141 kΩ+5V+1.25V
−5V40 kΩ66.7
+5V+1.25V
kΩ
DS100072-11
FIGURE 6. Input Examples. Resistor values shown in
table provide approximately 1.25V at the Vccp inputs.
The resistors were selected by setting R2 = 40 kΩ and then
calculating R2 using the following equation:
R1 = [(1.25V − V
)÷(V+− 1.25V)] x 40 kΩ
S
The maximum R1 can be is restricted by the DC input
current of a Vccp input.
Inputs with internal resistor dividers (+2.5 Vin, +3.3 Vin or
+5 Vin, +12 Vin) can have voltage applied that exceeds the
power supply up to: 3.6V for +2.5 Vin, 4.6V for +3.3 Vin, 6.8V
for +5 Vin, and 15V for +12 Vin. The Vccp inputs have a
parasitic diode to the positive supply, so care should be
taken not to forward bias this diode. All analog inputs have
internal diodes that clamp the input voltage when going
below ground thus limiting the negative analog input voltage
range to −50 mV. Violating the analog input voltage range of
any analog input has no detrimental effect on the other
analog inputs. External resistors should be included to limit
input currents to the values given in the ABSOLUTE MAXIMUM RATINGS for Input Current At Any Pin whenever exceeding the analog input voltage range, even on an
un-powered LM81. Inputs with external attenuator networks
will usually meet these requirements. If it is possible for
inputs without attenuators (such as Vccp1 and Vccp2) to be
turned on while LM81 is powered off, additional resistors of
about 10 kΩ should be added in series with the inputs to limit
the input current.
4.1 Analog Input Interrupts
A WATCHDOG window comparison on the analog inputs
can activate the INT interrupt output. A converted input voltage that is above its respective HIGH limit or less than or
LM81
www.national.com15
Functional Description (Continued)
LM81
equal to its LOW limit will cause a flag to be set in its
Interrupt Status Register. This flag will activate the INT output when its mask bit is set low. Mask bits are found in the
Interrupt Mask Registers.
5.0 LAYOUT AND GROUNDING
A separate, low-impedance ground plane for analog ground,
which provides a ground point for both GND pins, voltage
dividers and other 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 LM81.
The power supply bypass, the parallel combination of 10 µF
(electrolytic or tantalum) and 0.1 µF (ceramic) bypass capacitors connected between pin 12 and ground, should also
be located as close as possible to the LM81.
6.0 FAN INPUTS
The FAN1 and FAN2 inputs accept signals from fans
equipped with tachometer outputs. These are logic-level
inputs with an approximate threshold of V
+
/2. Signal conditioning in the LM81 accommodates the slow rise and fall
times typical of fan tachometer outputs. The maximum input
signal range is 0 to V
from fan outputs which exceed 0 to V
+
. In the event these inputs are supplied
+
, either resistive
division or diode clamping must be included to keep inputs
within an acceptable range, as shown in
Figure 7
selected so that it does not develop excessive voltage due to
input leakage. R1 is selected based on R2 to provide a
minimum input of 2V and a maximum of V
low as possible to provide the maximum possible input up to
+
V
for best noise immunity. Alternatively, use a shunt refer-
+
. R1 should be as
ence or zener diode to clamp the input level.
If fans can be powered while the power to the LM81 is off,
the LM81 inputs will provide diode clamping. Limit input
current to the Input Current at Any Pin specification shown in
the ABSOLUTE MAXIMUM RATINGS section. In most
cases, open collector outputs with pull-up resistors inherently limit this current. If this maximum current could be
exceeded, either a larger pull up resistor should be used or
resistors connected in series with the fan inputs.
The Fan Inputs gate an internal 22.5 kHz oscillator for one
period of the Fan signal into an 8-bit counter (maximum
count = 255). The default divisor, located in the VID/Fan
Divisor Register, is set to 2 (choices are 1, 2, 4, and 8)
providing a nominal count of 153 for a 4400 rpm fan with two
pulses per revolution. Typical practice is to consider 70% of
normal RPM a fan failure, at which point the count will be
219.
Determine the fan count according to:
Note that Fan 1 and Fan 2 Divisors are programmable via
the VID/Fan Divisor Register.
Fan tachometer outputs that provide one pulse per revolution should use a divisor setting twice that of outputs that
provide two pulses per revolution. For example, a 4400 RPM
fan that provides one pulse per revolution should have the
divisor set to 4 such that the nominal counter output is 153.
.R2is
www.national.com16
Functional Description (Continued)
(a) Fan with Tach Pull-Up to +5V
LM81
DS100072-12
DS100072-13
(b) Fan with Tach Pull-Up to +12V, or Totem-Pole
Output and Resistor Attenuator
DS100072-14
(c) Fan with Tach Pull-Up to +12V and Diode Clamp
(d) Fan with Strong Tach Pull-Up or Totem Pole Output
DS100072-15
and Diode Clamp
FIGURE 7. Alternatives for Fan Inputs
Counts are based on 2 pulses per revolution tachometer outputs.
RPMTime per RevolutionCounts for “Divide by 2”Comments
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.com17
Functional Description (Continued)
LM81
7.0 DAC OUTPUT
The LM81 provides an 8-bit DAC (Digital-to-Analog Converter) with an output range of 0 to 1.25 volts (4.88 mV LSB).
This DAC can be used in any way, but in most applications of
the LM81 the DAC will be used for fan control. Typically the
DAC output would be amplified to provide the up to 12 volt
drive required by the fan. At power-on the DAC provides full
output, insuring that full fan speed is the default condition.
Care should be taken such that the analog circuitry tied to
this pin does not drive this pin above 2.5V. Doing so will
place the LM81 in NAND tree test mode which will make all
pins inputs, thus disabling any response from the LM81.
Fans do not start reliably at reduced voltages, so operation
at a reduced voltage should be preceded by a brief (typically
1 second) excursion to full operating voltage, then reduce
the voltage. Most fans do not operate at all below 5 to 7
volts. At those lower voltages the fan will simply consume
current, dissipate power, and not operate and such conditions should be avoided.
The output of the amplifier can be configured to provide a
high or low side pass transistor. A high side pass transistor
simplifies the coupling of tachometer outputs to the tachometer inputs of the LM81 since the fan remains grounded. Low
side drive will require AC coupling along with clamping at the
LM81 input to prevent negative excursions.
A typical circuit for fan drive is shown in
when a negative power supply is available to eliminate offset
in the amplifier and providea0to11.5volt output (actually
12 volts less saturation). Omitting R4 will create a “dead
zone” between approximately 0 to 6 volts output (a potentially unusable region anyway). In many applications protecting the pass transistor Q2 from faults such as a shorted fan
can be accomplished by taking advantage of the current limit
already existing on the 12 volt supply. Q2 will have to be
heat-sunk accordingly. Otherwise, use the suggested current
limit circuit as shown.
Figure 8
. R4 is used
FIGURE 8. Amplifier circuit for connection between DAC output and fan.
www.national.com18
DS100072-28
Functional Description (Continued)
8.0 TEMPERATURE MEASUREMENT SYSTEM
The LM81 temperature sensor and ADC produce 9-bit or
12-bit two’s-complement temperature data. A digital comparatorcomparesthetemperaturedatatothe
user-programmable High, Low, Critical setpoints and Hysteresis values.
DS100072-24
(Non-Linear Scale for Clarity)
FIGURE 9. 9-bit Temperature-to-Digital Transfer
Function
8.1 Temperature Data Format
Temperature data can be read from the Temperature, T
setpoint, T
T
Offset registers; and written to the T
HYST
T
HIHYST,TLOW
registers. T
HIHYST
setpoint, T
setpoint, TCsetpoint and
LOW
setpoint, T_CRIT setpoint and T
HIGH
setpoint, T
setpoint, T_CRIT setpoint
LOW
HIGH
setpoint,
HYST
HIGH
offset
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
−40˚C1101 1000D8h
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
−40˚C1 1011 00001 B0h
In the extended mode temperature Register data can also be
represented by a 12-bit two’s complement digital word with
an LSB of 0.0625˚C:
Offset temperature data is represented by a 3-bit word
HYST
with an LSB (Least Significant Bit) equal to 1˚C.
www.national.com19
Functional Description (Continued)
LM81
8.2 Temperature Interrupts
INT and T_CRIT_A outputs are provided for temperature
interrupt. Temperature interrupts have a normal and an extended option of operation. Each option has three different
modes of operation: Repetitive Interrupt, One-Time Interrupt
and Comparator.
Normal Repetitive Interrupt Mode is shown in
and operates in the following way: T_CRIT_A is disabled.
Exceeding T
causes an interrupt that will remain active
HIGH
indefinitely until reset by reading Interrupt Status Register 1.
Once reset if the temperature remains above the T
setpoint the interrupt will again be activated at the completion of another conversion cycle. If temperature is less than
or equal to T
*
Note: Interrupt resets occur only when interrupt Status Register 1 is read.
the interrupt will not be activated.
HIHYST
FIGURE 11. Normal Repetitive Interrupt Response
Diagram
Figure 11
DS100072-16
HIHYST
Normal One-Time Interrupt Mode is shown in
Figure 12
and operates in the following way: T_CRIT_A is disabled.
Exceeding T
causes an interrupt that will remain active
HIGH
indefinitely until reset by reading Interrupt Status Register 1.
Another interrupt will not occur until the temperature drops to
less than or equal to T
and then exceeds T
HIHYST
HIGH
during
a subsequent conversion. After power up this mode is selected as default.
DS100072-17
*
Note: Interrupt resets occur only when interrupt Status Register 1 is read.
FIGURE 12. One-Time Interrupt Response Diagram
Normal Comparator Mode is shown in
Figure 13
and operates in the following way: T_CRIT_A is disabled. Exceeding T
the temperature is less than or equal to T
causes an interrupt that will remain activated until
HIGH
HIGH.TLOW
disabled.
is
DS100072-18
*
Note: Interrupt resets occur only when interrupt Status Register 1 is read.
FIGURE 13. Normal Comparator Mode
www.national.com20
LM81
Functional Description (Continued)
Extended Repetitive Interrupt Mode is shown in
and operates in the following way: Once activated, all interrupts remain activated until reset by a read of the Interrupt
Status Register 1. Once activated all T_CRIT_A interrupts
remain activated until reset by a read of the Extended Mode
Register 1. Temperature conversion data less than or equal
to T
will activate interrupt. Interrupt will continue to be
LOW
activated until the temperature data exceeds (T
T
). Exceeding T
HYST
activates interrupt. Interrupt will
HIGH
continue to be activated at the end of a conversion until the
temperature data is less than or equal to (T
T_CRIT_A interrupts are activated when the temperature
exceeds T_CRIT. T_CRIT_A interrupts will no longer be
activated if the temperature data at the end of a conversion
is less than or equal to( T_CRIT − T
HYST
).
Figure 14
LOW
HIGH−THYST
Extended Comparator Mode is shown in
Figure 16
and
operates in the following way: Interrupt is activated when the
data from a temperature conversion is less than or equal to
T
. Interrupt is reset when the data from a temperature
LOW
conversion exceeds (T
LOW+THIGH
). Exceeding T
HIGH
will
activate interrupt. This interrupt will be reset when data from
a temperature conversion is less than or equal to (T
T
). T_CRIT_A interrupt is activated when the tempera-
HYST
+
ture exceeds T_CRIT. T_CRIT_A remains active until the
data from a temperature conversion is less than or equal to
(T_CRIT − T
HYST
) resets it.
HIGH
−
).
DS100072-19
*
Note: Interrupt resets occur only when interrupt Status Register 1 is read.
FIGURE 16. Extended Comparator Mode
DS100072-20
*
Note: Interrupt resets occur only when interrupt Status Register 1 is read.
FIGURE 14. Extended Repetitive Interrupt Mode
Extended One-Time Interrupt Mode is shown in
Figure 15
and operates in the following way: Once activated all interrupts remain activated until reset by a read of the Interrupt
Status Register 1. Once activated all T_CRIT_A interrupts
remain activated until reset by a read of the Extended Mode
Register 1. An interrupt will be activated when the data of a
temperature conversion is less than or equal to T
LOW
. Interrupt cannot again be activated until the data from a temperature conversion is greater than (T
LOW+THYST
). An interrupt
will be activated when the data of a temperature conversion
is greater than T
. Interrupt cannot again be activated
HIGH
until the data of a temperature conversion is less than or
equal to (T
HIGH
−T
). T_CRIT_A interrupt is activated
HYST
when the data from a temperature conversion is greater than
T_CRIT. Activation of an T_CRIT_A interrupt cannot occur
until the data from a temperature conversion is less than or
equal to ( T_CRIT − T
HYST
).
DS100072-21
*
Note: Interrupt resets occur only when interrupt Status Register 1 is read.
FIGURE 15. Extended One-Time Interrupt
www.national.com21
Functional Description (Continued)
LM81
9.0 THE LM81 INTERRUPT STRUCTURE
FIGURE 17. Interrupt Structure
Figure 17
LM81 can generate Interrupts as a result of each of its
internal WATCHDOG registers on the analog, temperature,
and fan inputs.
External Interrupts can come from the following source.
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:
•
www.national.com22
depicts the Interrupt Structure of the LM81. The
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
DS100072-22
to the LM81 is expected to latch the event. The design of
the LM81 allows this input to go high even with no power
applied to the LM81, and no clamping or other interference with the line will occur. This line can also be pulled
low for at least 20 ms by the LM81 to reset a typical
Chassis Intrusion circuit. Accomplish this reset by setting
Bit 7 of CI Clear Register (45h) high. The bit in the
Register is self-clearing.
All interrupts are indicated in the two Interrupt Status Registers. The INT output has two mask registers, and individual
Functional Description (Continued)
masks for each Interrupt. As described in Section 3.3, the
hardware Interrupt line can also be enabled/disabled in the
Configuration Register.
T_CRIT_A interrupt is dedicated to temperature and is indicated in Extended Mode Register 1. Extended Mode Register 1 controls T_CRIT_A.
9.1 Interrupt Clearing
Reading a 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 820 ms to allow
all Registers to be updated between reads. In summary, the
Interrupt Status Register clears upon being read, and requires at least 400 ms to be updated. When the Interrupt
Status Register clears, the hardware interrupt line will also
clear until the Registers are updated by the monitoring loop.
The hardware Interrupt line (INT) is cleared with the
INT_Clear bit, which is Bit 3 of the Configuration Register.
When this bit is high, the LM81 monitoring loop will stop. It
will resume when the bit is low.
10.0 RESET I/O
RESET is intended to provide a master reset to devices
connected to this line. INT Mask Register 2, Bit 7, must be
set high to enable this function. Setting Bit 4 in the Configu-
ration Register high outputs a least 20 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 RESET capability is not
needed it can be used for any type of digital control that
requires a 20 ms active low open-drain output.
RESET operates as an input when not activated by the
Configuration Register. Setting this line low will reset all of
the registers in the LM81 to their power on default state. All
Value RAM locations will not be affected except for the DAC
Data Register.
11.0 NAND TREE TESTS
A NAND tree is provided in the LM81 for Automated Test
Equipment (ATE) board level connectivity testing. DACOut/
NTEST_IN, T_CRIT_A, V
+
and GND pins are excluded from
NAND tree testing. Taking DACOut/NTEST_IN high before
the first write to the configuration register activates the
NAND Tree test mode. After the first write to the configuration register the NAND Tree test mode cannot be reactivated. To perform a NAND tree test all pins included in the
NAND tree should be driven to 1 forcing the A0/
NTEST_OUT high. Each individual pin starting with A1 and
concluding with SMBData (excluding DACOut/NTEST_IN,
T_CRIT_A, V
+
and GND) can be taken low with the resulting
toggle observed on the A0/NTEST_OUT pin. Allow for a
typical propagation delay of 500 ns.
LM81
www.national.com23
DS100072-29
Functional Description (Continued)
LM81
12.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-4569
Various sizes available with tach output option.
Sanyo Denki America, Inc.
468 Amapola Ave.
Torrance, CA 90501
310 783-5400
Model NumberFrame SizeAirflow
109P06XXY6012.36 in sq. X 0.79 in11-15
109R06XXY4012.36 in sq. X 0.98 in13-28
109P08XXY6013.15 in sq. X 0.79 in23-30
109R08XXY4013.15 in sq. X 0.98 in21-42
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)
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)
www.national.com24
Functional Description (Continued)
13.0 REGISTERS AND RAM
13.1 Address Register
The main register is the ADDRESS Register. The bit designations are as follows:
LM81
BitNameRead/
Write
7-0Address
Pointer
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
A7A6A5A4A3A2A1A0
13.2 Address Pointer Index (A7–A0)
Registers and RAM
Configuration Register40h0000 1000
Interrupt Status Register 141h0000 0000
Interrupt Status Register 242h0000 0000
Interrupt Mask Register 143h0000 0000
Interrupt Mask Register 244h0000 0000
CI Clear Register46h0000 0000
VID/Fan Divisor Register47h
Serial Bus Address Register48h
VID4 Register49h
Temperature Configuration
Register
Extended Mode Register 14Ch0100 0100
Extended Mode Register 24Dh0000 0000
Value RAM19h–3DhAddress 19h default=1111 1111
Company ID3Eh0000 0001This default designates National
Stepping3Fh0000 0011Revisions of this device will start with 1 and
WriteAddress of RAM and Registers. See the tables below for detail.
Address Pointer (Power On default 00h)
A6–A0 in
Hex
4Bh0000 0001
Power On Value of
Registers:
<
7:0>in Binary
<
7:4>= 0101;
<
3:0>= VID3–VID0
<
7:2>=0010 11;<1:0
=(A1)(A0)
<
7:1>=1000 000;
<0>
=VID4
Description
Notes
>
Semiconductor.
increment by one.
www.national.com25
Functional Description (Continued)
LM81
13.3 Configuration Register—Address 40h
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
2ReservedRead/Write
3INT_ClearRead/WriteA one disables the INT output without affecting the contents of Interrupt Status
4RESET
5ReservedRead/Write
6CI_ClearRead/WriteA one outputs a minimum 20 ms active low pulse on the CI pin. The register bit self
7INITIALIZATIONRead/WriteA one restores power on default value to the Configuration Register, Interrupt Status
Read/WriteA one enables the INT Interrupt output.
Registers. The device will stop monitoring. It will resume upon clearing of this bit.
Read/WriteA one outputs at least a 20 ms active low reset signal at RESET. This bit is cleared
once the pulse has gone inactive.
clears after the pulse has been output. This bit is mirrored in the CI Clear Register bit
7.
Registers, Interrupt Mask Registers, CI Clear Register, VID/Fan Divisor Register,
VID4, Temperature Configuration Register, and the Extended Mode Registers. This bit
clears itself since the power on default is zero.
Description
www.national.com26
Functional Description (Continued)
13.4 Interrupt Status Register 1—Address 41h
Power on default –
BitNameRead/WriteDescription
0+2.5VinRead OnlyA one indicates a High or Low limit has been exceeded.
1Vccp1Read OnlyA one indicates a High or Low limit has been exceeded.
2+3.3VinRead OnlyA one indicates a High or Low limit has been exceeded.
3+5VinRead OnlyA one indicates a High or Low limit has been exceeded.
4Temperature Read OnlyA one indicates a HIGH or HIHYST temperature error, see
5ReservedRead Only
6FAN1Read OnlyA one indicates the fan count limit has been exceeded.
7FAN2Read OnlyA one indicates the fan count limit has been exceeded.
13.5 Interrupt Status Register 2—Address 42h
Power on default –
BitNameRead/WriteDescription
0+12VinRead OnlyA one indicates a High or Low limit has been exceeded.
1Vccp2Read OnlyA one indicates a High or Low limit has been exceeded.
2ReservedRead Only
3ReservedRead Only
4CIRead OnlyA one indicates CI (Chassis Intrusion) has gone high.
5ReservedRead Only
6ReservedRead Only
7TLOWRead OnlyA one indicates LOW temperature error in EXTENDED MODE ONLY, see
<
7:0>= 0000 0000 binary
<
7:0>= 0000 0000 binary
SECTION 8.2
SECTION 8.2
.
.
LM81
13.6 Interrupt Mask Register 1—Address 43h
Power on default –
BitNameRead/
0+2.5VinRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
1Vccp1Read/WriteA one disables the corresponding interrupt status bit for INT interrupt.
2+3.3VinRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
3+5VinRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
4TemperatureRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
5ReservedRead/Write
6FAN1Read/WriteA one disables the corresponding interrupt status bit for INT interrupt.
7FAN2Read/WriteA one disables the corresponding interrupt status bit for INT interrupt.
<
7:0>= 0000 0000 binary
Write
Description
www.national.com27
Functional Description (Continued)
LM81
13.7 Interrupt Mask Register 2—Address 44h
Power on default –
<
7:0>= 0000 0000 binary
BitNameRead/
Write
0+12VinRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
1Vccp2Read/WriteA one disables the corresponding interrupt status bit for INT interrupt.
2ReservedRead/Write
3ReservedRead/Write
4Chassis IntrusionRead/WriteA one disables the corresponding interrupt status bit for INT interrupt.
5ReservedRead/Write
6ReservedRead/Write
7RESET Enable
13.8 Reserved Register —Address 45h
Power on default –
13.9 CI Clear Register—Address 46h
Power on default –
BitNameRead/
0-6ReservedRead/Write
7CI ClearRead/WriteA one outputs a minimum 20 ms active low pulse on the Chassis Intrusion pin. The
Read/Write<7>= 1 in INT Mask Register 2 enables the RESET in the Configuration Register.
<
7:0>= 00h. Read/Write for backwards compatibility.
<
7:0>= 0000 0000 binary
Write
register bit self clears after the pulse has been output. This bit is mirrored in
Configuration Register bit 6.
Description
Description
www.national.com28
Functional Description (Continued)
13.10 VID/Fan Divisor Register—Address 47h
Power on default –
BitNameRead/WriteDescription
0-3VID
4-5FAN1 RPM
6-7FAN2 RPM
13.11 Serial Bus Address Register—Address 48h
Power on default – Serial Bus address
<
Control
Control
3:0
<
7:4>is 0101, and<3:0>is mapped to VID<3:0
>
Read OnlyThe VID<3:0>inputs from the Pentium/PRO power supplies that indicate the
operating voltage (e.g. 1.5V to 2.9V).
Read/WriteFAN1 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.
Read/WriteFAN2 Speed Control.
<
7:6>= 00 - divide by 1;
<
7:6>= 01 - divide by 2;
<
7:6>= 10 - divide by 4;
<
7:6>= 11 - divide by 8.
<
6:0>= 010 11(A1)(A0) and<7>= 0 binary
>
LM81
BitNameRead/WriteDescription
0-1Serial Bus
Address
2-6Serial Bus
Address
7ReservedRead/Write
13.12 VID4 Register—Address 49h
Power on default –
BitNameRead/WriteDescription
0VID4Read OnlyVID4 input from Pentium/PRO power supply that indicate the operating voltage of
1-7ReservedRead/Write
13.13 Temperature Configuration Register—Address 4Bh
Power on default –
BitNameRead/WriteDescription
0-1Temperature
Interrupt Mode
Select Bits
2-6ReservedRead/Write
7Temperature
Resolution
Read OnlySerial Bus address
Read/WriteSerial Bus address
<
7:1>= 100 000,<0>= VID4.
the processor (e.g. 1.5V to 2.9V).
<
7:0>= 0000 0001 binary
Read/WriteThe state of these bits select the interrupt mode for INT as described below.
<
1:0>=00or<1:0>= 11: Repetitive Interrupt Mode
<
1:0>= 01: One-Time Interrupt Mode
<
1:0>= 10: Comparator Mode
Read OnlyFor 8-bit plus sign temperature resolution:
<
1:0>=A1A0
<
6:2>= 010 11
<7>
= LSB ( 0.5˚C)
www.national.com29
Functional Description (Continued)
LM81
13.14 Extended Mode Register 1—Address 4Ch
Power on default –
BitNameRead/WriteDescription
0Extended Mode
Enable
1LOW Limit Mask
Bit
2-3T_CRIT_A
Interrupt Mode
Select
4T_CRIT_A
Enable
5T_CRIT_A
Polarity
6T_CRIT_A Mask
Enable
7T_CRIT_A Status
Bit
13.15 Extended Mode Register 2 —Address 4Dh
Power on default –
<
7:0>= 0100 0100 binary
Read/WriteA one enables the Extended Interrupt Modes, the T_CRIT_A output and all the
functions listed in the Extended Mode Registers. Bit 7 of the Interrupt Status
register will be activated to reflect the interrupt status of the LOW limit comparison
result.
Read/WriteA mask bit for the LOW limit Interrupt. A one disables the interrupt from propagating
to the INT pin.
Read/WriteThe state of these bits select the interrupt mode for T_CRIT_A as described below.
<
3:2>=00or<3:2>= 11: Repetitive Interrupt Mode
<
3:2>= 01: One-Time Interrupt Mode
<
3:2>= 10: Comparator Mode
Read/WriteA one enables the T_CRIT_A pin.
Read/WriteA one sets the T_CRIT_A pin active HIGH. A zero sets the T_CRIT_A pin active
LOW.
Read/WriteA one prevents the T_CRIT_A interrupt from propagating to the INT output pin.
ReadA one indicates that a T_CRIT_A interrupt has occurred.
<
7:0>= 0000 0000 binary
BitNameRead/WriteDescription
0-2Hysteresis Offset
Value
312-bit
Temperature
Resolution Enable
4-712-bit
Temperature Data
Read/WriteT
Read/WriteA one sets the temperature resolution to 12 bits.
Read Only12-bit temperature data least significant bits. Bit 7 mirrors bit 7 in the temperature
value.
HYST
configuration register (4Bh) and has a weight of 0.5˚C; bits 6-4 have a weight of
0.25, 0.125, and 0.0625˚C, respectively.
www.national.com30
Functional Description (Continued)
13.16 Value RAM—Address 15h–3Fh
Address A6–A0Description
15hManufacturers Test Register
19hDAC data register; power on default
20h+2.5Vin reading
21hVccp1 reading
22h+3.3Vin reading
23h+5Vin reading
24h+12Vin reading
25hVccp2 reading
26hReserved reading
27hTemperature reading (8 MSBs)
28hFAN1 reading
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.
2AhReserved
2Bh+2.5Vin High Limit
2Ch+2.5Vin Low Limit
2DhVccp1 High Limit
2EhVccp1 Low Limit
2Fh+3.3Vin High Limit
30h+3.3Vin Low Limit
31h+5Vin High Limit
32h+5Vin Low Limit
33h+12Vin High Limit
34h+12Vin Low Limit
35hVccp2 High Limit
36hVccp2 Low Limit
37hT_CRIT Limit (Extended Mode)
38hLOW Limit (Extended Mode)
39hHIGH Temperature Limit
3AhHIHYST Temperature Limit
3BhFAN1 Fan Count Limit
Note: It is the number of counts of the internal clock for the Low Limit of the fan speed.
3ChFAN2 Fan Count Limit
Note: It is the number of counts of the internal clock for the Low Limit of the fan speed.
3DhReserved
3EhCompany Identification. The number in this register identifies National Semiconductor (0000 0001)
3FhStepping Register LM81 revision number (0000 0011)
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.
<
7:0>=1111 1111 binary
LM81
www.national.com31
Typical Application
LM81
FIGURE 19. In this PC application the LM81 monitors temperature, fan speed for 2 fans, and 6 power
DS100072-23
supply voltages. It also monitors an optical chassis intrusion detector.
The LM81 provides a DAC output that can be used to control fan speed.
LM81 Serial Interface ACPI-Compatible Microprocessor System Hardware Monitor
24-Lead TSSOP
Order Number LM81BIMT-3, LM81BIMTX-3, LM81CIMT-3 or LM81CIMTX-3
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.