Part Number Hot Search : 
S5000 IDT9173B MUN5134 MPX42 MCP14E11 1971154 ICS840 01LA120T
Product Description
Full Text Search
 

To Download LM79 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 LM79 Microprocessor System Hardware Monitor
February 2000
LM79 Microprocessor System Hardware Monitor
General Description
The LM79 is a highly integrated Data Acquisition system for hardware monitoring of servers, Personal Computers, or virtually any microprocessor based system. In a PC, the LM79 can be used to monitor power supply voltages, temperatures, and fan speeds. Actual values for these inputs can be read at any time, and programmable WATCHDOG limits in the LM79 activate a fully programmable and maskable interrupt system with two outputs. The LM79 has an on-chip temperature sensor, 5 positive analog inputs, two inverting inputs (for monitoring negative voltages), and an 8-bit ADC. An input is provided for the overtemperature outputs of additional temperature sensors and this is linked to the interrupt system. The LM79 provides inputs for three fan tachometer outputs. Additional inputs are provided for Chassis Intrusion detection circuits, 5 VID monitor inputs, and chainable interrupt. The LM79 provides both ISA and Serial Bus interfaces. A 32-byte auto-increment RAM is provided for POST (Power On Self Test) code storage. Compared to the LM78, the LM79 has the following differences:
Features
n n n n n n n n n Temperature sensing 5 positive voltage inputs 2 op amps for negative voltage monitoring 3 fan speed monitoring inputs Input for additional temperature sensors Chassis Intrusion Detector input WATCHDOG comparison of all monitored values POST code storage RAM ISA and I2CTM Serial Bus interfaces
Key Specifications
j Voltage monitoring accuracy j Temperature Accuracy
1% (max)
-10C to +100C
j Supply Voltage j Supply Current j ADC Resolution
3C (max)
5V Operating: Shutdown: 1 mA typ 10 A typ 8 Bits
* * *
an additional VID input pin an additional register for device identification open drain Power Switch Bypass Output
Applications
n System Hardware Monitoring for Servers and PCs n Office Electronics n Electronic Test Equipment and Instrumentation
Ordering Information
Temperature Range -10C TA +100C Order Number LM79CCVF Device Marking LM79CCVF VGZ44A Package
Connection Diagram
# Indicates Active Low ("Not")
DS100036-2
I2C (R) is a registered trademark of the Phillips Corporation.
(c) 2001 National Semiconductor Corporation
DS100036
www.national.com
LM79
Typical Application
DS100036-1
www.national.com
2
LM79
Block Diagram
DS100036-3
Pin Description
Pin Name(s) IORD IOWR SYSCLK D7-D0 VCC (+5V) GNDD SMI__IN Pin Number 1 2 3 4-11 12 13 14 Number of Pins 1 1 1 8 1 1 1 Type Digital Input Digital Input Digital Input Digital I/O POWER GROUND Digital Input Description An active low standard ISA bus I/O Read Control. An active low standard ISA bus I/O Write Control. The reference clock for the ISA bus. Typically ranges from 4.167 MHz to 8.33 MHz. The minimum clock frequency this input can handle is 1 Hz. Bi-directional ISA bus Data lines. D0 corresponds to the low order bit, with D7 the high order bit. +5V VCC power. Bypass with the parallel combination of 10 F (electolytic or tantalum) and 0.1 F (ceramic) bypass capacitors. Internally connected to all digital circuitry. Chainable SMI (System Management Interrupt) Input. This is an active low input that propagates the SMI signal to the SMI output of the LM79 via SMI Mask Register Bit 6 and SMI enable Bit 1 of the Configuration Register. An active high input from an external circuit which latches a Chassis Intrusion event. This line can go high without any clamping action regardless of the powered state of the LM79. The LM79 provides an internal open drain on this line, controlled by Bit 7 of NMI Mask Register 2, to provide a minimum 20 ms reset of this line.
Chassis Intrusion
15
1
Digital I/O
3
www.national.com
LM79
Pin Description
Pin Name(s) Power Switch Bypass FAN3-FAN1 SCL SDA RESET Pin Number 16
(Continued) Number of Pins 1 Type Digital Output Description An active low open drain output intended to drive an external P-channel power MOSFET for software power control. 0V to +5V amplitude fan tachometer input. Serial Bus Clock. Serial Bus bidirectional Data. Master Reset, 5 mA driver (open drain), active low output with a 20 ms minimum pulse width. Available when enabeld via Bit 7 in SMI Mask Register 2. By default an input for the VID4 power supply readout for the system processor (Pentium/PRO). Can be programmed as a NAND Tree totem-pole output that provides board-level connectivity testing. Refer to Section 11.0 on NAND Tree testing. Internally connected to all analog circuitry. The ground reference for all analog inputs. Ground-referred inverting op amp input. Refer to Section 4.0, "ANALOG INPUTS". Output of inverting op amp for Input 6. Refer to Section 4.0, "ANALOG INPUTS". Output of inverting op amp for Input 5. Refer to Section 4.0, "ANALOG INPUTS". Ground-referred inverting op amp input. Refer to Section 4.0, "ANALOG INPUTS". 0V to 4.096V FSR Analog Inputs. Inputs for the power supply readouts for system microprocessor (Pentium/PRO). This value is read in the VID/Fan Divisor Register. Board Temperature Interrupt driven by O.S. outputs of additional temperature sensors such as LM75. Provides internal pull-up of 10 k. Non-Maskable Interrupt (open source)/Interrupt Request (open drain). The mode is selected with Bit 5 of the Configuration Register and the output is enabled when Bit 2 of the Configuration Register is set to 1. The default state is disabled and IRQ mode. System Management Interrupt (open drain). This output is enabled when Bit 1 in the Configuration Register is set to 1. The default state is disabled. The three lowest order bits of the 16-bit ISA Address Bus. A0 corresponds to the lowest order bit. Chip Select input from an external decoder which decodes high order address bits on the ISA Address Bus. This is an active low input.
17-19 20 21 22
3 1 1 1
Digital Input Digital Input Digital I/O Digital Output
VID4/NTEST
23
1
Digital Input/Test Output GROUND Analog Input Analog Output Analog Output Analog Input Analog Input Digital Input Digital Input Digital Output
GNDA -IN6 FB6 FB5 -IN5 IN4-IN0 VID3-VID0 BTI NMI/IRQ
24 25 26 27 28 29-33 34-37 38 39
1 1 1 1 1 5 4 1 1
SMI
40
1
Digital Output
A2-A0 CS TOTAL PINS
41-43 44
3 1 44
Digital Input Digital Input
www.national.com
4
LM79
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. Positive Supply Voltage (VCC) Voltage on Any Input or Output Pin Ground Difference (GNDD-GNDA) Input Current at any Pin (Note 3) Package Input Current (Note 3) Maximum Junction Temperature (TJ max) ESD Susceptibility(Note 5) Human Body Model Machine Model Soldering Information PQFP Package (Note 6) : 6.5V -0.3V to (VCC+0.3V) 300 mV 5 mA 20 mA 150C 2000V 175V
Vapor Phase (60 seconds) Infrared (15 seconds) Storage Temperature
215C 220C -65C to +150C
Operating Ratings(Notes 1, 2)
Operating Temperature Range TMIN TA TMAX LM79 -55C TA +125C Specified Temperature Range TMIN TA TMAX LM79 -10C TA +100C Junction to Ambient Thermal Resistance (JA(Note 4) ) NS Package ID: VGZ44A 62C/W +4.25V to +5.75V Supply Voltage (VCC) Ground Difference (IGNDD-GNDAI) 100 mV -0.05V to VCC + 0.05V VIN Voltage Range
DC Electrical Characteristics
The following specifications apply for +4.25 VDC VCC +5.75 VDC, fSYSCLK = 8.33 MHz, RS = 25, unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25C. (Note 7) Symbol Parameter Conditions Typical (Note 8) POWER SUPPLY CHARACTERISTICS ICC Supply Current Interface Inactive Shutdown Mode TEMPERATURE-TO-DIGITAL CONVERTER CHARACTERISTICS Accuracy Resolution ANALOG-TO-DIGITAL CONVERTER CHARACTERISTICS Resolution (8 bits with full-scale at 4.096V) TUE DNL PSS tC Total Unadjusted Error Differential Non-Linearity Power Supply Sensitivity Total Monitoring Cycle Time Output Current (Sourcing) Input Offset Voltage Input Bias Current PSRR DC Open Loop Gain Gain Bandwidth Product MULTIPLEXER/ADC INPUT CHARACTERISTICS On Resistance Off Channel Leakage Current Input Current (On Channel Leakage Current) FAN RPM-TO-DIGITAL CONVERTER Accuracy Full-scale Count +25C TA +75C -10C TA +100C 400 2000 (max) nA nA IOUT = 50 A (Note 11) (Note 10) 16 mV -10C TA +100C 1.0 10 2 mA (max) A Limits (Note 9) Units (Limits)
3
1
C (max) C (min)
1 1 1
1.0 50 1.5
% (max) LSB (max) %/V sec (max) A mV nA dB dB kHz
OP AMP CHARACTERISTICS
1 0.1
60 70 500
0.1 0.1 10 15
255
% (max) % (max) (max)
5
www.national.com
LM79
DC Electrical Characteristics
Symbol Parameter
(Continued)
The following specifications apply for +4.25 VDC VCC +5.75 VDC, fSYSCLK = 8.33 MHz, RS = 25, unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25C. (Note 7) Conditions Typical (Note 8) FAN RPM-TO-DIGITAL CONVERTER FAN1 and FAN2 Nominal Input RPM (See Section 6.0) Divisor = 1, Fan Count = 153 (Note 12) Divisor = 2, Fan Count = 153 (Note 12) Divisor = 3, Fan Count = 153 (Note 12) Divisor = 4, Fan Count = 153 (Note 12) FAN3 Design Nominal Input RPM Internal Clock Frequency Fan Count = 153 (Note 12) +25C TA +75C -10C TA +100C DIGITAL OUTPUTS (VID4/NTEST, NMI/IRQ) VOUT(1) VOUT(0) VOUT(1) VOUT(0) IOUT Logical "1" Output Voltage Logical "0" Output Voltage Logical "1" Output Voltage Logical "0" Output Voltage TRI-STATE (R) Output Current IOUT = 5.0 mA IOUT = 5.0 mA 2.4 0.4 2.4 0.4 0.005 -0.005 1 -1 0.4 0.1 45 100 20 V (min) V (max) V (min) V (max) A (max) A (min) V (min) A (max) ms (min) 8800 4400 2200 1100 4400 22.5 22.5 20.2 24.8 19.1 25.9 RPM RPM RPM RPM RPM kHz (min) kHz (max) kHz (min) kHz (max) Limits (Note 9) Units (Limits)
ISA D0-D7 DIGITAL OUTPUTS IOUT = 12.0 mA IOUT = 12.0 mA VOUT = 0 VDC VOUT = VCC VOUT(0) IOH Logical "0" Output Voltage High Level Output Current RESET and Chassis Intrusion Pulse Width DIGITAL INPUTS: SMI__IN, VID0-VID3, VID4/NTEST, BTI, CS, A0, A1, A2, Mode Control and Interface Inputs (IORD, IOWR, SYSCLK), Data Lines (D0-D7), Chassis Intrusion, and Tach Pulse Logic Inputs (FAN1, FAN2, FAN3) VIN(1) VIN(0) VIN(1) VIN(0) IIN(1) IIN(0) CIN IIN(1) IIN(0) CIN Logical "1" Input Voltage Logical "0" Input Voltage Logical "1" Input Voltage Logical "0" Input Voltage Logical "1" Input Current Logical "0" Input Current Digital Input Capacitance Logical "1" Input Current Logical "0" Input Current Digital Input Capacitance VIN = VCC VIN = 0 VDC VIN = VCC VIN = 0 VDC -0.005 0.005 20 1 -500 20 10 -2000 2.0 0.8 0.7 x VCC 0.3 x VCC -1 1 V (min) V (max) V (min) V (max) A (min) A (max) pF A (max) A (max) pF IOUT = -5.0 mA VOUT = VCC
OPEN DRAIN DIGITAL OUTPUTS (Power Switch Bypass, SDA, RESET, SMI, Chassis Intrusion)
SERIAL BUS DIGITAL INPUTS (SCL, SDA)
ALL DIGITAL INPUTS EXCEPT FOR BTI
BIT DIGITAL INPUT
www.national.com
6
LM79
AC Electrical Characteristics (Note 13)
The following specifications apply for +4.25 VDC VCC +5.75 VDC unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25C. Parameter Conditions Typical (Note 8) Limits (Note 9) Units (Limits) MHz 10 10 30 10 5 5 20 ns (min) ns (min) ns (min) ns (min) ns (min) ns (min) ns (min)
Symbol ISA TIMING CHARACTERISTICS fSYSCLK tCS(setup) tCS(hold) tSA(setup) tSA(hold) ISA WRITE TIMING tSDWR(setup) tSDWR(hold) tWR(setup)
System Clock (SYSCLK) Input Frequency CS Active to IORD/IOWR Active IORD/IOWR Inactive to CS Inactive Address Valid to IORD/IOWR Active IORD/IOWR Inactive to Address Invalid Data Valid to IOWR Active IOWR Inactive to Data Invalid IOWR Active to Rising Edge of SYSCLK
8.33
DS100036-4
The delay between consecutive IORD and IOWR pulses should be greater than 50 ns to ensure that a Power-on reset does not occur unintentionally. (See Section 3.2 `Resets' ) FIGURE 1. ISA Bus Write Timing Diagram
7
www.national.com
LM79
AC Electrical Characteristics (Note 13)
The following specifications apply for +4.25 VDC VCC +5.75 VDC unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25C. (Continued) Symbol Parameter Conditions Typical (Note 8) Limits (Note 9) 120 5 20 With 8.33 MHz SYSCLK 360 Units (Limits) ns (min) ns (min) ns (min) ns (max)
ISA READ TIMING tSDRD(setup) tSDRD (hold) tRD(setup) tRS (delay) Data Valid to IORD Inactive IORD Inactive to Data Invalid IORD Active to Rising Edge of SYSCLK Rising Edge of SYSCLK number 1 to Data Valid
DS100036-5
The delay between consecutive IORD and IOWR pulses should be greater than 50 ns to ensure that a Power-on reset does not occur unintentionally. (See Section 3.2 `Resets' ) FIGURE 2. ISA Bus Read Timing Diagram
www.national.com
8
LM79
AC Electrical Characteristics (Note 13)
The following specifications apply for +4.25 VDC VCC +5.75 VDC unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25C. (Continued) Symbol Parameter Conditions Typical (Note 8) Limits (Note 9) 2.5 100 0 100 100 Units (Limits) s (min) ns (min) ns (min) ns (min) ns (min)
SERIAL BUS TIMING CHARACTERISTICS t1 t2 t3 t4 t5 SCL (Clock) Period Data In Setup Time to SCL High Data Out Stable After SCL Low SDA Low Setup Time to SCL Low (start) SDA High Hold Time After SCL High (stop)
DS100036-6
FIGURE 3. Serial Bus Timing Diagram
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 (VIN) at any pin exceeds the power supplies (VIN < (GNDD or GNDA) or VIN >VCC), the current at that pin should be limited to 5 mA. 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 TJmax, JA and the ambient temperature, TA. The maximum allowable power dissipation at any temperature is PD = (TJmax-T A)/JA. 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 VCC or 0.3V below GND will not damage the LM79. 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 VCC is 4.50 VDC, input voltage must be 4.55 VDC, to ensure accurate conversions.
9
www.national.com
LM79
AC Electrical Characteristics (Note 13)
The following specifications apply for +4.25 VDC VCC +5.75 VDC unless otherwise specified. Boldface limits apply for TA = TJ = TMIN to TMAX; all other limits TA = TJ = 25C. (Continued)
DS100036-7
An x indicates that the diode exists.
Pin Name IORD IOWR SYSCLK D0-D7 SMI__IN Chassis Intrusion Power Switch Bypass
D1
D2
D3 x x x SCL
Pin Name FAN1-FAN3 SDA RESET VID4/NTEST
D1
D2
D3 x x
x x x x
x x x
x
x x x
x x x x
Pin Name -IN6 FB6 FB5 -IN5 IN4-IN0 VID3-VID0
D1 x x x x
D2 x x x x x x
D3 x x x x x x
Pin Name BTI NMI/IRQ SMI A0-A2 CS
D1 x x
D2 x x
D3 x x x x x
FIGURE 4. ESD Protection Input Structure
Note 8: Typicals are at TJ =TA =25C and represent most likely parametric norm. 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 and any error introduced by the amplifiers as shown in the circuit of Figure 13 . Note 11: Total Monitoring Cycle Time includes temperature conversion, 7 analog input voltage conversions and 3 tachometer readings. Each temperature and input voltage conversion takes 100 ms typical and 112 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 TTL logic levels, VIL =0.4V for a falling edge and VIH =2.4V for a rising edge. TRI-STATE output voltage is forced to 1.4V.
www.national.com
10
LM79
Test Circuit
DS100036-8
FIGURE 5. Digital Output Load Circuitry
Functional Description
1.0 GENERAL DESCRIPTION The LM79 provides 7 analog inputs, a temperature sensor, a Delta-Sigma ADC (Analog-to-Digital Converter), 3 fan speed counters, WATCHDOG registers, and a variety of inputs and outputs on a single chip. Interfaces are provided for both the ISA parallel bus or Serial Bus. The LM79 performs power supply, temperature, and fan monitoring for personal computers. The LM79 continuously converts analog inputs to 8-bit digital words with a 16 mV LSB (Least Significant Bit) weighting, yielding input ranges of 0V to 4.096V. The two negative analog inputs provide inverting op amps, with their non-inverting input referred to ground. With additional external feedback components, these inputs provide measurements of negative voltages (such as -5V and -12V power supplies). The analog inputs are useful for monitoring several power supplies present in a typical computer. Temperature is converted to an 8-bit two's-complement digital word with a 1C LSB. Fan inputs measure the period of tachometer pulses from the fans, providing a higher count for lower fan speeds. The fan inputs are digital inputs with an acceptable range of 0V to 5V and a transition level of approximately 1.4V. 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, with FAN3 fixed at 4400 RPM. Signal conditioning circuitry is included to accommodate slow rise and fall times. The LM79 provides a number of internal registers, as detailed in Figure 6. These include:
*
Serial Bus Address Register: Contains the Serial Bus address. At power on it assumes the default value of 0101101 binary, and can be altered via the ISA or Serial Bus interface. Chip Reset/VID4/Device ID Register: Allows resetting of all the registers to the default power-on reset value. The state of VID4 is reflected in this register. The identity of the divice being used can be determined by reading the state of the D7 of this register. An LM79 would be identified when D7 is set high. POST RAM: FIFO RAM to store up to 32 bytes of 8-bit POST codes. Overflow of the POST RAM will set an Interrupt. The POST RAM, located at base address x0h and x4h, allows for easy decoding to address 80h and 84h, the normal addresses for outputting of POST codes. Interrupt will only be set when writing to port x0h or x4h. The POST RAM can be read via ports 85h and 86h.
*
*
* * *
Configuration Register: figuration.
Provides control and con-
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. VID/Fan Divisor Registers: A register to read the status of the VID0-VID3 input lines. The high bits of this register contain the divisor bits for FAN1 and FAN2 inputs.
*
Value RAM: The monitoring results: temperature, voltages, fan counts, and WATCHDOG limits are all contained in the Value RAM. The Value RAM consists of a total of 64 bytes. The first 11 bytes are all of the results, the next 19 bytes are the WATCHDOG limits, and are located at 20h-3Fh, including two unused bytes in the upper locations. The next 32 bytes, located at 60h-7Fh, mirror the first 32 bytes with identical contents. The only difference in the upper bytes are that they auto-increment the LM79 Internal Address Register when read from or written to via the ISA bus (auto-increment is not available for Serial Bus communications). When the LM79 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 LM79 will set a corresponding Interrupt in the Interrupt Status Registers. Two hardware Interrupt lines, SMI and NMI/IRQ, are fully programmable with separate masking of each Interrupt source, and masking of each output. In addition, the Configuration Register has control bits to enable or disable the hardware Interrupts. Additional digital inputs are provided for chaining of SMI (System Management Interrupt), outputs of multiple external LM75 temperature sensors via the BTI (Board Temperature Interrupt) input, and a Chassis Intrusion input. The Chassis
*
11
www.national.com
LM79
Functional Description
(Continued)
Intrusion input is designed to accept an active high signal from an external circuit that latches when the case is removed from the computer. 2.0 INTERFACE The LM79 only decodes the three lowest address bits on the ISA bus. Referring to the ISA bus timing diagrams in and , the Chip Select Input, CS, should be taken low by external address decoder circuitry to access the LM79. The LM79 decodes the following base addresses: -Port x0h: Power On Self Test codes from ISA bus. -Port x4h: Power On Self Test codes from ISA bus. -Port x5h: The LM79s Internal Address Register -Port x6h: Data Register IORD is the standard ISA bus signal that indicates to the LM79 that it may drive data on to the ISA data bus. IOWR is the standard ISA command to the LM79 that it may latch data from the ISA bus. SYSCLK is the standard ISA SYSCLK, typically 8.33 MHz. This clock is used only for timing of the ISA interface of the
LM79. All other clock functions within LM79 such as the ADC and fan counters are done with a separate asynchronous internal clock. A typical application designed to utilize the POST RAM would decode the LM79 to the address space starting at 80h, which is where POST codes are output to. Otherwise, the LM79 can be decoded into a different desired address space. To communicate with an LM79 Register, first write the address of that Register to Port x5h. Read or write data from or to that register via Port x6h. A write will take IOWR low, while a read will take IORD low. If the Serial Bus Interface and ISA bus interface are used simultaneously there is the possibility of collision. To prevent this from occurring in applications where both interfaces are used, read port x5h and if the Most Significant Bit, D7, is high, ISA communication is limited to reading port x5h only until this bit is low. A Serial Bus communication occurring while ISA is active will not be a problem, since even a single bit of Serial Bus communication requires 10 microseconds, in comparison to less than a microsecond for an entire ISA communication.
www.national.com
12
LM79
Functional Description
(Continued)
DS100036-9
FIGURE 6. LM79 Register Structure
13
www.national.com
LM79
Functional Description
2.1 Internal Registers of the LM79
(Continued)
TABLE 1. The internal registers and their corresponding internal LM79 address is as follows: Register LM79 Internal Hex Address (This is the data to be written to Port x5h) Configuration Register Interrupt Status Register 1 Interrupt Status Register 2 SMI Mask Register 1 SMI Mask Register 2 NMI Mask Register 1 NMI Mask Register 2 VID/Fan Divisor Register 40h 41h 42h 43h 44h 45h 46h 47h 0000 1000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0100 0000 0101 XXXX The first four bits set the divisor for Fan Counters 1 and 2. The lower four bits reflect the state of the VID0-VID3 inputs. D7 identifies this device as the LM79. D0 reflects the state of VID4. Auto-increment when written to from Port x0h or x4h. Auto-increment after a read or write to Port x6h, with a separate pointer. Auto-incrementing stops when address 1Fh is reached. Auto-increment after a read or write to Port x6h. Auto-incrementing stops when address 7Fh is reached. Auto-increment to the address of NMI Mask Register 2 after a read or write to Port x6h. Auto-increment to the address of SMI Mask Register 2 after a read or write to Port x6h. Auto-increment to the address of Interrupt Status Register 2 after a read or write to Port x6h. Power on Value Notes
Serial Bus Address Register Chip Reset/VID4/Device ID Register POST RAM
48h 49h 00h-1Fh
0010 1101 1100 000X
Value RAM Value RAM
20h-3Fh 60h-7Fh
A typical communication with the LM79 would consist of: 1. Write to Port x5h the LM79 Internal Address (from column 2 above) of the desired register. Alternatively, when both ISA and Serial Bus interfaces are used, the first step in a communication may be to read Port x5h to ascertain the state of the Busy bit to avoid contention with an Serial Bus communication. 2. Read or write the corresponding registers data with reads/writes from Port x6h. The LM79 Internal Address latches, and does not have to be written if it is already pointing at the desired register. The LM79 Internal Address Register is read/write (Bit 7 is read only).
www.national.com
14
LM79
Functional Description
2.2 Serial Bus Interface
(Continued)
DS100036-10
(a) Serial Bus Write to the Internal Address Register followed by the Data Byte
DS100036-11
(b) Serial Bus Write to the Internal Address Register Only
DS100036-12
(c) Serial Bus Read from a Register with the Internal Address Register Preset to Desired Location FIGURE 7. Serial Bus Timing When using the Serial Bus Interface a write will always consist of the LM79 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 LM79 with the Serial Bus Interface Address byte, followed by the data byte read from the LM79. 2. If the Internal Address Register value is unknown, write to the LM79 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 LM79. In all other respects the LM79 functions identically for Serial Bus communications as it does for ISA communications.
15
Auto-Increment does not operate. When writing to or reading from a Register which Auto-Increments with ISA communications, the Register must be manually incremented for Serial Bus communications. The default power on Serial Bus address for the LM79 is: 0101101 binary. This address can be changed by writing any desired value to the Serial Bus address register, which can be done either via the ISA or Serial Bus. During and Serial Bus communication on the BUSY bit (bit 7) in the address register at x5h will be high, and any ISA activity in that situation should be limited to reading port x5h only. All of these communications are depicted in the Serial Bus Interface Timing Diagrams as shown in Figure 7.
www.national.com
LM79
Functional Description
3.0 USING THE LM79
(Continued)
3.1 Power On When power is first applied, the LM79 performs a "power on reset" on several of its registers. The power on condition of registers in shown in Table I. Registers whose power on 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 on most registers. The POST RAM, 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 Table 1):
possible with any register in the LM79 although activity on these 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 SMI Interrupt hardwire output when this bit is taken high. Similarly, Bit 2 of the Configuration Register enables the NMI/IRQ Interrupt hardwire output when taken high. The NMI/IRQ mode is determined by Bit 5 in the Configuration Register. When Bit 5 is low the output is an active low IRQ output. Taking Bit 5 high inverts this output to provide an active high NMI output. The Power Switch Bypass provides an active low at the open drain Power Switch Bypass output when set high. This is intended for use in software power control by activating an external power control MOSFET. 3.4 Starting Conversion The monitoring function (Analog inputs, temperature, and fan speeds) in the LM79 is started by writing to the Configuration Register and setting INT__Clear (Bit 3), low, and Start (bit 0), high. The LM79 then performs a "round-robin" monitoring of all analog inputs, temperature, and fan speed inputs approximately once a second. The sequence of items being monitored corresponds to locations in the Value RAM and is: 1. Temperature 2. IN0 3. IN1 4. IN2 5. IN3 6. IN4 7. -IN5 8. -IN6 9. Fan 1 10. Fan 2 11. Fan 3 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 then once every 120 ms. When reading all values, 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 Output's. A typical sequence of events upon power on of the LM79 would consist of: 1. Set WATCHDOG Limits 2. Set Interrupt Masks 3. Start the LM79 monitoring process 4.0 ANALOG INPUTS The 8-bit ADC has a 16 mV LSB, yielding a 0V to 4.08V (4.096-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.5V and 3.3V supplies can be directly connected to the inputs. The 5V and 12V inputs should be attenuated with external resistors to any desired value within the input range.
Serial Bus Address Register (Power on reset only, not reset by Configuration Register INITIALIZATION) Configuration Register INITIALIZATION is accomplished by setting Bit 7 of the Configuration Register high. This bit automatically clears after being set. The LM79 allows the user to perform an unconditional complete Power-on reset by writing a one to Bit 5 of the Chip Reset/VID4/Device ID Register. The LM79 allows an unconditional complete Power-on reset to be initiated by taking the IOWR and IORD signal lines low simultaneously, for at least 50 ns, while CS is high. The delay between consecutive IORD and IOWR pulses should be greater than 50 ns to ensure that an Power-on reset does not occur unintentionally. In systems where the serial bus is only being used it may be advantageous to take both IOWR and IORD to the system reset pulse. In this way whenever the system is reset the LM79 will also be reset to its initial Power-on state. 3.3 Using the Configuration Register The Configuration Register provides all control over the LM79. At power on, the ADC is stopped and INT__Clear is asserted, clearing the SMI and NMI/IRQ hardwire outputs. The Configuration Register starts and stops the LM79, enables and disables interrupt outputs and modes, and provides the Reset function described in Section 3.2. Bit 0 of the Configuration Register controls the monitoring loop of the LM79. Setting Bit 0 low stops the LM79 monitoring loop and puts the LM79 in shutdown mode, reducing power consumption. ISA and Serial Bus communication is
www.national.com 16
* * * * * * * * *
Configuration Register Interrupt Status Register 1 Interrupt Status Register 2 SMI Mask Register 1 SMI Mask Register 2 NMI Mask Register 1 NMI Mask Register 2 VID/Fan Divisor Register
LM79
Functional Description
(Continued)
A typical application, such as is shown in Figure 8, might select the input voltage divider to provide 3V at the analog inputs of the LM79. 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 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 to provide a 3V input according to:
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 LM79. 6.0 FAN INPUTS Inputs are provided for signals from fans equipped with tachometer outputs. These are logic-level inputs with an approximate threshold of 1.4V. Signal conditioning in the LM79 accommodates the slow rise and fall times typical of fan tachometer outputs. The maximum input signal range is 0 to VCC. In the event these inputs are supplied from fan outputs which exceed 0 to VCC, either resistive division or diode clamping must be included to keep inputs within an acceptable range, as shown in Figure 9. R2 is 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 VCC. R1 should be as low as possible to provide the maximum possible input up to VCC for best noise immunity. Alternatively, use a shunt reference or zener diode to clamp the input level. If fans can be powered while the power to the LM79 is off, the LM79 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:
The negative inputs provide inverting op amps with non-inverting inputs connected to ground. The output of these op amps are designed to only drive the input of the LM78 and their associated feedback loops. Avoid heavy loading, long lines, and capacitive loading with these op amps. Additional loading may cause oscillations and thus erroneous readings. The optimum feedback resistor (resistor from Feedback to -IN pin) value is approximately 60 k, based on the op amp nominal output current rating of 50 A at an output voltage of 3V. Locate the feedback resistors as close as possible to the LM79. The recommended range for RIN is from 30 k to 300 k. Select RIN according to:
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 LM79. 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 (such as the 2.5V or 3.3V supplies) to be turned on while LM79 is powered off, additional resistors of about 10 k should be added in series with the inputs to limit the input current. 5.0 LAYOUT AND GROUNDING Analog inputs will provide best accuracy when referred to the AGND pin. 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 and feedback resistors should be located physically as close as possible to the LM79.
Note that Fan 1 and Fan 2 Divisors are programmable via the VID/Fan Divisor Register. Fan 3 is not adjustable, and its Divisor is always set to 2. Fans that provide only one pulse per revolution would require a divisor set twice as high as fans that provide two pulses, thus maintaining a nominal fan count of 153. Therefore, the divisor should be set to 4 for a fan that provides 1 pulse per revolution with a nominal RPM of 4400.
17
www.national.com
LM79
Functional Description
+2.50V +3.30V +5V +12V -12V -5V
(Continued) R1 or RIN 0 0 6.8 k 30 k 240 k 100 k R2 or RF NONE NONE 10 k 10 k 60 k 60 k Voltage at Analog Inputs +2.50V +3.30V +2.98V +3.00V +3.00V +3.00V
Voltage Measurements (VS)
DS100036-13
FIGURE 8. Input Examples. Resistor Values Shown Provide Approximately 3V at the Analog Inputs
www.national.com
18
LM79
Functional Description
(Continued)
DS100036-14
(a) Fan with Tach Pull-Up to +5V
DS100036-15
(b) Fan with Tach Pull-Up to +12V, or Totem-Pole Output and Resistor Attenuator
DS100036-16
DS100036-17
(c) Fan with Tach Pull-Up to +12V and Diode Clamp
(d) Fan with Strong Tach Pull-Up or Totem Pole Output and Diode Clamp
FIGURE 9. Alternatives for Fan Inputs Counts are based on 2 pulses per revolution tachometer outputs. RPM 4400 3080 2640 Time per Revolution 13.64 ms 19.48 ms 22.73 ms Counts for "Divide by 2" (Default) in Decimal 153 counts 219 counts 255 counts (maximum counts) Mode Select Nominal RPM 8800 4400 2200 1100 Time per Revolution Counts for the Given Speed in Decimal Divide by 1 Divide by 2 Divide by 4 Divide by 8 6.82 ms 13.64 ms 27.27 ms 54.54 ms 153 153 153 153 6160 3080 1540 770 70% RPM Time per Revolution for 70% RPM 9.74 ms 19.48 ms 38.96 ms 77.92 ms Typical RPM 70% RPM 60% RPM Comments
19
www.national.com
LM79
Functional Description
(Continued)
7.1 Temperature Data Format Temperature data can be read from the Temperature, TOI Set Point, and THYST Set Point registers; and written to the TOI Set Point, and THYST Set Point registers. Temperature data is represented by an 8-bit, two's complement word with an LSB (Least Significant Bit) equal to 1.0C: Temperature +125C +25C +1.0C +0C -1.0C -25C -55C Digital Output Binary 0111 1101 0001 1001 0000 0001 0000 0000 1111 1111 1110 0111 1100 1001 Hex 7Dh 19h 01h 00h FFh E7h C9h
7.0 TEMPERATURE MEASUREMENT SYSTEM The LM79 bandgap type temperature sensor and ADC perform 8-bit two's-complement conversions of the temperature. A digital comparator is also incorporated that compares the readings to the user-programmable Overtemperature setpoint and Hysteresis values.
DS100036-18
FIGURE 10. Temperature-to-Digital Transfer Function (Non-Linear Scale for Clarity)
7.2 Temperature Interrupts The normal mode for temperature interrupts in the LM79 is an "Interrupt" mode operating in the following way: Exceeding TOI causes an interrupt that will remain active indefinitely until reset by reading Interrupt Status Register 1. Once an interrupt event has occurred by crossing TOI, then reset, an interrupt will only occur again by the temperature going below THYST. Again, it will remain active indefinitely until being reset by reading Interrupt Status Register 1. A "Comparator" mode for temperature interrupts can be made available by setting the THYST limit to 127C. This results in a simple "thermostat" type of function where an interrupt will be set whenever the temperature exceeds the TOI limit. Reading Interrupt Status Register 1 will clear the interrupt as usual, but the interrupt will set again after the completion of another measurement cycle. It will remain set until the temperature goes below the TOI limit (allow up to two measurement cycles for clearing after descending below TOI while in Comparator mode).
DS100036-19
*Note: Interrupt resets occur only when interrupt Status Register 1 is read.
DS100036-20
(a) Interrupt Mode
Interrupt resets occur when Interrupt Status Register 1 is read but will set again when monitoring cycle continues (as long as temperature exceeds TOI). When temperature descends below TOI allow up to two monitoring loops before the Temperature Interrupt resets.
(b) Comparator Mode FIGURE 11. Temperature Interrupt Response Diagram
www.national.com
20
LM79
Functional Description
(Continued)
8.0 THE LM79 INTERRUPT STRUCTURE
DS100036-21
FIGURE 12. Interrupt Structure
Figure 12 depicts the Interrupt Structure of the LM79. The LM79 can generate Interrupts as a result of each of its internal WATCHDOG registers on the analog, temperature, and fan inputs. Overflow of the POST RAM (greater than 32 bytes written to POST RAM) will also cause an Interrupt. External Interrupts can come from the following three sources. While the labels suggest a specific type or source of Interrupt, these labels are not restrictions of their usage, and they could come from any desired source:
ceeds 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 LM79. 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.
*
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 ex21 www.national.com
LM79
Functional Description
*
(Continued)
10.0 POST RAM The POST RAM is located at address x0h and x4h, which typical address decoders will decode to 80h or 84h, where the BIOS will output Power On Self Test codes. A write to the POST RAM auto-increments the internal pointer of the LM79. Up to 32 bytes may be stored. An excess of 32 bytes will generate an Interrupt and stop incrementing. The POST RAM is read as like any other register at Ports x5h and x6h, with the POST RAM located at the LM79 Internal Address from 00h to 1Fh. Reading the POST RAM via x6h will also auto-increment, but this is a separate pointer than the one used for ports 80h and 84h. 11.0 NAND TREE TESTS A NAND tree is provided in the LM79 for Automated Test Equipment (ATE) board level connectivity testing. NAND tree tests are accomplished after power on reset when the Configuration Register is in reset state, with the Start Bit, Bit 0 of the Configuration Register low, and the INT__Clear (Bit 3) high. In this mode, forcing the SMI output low before the first write to the configuration register takes all pins except Power Switch Bypass, RESET, -IN5, -IN6, VCC, GNDA, and GNDD to a high impedance (either TRI-STATE or open drain) state. All high impedance pins can then be taken to 0 and VCC to accomplish NAND tree tests. To perform a NAND tree test all pins included in the NAND tree should be driven to 1. Each individual pin (excluding the aforementioned exceptions) can be toggled and the resulting toggle observed on the NTEST pin. Allow for a typical propagation delay of 200 ns.
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 LM79 is expected to latch the event. The design of the LM79 allows this input to go high even with no power applied to the LM79, 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 LM79 to reset a typical Chassis Intrusion circuit. Accomplish this reset by setting Bit 7 of NMI Mask Register 2 high. The bit in the Register is self-clearing.
SMI__IN: This active low Interrupt merely provides a way to chain the SMI Interrupt from other devices through the LM79 to the processor. All Interrupts are indicated in the two Interrupt Status Registers. The NMI/IRQ and SMI outputs have individual mask registers, and individual masks for each Interrupt. As described in Section 3.3, these two hardware Interrupt lines can also be enabled/disabled in the Configuration Register. The Configuration Register is also used to set the mode of the NMI/IRQ Interrupt line. 8.1 Interrupt Clearing Reading the 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 hardware 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. When this bit is high, the LM79 monitoring loop will stop. It will resume when the bit is low. 9.0 RESET AND Power Switch Bypass OUTPUTS In PC applications the open drain Power Switch Bypass 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 LM79 incorporates temperature sensing, the Power Switch Bypass output could also be utilized to control power to a cooling fan. Take Power Switch Bypass active low by setting Bit 6 in the Configuration Register high. RESET is intended to provide a master reset to devices connected to this line. SMI Mask Register 2, Bit 7, must be set high to enable this function. Setting Bit 4 in the Configuration 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.
*
www.national.com
22
LM79
Functional Description
12.0 FAN MANUFACTURERS
(Continued)
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 Number 2408NL 2410ML 3108NL 3110KL Frame Size 2.36 in sq. X 0.79 in (60 mm sq. X 20 mm) 2.36 in sq. X 0.98 in (60 mm sq. X 25 mm) 3.15 in sq. X 0.79 in (80 mm sq. X 20 mm) 3.15 in sq. X 0.98 in (80 mm sq. X 25 mm) 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 Number 109P06XXY601 109R06XXY401 109P08XXY601 109R08XXY401 Frame Size 2.36 in sq. X 0.79 in (60 mm sq. X 20 mm) 2.36 in sq. X 0.98 in (60 mm sq. X 25 mm) 3.15 in sq. X 0.79 in (80 mm sq. X 20 mm) 3.15 in sq. X 0.98 in (80 mm sq. X 25 mm) 21-42 23-30 13-28 Airflow CFM 11-15 25-40 25-42 14-25 Airflow CFM 9-16
23
www.national.com
LM79
Functional Description
REGISTERS AND RAM
(Continued)
13.1 Address Register (Port x5h) The main register is the ADDRESS Register located at Port x5h. The bit designations are as follows: Bit 6-0 7 Name Address Pointer Busy Read/ Write Read/Write Read Only Description Address of RAM and Registers. See the tables below for detail. A one indicates the device is busy because of a Serial Bus transaction or another ISA bus transaction. With checking this bit, multiple ISA drivers can use LM79 without interfering with each other or a Serial Bus driver. It is the user's responsibility not to have a Serial Bus and ISA bus operations at the same time. This bit is: Set: with a write to Port x5h or when a Serial Bus transaction is in progress. Reset: with a write or read from Port x6h if it is set by a write to Port x5h, or when the Serial Bus transaction is finished. Bit 7 Busy (Power On default 0) Address Pointer Index (A6-A0) Registers and RAM A6-A0 in Hex 40h 41h Power On Value of Registers: Notes A6 A5 Bit 6 Bit 5 Bit 4 A4 Bit 3 A3 Bit 2 A2 Bit 1 A1 Bit 0 A0
Address Pointer (Power On default 00h)
< 7:0 > in Binary
Configuration Register Interrupt Status Register 1 0000 1000 0000 0000 Auto-increment to the address of Interrupt Status Register 2 after a read or write to Port x6h. Auto-increment to the address of SMI Mask Register 2 after a read or write to Port x6h. Auto-increment to the address of NMI Mask Register 2 after a read or write to Port x6h.
Interrupt Status Register 2 SMI Mask Register 1 SMI Mask Register 2 NMI Mask Register 1 NMI Mask Register 2 VID/Fan Divisor Register Serial Bus Address Register Chip Reset/VID4/Device ID Register POST RAM Value RAM Value RAM
42h 43h 44h 45h 46h 47h 48h 49h 00-1Fh 20-3Fh 60-7Fh
0000 0000 0000 0000 0000 0000 0000 0000 0100 0000
< 7:4 > = 0101; < 3:0 > = VID3-VID0
0010 1101
< 7:1 > =1100 000; < 0 > = VID4
D7 identifies this device as the LM79. D0 reflects the state of VID4. Auto-increment to the next location after a read or write to Port x6h and stop at 1Fh. Auto-increment to the next location after a read or write to Port x6h and stop at 7Fh.
www.national.com
24
LM79
Functional Description
13.2 Data Register (Port x6h) Power on default < 7:0 > = 00h Bit 7-0 Name Data Read/ Write Read/Write
(Continued)
Description Data to be read from or to be written to RAM and Register.
13.3 Configuration Register -- Address 40h Power on default < 7:0 > = 00001000 binary Bit 0 Name Start Read/ Write Read/Write Description A 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. 1 2 3 SMI Enable NMI/IRQ Enable INT__Clear Read/Write Read/Write Read/Write A one enables the SMI Interrupt output. A one enables the NMI/IRQ Interrupt output. A one disables the SMI and NMI/IRQ outputs without affecting the contents of Interrupt Status Registers. The device will stop monitoring. It will resume upon clearing of this bit. A one outputs at least a 20 ms active low reset signal at RESET if < 7 > = 1 in SMI Mask Register 2. This bit is cleared once the pulse has gone inactive. A one selects NMI, and a zero selects IRQ. A one in this bit drives a zero on open drain Power Switch Bypass pin. A one restores power on default value to all registers except the Serial Bus Address register. This bit clears itself since the power on default is zero.
4 5 6 7
RESET NMI/IRQ Select Power Switch Bypass INITIALIZATION
Read/Write Read/Write Read/Write Read/Write
25
www.national.com
LM79
Functional Description
Power on default < 7:0 > = 00h Bit 0 1 2 3 4 5 6 7 Name IN0 IN1 IN2 IN3 Temperature BTI FAN1 FAN2 Read/Write Read Only Read Only Read Only Read Only Read Only Read Only Read Only Read Only
(Continued)
13.4 Interrupt Status Register 1 -- Address 41h
Description A one indicates a High or Low limit has been exceeded. A one indicates a High or Low limit has been exceeded. A one indicates a High or Low limit has been exceeded. A one indicates a High or Low limit has been exceeded. A one indicates a High or Low limit has been exceeded. A one indicates an interrupt has occurred from the Board Temperature Interrupt (BTI) input (O.S. output of multiple LM75 chips). A one indicates the fan count limit has been exceeded. A one indicates the fan count limit has been exceeded.
13.5 Interrupt Status Register 2 -- Address 42h Power on default < 7:0 > = 00h Bit 0 1 2 3 4 5 6 7 IN4 -IN5 -IN6 FAN3 Chassis Intrusion FIFO Overflow SMI__IN Reserved Name Read/Write Read Only Read Only Read Only Read Only Read Only Read Only Read Only Read Only Description A one indicates a High or Low limit has been exceeded. A one indicates a High or Low limit has been exceeded. A one indicates a High or Low limit has been exceeded. A one indicates the fan count limit has been exceeded. A one indicates Chassis Intrusion has gone high. A one indicates an overflow in FIFO (POST RAM) i.e. 32nd location in FIFO has been written via Port x0h or x4h. A one indicates SMI__IN has gone low.
13.6 SMI Mask Register 1 -- Address 43h Power on default < 7:0 > = 00h Bit 0 1 2 3 4 5 6 7 Name IN0 IN1 IN2 IN3 Temperature BTI FAN1 FAN2 Read/ Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Description A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt.
www.national.com
26
LM79
Functional Description
Power on default < 7:0 > = 00h Bit 0 1 2 3 4 5 6 7 IN4 -IN5 -IN6 FAN3 Chassis Intrusion FIFO Overflow SMI__IN RESET Enable Name Read/ Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write
(Continued)
13.7 SMI Mask Register 2 -- Address 44h
Description A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt. A one disables the corresponding interrupt status bit for SMI interrupt.
< 7 > = 1 in SM Mask Register 2 enables the RESET in the Configuration Register.
13.8 NMI Mask Register 1 -- Address 45h Power on default < 7:0 > = 00h Bit 0 1 2 3 4 5 6 7 Name IN0 IN1 IN2 IN3 Temperature BTI FAN1 FAN2 Read/ Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Description A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt.
13.9 NMI Mask Register 2 -- Address 46h Power on < 7:0 > = 01000000 binary Bit 0 1 2 3 4 5 6 7 IN4 -IN5 -IN6 FAN3 Chassis Intrusion FIFO Overflow SMI__IN Chassis Clear Name Read/ Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Read/Write Description A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. A one disables the corresponding interrupt status bit for NMI/IRQ interrupt. Note: The Power on default is 1 for this bit. A one outputs a minimum 20 ms active low pulse on the Chassis Intrusion pin. The register bit self clears after the pulse has been output.
27
www.national.com
LM79
Functional Description
(Continued)
13.10 VID/Fan Divisor Register -- Address 47h Power on - < 7:4 > is 0101, and < 3:0 > is mapped to VID < 3:0 > Bit 3-0 5-4 Name VID < 3:0 > FAN1 RPM Control Read/Write Read Only Read/Write The VID < 3:0 > inputs FAN1 Speed Control. Description
< 5:4 > < 5:4 > < 5:4 > < 5:4 >
7-6 FAN2 RPM Control Read/Write
= 00 - divide by 1; = 01 - divide by 2; = 10 - divide by 4; = 11 - divide by 8.
FAN2 Speed Control.
< 7:6 > < 7:6 > < 7:6 > < 7:6 >
= 00 - divide by 1; = 01 - divide by 2; = 10 - divide by 4; = 11 - divide by 8.
13.11 Serial Bus Address Register -- Address 48h Power on default Serial Bus address < 6:0 > = 0101101 and < 7 > = 0 binary Bit 6-0 7 Name Serial Bus Address Reserved Read/Write Read/Write Read Only Serial Bus address < 6:0 > Description
13.12 Chip Reset/VID4/Device ID Register Address 49h Power on default for the latest version of LM79 < 7:0 > = 1100 000X. Bit 0 4-1 5 6 7 VID4 Reserved Chip Reset Reserved Device ID Name Read/Write Read Only Read Only Read/Write Read Only Read Only LM79 device identification. The LM78 has < 7 > = 0. A one will reset all the registers of the LM79 to the power on default state. VID4 input Description
13.13 POST RAM -- Address 00h-1Fh The address pointer for the POST RAM auto-increments when written to at Port x0h or x4h. Once the address pointer reaches 1Fh, a FIFO overflow interrupt will be generated and the FIFO will stop incrementing. Normal reads via Port x5h and x6h auto-increment a separate pointer, and will not cause a FIFO overflow interrupt. 13.14 Value RAM -- Address 20h-3Fh or 60h-7Fh (auto-increment) Address A6-A0 20h 21h 22h 23h 24h 25h 26h 27h 28h Address A6-A0 with Auto-Increment 60h 61h 62h 63h 64h 65h 66h 67h 68h IN0 reading IN1 reading IN2 reading IN3 reading IN4 reading -IN5 reading -IN6 reading Temperature reading FAN1 reading Description
www.national.com
28
LM79
Functional Description
Address A6-A0
(Continued) Description Note: This location stores the number of counts of the internal clock per revolution.
Address A6-A0 with Auto-Increment
29h
69h
FAN2 reading Note: This location stores the number of counts of the internal clock per revolution.
2Ah
6Ah
FAN3 reading Note: This location stores the number of counts of the internal clock per revolution.
2Bh 2Ch 2Dh 2Eh 2Fh 30h 31h 32h 33h 34h 35h 36h 37h 38h 39h 3Ah 3Bh
6Bh 6Ch 6Dh 6Eh 6Fh 70h 71h 72h 73h 74h 75h 76h 77h 78h 79h 7Ah 7Bh
IN0 High Limit IN0 Low Limit IN1 High Limit IN1 Low Limit IN2 High Limit IN2 Low Limit IN3 High Limit IN3 Low Limit IN4 High Limit IN4 Low Limit -IN5 High Limit -IN5 Low Limit -IN6 High Limit -IN6 Low Limit Over Temperature Limit (High) Temperature Hysteresis Limit (Low) FAN1 Fan Count Limit Note: It is the number of counts of the internal clock for the Low Limit of the fan speed.
3Ch
7Ch
FAN2 Fan Count Limit Note: It is the number of counts of the internal clock for the Low Limit of the fan speed.
3Dh
7Dh
FAN3 Fan Count Limit Note: It is the number of counts of the internal clock for the Low Limit of the fan speed.
3E-3Fh
7E-7Fh
Reserved
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.
29
www.national.com
LM79
Typical Application
DS100036-22
FIGURE 13. In this PC application the LM79 monitors temperature, fan speed for 3 fans, and 7 power supply voltages. It also monitors the O.S. Output of up to 8 LM75 digital temperature sensors as well as an optical chassis intrusion detector.
www.national.com
30
LM79 Microprocessor System Hardware Monitor
Physical Dimensions
inches (millimeters) unless otherwise noted
44-Lead (10 mm x 10 mm) Molded Plastic Quad Flatpak Order Number LM79CCVF NS Package Number VGZ44A
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 labeling, can be reasonably expected to result in a significant injury to the user.
National Semiconductor Corporation Americas Tel: 1-800-272-9959 Fax: 1-800-737-7018 Email: support@nsc.com www.national.com National Semiconductor Europe Fax: +49 (0) 180-530 85 86 Email: europe.support@nsc.com Deutsch Tel: +49 (0) 69 9508 6208 English Tel: +44 (0) 870 24 0 2171 Francais Tel: +33 (0) 1 41 91 8790
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.
National Semiconductor Asia Pacific Customer Response Group Tel: 65-2544466 Fax: 65-2504466 Email: ap.support@nsc.com
National Semiconductor Japan Ltd. Tel: 81-3-5639-7560 Fax: 81-3-5639-7507
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.


▲Up To Search▲   

 
Price & Availability of LM79

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X