dBCool Remote Thermal Monitor and Fan Controller with PECI Interface ADT7490 FEATURES GENERAL DESCRIPTION Temperature measurement: 1 local on-chip temperature sensor 2 remote temperature sensors 3-current external temperature sensors with series resistance cancellation (SRC) PECI interface for CPU thermal information and support of up to 4 PECI inputs on one pin Fan drive and fan speed control 3 high frequency or low frequency PWM outputs for use with 3-wire or 4-wire fans 4 TACH inputs to measure fan speed OS independent automatic fan speed control based on thermal information Dynamic TMIN control mode to optimize system acoustics Default startup at 100% PWM for all fans for robust operation Bidirectional THERM/SMBALERT pin to flag out-of-limit and overtemperature conditions GPIO functionality to support extra features Can be used for loadline setting for voltage regulation, LED control, or other functions IMON monitoring for CPU current and power information Footprint and register compatible with ADT7473/ADT7475/ ADT7476/ADT7476A family of fan controllers SMBus interface with addressing capability for up to 3 devices The ADT7490 is a dBCool(R) thermal monitor and multiple PWM fan controller for noise-sensitive or power-sensitive applications requiring active system cooling. The ADT7490 includes a local temperature sensor, two remote temperature sensors including series resistance cancellation, and monitors CPU temperature with a PECI interface. The ADT7490 can drive a fan using either a low or high frequency drive signal, and measure and control the speed of up to four fans so they operate at the lowest possible speed for minimum acoustic noise. The automatic fan speed control loop optimizes fan speed for a given temperature using the PECI, remote, or local temperature information. The effectiveness of the system's thermal solution can be monitored using the THERM input. The ADT7490 also provides critical thermal protection to the system using the bidirectional THERM/SMBALERT pin as an output to prevent system or component overheating. APPLICATIONS Personal Computers Servers Rev. 0 Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 (c)2007 Analog Devices, Inc. All rights reserved. ADT7490 FUNCTIONAL BLOCK DIAGRAM ADDR SELECT SCL SDA ADT7490 SMBus ADDRESS SELECTION GPIO1 GPIO REGISTER GPIO2 PERFORMANCE MONITORING THERM/ SMBALERT TACH1 TACH2 TACH3 TACH4 PWM1 PWM2 PWM3 SERIAL BUS INTERFACE PWM REGISTERS AND CONTROLLERS (HF AND LF) PECI THERMAL PROTECTION ADDRESS POINTER REGISTER FAN SPEED COUNTER PWM CONFIGURATION REGISTERS AUTOMATIC FAN SPEED CONTROL ACOUSTIC ENHANCEMENT INTERRUPT MASKING DYNAMIC TMIN CONTROL PECI INTERFACE VTT ACOUSTIC ENHANCEMENT CONTROL VCC VCCP INTERRUPT STATUS REGISTERS +12VIN INPUT SIGNAL CONDITIONING AND ANALOG MULTIPLEXER +5VIN +2.5VIN IMON D1+ 10-BIT ADC BAND GAP REFERENCE D1- D2+ D2- LIMIT COMPARATORS VALUE AND LIMIT REGISTERS GND Figure 1. Rev. 0 | Page 2 of 76 06789-001 BAND GAP TEMP. SENSOR ADT7490 TABLE OF CONTENTS Features...............................................................................................1 Limits, Status Registers, and Interrupts .......................................25 Applications .......................................................................................1 Limit Values .................................................................................25 General Description..........................................................................1 Interrupt Status Registers...........................................................26 Functional Block Diagram ...............................................................2 THERM Timer ............................................................................28 Revision History................................................................................3 Fan Drive Using PWM Control ................................................30 Specifications .....................................................................................4 Laying Out 3-Wire Fans.............................................................32 Absolute Maximum Ratings ............................................................6 Programming Trange .....................................................................35 Thermal Characteristics...............................................................6 Programming the Automatic Fan Speed Control loop ..............36 ESD Caution ..................................................................................6 Manual Fan Control Overview .................................................36 Pin Configuration and Function Descriptions .............................7 THERM Operation in Manual Mode.......................................36 Typical Performance Characteristics ..............................................9 Automatic Fan Control Overview ............................................36 Theory of Operation .......................................................................12 Step 1: Hardware Configuration ...............................................37 Feature Comparisons Between the ADT7490 and ADT7476A .......................................................................................................12 Step 2: Configuring the Muxtiplexer........................................37 Start-Up Operation .....................................................................13 Serial Bus Interface .....................................................................13 Write Operations.........................................................................14 Read Operations..........................................................................15 SMBus Timeout...........................................................................16 Voltage Measurement Input.......................................................16 Additional ADC Functions for Voltage Measurements.........17 Temperature Measurement........................................................19 Thermal Diode Temperature Measurement Method.............21 Series Resistance Cancellation ..................................................22 Factors Affecting Diode Accuracy............................................22 Step 3: TMIN Settings for Thermal Calibration Channels .......38 Step 4: PWMMIN for Each PWM (Fan) Output .......................40 Step 5: PWMMAX for PWM (Fan) Outputs...............................40 Step 6: TRANGE for Temperature Channels ................................41 Step 7: TTHERM for Temperature Channels ................................43 Step 8: THYST for Temperature Channels...................................44 Programming the GPIOs ...........................................................46 XNOR Tree Test Mode ...............................................................46 Register Tables .................................................................................47 Outline Dimensions........................................................................76 Ordering Guide ...........................................................................76 Additional ADC Functions for Temperature Measurement .23 REVISION HISTORY 7/07--Revision 0: Initial Version Rev. 0 | Page 3 of 76 ADT7490 SPECIFICATIONS TA = TMIN to TMAX, VCC = VMIN to VMAX, unless otherwise noted. All voltages are measured with respect to GND, unless otherwise specified. Typical voltages are TA = 25C and represent a parametric norm. Logic inputs accept input high voltages up to VMAX, even when the device is operating down to VMIN. Timing specifications are tested at logic levels of VIL = 0.8 V for a falling edge, and VIH = 2.0 V for a rising edge. Table 1. Parameter POWER SUPPLY Supply Voltage Supply Current, ICC TEMPERATURE-TO-DIGITAL CONVERTER Local Sensor Accuracy Min Typ Max Unit Test Conditions/Comments 3.0 3.3 1.5 3.6 5 V mA Interface inactive, ADC active 0.5 1.5 2.5 1.5 C C C C C C A A k 2 1.5 % % 1 LSB %/V 13 14 14 43 193 ms ms ms ms ms ms k k Averaging enabled, all channels excluding VTT2 Averaging enabled Averaging enabled Averaging enabled Averaging enabled Averaging disabled For +12VIN channel For all other channels 10 14 65,535 % % 0C TA 85C -40C TA +125C RPM RPM RPM RPM Fan count = 0xBFFF Fan count = 0x3FFF Fan count = 0x0438 Fan count = 0x021C mA V A IOUT = -8.0 mA VOUT = VCC Resolution Remote Diode Sensor Accuracy 0.25 0.5 Resolution Remote Sensor Source Current 0.25 12 72 192 Series Resistance Cancellation1 ANALOG-TO-DIGITAL CONVERTER (INCLUDING MUX AND ATTENTUATORS) Total Unadjusted Error (TUE) Differential Nonlinearity (DNL) Power Supply Sensitivity Conversion Times 1 Voltage Inputs VTT Voltage Input2 Local Temperature Remote Temperature Total Monitoring Cycle Time Input Resistance 0.1 150 70 11 12 12 38 169 19 200 100 FAN RPM-TO-DIGITAL CONVERTER Accuracy Full-Scale Count Nominal Input RPM OPEN-DRAIN DIGITAL OUTPUTS, PWM1 TO PWM3, XTO Current Sink, IOL Output Low Voltage, VOL High Level Output Current, IOH 1.5 2.5 109 329 5000 10,000 0.1 8.0 0.4 20 Rev. 0 | Page 4 of 76 0C TA 85C -40C TA +125C 0C TA 85C -40C TA +125C Low level Mid level High level The ADT7490 cancels up to 2 k in series with the remote thermal sensor For all channels: -40C TA +125C For all other channels except +12VIN: 0C TA +125C 8 bits ADT7490 Parameter OPEN-DRAIN SERIAL DATA BUS OUTPUT (SDA) Output Low Voltage, VOL High Level Output Current, IOH SMBus DIGITAL INPUTS (SCL, SDA) Input High Voltage, VIH Input Low Voltage, VIL Hysteresis Digital I/O (PECI PIN)1 VTT, Supply Voltage Input High Voltage , VIH Input Low Voltage, VIL Hysteresis 1 High Level Output Source Current, ISOURCE Low Level Output Sink Current, ISINK Signal Noise Immunity, VNOISE DIGITAL INPUT LOGIC LEVELS (TACH1 to TACH3) Input High Voltage, VIH Min Typ Max Unit Test Conditions/Comments 0.1 0.4 1.0 V A IOUT = -4.0 mA VOUT = VCC 2.0 V V mV V 0.4 500 0.95 1.26 0.55 x VTT 2 0.5 x VTT2 0.1 x VTT2 6 1.0 0.5 300 2.0 V V 5.5 Input Low Voltage, VIL 0.8 2 0.75 x VCC 0.4 1 1 5 Minimum input voltage V V A A pF VIN = VCC VIN = 0 See Figure 2 10 400 50 4.7 4.7 4.0 kHz ns s s s ns s ns ms 50 1000 300 250 15 35 Can be optionally disabled Guaranteed by design, not production tested. VTT is the voltage input on Pin 8. The VTT voltage is determined by the processor installed on the system. tLOW tR tF tHD;STA SCL tHD;STA SDA tHD;DAT tHIGH tBUF P tSU;STA tSU;DAT S S Figure 2. SMBus Timing Diagram Rev. 0 | Page 5 of 76 tSU;STO P 06789-002 1 0.5 Hysteresis between input switching levels VOH = 0.75 x VTT VOL = 0.25 x VTT Noise glitches from 10 MHz to 100 MHz, width up to 50 ns Maximum input voltage V V V p-p -0.3 Hysteresis DIGITAL INPUT LOGIC LEVELS (THERM) Input High Voltage, VIH Input Low Voltage, VIL DIGITAL INPUT CURRENT Input High Current, IIH Input Low Current, IIL Input Capacitance, CIN SERIAL BUS TIMING1 Clock Frequency, fSCLK Glitch Immunity, tSW Bus Free Time, tBUF SCL Low Time, tLOW SCL High Time, tHIGH SCL, SDA Rise Time, tR SCL, SDA Fall Time, tF Data Setup Time, tSU;DAT Detect Clock Low Timeout, tTIMEOUT V V mV mA mA mV p-p ADT7490 ABSOLUTE MAXIMUM RATINGS Table 2. Parameter Positive Supply Voltage (VCC) Maximum Voltage on +12VIN Pin Maximum Voltage on +5VIN Pin Maximum Voltage on All Open-Drain Outputs Maximum Voltage on TACHx/PWMx Pins Voltage on Remaining Input or Output Pins Input Current at Any Pin Package Input Current Maximum Junction Temperature (TJ max) Storage Temperature Range Lead Temperature, Soldering IR Reflow Peak Temperature Pb-Free Peak Temperature Lead Temperature (Soldering, 10 sec) ESD Rating HBM FICDM Rating 3.6 V 16 V 6.25 V 3.6 V +5.5 V -0.3 V to +4.2 V 5 mA 20 mA 150C -65C to +150C THERMAL CHARACTERISTICS 24-lead QSOP package: Table 3. Thermal Resistance Package Type JA JC ESD CAUTION 220C 260C 300C 2 kV 0.5 kV Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Rev. 0 | Page 6 of 76 JA 122 31.25 Unit C/W C/W ADT7490 PIN CONFIGURATION AND FUNCTION DESCRIPTIONS SDA 1 24 PWM1/XTO SCL 2 23 VCCP GND 3 22 +2.5VIN/THERM VCC 4 GPIO2 6 PECI 7 21 +12VIN ADT7490 20 +5VIN 19 IMON TOP VIEW (Not to Scale) 18 D1+ VTT 8 17 D1- TACH3 9 16 D2+ PWM2/SMBALERT 10 15 D2- TACH1 11 14 TACH4/THERM/SMBALERT/ADDR SELECT TACH2 12 13 PWM3/ADDREN 06789-003 GPIO1 5 Figure 3.Pin Configuration Table 4. Pin Function Descriptions Pin No. 1 2 3 4 5 Mnemonic SDA SCL GND VCC GPIO1 Type Digital I/O Digital Input Ground Power Supply Digital Input/Output 6 GPIO2 Digital Input/Output 7 PECI Digital Input 8 VTT Analog Input 9 10 TACH3 PWM2/ Digital Input Digital Output SMBALERT 11 12 13 TACH1 TACH2 PWM3/ Digital Input Digital Input Digital Output ADDREN 14 TACH4/ THERM/ Digital Input/Output SMBALERT/ 15 16 17 18 19 ADDR SELECT D2- D2+ D1- D1+ IMON Analog Input Analog Input Analog Input Analog Input Analog Input Description SMBus Bidirectional Serial Data. Open drain, requires SMBus pull-up. SMBus Serial Clock Input. Open drain, requires SMBus pull-up. Ground Pin. 3.3 V 10%. General-Purpose Open-Drain Digital Input/Output. Frequently used for switching loadline resistors into VR loadline circuitry or for switching LEDs using external FETs. General-Purpose Open-Drain Digital Input/Output. Frequently used for switching loadline resistors into VR loadline circuitry or for switching LEDs using external FETs. PECI Input to Report CPU Thermal Information. PECI voltage level is referenced on the VTT input Voltage Reference for PECI. This is the supply voltage for the PECI interface and must be present to measure temperature over the PECI interface. This voltage is also monitored and presented in register 0x1E. Fan Tachometer Input to Measure Speed of FAN 3 (Open-Drain Digital Input). Pulse Width Modulated Output to Control FAN 2 Speed. Open drain requires 10 k typical pull-up. Digital Output (Open Drain). This pin can be reconfigured as an SMBALERT interrupt output to signal out-of-limit conditions. Fan Tachometer Input to Measure Speed Of Fan 1 (Open-Drain Digital Input.). Fan Tachometer Input To Measure Speed Of Fan 2 (Open-Drain Digital Input.). Pulse Width Modulated Output to Control Fan 3 Speed. Open drain requires 10k typical pull-up. If pulled low on power-up, the ADT7490 enters address select mode, and the state of Pin 14 (ADDR SELECT) determines the ADT7490's slave address. Fan Tachometer Input to Measure Speed of Fan 4 (Open-Drain Digital Input). May be reconfigured as a bidirectional THERM pin. Can be connected to PROCHOT output of processor, to time and monitor PROCHOT assertions. Can be used as an output to signal overtemperature conditions or for clock modulation purposes. Active Low Digital Output. The SMBALERT Pin is used to signal out-of-limit comparisons of temperature, voltage, and fan speed. This is compatible with SMBus alert. Can also be used at device power-up to assign SMBus address. Negative Connection for Remote Temperature Sensor 2. Positive Connection to Remote Temperature Sensor 2. Negative Connection for Remote Temperature Sensor 1. Positive Connection to Remote Temperature Sensor 1. Monitors Current Output of Analog Devices ADP319x family of VRD10/VRD11 controllers. Rev. 0 | Page 7 of 76 ADT7490 Pin No. 20 21 22 Mnemonic +5VIN +12VIN +2.5VIN/ THERM Type Analog Input Analog Input Analog Input 23 VCCP Analog Input 24 PWM1/ Digital Output XTO Description Monitors 5 V Supply Using Internal Resistor Dividers. Monitors 12 V Supply Using Internal Resistor Dividers. Monitors 2.5 V Supply Using Internal Resistor Dividers. Alternatively, this pin can be reconfigured as a bidirectional THERM pin. Can be connected to PROCHOT output of processor to time and monitor PROCHOT assertions. Can be used as an output to signal overtemperature conditions or for clock modulation purposes. Monitors CPU VCC Voltage (to maximum of 3.0 V). All voltage inputs can have their resistor dividers removed allowing for full-scale input of 2.25 V of ADC channel. Pulse Width Modulated Output to Control FAN 1 Speed. Open drain requires 10 k typical pull-up. Also functions as the output for the XNOR tree test enable mode. Table 5. Comparison of ADT7490 and ADT7476A Configurations Pin Number ADT7490 ADT7476A 1 SDA SDA 2 SCL SCL 3 GND GND 4 VCC VCC 5 GPIO1 VID0/GPIO0 6 GPIO2 VID1/GPIO1 7 PECI VID2/GPIO2 8 VTT VID3/GPIO3 9 TACH3 TACH3 10 PWM2/SMBALERT PWM2/SMBALERT 11 TACH1 TACH1 12 TACH2 TACH2 13 PWM3/ADDREN PWM3/ADDREN 14 TACH4/THERM/SMBALERT/ADDR SELECT TACH4/THERM/SMBALERT/GPIO6/ADDR SELECT 15 D2- D2- 16 D2+ D2+ 17 D1- D1- 18 D1+ D1+ 19 IMON VID4/GPIO4 20 +5VIN +5VIN 21 +12VIN +12VIN/VID5 22 +2.5VIN/THERM +2.5VIN/THERM 23 VCCP VCCP 24 PWM1/XTO PWM1/XTO Rev. 0 | Page 8 of 76 ADT7490 3.0 4.7 DEV 1 DEV 2 DEV 3 DEV 4 DEV 5 DEV 6 DEV 7 DEV 8 DEV 9 DEV 10 DEV 11 DEV 12 DEV 13 DEV 14 DEV 15 DEV 16 DEV 17 DEV 18 DEV 19 DEV 20 DEV 21 DEV 22 DEV 23 DEV 24 DEV 25 DEV 26 DEV 27 DEV 28 DEV 29 DEV 30 DEV 31 DEV 32 MEAN LOW SPEC HIGH SPEC 2.5 DEV 1 DEV 3 4.1 DEV 2 3.9 3.7 2.0 1.5 1.0 0.5 0 -0.5 -1.0 -1.5 3.1 3.2 3.3 3.4 3.5 3.6 VDD (V) -2.0 -40 06789-006 3.5 3.0 -20 0 25 40 60 70 85 100 125 TEMPERATURE (C) Figure 4. Supply Current vs. Supply Voltage Figure 7. Remote 1 Temperature Sensor Error 4.24 3.0 DEV 1 DEV 2 DEV 3 DEV 4 DEV 5 DEV 6 DEV 7 DEV 8 DEV 9 DEV 10 DEV 11 DEV 12 DEV 13 DEV 14 DEV 15 DEV 16 DEV 17 DEV 18 DEV 19 DEV 20 DEV 21 DEV 22 DEV 23 DEV 24 DEV 25 DEV 26 DEV 27 DEV 28 DEV 29 DEV 30 DEV 31 DEV 32 MEAN LOW SPEC HIGH SPEC 2.5 4.22 TEMPERATURE ERROR (C) NORMAL IDD (mA) DEV 2 4.20 4.18 DEV 1 4.16 4.14 DEV 3 2.0 1.5 1.0 0.5 0 -0.5 -1.0 -1.5 -20 0 20 40 60 80 100 120 TEMPERATURE (C) -2.0 -40 06789-007 4.12 -40 -20 1.5 1.0 0.5 0 -0.5 -1.0 40 60 70 85 100 TEMPERATURE (C) 70 85 100 125 125 EXTERNAL 2 EXTERNAL 1 100 LOCAL 80 60 40 20 0 06789-072 2.0 25 60 120 MEASURED TEMPERATURE (C) TEMPERATURE ERROR (C) 2.5 140 06789-008 DEV 1 DEV 2 DEV 3 DEV 4 DEV 5 DEV 6 DEV 7 DEV 8 DEV 9 DEV 10 DEV 11 DEV 12 DEV 13 DEV 14 DEV 15 DEV 16 DEV 17 DEV 18 DEV 19 DEV 20 DEV 21 DEV 22 DEV 23 DEV 24 DEV 25 DEV 26 DEV 27 DEV 28 DEV 29 DEV 30 DEV 31 DEV 32 MEAN LOW SPEC HIGH SPEC 0 40 Figure 8. Remote 2 Temperature Sensor Error 3.0 -20 25 TEMPERATURE (C) Figure 5. Supply Current vs. Temperature -1.5 -40 0 0 10 20 30 40 50 TIME (s) Figure 9. ADT7490 Response to Thermal Shock Figure 6. Local Temperature Sensor Error Rev. 0 | Page 9 of 76 60 06789-010 NORMAL IDD (mA) 4.3 TEMPERATURE ERROR (C) 4.5 06789-009 TYPICAL PERFORMANCE CHARACTERISTICS ADT7490 20 8 DEV 1 15 TEMPERATURE ERROR (C) TEMPERATURE ERROR (C) 6 4 2 0 DEV 3 -2 -4 10 100mV 60mV 5 40mV 0 DEV 2 -5 0 200 400 600 800 1000 1200 1400 1600 SERIES RESISTANCE () -10 06789-071 400 500 600 140 3.0 TEMPERATURE ERROR (C) 2.5 2.0 1.5 1.0 0.5 0 120 100 80 60 100mV 40 60mV 20 0 -0.5 40mV 100 200 300 400 500 600 POWER SUPPLY NOISE FREQUENCY (MHz) -20 06789-011 0 0 100 200 300 400 500 600 DIFFERENTIAL MODE NOISE FREQUENCY (MHz) Figure 11. Local Temperature Error vs. Power Supply Noise Frequency 06789-014 TEMPERATURE ERROR (C) 300 160 100mV 250mV 3.5 Figure 14. Temperature Error vs. Differential Mode Noise Frequency 0.6 5 100mV 250mV 0.4 0 DEV 3 0.2 TEMPERATURE ERROR (C) TEMPERATURE ERROR (C) 200 Figure 13. Temperature Error vs. Common-Mode Noise Frequency 4.0 0 -0.2 -0.4 -0.6 -0.8 -5 DEV 2 -10 -15 DEV 1 -20 -25 -30 0 100 200 300 400 500 POWER SUPPLY NOISE FREQUENCY (MHz) 600 06789-012 -1.0 -1.2 100 COMMON-MODE NOISE FREQUENCY (MHz) Figure 10. Temperature Error vs. Series Resistance -1.0 0 Figure 12. Remote Temperature Error vs. Power Supply Noise Frequency Rev. 0 | Page 10 of 76 -35 0 2 4 6 8 10 12 14 16 18 20 22 CAPACITANCE (nF) Figure 15. Temperature Error vs. Capacitance Between D+ and D- 06789-015 -8 06789-013 -6 ADT7490 1.5 8 DEV 2 1.0 ACCURACY (%) 0 -0.5 -1.0 DEV 1 2 DEV 2 0 -2 -4 -1.5 3.1 3.2 3.3 3.4 3.5 VDD (V) 3.6 Figure 16. TACH Accuracy vs. Power Supply -8 -40 -20 0 20 40 60 80 TEMPERATURE (C) Figure 17. TACH Accuracy vs. Temperature Rev. 0 | Page 11 of 76 100 120 06789-070 -6 06789-069 -2.0 3.0 DEV 3 4 DEV 3 0.5 ACCURACY (%) 6 DEV 1 ADT7490 THEORY OF OPERATION The ADT7490 is a complete thermal monitor and multiple fan controller for any system requiring thermal monitoring and cooling. The device communicates with the system via a serial system management bus. The serial bus controller has a serial data line for reading and writing addresses and data (Pin 1), and an input line for the serial clock (Pin 2). All control and programming functions for the ADT7490 are performed over the serial bus. In addition, Pin 14 can be reconfigured as an SMBALERT output to signal out-of-limit conditions. FEATURE COMPARISONS BETWEEN THE ADT7490 AND ADT7476A The ADT7490 is pin and register map compatible with the ADT7476A. The new or additional features are detailed in the following sections. PECI Input Table 6. PECI Data Format x MSB Lower Nibble x x x x Integer value (0C to 127C) x The CPU thermal information from PECI can be used in the existing automatic fan control algorithms. This temperature reading remains relative to TCC activation temperature and the associated AFC control parameters are programmed in relative temperatures as opposed to absolute temperatures, and are in the same format as detailed in Table 6. PECIMIN, TRANGE, and TCONTROL are user defined. PWMMAX PECI = 0 PWMMIN PWM = 0% PECIMIN (TMIN) (TMAX) TCONTROL 06789-005 TCC TRANGE Figure 18. Overview of Automatic Fan Speed Control Using PECI Thermal Information Dynamic TMIN Fan Control Mode The automatic fan speed control incorporates a feature called dynamic TMIN control. This intelligent fan control feature reduces the design effort required to program the automatic fan speed control loop and improves the system acoustics. VTT Input There are associated high and low limits for each PECI reading that can be programmed. The limit values take the same format as the PECI reading. Therefore, the programmed limits are not absolute temperatures but a relative offset in degrees Celcius from the TCC activation temperature. An out-of-limit event is recorded as follows: * * Fan Control Using PECI Information PWM = 100% CPU thermal information is provided through the PECI input. The ADT7490 has PECI master capabilities and can read the CPU thermal information through the PECI interface. Each CPU address can have up to two PECI domains. The ADT7490 has the ability to record four PECI temperature readings corresponding to the four PECI addresses of 0x30 to 0x33. The hotter of the two domains at any given address is stored in the PECI value registers. A PECI reading is a negative value, in degrees Celsius, which represents the offset from the thermal control circuit (TCC) activation temperature. PECI information is not converted to absolute temperature reading. PECI information is in a 16-bit twos complement value; however, the ADT7490 records the sign bit as well as the bits from 12:6 in the 16-bit PECI payload. See the Platform Environment Control Interface (PECI) Specification from Intel(R) for more details on the PECI data format. The PECI format is represented in Table 6. MSB Upper Nibble S x Sign Bit are replaced by PECI0 data and vice versa. This is a legacy mode that allows the thermal data from CPU1 to be stored in the same registers as in the ADT7476A. This reduces the software changes in systems transitioning from CPUs with thermal diodes to CPUs with a PECI interface. See the PECI Temperature Measurement section for more details. High Limit > comparison performed Low Limit comparison performed An out-of-limit event is recorded in the associated status register and can be used to assert the SMBALERT pin. Temperature Data REPLACE Mode The REPLACE mode is configured by setting Bit 4 of Register 0x36. In this mode, the data in the existing Remote 1 registers The VTT voltage is monitored on Pin 8. This voltage is also used as the reference voltage for the PECI interface. The VTT voltage must be connected to the ADT7490 in order for the PECI interface to be operational. IMON Monitoring The IMON input on Pin 19 can be used to monitor the IMON output of the Analog Devices ADP319x family of VR10/VR11 controllers. IMON is a voltage representation of the CPU current. Using the IMON value and the measured VCCP value on Pin 23, the CPU power consumption may be calculated. See the appropriate Analog Devices flex mode data sheet for calculations. The IMON information can be considered as an early indication of an increase in CPU temperature. Rev. 0 | Page 12 of 76 ADT7490 START-UP OPERATION At startup, the ADT7490 turns the fans on to 100% PWM. This allows the most robust operation at turn-on. SERIAL BUS INTERFACE Control of the ADT7490 is carried out using the serial system management bus (SMBus). The ADT7490 is connected to this bus as a slave device, under the control of a master controller. The ADT7490 has a 7-bit serial bus address. When the device is powered up with Pin 13 (PWM3/ADDREN) high, the ADT7490 has a default SMBus address of 0101110 or 0x2E. The read/write bit must be added to get the 8-bit address. If more than one ADT7490 is to be used in a system, each ADT7490 is placed in address select mode by strapping Pin 13 low on power-up. The logic state of Pin 14 then determines the device's SMBus address. The logic of these pins is sampled on power-up. The device address is sampled on power-up and latched on the first valid SMBus transaction, more precisely on the low-tohigh transition at the beginning of the eighth SCL pulse, when the serial bus address byte matches the selected slave address. The selected slave address is chosen using the ADDREN/ ADDR SELECT pins. Any attempted changes in the address have no effect after this. Table 7. Hardwiring the ADT7490 SMBus Device Address Pin 13 State 0 0 1 Pin 14 State Low (10 k to GND) High (10 k pull-up) Don't care Address 0101100 (0x2C) 0101101 (0x2D) 0101110 (0x2E) Data is sent over the serial bus in sequences of nine clock pulses: eight bits of data followed by an acknowledge bit from the slave device. Transitions on the data line must occur during the low period of the clock signal and remain stable during the high period, because a low-to-high transition when the clock is high may be interpreted as a stop signal. The number of data bytes that can be transmitted over the serial bus in a single read or write operation is limited only by what the master and slave devices can handle. ninth clock pulse; this is known as no acknowledge. The master takes the data line low during the low period before the 10th clock pulse, and then high during the 10th clock pulse to assert a stop condition. Any number of bytes of data can be transferred over the serial bus in one operation, but it is not possible to mix read and write in one operation because the type of operation is determined at the beginning and cannot subsequently be changed without starting a new operation. In the ADT7490, write operations contain either one or two bytes, and read operations contain one byte. To write data to one of the device data registers or read data from it, the address pointer register must be set so that the correct data register is addressed. Then data can be written into that register or read from it. The first byte of a write operation always contains an address that is stored in the address pointer register. If data is to be written to the device, the write operation must contain a second data byte that is written to the register selected by the address pointer register. This write operation is shown in Figure 19. The device address is sent over the bus, and then R/W is set to 0. This is followed by two data bytes. The first data byte is the address of the internal data register to be written to, which is stored in the address pointer register. The second data byte is the data to be written to the internal data register. When reading data from a register, there are two possibilities: * If the ADT7490 address pointer register value is unknown or not the desired value, it must first be set to the correct value before data can be read from the desired data register. This is done by performing a write to the ADT7490 as before, but only the data byte containing the register address is sent because no data is written to the register. This is shown in Figure 20. A read operation is then performed consisting of the serial bus address, R/W bit set to 1, followed by the data byte read from the data register. This is shown in Figure 21. * When all data bytes have been read or written, stop conditions are established. In write mode, the master pulls the data line high during the 10th clock pulse to assert a stop condition. In read mode, the master device overrides the acknowledge bit by pulling the data line high during the low period before the Rev. 0 | Page 13 of 76 If the address pointer register is known to be already at the desired address, data can be read from the corresponding data register without first writing to the address pointer register, as shown in Figure 21. ADT7490 1 9 9 1 SCL 0 SDA 1 0 1 1 0 1 D6 D7 R/W START BY MASTER ACK. BY ADT7490 FRAME 1 SERIAL BUS ADDRESS BYTE D4 D5 D2 D3 D1 D0 ACK. BY ADT7490 FRAME 2 ADDRESS POINTER REGISTER BYTE 1 9 SCL (CONTINUED) D4 D5 D6 D2 D3 D1 D0 ACK. BY ADT7490 FRAME 3 DATA BYTE STOP BY MASTER 06789-016 D7 SDA (CONTINUED) Figure 19. Writing a Register Address to the Address Pointer Register, then Writing Data to the Selected Register 1 9 9 1 SCL 0 1 START BY MASTER 0 1 1 1 0 D6 D7 R/W ACK. BY ADT7490 FRAME 1 SERIAL BUS ADDRESS BYTE D4 D5 D3 D2 D1 D0 ACK. BY ADT7490 FRAME 2 ADDRESS POINTER REGISTER BYTE STOP BY MASTER 06789-017 SDA Figure 20. Writing to the Address Pointer Register Only 1 9 9 1 SCL START BY MASTER 0 1 0 1 1 1 0 R/W D6 D7 ACK. BY ADT7490 FRAME 1 SERIAL BUS ADDRESS BYTE D5 D4 D3 D2 D1 FRAME 2 DATA BYTE FROM ADT7490 D0 NO ACK. BY STOP BY MASTER MASTER 06789-018 SDA Figure 21. Reading Data from a Previously Selected Register It is possible to read a data byte from a data register without first writing to the address pointer register if the address pointer register is already at the correct value. However, it is not possible to write data to a register without writing to the address pointer register because the first data byte of a write is always written to the address pointer register. In addition to supporting the send byte and receive byte protocols, the ADT7490 also supports the read byte protocol (see System Management Bus Specifications Rev. 2 for more information; this document is available from the SMBus organization). If several read or write operations must be performed in succession, the master can send a repeat start condition instead of a stop condition to begin a new operation. WRITE OPERATIONS The SMBus specification defines several protocols for different types of read and write operations. The ones used in the ADT7490 are discussed here. The following abbreviations are used in the diagrams: * * * * * * S: Start P: Stop R: Read W: Write A: Acknowledge A: No acknowledge The ADT7490 uses the following SMBus write protocols. Rev. 0 | Page 14 of 76 ADT7490 Send Byte READ OPERATIONS In this operation, the master device sends a single command byte to a slave device, as follows: The ADT7490 uses the following SMBus read protocols. 1. 2. This operation is useful when repeatedly reading a single register. The register address must be previously set up. In this operation, the master device receives a single byte from a slave device, as follows: 1 2 3 SLAVE S W A ADDRESS 4 5 6 REGISTER ADDRESS A P 06789-019 For the ADT7490, the send byte protocol is used to write a register address to RAM for a subsequent single-byte read from the same address. This operation is illustrated in Figure 22. Figure 22. Setting a Register Address for Subsequent Read If the master is required to read data from the register immediately after setting up the address, it can assert a repeat start condition immediately after the final ACK and carry out a single-byte read without asserting an intermediate stop condition. Receive Byte 1. 2. 3. 4. 5. 6. In the ADT7490, the receive byte protocol is used to read a single byte of data from a register whose address has previously been set by a send byte or write byte operation. This operation is illustrated in Figure 24. 1 The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the write bit (low). The addressed slave device asserts ACK on SDA. The master sends a command code. The slave asserts ACK on SDA. The master sends a data byte. The slave asserts ACK on SDA. The master asserts a stop condition on SDA, and the transaction ends. The byte write operation is illustrated in Figure 23. 4 5 6 DATA A P 2 3 SLAVE S ADDRESS W A 4 5 6 REGISTER ADDRESS A DATA 7 Figure 23. Single Byte Write to a Register Alert response address (ARA) is a feature of SMBus devices that allows an interrupting device to identify itself to the host when multiple devices exist on the same bus. The SMBALERT output can be used as either an interrupt output or an SMBALERT. One or more outputs can be connected to a common SMBALERT line connected to the master. If a device's SMBALERT line goes low, the following events occur: 1. 2. 3. 8 A P Alert Response Address 06789-020 1 3 Figure 24. Single-Byte Read from a Register In this operation, the master device sends a command byte and one data byte to the slave device, as follows: 3. 4. 5. 6. 7. 8. 2 SLAVE S ADDRESS R A Write Byte 1. 2. The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the read bit (high). The addressed slave device asserts ACK on SDA. The master receives a data byte. The master asserts NO ACK on SDA. The master asserts a stop condition on SDA, and the transaction ends. 06789-021 3. 4. 5. 6. The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the write bit (low). The addressed slave device asserts ACK on SDA. The master sends a command code. The slave asserts ACK on SDA. The master asserts a stop condition on SDA and the transaction ends. 4. 5. Rev. 0 | Page 15 of 76 SMBALERT is pulled low. The master initiates a read operation and sends the alert response address (ARA = 0001 100). This is a general call address that must not be used as a specific device address. The device whose SMBALERT output is low responds to the alert response address, and the master reads its device address. The address of the device is now known and can be interrogated in the usual way. If more than one device's SMBALERT output is low, the one with the lowest device address has priority in accordance with normal SMBus arbitration. Once the ADT7490 has responded to the alert response address, the master must read the status registers, and the SMBALERT is cleared only if the error condition is gone. ADT7490 SMBus TIMEOUT 12V IN The ADT7490 includes an SMBus timeout feature. If there is no SMBus activity for 35 ms, the ADT7490 assumes the bus is locked and releases the bus. This prevents the device from locking or holding the SMBus expecting data. Some SMBus controllers cannot work with the SMBus timeout feature, so it can be disabled. 5VIN 3.3VIN 120k 2.5VIN Bit 4 (TODIS) = 1, SMBus timeout disabled. 30pF 47k 30pF 71k 30pF 94k 30pF 93k 68k Configuration Register 7 (Register 0x11) Bit 4 (TODIS) = 0, SMBus timeout enabled (default). 20k 45k MUX VOLTAGE MEASUREMENT INPUT VCCP The ADT7490 has six external voltage measurement channels. It can also measure its own supply voltage, VCC. Analog-to-Digital Converter 52.5k IMON VTT 35pF 45k 94k 30pF 45k 30pF 45k 06789-025 Pin 20 to Pin 23 can measure 5 V, 12 V, and 2.5 V supplies, and the processor core voltage VCCP (0 V to 3 V input). The 2.5 V input can be used to monitor a chipset supply voltage in computer systems. The VCC supply voltage measurement is carried out through the VCC pin (Pin 4). Pin 8 measures the processor's VTT voltage and is the dedicated reference voltage for the PECI circuitry. The IMON input on Pin 19 can be used to monitor the IMON output of the Analog Devices ADP319x family of VR10/VR11 controllers. IMON is a voltage representation of the CPU current. 17.5k Figure 25. Analog Inputs structure Voltage Limit Registers Associated with each voltage measurement channel is a high and low limit register. Exceeding the programmed high or low limit causes the appropriate status bit to be set. Exceeding either limit can also generate SMBALERT interrupts. All analog inputs are multiplexed into the on-chip, successiveapproximation, analog-to-digital converter. This ADC has a resolution of 10 bits. The basic input range is 0 V to 2.25 V, but the inputs have built-in attenuators to allow measurement of 2.5 V, 3.3 V, 5 V, 12 V, and the processor core voltage VCCP without any external components. To allow the tolerance of these supply voltages, the ADC produces an output of 3/4 full scale (768 dec or 0x300 hex) for the nominal input voltage, and therefore, has adequate headroom to cope with overvoltages. Register 0x87, IMON High Limit = 0xFF default Input Circuitry Register 0x45, +2.5VIN High Limit = 0xFF default The internal structure for the analog inputs is shown in Figure 25. The input circuit consists of an input protection diode, an attenuator, plus a capacitor to form a first-order low-pass filter that gives input immunity to high frequency noise. Register 0x46, VCCP Low Limit = 0x00 default Voltage Measurement Registers Register 0x1D, IMON Reading = 0x00 default Register 0x1E, VTT Reading = 0x00 default Register 0x20, +2.5VIN Reading = 0x00 default Register 0x21, VCCP Reading = 0x00 default Register 0x22, VCC Reading = 0x00 default Register 0x23, +5VIN Reading = 0x00 default Register 0x85, IMON Low Limit = 0x00 default Register 0x84, VTT Low Limit = 0x00 default Register 0x86, VTT High Limit = 0xFF default Register 0x44, +2.5VIN Low Limit = 0x00 default Register 0x47, VCCP High Limit = 0xFF default Register 0x48, VCC Low Limit = 0x00 default Register 0x49, VCC High Limit = 0xFF default Register 0x4A, +5VIN Low Limit = 0x00 default Register 0x4B, +5VIN High Limit = 0xFF default Register 0x4C, +12VIN Low Limit = 0x00 default Register 0x4D, +12VIN High Limit = 0xFF default When the ADC is running, it samples and converts a voltage input in 0.7 ms and averages 16 conversions to reduce noise; a measurement takes nominally 11 ms. Register 0x24, +12VIN Reading = 0x00 default Rev. 0 | Page 16 of 76 ADT7490 Extended Resolution Registers Bypass All Voltage Input Attenuators Voltage measurements can be made with higher accuracy using the extended resolution registers (0x1F, 0x76, and 0x77). Whenever the extended resolution registers are read, the corresponding data in the voltage measurement registers (0x1D, 0x1E, and 0x20 to 0x24) is locked until their data is read. That is, if extended resolution is required, the extended resolution register must be read first, immediately followed by the appropriate voltage measurement register. Setting Bit 5 of Configuration Register 2 (Register 0x73) removes the attenuation circuitry from the 2.5 VIN, VCCP, VCC, 5 VIN, and 12 VIN inputs. This allows the user to directly connect external sensors or rescale the analog voltage measurement inputs for other applications. The input range of the ADC without the attenuators is 0 V to 2.25 V. ADDITIONAL ADC FUNCTIONS FOR VOLTAGE MEASUREMENTS A number of other functions are available on the ADT7490 to offer the system designer increased flexibility. The functions described in the following sections are enabled by setting the appropriate bit in Configuration Register 2. Bypass Individual Voltage Input Attenuators Bits [7:4] of Configuration Register 4 (0x7D) can be used to bypass individual voltage channel attenuators. Table 9. Bypassing Individual Voltage Input Attenuators Bit 4 (AVG) = 1, averaging off. Configuration Register 4 (0x7D) Bit No. Channel Attenuated 4 Bypass +2.5VIN attenuator 5 Bypass VCCP attenuator 6 Bypass +5VIN attenuator 7 Bypass +12VIN attenuator Bit 5 (ATTN) = 1, bypass input attenuators. Single-Channel ADC Conversion Bit 6 (CONV) = 1, single-channel convert mode. While single-channel mode is intended as a test mode that can be used to increase sampling times for a specific channel, therefore helping to analyze that channel's performance in greater detail, it can also have other applications. Configuration Register 2 (Register 0x73) Turn-Off Averaging For each voltage/temperature measurement read from a value register, 16 readings have actually been made internally and the results averaged before being placed into the value register. When faster conversions are needed, setting Bit 4 (AVG) of Configuration Register 2 (0x73) turns averaging off. This effectively gives a reading that is 16 times faster, but the reading can be noisier. The default round-robin cycle time takes 146.5 ms. Table 8. Conversion Time with Averaging Disabled Channel Voltage Channels Remote Temperature 1 Remote Temperature 2 Local Temperature Setting Bit 6 of Configuration Register 2 (0x73) places the ADT7490 into single-channel ADC conversion mode. In this mode, the ADT7490 can read a single voltage channel only. The selected voltage input is read every 0.7 ms. The appropriate ADC channel is selected by writing to Bits [7:4] of the TACH1 minimum high byte register (0x55). Table 10. Programming Single-Channel ADC Mode Measurement Time (ms) 0.7 7 7 1.3 When Bit 7 (ExtraSlow) of Configuration Register 6 (0x10) is set, the default round-robin cycle time increases to 240 ms. Bits [7:4] Register 0x55 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1 Channel Selected 1 +2.5VIN VCCP VCC +5VIN +12VIN Remote 1 temperature Local temperature Remote 2 temperature VTT IMON In the process of configuring single-channel ADC conversion mode, the TACH1 minimum high byte is also changed, possibly trading off TACH1 minimum high byte functionality with single-channel mode functionality. Rev. 0 | Page 17 of 76 ADT7490 Table 11. 10-Bit ADC Output Code vs. VIN +12VIN <0.0156 0.0156 to 0.0312 0.0312 to 0.0469 0.0469 to 0.0625 0.0625 to 0.0781 0.0781 to 0.0937 0.0937 to 0.1093 0.1093 to 0.1250 0.1250 to 0.14060 ... 4.0000 to 4.0156 ... 8.0000 to 8.0156 ... 12.0000 to 12.0156 ... 15.8281 to 15.8437 15.8437 to 15.8593 15.8593 to 15.8750 15.8750 to 15.8906 15.8906 to 15.9062 15.9062 to 15.9218 15.9218 to 15.9375 15.9375 to 15.9531 15.9531 to 15.9687 15.9687 to 15.9843 >15.9843 +5VIN <0.0065 0.0065 to 0.0130 0.0130 to 0.0195 0.0195 to 0.0260 0.0260 to 0.0325 0.0325 to 0.0390 0.0390 to 0.0455 0.0455 to 0.0521 0.0521 to 0.0586 Input Voltage VCC (3.3 VIN) +2.5VIN <0.0042 <0.0032 0.0042 to 0.0032 to 0.0085 0.0065 0.0085 to 0.0065 to 0.0128 0.0097 0.0128 to 0.0097 to 0.0171 0.0130 0.0171 to 0.0130 to 0.0214 0.0162 0.0214 to 0.0162 to 0.0257 0.0195 0.0257 to 0.0195 to 0.0300 0.0227 0.0300 to 0.0227 to 0.0343 0.0260 0.0343 to 0.0260 to 0.0386 0.0292 VCCP <0.00293 0.0293 to 0.0058 0.0058 to 0.0087 0.0087 to 0.0117 0.0117 to 0.0146 0.0146 to 0.0175 0.0175 to 0.0205 0.0205 to 0.0234 0.0234 to 0.0263 VTT/IMON <0.00220 0.00220 to 0.00440 0.00440 to 0,00660 0,00660 to 0.00881 0.00881 to 0.01100 0.01100 to 0.01320 0.01320 to 0.01541 0.01541 to 0.01761 0.01761 to 0.01981 Decimal 0 1 ... ... ... ... 1.6675 to 1.6740 ... 3.3300 to 3.3415 ... 5.0025 to 5.0090 ... 6.5983 to 6.6048 6.6048 to 6.6113 6.6113 to 6.6178 6.6178 to 6.6244 6.6244 to 6.6309 6.6309 to 6.6374 6.6374 to 6.4390 6.6439 to 6.6504 6.6504 to 6.6569 6.6569 to 6.6634 >6.6634 1.1000 to 1.1042 0.8325 to 0.8357 0.7500 to 0.7529 ... ... 2.2000-2.2042 1.6650 to 1.6682 ... 3.3000-3.3042 ADC Output Binary (10 Bits) 00000000 00 00000000 01 2 00000000 10 3 00000000 11 4 00000001 00 5 00000001 01 6 00000001 10 7 00000001 11 8 00000010 00 ... ... ... 0.5636 to 0.5658 256 (1/4 scale) 01000000 00 ... ... ... ... 1.5000 to 1.5029 1.1272 to 1.1294 512 (1/2 scale) 10000000 00 ... ... ... ... ... 2.4975 to 2.5007 2.2500 to 2.2529 1.6809 to 1.6930 768 (3/4 scale) 11000000 00 ... ... ... ... ... ... 4.3527 to 4.3570 4.3570 to 4.3613 4.3613 to 4.3656 4.3656 to 4.3699 4.3699 to 4.3742 4.3742 to 4.3785 4.3785 to 4.3828 4.3828 to 4.3871 4.3871 to 4.3914 4.3914 to 4.3957 >4.3957 3.2942 to 3.2974 3.2974 to 3.3007 3.3007 to 3.3039 3.3039 to 3.3072 3.3072 to 3.3104 3.3104 to 3.3137 3.3137 to 3.3169 3.3169 to 3.3202 3.3202 to 3.3234 3.3234 to 3.3267 >3.3267 2.9677 to 2.9707 2.9707 to 2.9736 2.9736 to 2.9765 2.9765 to 2.9794 2.9794 to 2.9824 2.9824 to 2.9853 2.9853 to 2.9882 2.9882 to 2.9912 2.9912 to 2.9941 2.9941 to 2.9970 >2.9970 2.2301 to 2.2323 2.2323 to 2.2346 2.2346 to 2.2368 2.2368 to 2.23899 2,23899 to 2.2412 2.2412 to 2.2434 2.2434 to 2.2456 2.2456 to 2.2478 2.2478 to 2.25 2.25 to 2.2522 >2.2522 1013 11111101 01 1014 11111101 10 1015 11111101 11 1016 11111110 00 1017 11111110 01 1018 11111110 10 1019 11111110 11 1020 11111111 00 1021 11111111 01 1022 11111111 10 1023 11111111 11 Rev. 0 | Page 18 of 76 ADT7490 TEMPERATURE MEASUREMENT PECI Offset Registers The ADT7490 has four temperature measurement channels: one local, two remote thermal diodes, and a PECI. The local and thermal diode readings are analog temperature measurements, whereas PECI is a digital temperature reading. Each PECI reading has a dedicated offset register to calibrate the PECI measurement and account for errors in the temperature reading. The LSBs add a 1C offset to the temperature reading so that the 8-bit register effectively allows temperature offsets of up to 128C with a resolution of 1C. PECI Temperature Measurement The PECI interface is a dedicated thermal interface. The CPU temperature measurement is carried out internally in the CPU. This information is digitized and transferred to the ADT7490 via the PECI interface. The ADT7490 is a PECI host device and therefore, polls the CPU for thermal information. The PECI measurement differs from traditional thermal diode temperature measurements in that the measurement is a relative value instead of an absolute value. The PECI reading is a negative value that indicates how close the CPU temperature is from the thermal throttling or TCC point of the CPU. The ADT7490 records and uses the PECI measurement for fan control in its relative format. Therefore, care must be taken in programming the relevant limits and fan control parameters in the PECI format. Refer to the PECI Input section and Table 6 for further PECI information. PECI monitoring is enabled on the ADT7490 by setting the PECI monitoring bit in Configuration Register 1 (Register 0x40, Bit 4). The ADT7490 can measure the temperature of up to four dual-core CPUs. The number of CPUs in the system that provide PECI information is set in Bits [7:6] of Register 0x88. Each CPU is distinguished by the PECI address. The number of domains, or domain count, per CPU address must also be programmed into the ADT7490. The ADT7490 reads the temperature of both domains per CPU, however, only the PECI value of the hottest domain is recorded in the PECI value register. Register 0x94, PECI0 Offset Register 0x95, PECI1 Offset Register 0x96, PECI2 Offset Register 0x97, PECI3 Offset PECI Data Smoothing The PECI smoothing interval is programmed in PECI Configuration Register 1 (0x36). Bits [2:0] of Register 0x36 set the duration over which the PECI data being read by the ADT7490 is averaged. These bits set the duration over which smoothing is carried out on the PECI data read. The refresh rate in the PECI value registers is the same as the smoothing interval programmed. The smoothing interval is calculated using the following formula: Smoothing Interval = # reads x (t BIT x 67 x # CPU + t IDLE ) where: #reads is the number of readings defined in Register 0x36, Bits [2:0]. tBIT is the negotiated bit rate. 67 is the number of bits in each PECI reading. #CPU is the number of CPUs providing PECI data (1 to 4). tIDLE = 14 s, the delay between consecutive reads. For example, #reads = 4096 tBIT = 1 s (1 MHz speed) #CPU = 1 Smoothing Interval = 331 ms = PECI reading refresh rate. PECI0 domains: Register 0x36, Bit 3 PECI1 domains: Register 0x88, Bit 5 PECI2 domains: Register 0x88, Bit 4 PECI Error Codes PECI3 domains: Register 0x88, Bit 3 PECI Reading Registers Register 0x33, PECI0: PECI reading from CPU Address 0x30 Register 0x1A, PECI1: PECI reading from CPU Address 0x31 Register 0x1B, PECI2: PECI reading from CPU Address 0x32 Register 0x1C, PECI3: PECI reading from CPU Address 0x33 PECI Limit Registers Each PECI measurement shares the same high and low limits. Register 0x34, PECI Low Limit = 0x81 default Register 0x35, PECI High Limit = 0x00 default There are two different error conditions for PECI data, PECI data errors, and PECI bus communications errors. Table 12 describes the two different error conditions. If the ADT7490 reads an error code (0x8000 to 0x8003) from the CPU over the PECI interface, Bit 1 is set in Interrupt Status 3 register (0x43), indicating a data error. The value of the error code is not included in the PECI value averaging sum. This means that a value of 0x00 is added to the PECI sum when an error code is recorded. The error code is not reported in the appropriate PECI value register. If an invalid FCS is recorded by the ADT7490, Bit 2 is set in the Interrupt Status 3 register (0x43), indicating a communications error. An alert is generated on the SMBALERT pin when either or both of these status bits are asserted. Rev. 0 | Page 19 of 76 ADT7490 Table 12. PECI Error Indicators PECI Data 0x8000 to 0x8003 Invalid FCS Description PECI data error PECI communications error Action Bit 1 of Register 0x43 is set to 1 Bit 2 of Register 0x43 is set to 1 Each PECI channel also has an associated status bit to indicate if the PECI high or low limits have been exceeded. An alert is generated on the SMBALERT pin when these status bits are asserted. Table 13. PECI Status Bits Channel PECI0 PECI1 PECI2 PECI3 Register 0x43 0x81 0x81 0x81 Bit 0 3 4 5 Temperature Data REPLACE Mode The REPLACE mode is configured by setting Bit 4 of Register 0x36. In this mode, the data in the existing Remote 1 registers are replaced by PECI0 data. This is a legacy mode that allows the thermal data from CPU1 to be stored in the same registers as in the ADT7476A. This reduces the software changes in systems transitioning from CPUs with thermal diodes to CPUs with a PECI interface. However, note that even though the associated registers are swapped, the correct data format (PECI vs. absolute temperature, see Table 6) must be written to and interpreted from these registers. Notes In Table 14, registers listed under the Remote 1 Default column are in absolute temperature format by default and are in PECI format in REPLACE mode. Registers listed under the PECI0 Default column are in PECI format by default and in absolute temperature format in REPLACE mode. In REPLACE mode, the temperature zone controlling the relevant PWM output are also swapped from Remote 1 to PECI0. The swap of control only occurs if the default behavior setting for Register 0x5C Bits [7:5], Register 0x5D Bits [7:5] or Register 0x5E Bits [7:5] is 000. Local Temperature Measurement The ADT7490 contains an on-chip band gap temperature sensor whose output is digitized by the on-chip 10-bit ADC. The 8-bit MSB temperature data is stored in the local temperature register (Address 0x26). Because both positive and negative temperatures can be measured, the temperature data is stored in Offset 64 format or twos complement format, as shown in Table 15 and Table 16. Theoretically, the temperature sensor and ADC can measure temperatures from -63C to +127C (or -63C to +191C in the extended temperature range) with a resolution of 0.25C. However, this exceeds the operating temperature range of the device, so local temperature measurements outside the ADT7490 operating temperature range are not possible. Table 15. Twos Complement Temperature Data Format Temperature -128C -63C -50C -25C -10C 0C 10.25C 25.5C 50.75C 75C 100C 125C 127C 1 Table 14. Replace Mode Temperature Registers Register Name Value Register Low Limit High Limit TMIN TRANGE Enhanced Acoustics Enhanced Acoustics Enable THERM TCONTROL TMIN Hysteresis Temperature offset Operating Point for Dynamic TMIN 1 Remote 1 Default Reg. 0x25 Reg. 0x4E Reg. 0x4F Reg. 0x67 Reg. 0x5F, Bits [7:4] Reg. 0x62, Bits [2:0] Reg. 0x62, Bit 3 PECI0 Default Reg. 0x33 Reg. 0x34 Reg. 0x35 Reg. 0x3B Reg. 0x3C, Bits [7:4] Reg. 0x3C, Bits [2:0] Reg. 0x3C, Bit 3 Reg. 0x6A Reg. 0x6D, Bits [7:4] Reg. 0x6D, Bits [3:0]1 Reg. 0x70 Reg. 0x8B Reg. 0x3D Reg. 0x6E, Bits [3:0] Reg. 0x6E, Bits [7:4]1 Reg. 0x94 Reg. 0x8A In REPLACE mode, the Remote 2 and local temperature hysteresis values are swapped. Digital Output (10-Bit)1 1000 0000 00 (diode fault) 1100 0001 00 1100 1110 00 1110 0111 00 1111 0110 00 0000 0000 00 0000 1010 01 0001 1001 10 0011 0010 11 0100 1011 00 0110 0100 00 0111 1101 00 0111 1111 00 Bold numbers denote 2 LSBs of measurement in the Extended Resolution 2 register (Register 0x77) with 0.25C resolution. Table 16. Offset 64 Data Format Temperature -64C -63C -1C 0C 1C 10C 25C 50C 75C 100C 125C 191C 1 Digital Output (10-Bit)1 0000 0000 00 (diode fault) 0000 0001 00 0011 1111 00 0100 0000 00 0100 0001 00 0100 1010 00 0101 1001 00 0111 0010 00 1000 1001 00 1010 0100 00 1011 1101 00 1111 1111 00 Bold numbers denote 2 LSBs of measurement in the Extended Resolution 2 register (Register 0x77) with 0.25C resolution. Rev. 0 | Page 20 of 76 ADT7490 THERMAL DIODE TEMPERATURE MEASUREMENT METHOD A simple method of measuring temperature is to exploit the negative temperature coefficient of a diode, measuring the baseemitter voltage (VBE) of a transistor operated at constant current. Unfortunately, this technique requires calibration to null out the effect of the absolute value of VBE, which varies from device to device. The technique used in the ADT7490 is to measure the change in VBE when the device is operated at three different currents. Previous devices have used only two operating currents, but the use of a third current allows automatic cancellation of resistances in series with the external temperature sensor. Figure 29 shows the input signal conditioning used to measure the output of an external temperature sensor. This figure shows the external sensor as a substrate transistor, but it could equally be a discrete transistor, such as a 2N3904/2N3906. If a discrete transistor is used, the collector is not grounded and should be linked to the base. If a PNP transistor is used, the base is connected to the D- input and the emitter to the D+ input. If an NPN transistor is used, the emitter is connected to the D- input and the base to the D+ input. Figure 26 and Figure 27 show how to connect the ADT7490 to an NPN or PNP transistor for temperature measurement. ADT7490 D+ D- Figure 26. Measuring Temperature Using an NPN Transistor ADT7490 D- 06789-028 D+ 2N3906 PNP The ADT7490 can measure the temperature of two remote diode sensors or diode-connected transistors connected to Pin 10 and Pin 11, or Pin 12 and Pin 13. The forward voltage of a diode or diode-connected transistor operated at a constant current exhibits a negative temperature coefficient of about -2 mV/C. Unfortunately, the absolute value of VBE varies from device to device, and individual calibration is required to null this out. Therefore, the technique is unsuitable for mass production. The technique used in the ADT7490 is to measure the change in VBE when the device is operated at three different currents. This is given by VBE = KT x ln(N ) q where: K is the Boltzmann constant. q is the charge on the carrier. T is the absolute temperature in Kelvin. N is the ratio of the two currents. To measure VBE, the operating current through the sensor is switched among three related currents. N1 x I and N2 x I are different multiples of the current I, as shown in Figure 28. The currents through the temperature diode are switched between I and N1 x I, giving VBE1, and then between I and N2 x I, giving VBE2. The temperature can then be calculated using the two VBE measurements. This method can also cancel the effect of any series resistance on the temperature measurement. The resulting VBE waveforms are passed through a 65 kHz low-pass filter to remove noise and then to a chopper-stabilized amplifier. This amplifies and rectifies the waveform to produce a dc voltage proportional to VBE. The ADC digitizes this voltage, and a temperature measurement is produced. To reduce the effects of noise, digital filtering is performed by averaging the results of 16 measurement cycles. 06789-027 2N3904 NPN Remote Temperature Measurement Figure 27. Measuring Temperature Using a PNP Transistor To prevent ground noise from interfering with the measurement, the more negative terminal of the sensor is not referenced to ground, but is biased above ground by an internal diode at the D- input. C1 can optionally be added as a noise filter (recommended maximum value of 1000 pF). However, a better option in noisy environments is to add a filter, as described in the Series Resistance Cancellation section. The results of remote temperature measurements are stored in 10-bit, twos complement format, as listed in Table 15. The extra resolution for the temperature measurements is held in the Extended Resolution Register 2 (0x77). This gives temperature readings with a resolution of 0.25C. Rev. 0 | Page 21 of 76 ADT7490 VDD I N2 x I N1 x I IBIAS REMOTE SENSING TRANSISTOR D+ LPF VOUT+ fC = 65kHz VOUT- TO ADC 06789-023 D- Figure 28. Signal Conditioning for Remote Diode Temperature Sensors 100 Parasitic resistance to the ADT7490 D+ and D- inputs (seen in series with the remote diode) is caused by a variety of factors, including PCB track resistance and track length. This series resistance appears as a temperature offset in the remote sensor's temperature measurement. This error typically causes a 0.5C offset per ohm of parasitic resistance in series with the remote diode. The ADT7490 automatically cancels out the effect of this series resistance on the temperature reading, giving a more accurate result without the need for user characterization of this resistance. The ADT7490 is designed to automatically cancel, typically up to 1.5 k of resistance. By using an advanced temperature measurement method, this is transparent to the user. This feature allows resistances to be added to the sensor path to produce a filter, allowing the part to be used in noisy environments. REMOTE TEMPERATURE SENSOR 100 D- Figure 29. Filter Between Remote Sensor and ADT7490 FACTORS AFFECTING DIODE ACCURACY Remote Sensing Diode The ADT7490 is designed to work with either substrate transistors built into processors or discrete transistors. Substrate transistors are generally PNP types with the collector connected to the substrate. Discrete types can be either PNP or NPN transistors connected as a diode (base-shorted to the collector). To reduce the error due to variations in both substrate and discrete transistors, a number of factors should be taken into consideration: * Noise Filtering For temperature sensors operating in noisy environments, previous practice was to place a capacitor across the D+ pin and the D- pin to help combat the effects of noise. However, large capacitances affect the accuracy of the temperature measurement, leading to a recommended maximum capacitor value of 1000 pF. This capacitor reduces the noise, but does not eliminate it, which makes using the sensor difficult in a very noisy environment. The ADT7490 has a major advantage over other devices for eliminating the effects of noise on the external sensor. Using the series resistance cancellation feature, a filter can be constructed between the external temperature sensor and the part. The effect of any filter resistance seen in series with the remote sensor is automatically canceled from the temperature result. D+ 1nF 06789-024 SERIES RESISTANCE CANCELLATION The ideality factor, nf, of the transistor is a measure of the deviation of the thermal diode from ideal behavior. The ADT7490 is trimmed for an nf value of 1.008. Use the following equation to calculate the error introduced at a temperature T (C) when using a transistor whose nf does not equal 1.008. Refer to the data sheet for the related CPU to obtain the nf values. T = (nf - 1.008)/1.008 x (273.15 K + T) To factor this in, the user can write the T value to the offset register. The ADT7490 automatically adds it to or subtracts it from the temperature measurement. * The construction of a filter allows the ADT7490 and the remote temperature sensor to operate in noisy environments. Figure 29 shows a low-pass RC filter with the following values: R = 100 , C = 1 nF This filtering reduces both common-mode noise and differential noise. Rev. 0 | Page 22 of 76 Some CPU manufacturers specify the high and low current levels of the substrate transistors. The high current level of the ADT7490, IHIGH, is 192 A and the low level current, ILOW, is 12 A. If the ADT7490 current levels do not match the current levels specified by the CPU manufacturer, it may be necessary to remove an offset. The CPU's data sheet advises whether this offset needs to be removed and how to calculate it. This offset can be programmed to the offset register. It is important to note that if more than one offset must be considered, the algebraic sum of these offsets must be programmed to the offset register. ADT7490 Temperature Offset Registers If a discrete transistor is used with the ADT7490, the best accuracy is obtained by choosing devices according to the following criteria: * * * * Register 0x70, Remote 1 Temperature Offset = 0x00 (0C default) Register 0x71, Local Temperature Offset = 0x00 (0C default) Base-emitter voltage greater than 0.25 V at 12 A at the highest operating temperature. Base-emitter voltage less than 0.95 V at 192 A at the lowest operating temperature. Base resistance less than 100 . Small variation in hFE (such as 50 to 150) that indicates tight control of VBE characteristics. Register 0x72, Remote 2 Temperature Offset = 0x00 (0C default) Register 0x94, PECI0 Temperature Offset = 0x00 (0C default) Register 0x95, PECI1 Temperature Offset = 0x00 (0C default) Register 0x96, PECI2 Temperature Offset = 0x00 (0C default) Register 0x97, PECI3 Temperature Offset = 0x00 (0C default) Transistors, such as 2N3904, 2N3906, or equivalents in SOT-23 packages, are suitable devices to use. Reading Temperature from the ADT7490 It is important to note that temperature can be read from the ADT7490 as an 8-bit value (with 1C resolution) or as a 10-bit value (with 0.25C resolution). If only 1C resolution is required, the temperature readings can be read back at any time and in no particular order. If the 10-bit measurement is required, it involves a 2-register read for each measurement. The Extended Resolution 2 register (0x77) should be read first. This causes all temperature reading registers to be frozen until all temperature reading registers have been read from. This prevents an MSB reading from being updated while its two LSBs are being read and vice versa. Nulling Out Temperature Errors As CPUs run faster, it becomes more difficult to avoid high frequency clocks when routing the D+/D- traces around a system board. Even when recommended layout guidelines are followed, some temperature errors may still be attributable to noise coupled onto the D+/D- lines. Constant high frequency noise usually attenuates or increases temperature measurements by a linear, constant value. The ADT7490 has temperature offset registers at Address 0x70, Address 0x71, and Address 0x72 for the Remote 1, local, and Remote 2 temperature channels, respectively. By performing a one-time calibration of the system, the user can determine the offset caused by system board noise and null it out using the offset registers. The offset registers automatically add a twos complement 8-bit reading to every temperature measurement. The temperature offset range and resolution is selected by setting Bit 1 of Register 0x7C. This ensures that the readings in the temperature measurement registers are as accurate as possible. Setting this bit to 0 means the LSBs add 0.5C offset to the temperature reading, so the 8-bit register effectively allows temperature offsets from -63C to +64C with a resolution of 0.5C. Setting this bit to 1 means the LSBs add 1C offset to the temperature reading, so the 8-bit register effectively allows temperature offsets of up to -63C to +127C with a resolution of 1C. For the PECI offset registers, the resolution is always 1C. Temperature Measurement Limit Registers Associated with each temperature measurement channel are high and low limit registers. Exceeding the programmed high or low limit causes the appropriate status bit to be set. Exceeding either limit can also generate SMBALERT interrupts (depending on the way the interrupt mask register is programmed and assuming that SMBALERT is set as an output on the appropriate pin). ADDITIONAL ADC FUNCTIONS FOR TEMPERATURE MEASUREMENT A number of other functions are available on the ADT7490 to offer the system designer increased flexibility. Turn-Off Averaging For each temperature measurement read from a value register, 16 readings have actually been made internally, and the results averaged, before being placed into the value register. Sometimes it is necessary to take a very fast measurement. Setting Bit 4 of Configuration Register 2 (0x73) turns averaging off. The default round-robin cycle time with averaging off is a maximum of 23 ms. Table 17. Conversion Time with Averaging Disabled Channel Voltage Channels Remote Temperature 1 Remote Temperature 2 Local Temperature Measurement Time (ms) 0.7 7 7 1.3 When Bit 7 of Configuration Register 6 (0x10) is set, the default round-robin cycle time increases to a maximum of 193 ms. Table 18. Conversion Time with Averaging Enabled Channel Voltage Channels Remote Temperature Local Temperature Rev. 0 | Page 23 of 76 Measurement Time (ms) 11 39 12 ADT7490 Single-Channel ADC Conversions Setting Bit 6 of Configuration Register 2 (Register 0x73) places the ADT7490 into single-channel ADC conversion mode. In this mode, the ADT7490 can be made to read a single temperature channel only. The appropriate ADC channel is selected by writing to Bits [7:4] of the TACH1 Minimum High Byte register (0x55). The fans run at this speed until the temperature drops below THERM minus hysteresis. This can be disabled by setting the BOOST bit in Configuration Register 3, Bit 2 (0x78). The hysteresis value for the THERM temperature limit is the value programmed into the hysteresis registers (0x6D and 0x6E). The default hysteresis value is 4C. THERM LIMIT Table 19. Programming Single-Channel ADC Mode for Temperatures Channel Selected Remote 1 temperature Local temperature Remote 2 temperature FANS Configuration Register 2 (Register 0x73) 100% Figure 30. THERM Temperature Limit Operation Bit 4 (AVG) = 1, averaging off. Bit 6 (CONV) = 1, single-channel convert mode. THERM can be disabled by setting Bit 2 of Configuration Register 4 (0x7D). THERM can also be disabled by: Overtemperature Events * In Offset 64 mode, writing -64C to the appropriate THERM temperature limit. * In twos complement mode, writing -128C to the appropriate THERM temperature limit. Overtemperature events on any of the temperature channels can be detected and dealt with automatically in automatic fan speed control mode. Register 0x6A to Register 0x6C are the THERM temperature limits for the local and remote diode temperature channels. The equivalent PECI limit is TCONTROL in Register 0x3D. When a temperature exceeds its THERM temperature limit, all PWM outputs run at 100% duty cycle (default). This can be changed to maximum PWM duty cycle as programmed in Register 0x38, Register 0x39, and Register 0x3A, by setting Bit 3 of Register 0x7D. Rev. 0 | Page 24 of 76 06789-029 Bits [7:4], Register 0x55 0101 0110 0111 HYSTERESIS (C) TEMPERATURE ADT7490 LIMITS, STATUS REGISTERS, AND INTERRUPTS LIMIT VALUES 16-Bit Limits Associated with each measurement channel on the ADT7490 are high and low limits. These can form the basis of system status monitoring; a status bit can be set for any out-of-limit condition and is detected by polling the device. Alternatively, SMBALERT interrupts can be generated to flag out-of-limit conditions to a processor or microcontroller. The fan TACH measurements are 16-bit results. The fan TACH limits are also 16 bits, consisting of a high byte and low byte. Only high limits exist for fan TACHs because fans running under speed or stalled are normally the only conditions of interest. Because the fan TACH period is actually being measured, exceeding the limit indicates a slow or stalled fan. 8-Bit Limits Fan Limit Registers The following is a list of 8-bit limits on the ADT7490. Register 0x54, TACH1 Minimum Low Byte = 0xFF default Voltage Limit Registers Register 0x55, TACH1 Minimum High Byte = 0xFF default Register 0x44, +2.5VIN Low Limit = 0x00 default Register 0x56, TACH2 Minimum Low Byte = 0xFF default Register 0x45, +2.5VIN High Limit = 0xFF default Register 0x57, TACH2 Minimum High Byte = 0xFF default Register 0x46, VCCP Low Limit = 0x00 default Register 0x58, TACH3 Minimum Low Byte = 0xFF default Register 0x47, VCCP High Limit = 0xFF default Register 0x59, TACH3 Minimum High Byte = 0xFF default Register 0x48, VCC Low Limit = 0x00 default Register 0x5A, TACH4 Minimum Low Byte = 0xFF default Register 0x49, VCC High Limit = 0xFF default Register 0x5B, TACH4 Minimum High Byte = 0xFF default Register 0x4A, +5VIN Low Limit = 0x00 default Out-of-Limit Comparisons Once all limits have been programmed, the ADT7490 can be enabled for monitoring. The ADT7490 measures all voltage and temperature measurements in round-robin format and sets the appropriate status bit to indicate out-of-limit conditions. TACH measurements are not part of this round-robin cycle. Comparisons are done differently depending on whether the measured value is being compared to a high or low limit. Register 0x4B, +5VIN High Limit = 0xFF default Register 0x4C, +12VIN Low Limit = 0x00 default Register 0x4D, +12VIN High Limit = 0xFF default Register 0x84, VTT Low Limit = 0x00 default Register 0x86, VTT High Limit = 0xFF default Register 0x85, IMON Low Limit = 0x00 default High Limit > Comparison Performed Register 0x87, IMON High = 0xFF default Low Limit Comparison Performed Temperature Limit Registers Register 0x4E, Remote 1 Temperature Low Limit = 0x81 default Register 0x4F, Remote 1 Temperature High Limit = 0x7F default Analog Monitoring Cycle Time Register 0x6A, Remote 1 THERM Limit = 0x64 default Register 0x50, Local Temperature Low Limit = 0x81 default Register 0x51, Local Temperature High Limit = 0x7F default Register 0x6B, Local THERM Limit = 0x64 default Register 0x52, Remote 2 Temperature Low Limit = 0x81 default Register 0x53, Remote 2 Temperature High Limit = 0x7F default Register 0x6C, Remote 2 THERM Limit = 0x64 default Register 0x34, PECI Low Limit = 0x81 default Register 0x35, PECI High Limit = 0x00 default Register 0x3D, PECI TCONTROL Limit = 0x00 default Voltage and temperature channels use a window comparator for error detecting and, therefore, have high and low limits. Fan speed measurements use only a low limit. The analog monitoring cycle begins when a 1 is written to the start bit (Bit 0) of Configuration Register 1 (0x40). The ADC measures each analog input in turn, and, as each measurement is completed, the result is automatically stored in the appropriate value register. This round-robin monitoring cycle continues unless disabled by writing a 0 to Bit 0 of Configuration Register 1. As the ADC is normally left to free-run in this manner, the time taken to monitor all the analog inputs is normally not of interest, because the most recently measured value of any input can be read out at any time. For applications where the monitoring cycle time is important, it can easily be calculated. THERM Timer Limit Register Register 0x7A, THERM Timer Limit = 0x00 default Rev. 0 | Page 25 of 76 ADT7490 The total number of channels measured consists of * * * * (OOL) of Interrupt Status Register 1 (0x41), a Logic 1 indicates an out-of-limit event has been flagged in Interrupt Status Register 2. This means the user also needs to read Interrupt Status Register 2. There is a similar OOL bit in Interrupt Status Register 2 and Interrupt Status Register 3,indicating an out-oflimit event in the next status register. Six dedicated supply voltage inputs Supply voltage (VCC pin) Local temperature Two remote temperatures As mentioned previously, the ADC performs round-robin conversions and takes 11 ms for each voltage measurement, 12 ms for a local temperature reading, and 39 ms for each remote temperature reading. The total monitoring cycle time for averaged voltage and temperature monitoring is, therefore, nominally (7 x 11) + 12 + (2 x 39) = 167 ms Fan TACH measurements and PECI thermal measurements are made in parallel and are not synchronized with the analog measurements in any way. INTERRUPT STATUS REGISTERS The results of limit comparisons are stored in Interrupt Status Register 1 to Interrupt Status Register 4. The status register bit for each channel reflects the status of the last measurement and limit comparison on that channel. If a measurement is within limits, the corresponding interrupt status register bit is cleared to 0. If the measurement is out of limit, the corresponding interrupt status register bit is set to 1. The state of the various measurement channels can be polled by reading the interrupt status registers over the serial bus. In Bit 7 Alternatively, Pin 10 or Pin 14 can be configured as an SMBALERT output. This hard interrupt automatically notifies the system supervisor of an out-of-limit condition. Reading the interrupt status registers clears the appropriate status bit as long as the error condition that caused the interrupt has cleared. Interrupt Status register bits are sticky. Whenever an interrupt status bit is set, indicating an out-of-limit condition, it remains set even if the event that caused it has gone away (until read). The only way to clear the interrupt status bit is to read the interrupt status register after the event has gone away. Interrupt status mask registers allow individual interrupt sources to be masked from causing an SMBALERT on the dedicated alert pin. However, if one of these masked interrupt sources goes out of limit, its associated interrupt status bit is set in the interrupt status registers. Full details of the Interrupt Status and Interrupt Mask registers associated with each measurement channels are detailed in the Table 20 and in the full register map in the Register Tables section. Table 20. Interrupt Status and Interrupt Mask Register Address and Bit Assignments Interrupt Status Register 0x41 0x42 0x43 0x81 Interrupt Mask Register 0x74 0x75 0x82 0x83 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 OOL D2 FAULT OOL VTT R2T D1 FAULT RES IMON LT FAN4/THERM RES PECI3 R1T FAN3 RES PECI2 +5VIN FAN2 OVT PECI1 VCC FAN1 COMM RES VCCP OOL DATA RES +2.5VIN/THERM +12VIN PECI0 RES Rev. 0 | Page 26 of 76 ADT7490 SMBALERT Interrupt Behavior HIGH LIMIT The ADT7490 can be polled for status, or an SMBALERT interrupt can be generated for out-of-limit conditions. It is important to note how the SMBALERT output and status bits behave when writing interrupt handler software. TEMPERATURE CLEARED ON READ (TEMP BELOW LIMIT) HIGH LIMIT STICKY STATUS BIT SMBALERT STICKY STATUS BIT 06789-030 TEMP BACK IN LIMIT (STATUS BIT STAYS SET) SMBALERT Figure 31. SMBALERT and Status Bit Behavior Figure 31 shows how the SMBALERT output and sticky status bits behave. Once a limit is exceeded, the corresponding status bit is set to 1. The status bit remains set until the error condition subsides and the status register is read. The status bits are referred to as sticky, because they remain set until read by software. This ensures that an out-of-limit event cannot be missed if software is polling the device periodically. Note that the SMBALERT output remains low for the entire duration that a reading is out of limit and until the status register has been read. This has implications on how software handles the interrupt. Figure 32. How Masking the Interrupt Source Affects SMBALERT Output Enabling the SMBALERT Interrupt Output The SMBALERT interrupt function is disabled by default. Pin 10 or Pin 14 can be reconfigured as an SMBALERT output to signal out-of-limit conditions. Table 21. Configuring Pin 10 as SMBALERT Output Register Configuration Register 3 (Register 0x78) Bit 0 Bit Setting [1] Pin 10 = SMBALERT [0] Pin 10 = PWM2 (default) Pin 14 on the ADT7490 has three possible functions: SMBALERT, THERM, and TACH4. The user chooses the required functionality by setting Bit 0 and Bit 1 of Configuration Register 4 at Address 0x7D. To prevent the system from being tied up servicing interrupts, it is recommend to handle the SMBALERT interrupt as follows: 5. 6. 7. INTERRUPT MASK BIT CLEARED (SMBALERT REARMED) Assigning THERM Functionality to a Pin Handling SMBALERT Interrupts 1. 2. 3. 4. INTERRUPT MASK BIT SET CLEARED ON READ (TEMP BELOW LIMIT) 06789-031 TEMP BACK IN LIMIT (STATUS BIT STAYS SET) TEMPERATURE Detect the SMBALERT assertion. Enter the interrupt handler. Read the status registers to identify the interrupt source. Mask the interrupt source by setting the appropriate mask bit in the interrupt mask registers (0x74, 0x75, 0x82, and 0x83). Take the appropriate action for a given interrupt source. Exit the interrupt handler. Periodically poll the status registers. If the interrupt status bit has cleared, reset the corresponding interrupt mask bit to 0. This causes the SMBALERT output and status bits to behave as shown in Figure 32. Masking Interrupt Sources The interrupt mask registers allow individual interrupt sources to be masked out to prevent SMBALERT interrupts. Note that masking an interrupt source prevents only the SMBALERT output from being asserted; the appropriate status bit is set normally see Figure 32. Full details of the status and mask registers associated with each measurement channel are detailed in Table 20 and Table 24. If THERM is enabled (Bit 1, Configuration Register 3 at Address 0x78): * * Pin 22 becomes THERM. If Pin 14 is configured as THERM (Bit 0 and Bit 1 of Configuration Register 4 at Address 0x7D), THERM is enabled on this pin. If THERM is not enabled: * * Pin 22 becomes a 2.5 VIN measurement input. If Pin 14 is configured as THERM, THERM is disabled on this pin. Table 22. Configuring Pin 14 in Register 0x7D Bit 0 0 0 1 1 Rev. 0 | Page 27 of 76 Bit 1 0 1 0 1 Function TACH4 THERM SMBALERT Reserved ADT7490 THERM as an Input Bit 1 of the THERM timer is set and Bit 0 now becomes the LSB of the timer with a resolution of 22.76 ms (see Figure 34). When THERM is configured as an input, the user can time assertions on the THERM pin. This can be useful for connecting to the PROCHOT output of a CPU to gauge system performance. THERM THERM TIMER (REG. 0x79) The user can also set up the ADT7490 so that the fans run at 100% when the THERM pin is driven low externally,. The fans run at 100% for the duration of the time that the THERM pin is pulled low. This is done by setting the BOOST bit (Bit 2) in Configuration Register 3 (Address 0x78) to 1. This works only if the fan is already running, for example, in manual mode when the current duty cycle is above 0x00, or in automatic mode when the temperature is above TMIN. 0 0 0 0 0 0 0 1 7 6 5 4 3 2 1 0 THERM ASSERTED 22.76ms THERM ACCUMULATE THERM LOW ASSERTION TIMES THERM TIMER (REG. 0x79) If the temperature is below TMIN or if the duty cycle in manual mode is set to 0x00, pulling the THERM low externally has no effect. See Figure 33 for more information. 0 0 0 0 0 0 1 0 7 6 5 4 3 2 1 0 THERM ASSERTED 45.52ms THERM ACCUMULATE THERM LOW ASSERTION TIMES THERM TIMER (REG. 0x79) 0 0 0 0 0 1 0 1 7 6 5 4 3 2 1 0 THERM ASSERTED 113.8ms (91.04ms + 22.76ms) 06789-033 TMIN Figure 34. Understanding the THERM Timer THERM When using the THERM timer, be aware of the following. After a THERM timer read (Register 0x79): * * THERM ASSERTED TO LOW AS AN INPUT: FANS DO NOT GO TO 100%, BECAUSE TEMPERATURE IS ABOVE TMIN AND FANS ARE ALREADY RUNNING. 06789-032 THERM ASSERTED TO LOW AS AN INPUT: FANS DO NOT GO TO 100%, BECAUSE TEMPERATURE IS BELOW TMIN. Figure 33. Asserting THERM Low as an Input in Automatic Fan Speed Control Mode If the THERM timer is read during a THERM assertion, the following happens: * * THERM TIMER The ADT7490 has an internal timer to measure THERM assertion time. For example, the THERM input can be connected to the PROCHOT output of a CPU to measure system performance. The THERM input can also be connected to the output of a trip point temperature sensor. The timer is started on the assertion of the ADT7490's THERM input and stopped when THERM is deasserted. The timer counts THERM times cumulatively, that is, the timer resumes counting on the next THERM assertion. The THERM timer continues to accumulate THERM assertion times until the timer is read (it is cleared on read), or until it reaches full scale. If the counter reaches full scale, it stops at that reading until cleared. The 8-bit THERM timer status register (0x79) is designed so that Bit 0 is set to 1 on the first THERM assertion. Once the cumulative THERM assertion time has exceeded 45.52 ms, The contents of the timer are cleared on read. Bit 5 of Interrupt Status 2 register (0x42) needs to be cleared (assuming that the THERM timer limit has been exceeded). * * The contents of the timer are cleared. Bit 0 of the THERM timer is set to 1, because a THERM assertion is occurring. The THERM timer increments from zero. If the THERM timer limit (Register 0x7A) = 0x00, the F4P bit is set. Generating SMBALERT Interrupts from THERM Timer Events The ADT7490 can generate SMBALERTs when a programmable THERM timer limit has been exceeded. This allows the system designer to ignore brief, infrequent THERM assertions while capturing longer THERM timer events. Register 0x7A is the THERM timer limit register. This 8-bit register allows a limit from 0 sec (first THERM assertion) to 5.825 sec to be set before an SMBALERT is generated. The THERM timer value is compared with the contents of the THERM timer limit register. If the THERM timer value exceeds the THERM timer limit Rev. 0 | Page 28 of 76 ADT7490 This allows fail-safe system cooling. If this bit = 0, the fans run at their current settings and are not affected by THERM events. If the fans are not already running when THERM is asserted, the fans do not run to full speed. Select whether THERM timer events should generate SMBALERT interrupts. Bit 5 of Interrupt Mask Register 2 (0x75) or Bit 0 of Interrupt Mask Register 1 (0x74), depending on which pins are configured as a THERM timer, when set, masks out SMBALERTs when the THERM timer limit value is exceeded. This bit should be cleared if SMBALERTs based on THERM events are required. Select a suitable THERM limit value. This value determines whether an SMBALERT is generated on the first THERM assertion, or only if a cumulative THERM assertion time limit is exceeded. A value of 0x00 causes an SMBALERT to be generated on the first THERM assertion. Select a THERM monitoring time. This value specifies how often OS- or BIOS-level software checks the THERM timer. For example, BIOS can read the THERM timer once an hour to determine the cumulative THERM assertion time. If, for example, the total THERM assertion time is <22.76 ms in Hour 1, >182.08 ms in Hour 2, and >5.825 sec in Hour 3, this indicates that system performance is degrading significantly because THERM is asserting more frequently on an hourly basis. value, the FAN4 bit (Bit 5) of Status Register 2 is set and an SMBALERT is generated. Note that depending on which pins are configured as a THERM timer, setting the F4P bit (Bit 5) of the Interrupt Mask Register 2 (0x75), or bit 0 of the Interrupt Mask Register 1 (0x74), masks out SMBALERT; although the FAN4 bit of Interrupt Status Register 2 is still set if the THERM timer limit is exceeded. 3. Figure 35 is a functional block diagram of the THERM timer, THERM limit, and its associated circuitry. Writing a value of 0x00 to the THERM Timer Limit register (Register 0x7A) causes an SMBALERT to be generated on the first THERM assertion. A THERM timer limit value of 0x01 generates an SMBALERT once cumulative THERM assertions exceed 45.52 ms. 4. Configuring the Relevant THERM Behavior 2. Configure the desired pin as the THERM timer input. Setting Bit 1 (THERM timer enable) of Configuration Register 3 (Register 0x78) enables the THERM timer monitoring functionality. This is disabled on Pin 14 and Pin 22 by default. Setting Bit 0 and Bit 1 (Pin 14 Func) of Configuration Register 4 (Register 0x7D) enables THERM timer output functionality on Pin 22 (Bit 1 of Configuration Register 3, THERM, must also be set). Pin 14 can also be used as TACH4. Select the desired fan behavior for THERM timer events. Assuming the fans are running, setting Bit 2 (BOOST bit) of Configuration Register 3 (Register 0x78) causes all fans to run at 100% duty cycle whenever THERM is asserted. 5. 2.914s 1.457s 728.32ms 364.16ms THERM TIMER STATUS 182.08ms (REGISTER 0x79) 91.04ms 45.52ms 22.76ms 2.914s 1.457s 728.32ms THERM TIMER LIMIT 364.16ms (REGISTER 0x7A) 182.08ms 91.04ms 45.52ms 22.76ms 0 1 2 3 4 5 6 7 7 6 5 4 3 2 1 0 THERM THERM TIMER CLEARED ON READ COMPARATOR IN OUT LATCH FAN4 BIT (BIT 5) INTERRUPT STATUS 2 REGISTER SMBALERT RESET CLEARED ON READ 1 = MASK FAN4 BIT (BIT 5) INTERRUPT MASK REGISTER 2 (REGISTER 0x75) Figure 35. Functional Block Diagram of THERM Monitoring Circuitry Rev. 0 | Page 29 of 76 06789-034 1. ADT7490 Alternatively, OS- or BIOS-level software can timestamp when the system is powered on. If an SMBALERT is generated due to the THERM timer limit being exceeded, another timestamp can be taken. The difference in time can be calculated for a fixed THERM timer limit time. For example, if it takes one week for a THERM timer limit of 2.914 sec to be exceeded, and the next time it takes only 1 hour, this is an indication of a serious degradation in system performance. Enabling and Disabling THERM on Individual Channels Configuring the THERM Pin as an Output If THERM hysteresis is enabled and THERM is disabled (Bit 2 of Configuration Register 4, 0x7D), the THERM event is not reflected in the status register and the fans do not go to full speed. If THERM hysteresis is disabled and THERM is disabled (Bit 2 of Configuration Register 4, 0x7D) and assuming the appropriate pin is configured as THERM, the THERM pin asserts low when a THERM event occurs. In addition to monitoring THERM as an input, the ADT7490 can optionally drive THERM low as an output. When PROCHOT is bidirectional, THERM can be used to throttle the processor by asserting PROCHOT. The user can preprogram system-critical thermal limits. If the temperature exceeds a thermal limit by 0.25C, THERM asserts low. If the temperature is still above the thermal limit on the next monitoring cycle, THERM stays low. THERM remains asserted low until the temperature is equal to or below the thermal limit. Because the temperature for that channel is measured only once for every monitoring cycle, after THERM asserts, it is guaranteed to remain low for at least one monitoring cycle. The THERM pin can be configured to assert low if the Remote 1 THERM, local THERM, Remote 2 THERM or PECI temperature limits are exceeded by 0.25C. The THERM temperature limit registers are at Register 0x6A, Register 0x6B, and Register 0x6C, respectively. Setting Bits [5:7] of Configuration Register 5 (0x7C) enables the THERM output feature for the Remote 1, local, and Remote 2 temperature channels, respectively. Figure 36 shows how the THERM pin asserts low as an output in the event of a critical overtemperature. THERM LIMIT 0.25C THERM LIMIT TEMP The THERM pin can be enabled/disabled for individual or combinations of temperature channels using Bits [7:5] of Configuration Register 5 (0x7C). THERM Hysteresis Setting Bit 0 of Configuration Register 7 (0x11) disables THERM hysteresis. If THERM and THERM hysteresis are both enabled, the THERM output asserts as expected. THERM Operation in Manual Mode In manual mode, THERM events do not cause fans to go to full speed, unless Bit 5 of Configuration Register 1 (0x40) is set to 1. Additionally, Bit 3 of Configuration Register 4 (0x7D) can be used to select PWM speed on THERM event (100% or maximum PWM). Bit 2 in Configuration Register 4 (0x7D) can be set to disable THERM events from affecting the fans. FAN DRIVE USING PWM CONTROL The ADT7490 uses pulse-width modulation (PWM) to control fan speed. This relies on varying the duty cycle (or on/off ratio) of a square wave applied to the fan to vary the fan speed. The external circuitry required to drive a fan using PWM control is extremely simple. For 4-wire fans, the PWM drive might need only a pull-up resistor. In many cases, the 4-wire fan PWM input has a built-in, pull-up resistor. The ADT7490 PWM frequency can be set to a selection of low frequencies or a single high PWM frequency. The low frequency options are used for 3-wire fans, while the high frequency option is usually used with 4-wire fans. MONITORING CYCLE 06789-035 THERM Figure 36. Asserting THERM as an Output, Based on Tripping THERM Limits An alternative method of disabling THERM is to program the THERM temperature limit to -63C or less in Offset 64 mode, or -128C or less in twos complement mode; that is, for THERM temperature limit values less than -63C or -128C, respectively, THERM is disabled. For 3-wire fans, a single N-channel MOSFET is the only drive device required. The specifications of the MOSFET depend on the maximum current required by the fan being driven and the input capacitance of the FET. Because a 10 k (or greater) resistor must be used as a PWM pull-up, an FET with large input capacitance can cause the PWM output to become distorted and adversely affect the fan control range. This is a requirement only when using high frequency PWM mode. Typical notebook fans draw a nominal 170 mA, therefore, SOT devices can be used where board space is a concern. In desktops, fans typically draw 250 mA to 300 mA each. If several fans are driven in parallel from a single PWM output or drive Rev. 0 | Page 30 of 76 ADT7490 larger server fans, the MOSFET must handle the higher current requirements. The only other stipulation is that the MOSFET should have a gate voltage drive, VGS < 3.3 V, for direct interfacing to the PWM output pin. The MOSFET should also have a low on resistance to ensure that there is not a significant voltage drop across the FET, which would reduce the voltage applied across the fan and, therefore, the maximum operating speed of the fan. circuit to perform better than 3-wire fans, especially for high frequency applications. Figure 39 shows a typical drive circuit for 4-wire fans. 12V 12V 12V, 4-WIRE FAN 10k TACH 4.7k ADT7490 Figure 37 shows how to drive a 3-wire fan using PWM control. 12V 10k ADT7490 Driving Two Fans from PWM3 The ADT7490 has four TACH inputs available for fan speed measurement, but only three PWM drive outputs. If a fourth fan is being used in the system, it should be driven from the PWM3 output in parallel with the third fan. 10k 06789-036 Q1 NDT3055L Figure 37. Driving a 3-Wire Fan Using an N-Channel MOSFET Figure 37 uses a 10 k pull-up resistor for the TACH signal. This assumes that the TACH signal is an open-collector from the fan. In all cases, the TACH signal from the fan must be kept below 3.6 V maximum to prevent damaging the ADT7490. Figure 38 shows a fan drive circuit using an NPN transistor such as a general-purpose MMBT2222. While these devices are inexpensive, they tend to have much lower current handling capabilities and higher on resistance than MOSFETs. When choosing a transistor, care should be taken to ensure that it meets the fan's current requirements. Ensure that the base resistor is chosen so the transistor is saturated when the fan is powered on. 12V 12V 10k TACH 10k 4.7k ADT7490 TACH 12V FAN 1N4148 3.3V 470 Q1 MMBT2222 Figure 40 shows how to drive two fans in parallel using low cost NPN transistors. Figure 41 shows the equivalent circuit using a MOSFET. Because the MOSFET can handle up to 3.5 A, it is simply a matter of connecting another fan directly in parallel with the first. Care should be taken in designing drive circuits with transistors and FETs to ensure the PWM outputs are not required to source current, and that they sink less than the 5 mA maximum current specified in the data sheet. Driving up to Three Fans from PWM3 TACH measurements for fans are synchronized to particular PWM channels; for example, TACH1 is synchronized to PWM1. TACH3 and TACH4 are both synchronized to PWM3, so PWM3 can drive two fans. Alternatively, PWM3 can be programmed to synchronize TACH2, TACH3, and TACH4 to the PWM3 output. This allows PWM3 to drive two or three fans. In this case, the drive circuitry looks the same, as shown in Figure 40 and Figure 41. The SYNC bit in Register 0x62 enables this function. Synchronization is not required in high frequency mode when used with 4-wire fans. 06789-037 PWM PWM 3.3V Figure 39. Driving a 4-Wire Fan 1N4148 3.3V PWM TACH 2k 12V FAN TACH 4.7k VCC PWM 10k TACH TACH 06789-038 12V 10k SYNC, Enhanced Acoustics Register 1 (Register 0x62) Figure 38. Driving a 3-Wire Fan Using an NPN Transistor Because the fan drive circuitry in 4-wire fans is not switched on or off, as with previous PWM driven/powered fans, the internal drive circuit is always on and uses the PWM input as a signal instead of a power supply. This enables the internal fan drive Bit 4 (SYNC) = 1, synchronizes TACH2, TACH3, and TACH4 to PWM3. Rev. 0 | Page 31 of 76 ADT7490 12V 3.3V 3.3V 1N4148 ADT7490 TACH3 1k PWM3 3.3V Q1 MMBT3904 2.2k 10k TACH4 3.3V Q2 MMBT2222 06789-039 10k Q3 MMBT2222 Figure 40. Interfacing Two Fans in Parallel to the PWM3 Output Using Low Cost NPN Transistors 3.3V 10k TYPICAL TACH4 3.3V ADT7490 +V 3.3V +V 10k TYPICAL 5V OR 12V FAN TACH TACH3 3.3V 3.3V 1N4148 TACH 5V OR 12V FAN 10k TYPICAL 06789-040 Q1 NDT3055L PWM3 Figure 41. Interfacing Two Fans in Parallel to the PWM3 Output Using a Single N-Channel MOSFET VCC LAYING OUT 3-WIRE FANS 12V PULL-UP 4.7k TYP 12V OR 5V 1N4148 TACH FAN SPEED COUNTER ADT7490 3.3V OR 5V R2 Figure 43. Fan with TACH Pull-Up to VCC R4 If the fan output has a resistive pull-up to 12 V, or other voltage greater than 3.6 V, the fan output can be clamped with a Zener diode, as shown in Figure 44. The Zener diode voltage should be chosen so that it is greater than VIH of the TACH input but less than 3.6 V, allowing for the voltage tolerance of the Zener. A value of between 3 V and 3.6 V is suitable. R3 Q1 MMBT2222 06789-041 PWM TACH Figure 42. Planning for 3-Wire Fans on a PCB TACH Inputs Signal conditioning in the ADT7490 accommodates the slow rise and fall times typical of fan tachometer outputs. The maximum input signal range is 0 V to 3.6 V, even though VCC is 3.3 V. In the event that these inputs are supplied from fan outputs that exceed 0 V to 3.6 V, either resistive attenuation of the fan signal or diode clamping must be included to keep inputs within an acceptable range. Figure 43 to Figure 46 show circuits for the most common fan TACH outputs. If the fan TACH output has a resistive pull-up to VCC, it can be connected directly to the fan input, as shown in Figure 43. VCC 12V Pins 9, 11, 12, and 14 (when configured as TACH inputs) are high impedance inputs intended for fan speed measurement. PULL-UP 4.7k TYPICAL TACH OUTPUT TACH ZD1* FAN SPEED COUNTER ADT7490 *CHOOSE ZD1 VOLTAGE APPROXIMATELY 0.8 x VCC Figure 44. Fan with TACH Pull-Up to Voltage > 3.6 V, for Example, 12 V Clamped with Zener Diode If the fan has a strong pull-up (less than 1 k) to 12 V or a totem-pole output, a series resistor can be added to limit the Zener current, as shown in Figure 45. Rev. 0 | Page 32 of 76 06789-043 R1 TACH OUTPUT 06789-042 Figure 42 shows how to lay out a common circuit arrangement for 3-wire fans. ADT7490 VCC 5V OR 12V Fan Speed Measurement Registers FAN R1 10k TACH OUTPUT The fan tachometer registers are 16-bit values consisting of a 2-byte read from the ADT7490. TACH ZD1 ZENER* Register 0x28, TACH1 Low Byte = 0x00 default FAN SPEED COUNTER Register 0x29, TACH1 High Byte = 0x00 default ADT7490 06789-044 PULL-UP TYP <1k OR TOTEM POLE *CHOOSE ZD1 VOLTAGE APPROXIMATELY 0.8 x VCC Register 0x2B, TACH2 High Byte = 0x00 default Figure 45. Fan with Strong TACH Pull-Up to >VCC or Totem-Pole Output, Clamped with Zener Diode and Resistor Register 0x2C, TACH3 Low Byte = 0x00 default Alternatively, a resistive attenuator can be used, as shown in Figure 46. R1 and R2 should be chosen such that Register 0x2D, TACH3 High Byte = 0x00 default Register 0x2E, TACH4 Low Byte = 0x00 default 2 V < VPULL-UP x R2/(RPULL-UP + R1 + R2) < 3.6 V The fan inputs have an input resistance of nominally 160 k to ground, which should be taken into account when calculating resistor values. With a pull-up voltage of 12 V and pull-up resistor less than 1 k, suitable values for R1 and R2 are 100 k and 40 k, respectively. This gives a high input voltage of 3.42 V. VCC 12V R1 100k TACH OUTPUT TACH R2 40k FAN SPEED COUNTER ADT7490 06789-045 <1k Register 0x2A, TACH2 Low Byte = 0x00 default Figure 46. Fan with Strong TACH Pull-Up to >VCC or Totem-Pole Output, Attenuated with R1/R2 The fan counter does not count the fan TACH output pulses directly because the fan speed could be less than 1000 RPM, and it takes several seconds to accumulate a reasonably large and accurate count. Instead, the period of the fan revolution is measured by gating an on-chip 90 kHz oscillator into the input of a 16-bit counter for N periods of the fan TACH output (see Figure 47), so the accumulated count is actually proportional to the fan tachometer period and inversely proportional to the fan speed. N, the number of pulses counted, is determined by the settings of the TACH pulses per revolution register (0x7B). This register contains two bits for each fan, allowing one, two (default), three, or four TACH pulses to be counted. Register 0x2F, TACH4 High Byte = 0x00 default Reading Fan Speed from the ADT7490 The measurement of fan speeds involves a 2-register read for each measurement. The low byte should be read first. This causes the high byte to be frozen until both high and low byte registers have been read, preventing erroneous TACH readings. The fan tachometer reading registers report back the number of 11.11 s period clocks (90 kHz oscillator) gated to the fan speed counter, from the rising edge of the first fan TACH pulse to the rising edge of the third fan TACH pulse (assuming two pulses per revolution are being counted). Because the device is essentially measuring the fan TACH period, the higher the count value, the slower the fan is actually running. A 16-bit fan tachometer reading of 0xFFFF indicates that either the fan has stalled or is running very slowly (<100 RPM). High Limit > Comparison Performed Because the actual fan TACH period is being measured, falling below a fan TACH limit by 1 sets the appropriate status bit and can be used to generate an SMBALERT. Fan TACH Limit Registers The fan TACH limit registers are 16-bit values consisting of two bytes. Register 0x54, TACH1 Minimum Low Byte = 0xFF default Register 0x55, TACH1 Minimum High Byte = 0xFF default Register 0x56, TACH2 Minimum Low Byte = 0xFF default Register 0x57, TACH2 Minimum High Byte = 0xFF default Register 0x58, TACH3 Minimum Low Byte = 0xFF default CLOCK Register 0x59, TACH3 Minimum High Byte = 0xFF default Register 0x5A, TACH4 Minimum Low Byte = 0xFF default PWM Register 0x5B, TACH4 Minimum High Byte = 0xFF default 1 2 06789-046 TACH 3 4 Figure 47. Fan Speed Measurement Rev. 0 | Page 33 of 76 ADT7490 Fan Speed Measurement Rate Fan Spin-Up The fan TACH readings are normally updated once every second. The ADT7490 has a unique fan spin-up function. It spins the fan at 100% PWM duty cycle until two TACH pulses are detected on the TACH input. When two TACH pulses have been detected, the PWM duty cycle goes to the expected running value, for example, 33%. The advantage of this is that fans have different spin-up characteristics and take different times to overcome inertia. The ADT7490 runs the fans just fast enough to overcome inertia and is quieter on spin-up than fans programmed to spin up for a given spin-up time. When set, the FAST bit (Bit 3) of Configuration Register 3 (0x78), updates the fan TACH readings every 250 ms. DC Bits If any of the fans are not being driven by a PWM channel but are powered directly from 5 V or 12 V, their associated dc bit in Configuration Register 3 should be set. This allows TACH readings to be taken on a continuous basis for fans connected directly to a dc source. For 4-wire fans, once high frequency mode is enabled, the dc bits do not need to be set because this is automatically done internally. Calculating Fan Speed Assuming a fan with a two pulses per revolution, and with the ADT7490 programmed to measure two pulses per revolution, fan speed is calculated by Fan Speed (RPM) = (90,000 x 60)/Fan TACH Reading where Fan TACH Reading is the 16-bit fan tachometer reading. Example Fan Start-Up Timeout To prevent the generation of false interrupts as a fan spins up, because the fan is below running speed, the ADT7490 includes a fan start-up timeout function. During this time, the ADT7490 looks for two TACH pulses. If two TACH pulses are not detected, an interrupt is generated. Fan start-up timeout can be disabled by setting Bit 3 (FSPDIS) of Configuration Register 7 (0x11). PWM1, PWM2, PWM3 Configuration (Register 0x5C, Register 0x5D, Register 0x5E) Bits [2:0] SPIN, start-up timeout for PWM1 = 0x5C, PWM2 = 0x5D, and PWM3 = 0x5E. TACH1 High Byte (Register 0x29) = 0x17 000 = No start-up timeout 001 = 100 ms 010 = 250 ms default 011 = 400 ms 100 = 667 ms 101 = 1 sec 110 = 2 sec 111 = 4 sec TACH1 Low Byte (Register 0x28) = 0xFF What is Fan 1 speed in RPM? Fan 1 TACH Reading = 0x17FF = 6143 (decimal) RPM = (f x 60)/Fan 1 TACH Reading RPM = (90000 x 60)/6143 Fan Speed = 879 RPM Fan Pulses per Revolution Disabling Fan Start-Up Timeout Different fan models can output either one, two, three, or four TACH pulses per revolution. Once the number of fan TACH pulses has been determined, it can be programmed into the TACH pulses per revolution register (0x7B) for each fan. Alternatively, this register can be used to determine the number or pulses per revolution output by a given fan. By plotting fan speed measurements at 100% speed with different pulses per revolution setting, the smoothest graph with the lowest ripple determines the correct pulses per revolution value. Although fan startup makes fan spin-ups much quieter than fixed-time spin-ups, the option exists to use fixed spin-up times. Setting Bit 3 (FSPDIS) to 1 in Configuration Register 7 (Register 0x11) disables the spin-up for two TACH pulses. Instead, the fan spins up for the fixed time as selected in Register 0x5C to Register 0x5E. TACH Pulses per Revolution Register Bits [1:0], FAN1 default = 2 pulses per revolution Bits [3:2], FAN2 default = 2 pulses per revolution Bits [5:4], FAN3 default = 2 pulses per revolution Bits [7:6], FAN4 default = 2 pulses per revolution 00 = 1 pulse per revolution 01 = 2 pulses per revolution 10 = 3 pulses per revolution 11 = 4 pulses per revolution PWM Logic State The PWM outputs can be programmed high for 100% duty cycle (noninverted) or low for 100% duty cycle (inverted). PWM1 Configuration (Register 0x5C) Bit 4 (INV) 0 = Logic high for 100% PWM duty cycle (noninverted) 1 = Logic low for 100% PWM duty cycle (inverted) PWM2 Configuration (Register 0x5D) Bit 4 (INV) 0 = Logic high for 100% PWM duty cycle 1 = Logic low for 100% PWM duty cycle Rev. 0 | Page 34 of 76 ADT7490 PWM3 Configuration (Register 0x5E) PWM Configuration Registers (Register 0x5C to Register 0x5E) Bit 4 (INV) Bits [7:5] (BHVR) 0 = Logic high for 100% PWM duty cycle (noninverted). 1 = Logic low for 100% PWM duty cycle (inverted). 111 = manual mode Low Frequency Mode PWM Drive Frequency The PWM drive frequency can be adjusted for the application. Register 0x5F to Register 0x61 configure the PWM frequency for PWM1 to PWM3, respectively. PWM1, PWM 2, PWM3 Frequency Registers (Register 0x5F to Register 0x61) Once under manual control, each PWM output can be manually updated by writing to Register 0x30 to Register 0x32 (PWMx current duty cycle registers). Programming the PWM Current Duty Cycle Registers The PWM current duty cycle registers are 8-bit registers that allow the PWM duty cycle for each output to be set anywhere from 0% to 100% in steps of 0.39%. The value to be programmed into the PWMMIN register is given by Bits [2:0] FREQ 000 = 11.0 Hz 001 = 14.7 Hz 010 = 22.1 Hz 011 = 29.4 Hz 100 = 35.3 Hz default 101 = 44.1 Hz 110 = 58.8 Hz 111 = 88.2 Hz Value (decimal) = PWMMIN/0.39 Example 1 For a PWM duty cycle of 50%, Value (decimal) = 50/0.39 = 128 (decimal) Value = 128 (decimal) or 0x80 (hex) Example 2 High Frequency Mode PWM Drive For a PWM duty cycle of 33%, Setting Bit 3 of Register 0x5F, Register 0x60, and Register 0x61 enables high frequency mode for Fan 1, Fan 2, and Fan 3, respectively. In high frequency mode, the PWM drive frequency is always 22.5 kHz. When high frequency mode is enabled, the dc bits are automatically asserted internally and do not need to be changed. Fan Speed Control The ADT7490 controls fan speed using automatic and manual modes. In automatic fan speed control mode, fan speed is automatically varied with temperature and without CPU intervention, once initial parameters are set up. The advantage is that, if the system hangs, the user is guaranteed that the system is protected from overheating. In manual fan speed control mode, the ADT7490 allows the duty cycle of any PWM output to be manually adjusted. This can be useful if the user wants to change fan speed in software or adjust PWM duty cycle output for test purposes. Bits [7:5] of Register 0x5C to Register 0x5E (PWM Configuration) control the behavior of each PWM output. Value (decimal) = 33/0.39 = 85 (decimal) Value = 85 (decimal) or 0x54 (hex) PWM Duty Cycle Registers Register 0x30, PWM1 Duty Cycle = 0xFF (100% default) Register 0x31, PWM2 Duty Cycle = 0xFF (100% default) Register 0x32, PWM3 Duty Cycle = 0xFF (100% default) By reading the PWMx current duty cycle registers, the user can keep track of the current duty cycle on each PWM output, even when the fans are running in automatic fan speed control mode or acoustic enhancement mode. PROGRAMMING TRANGE TRANGE defines the distance between TMIN and 100% PWM. For the ADT7467, ADT7468 and ADT7473, TRANGE is effectively a slope. For the ADT7475, ADT7476 and ADT7490, TRANGE is no longer a slope but defines the temperature region where the PWM output linearly ramps from PWMMIN to 100% PWM. PWM = 100% PWMMAX TRANGE PWM = 0% TMIN Figure 48. TRANGE Rev. 0 | Page 35 of 76 06789-047 PWMMIN ADT7490 PROGRAMMING THE AUTOMATIC FAN SPEED CONTROL LOOP To more efficiently understand the automatic fan speed control loop, using the ADT7490 evaluation board and software while reading this section is recommended. This section provides the system designer with an understanding of the automatic fan control loop, and provides step-by-step guidance on effectively evaluating and selecting critical system parameters. To optimize the system characteristics, the designer needs to give some thought to system configuration, including the number of fans, where they are located, and what temperatures are being measured in the particular system. The mechanical or thermal engineer who is tasked with the system thermal characterization should also be involved at the beginning of the system development process. MANUAL FAN CONTROL OVERVIEW In unusual circumstances, it can be necessary to manually control the speed of the fans. Because the ADT7490 has an SMBus interface, a system can read back all necessary voltage, fan speed, and temperature information, and use this information to control the speed of the fans by writing to the current PWM duty cycle register (0x30, 0x31, and 0x32) of the appropriate fan. Bits [7:5] of the PWMx configuration registers (0x5C, 0x5D, and 0x5E) are used to set fans up for manual control. THERM OPERATION IN MANUAL MODE In manual mode, if the temperature increases above the programmed THERM temperature limit, the fans automatically speed up to maximum PWM or 100% PWM, whichever way the appropriate fan channel is configured. Automatic fan speed control reduces acoustic noise by optimizing fan speed according to accurately measured temperature. Reducing fan speed can also decrease system current consumption. The automatic fan speed control mode is very flexible due to the number of programmable parameters, including TMIN and TRANGE. The TMIN and TRANGE values for a temperature channel and, therefore, for a given fan are critical, because they define the thermal characteristics of the system. The thermal validation of the system is one of the most important steps in the design process, so these values should be selected carefully. Figure 49 gives a top-level overview of the automatic fan control circuitry on the ADT7490. From a systems-level perspective, up to three system temperatures can be monitored and used to control three PWM outputs. The three PWM outputs can be used to control up to four fans. The ADT7490 allows the speed of four fans to be monitored. Each temperature channel has a thermal calibration block, allowing the designer to individually configure the thermal characteristics of each temperature channel. For example, users can decide to run the CPU fan when CPU temperature increases above 60C and a chassis fan when the local temperature increases above 45C. At this stage, the designer has not assigned these thermal calibration settings to a particular fan drive (PWM) channel. The right side of Figure 49 shows controls that are fan-specific. The designer has individual control over parameters such as minimum PWM duty cycle, fan speed failure thresholds, and even ramp control of the PWM outputs. Automatic fan control ultimately allows graceful fan speed changes that are less perceptible to the system user. AUTOMATIC FAN CONTROL OVERVIEW The ADT7490 can automatically control the speed of fans based on the measured temperature. This is done independently of CPU intervention once the initial parameters are set up. The ADT7490 has a local temperature sensor and two remote temperature channels that can be connected to a CPU on-chip thermal diode (available on Intel Pentium(R) class and other CPUs). These three temperature channels can be used as the basis for automatic fan speed control to drive fans using pulsewidth modulation (PWM). Rev. 0 | Page 36 of 76 ADT7490 PWM MIN 100% PWM CONFIG PWM GENERATOR TMIN REMOTE 1 = AMBIENT TEMP TRANGE THERMAL CALIBRATION 0% TACHOMETER 1 MEASUREMENT LOCAL = VRM TEMP TRANGE THERMAL CALIBRATION TACH1 CPU FAN SINK PWM MIN PWM CONFIG 0% PWM GENERATOR RAMP CONTROL (ACOUSTIC ENHANCEMENT) REMOTE 2 = GPU TEMP TRANGE THERMAL CALIBRATION PWM MIN 0% PWM CONFIG PWM GENERATOR 100% TRANGE TACH2 FRONT CHASSIS TACHOMETER 3 AND 4 MEASUREMENT TMIN PWM2 100% TACHOMETER 2 MEASUREMENT TMIN PWM1 100% MUX TMIN RAMP CONTROL (ACOUSTIC ENHANCEMENT) RAMP CONTROL (ACOUSTIC ENHANCEMENT) PWM3 TACH3 0% REAR CHASSIS PECI = CPU TEMP 06789-067 THERMAL CALIBRATION Figure 49. Automatic Fan Control Block Diagram 4. STEP 1: HARDWARE CONFIGURATION During system design, the motherboard sensing and control capabilities should be addressed early in the design stages. Decisions about how these capabilities are used should involve the system thermal/mechanical engineer. Ask the following questions: 1. This influences the assignment of the temperature measurement channels to particular system thermal zones. For example, locating the ADT7490 close to the VRM controller circuitry allows the VRM temperature to be monitored using the local temperature channel. What ADT7490 functionality is used? * * * PWM2 or SMBALERT? TACH4 fan speed measurement or overtemperature THERM function? 2.5 VIN voltage monitoring or overtemperature THERM function? The ADT7490 offers multifunctional pins that can be reconfigured to suit different system requirements and physical layouts. These multifunction pins are software programmable. 2. How many fans are supported in the system, three or four? This influences the choice of whether to use the TACH4 pin or to reconfigure it for the THERM function. 3. Is the CPU fan to be controlled using the ADT7490, or will the CPU fan run at full speed 100% of the time? If run at 100%, it frees up a PWM output, but the system is louder. Where is the ADT7490 going to be physically located in the system? STEP 2: CONFIGURING THE MUXTIPLEXER After the system hardware configuration is determined, the fans can be assigned to particular temperature channels. Not only can fans be assigned to individual channels, but the behavior of the fans is also configurable. For example, fans can be run under automatic fan control, can be run manually (under software control), or can be run at the fastest speed calculated by multiple temperature channels. The mux is the bridge between temperature measurement channels and the three PWM outputs. Bits [7:5] (BHVR) of Register 0x5C, Register 0x5D, and Register 0x5E (PWM configuration registers) control the behavior of the fans connected to the PWM1, PWM2, and PWM3 outputs, respectively. The values selected for these bits determine how the multiplexer connects a temperature measurement channel to a PWM output. Rev. 0 | Page 37 of 76 ADT7490 Automatic Fan Control Multiplexer Options Bits [7:5] (BHVR), Register 0x5C, Register 0x5D, and Register 0x5E, with the ALT bit (Bit 3) cleared to 0. 000 = Remote 1 temperature controls PWMx 001 = Local temperature controls PWMx 010 = Remote 2 temperature controls PWMx 101 = Fastest speed calculated by local and Remote 2 temperature controls PWMx 110 = Fastest speed calculated by all three temperature channels controls PWMx The fastest speed calculated options pertain to controlling one PWM output based on multiple temperature channels. The thermal characteristics of the three temperature zones can be set to drive a single fan. An example is the fan turning on when Remote 1 temperature exceeds 60C or if the local temperature exceeds 45C. Setting the ALT bit in Register 0x5C, Register 0x5D, and Register 0x5E gives alternative behavior settings for Bits [7:5] of the PWM configuration registers. Bits [7:5] (BHVR), Register 0x5C, Register 0x5D, and Register 0x5E, with the ALT bit (Bit 3) set to 1. 000 = PECI0 reading controls PWMx 001 = PECI1 reading controls PWMx 010 = PECI2 reading controls PWMx 011 = PECI3 reading controls PWMx 101 = Fastest speed calculated by all four PECI readings controls PWMx 111 = Fastest speed calculated by all thermal zones (Local, Rem1, Rem2 and PECI) controls PWMx STEP 3: TMIN SETTINGS FOR THERMAL CALIBRATION CHANNELS TMIN is the temperature at which the fans start to turn on under automatic fan control. The speed at which the fan runs at TMIN is programmed later. The TMIN values chosen are temperature channel specific, for example, 25C for ambient channel, 30C for VRM temperature, and 40C for processor temperature. TMIN is an 8-bit value, either twos complement or Offset 64, that can be programmed in 1C increments. A TMIN register is associated with each temperature measurement channel: Remote 1, local, Remote 2 and PECI temperature. When the TMIN value is exceeded, the fan turns on and runs at the minimum PWM duty cycle. The fan turns off once the temperature has dropped below TMIN - THYST. To overcome fan inertia, the fan is spun up until two valid TACH rising edges are counted. See the Fan Start-Up Timeout section for more details. In some cases, primarily for psycho-acoustic reasons, it is desirable that the fan never switch off below TMIN. When set, Bits [7:5] of Enhanced Acoustics Register 1 (0x62) keep the fans running at the PWM minimum duty cycle, if the temperature should fall below TMIN. TMIN Registers Register 0x67, Remote 1 Temperature TMIN = 0x5A (90C default) Register 0x68, Local Temperature TMIN = 0x5A (90C default) Register 0x69, Remote 2 Temperature TMIN = 0x5A (90C default) Register 0x3B, PECI TMIN = 0xE0 (-32C default) Enhanced Acoustics Register 1 (Register 0x62) Other Mux Options Bit 7 (MIN3) = 0, PWM3 is off (0% PWM duty cycle) when temperature is below TMIN - THYST. Bits [7:5] (BHVR), Register 0x5C, Register 0x5D, and Register 0x5E, with the ALT bit (Bit 3) cleared to 0. Bit 7 (MIN3) = 1, PWM3 runs at PWM3 minimum duty cycle below TMIN - THYST. 011 = PWMx runs full speed 100 = PWMx disabled (default) Bit 6 (MIN2) = 0, PWM2 is off (0% PWM duty cycle) when temperature is below TMIN - THYST. 111 = Manual mode. PWMx is running under software control. In this mode, PWM duty cycle registers (Register 0x30 to Register 0x32) are writable and control the PWM outputs. Bit 6 (MIN2) = 1, PWM2 runs at PWM2 minimum duty cycle below TMIN - THYST. Bits [7:5] (BHVR), Register 0x5C, Register 0x5D, and Register 0x5E, with ALT bit (Bit 3) set to 1. Bit 5 (MIN1) = 0, PWM1 is off (0% PWM duty cycle) when temperature is below TMIN - THYST. Bit 5 (MIN1) = 1, PWM1 runs at PWM1 minimum duty cycle below TMIN - THYST. 100 = PWMx runs at 100% duty cycle 110 = PWMx runs at 100% duty cycle Rev. 0 | Page 38 of 76 ADT7490 PWM DUTYCYCLE 100% 0% TMIN PWM MIN 100% PWM CONFIG PWM GENERATOR TMIN REMOTE 2 = CPU TEMP TRANGE THERMAL CALIBRATION 0% PWM MIN 100% TMIN LOCAL = VRM TEMP TRANGE THERMAL CALIBRATION 0% PWM MIN 100% TACHOMETER 1 MEASUREMENT PWM CONFIG PWM GENERATOR MUX PWM CONFIG TRANGE 0% TACHOMETER 3 AND 4 MEASUREMENT PWM1 TACH1 CPU FAN SINK RAMP CONTROL (ACOUSTIC ENHANCEMENT) TACHOMETER 2 MEASUREMENT PWM GENERATOR TMIN RAMP CONTROL (ACOUSTIC ENHANCEMENT) PWM2 TACH2 RAMP CONTROL (ACOUSTIC ENHANCEMENT) FRONT CHASSIS PWM3 TACH3 REMOTE 1 = AMBIENT TEMP REAR CHASSIS Figure 50. Understanding the TMIN Parameter Rev. 0 | Page 39 of 76 06789-068 THERMAL CALIBRATION ADT7490 STEP 4: PWMMIN FOR EACH PWM (FAN) OUTPUT Example 1 PWMMIN is the minimum PWM duty cycle at which each fan in the system runs. It is also the start speed for each fan under automatic fan control once the temperature rises above TMIN. For maximum system acoustic benefit, PWMMIN should be as low as possible. Depending on the fan used, the PWMMIN setting is usually in the 20% to 33% duty cycle range. This value can be found through fan validation. For a minimum PWM duty cycle of 50%, For a minimum PWM duty cycle of 33%, Value (decimal) = 33/0.39 = 85 (decimal) Value = 85 (decimal) or 0x54 (hex) PWMMIN Registers Register 0x64, PWM1 Minimum Duty Cycle = 0x80 (50% default) Register 0x65, PWM2 Minimum Duty Cycle = 0x80 (50% default) Register 0x66, PWM3 Minimum Duty Cycle = 0x80 (50% default) Note on Fan Speed and PWM Duty Cycle PWMMIN TEMPERATURE TMIN 06789-055 0% Figure 51. PWMMIN Determines Minimum PWM Duty Cycle More than one PWM output can be controlled from a single temperature measurement channel. For example, Remote 1 Temperature can control PWM1 and PWM2 outputs. If two different fans are used on PWM1 and PWM2, the fan characteristics can be set up differently. As a result, Fan 1 driven by PWM1 can have a different PWMMIN value than that of Fan 2 connected to PWM2. Figure 52 illustrates this as PWM1MIN (front fan) turned on at a minimum duty cycle of 20%, while PWM2MIN (rear fan) is turned on at a minimum of 40% duty cycle. Note that both fans turn on at exactly the same temperature, defined by TMIN. 100% P % fanspeed = PWM Duty Cycle x 10 STEP 5: PWMMAX FOR PWM (FAN) OUTPUTS PWMMAX is the maximum duty cycle that each fan in the system runs at under the automatic fan speed control loop. For maximum system acoustic benefit, PWMMAX should be as low as possible, but should be capable of maintaining the processor temperature limit at an acceptable level. If the THERM temperature limit is exceeded, the fans are still boosted to 100% for fail-safe cooling. There is a PWMMAX limit for each fan channel. The default value of this register is 0xFF and has no effect unless it is programmed. 2 WM PW PWM2MIN The PWM duty cycle does not directly correlate to fan speed in RPM. Running a fan at 33% PWM duty cycle does not equate to running the fan at 33% speed. Driving a fan at 33% PWM duty cycle actually runs the fan at closer to 50% of its full speed. This is because fan speed in %RPM generally relates to the square root of PWM duty cycle. Given a PWM square wave as the drive signal, fan speed in RPM approximates to M1 100% PWM1MIN TMIN TEMPERATURE 06789-056 0% Figure 52. Operating Two Different Fans from a Single Temperature Channel Programming the PWMMIN Registers The PWMMIN registers are 8-bit registers that allow the minimum PWM duty cycle for each output to be configured anywhere from 0% to 100%. This allows the minimum PWM duty cycle to be set in steps of 0.39%. The value to be programmed into the PWMMIN register is given by Value (decimal) = PWMMIN/0.39 Rev. 0 | Page 40 of 76 PWMMAX PWMMIN 0% TMIN TEMPERATURE Figure 53. PWMMAX Determines Maximum PWM Duty Cycle Below the THERM Temperature Limit 06789-057 PWM DUTY CYCLE Example 2 PWM DUTY CYCLE PWM DUTY CYCLE 100% Value (decimal) = 50/0.39 = 128 (decimal) Value = 128 (decimal) or 0x80 (hex) ADT7490 Programming the PWMMAX Registers The PWMMAX registers are 8-bit registers that allow the maximum PWM duty cycle for each output to be configured anywhere from 0% to 100%. This allows the maximum PWM duty cycle to be set in steps of 0.39%. case operating points. For example, 70C is reached when the fans are running at 50% PWM duty cycle. 3. Determine the slope of the required control loop to meet these requirements. 4. Using the ADT7490 evaluation software, graphically program and visualize this functionality. Ask a local Analog Devices representative for details. The value to be programmed into the PWMMAX register is given by Value (decimal) = PWMMAX/0.39 As PWMMIN is changed, the automatic fan control slope changes. Example 1 100% PWM DUTY CYCLE For a maximum PWM duty cycle of 50%, Value (decimal) - 50/0.39 = 128 (decimal) Value = 128 (decimal) or 0x80 (hex) Example 2 For a minimum PWM duty cycle of 75%, Value (decimal) = 75/0.39 = 85 (decimal) 50% 33% 0% Value = 192 (decimal) or 0xC0 (hex) TMIN Register 0x38, Maximum PWM1 Duty Cycle = 0xFF (100% default) Figure 55. Adjusting PWMMIN Changes the Automatic Fan Control Slope As TRANGE is changed, the slope changes. As TRANGE gets smaller, the fans reach 100% speed with a smaller temperature change. Register 0x39, Maximum PWM2 Duty Cycle = 0xFF (100% default) Register 0x3A, Maximum PWM3 Duty Cycle = 0xFF (100% default) 10% 0% TMIN-HYST TRANGE TMIN Figure 56. Increasing TRANGE Changes the AFC slope 100% PWM DUTY CYCLE PWMMIN TMIN TEMPERATURE 06789-058 0% MAX PWM 10% Figure 54. TRANGE Parameter Affects Cooling Slope 0% The TRANGE is determined by the following procedure: 2. Determine the maximum operating temperature for that channel (for example, 70C). Determine experimentally the fan speed (PWM duty cycle value) that does not exceed the temperature at the worstRev. 0 | Page 41 of 76 TRANGE TMIN-HYST 06789-061 PWM DUTY CYCLE 100% 30C 40C 45C 54C 06789-060 TRANGE is the range of temperature over which automatic fan control occurs once the programmed TMIN temperature has been exceeded. TRANGE is the temperature range between PWMMIN and 100% PWM where the fan speed changes linearly. Otherwise stated, it is the line drawn between the TMIN/PWMMIN and the (TMIN + TRANGE)/100% PWM intersection points. PWM DUTY CYCLE 100% STEP 6: TRANGE FOR TEMPERATURE CHANNELS 1. 06789-059 30C PWMMAX Registers Figure 57. Changing PWM Max Does Not Change the AFC Slope ADT7490 Selecting TRANGE The TRANGE value can be selected for each temperature channel: Remote 1, local, Remote 2, and PECI temperature. Bits [7:4] (TRANGE) of Register 0x5F to Register 0x61 and Register 0x3C define the TRANGE value for each temperature channel. Table 23. Selecting a TRANGE Value Figure 58 shows PWM duty cycle vs. temperature for each TRANGE setting. Figure 58B shows how each TRANGE setting affects fan speed vs. temperature. As can be seen from the graph, the effect on fan speed is nonlinear. 100 2C 2.5C 90 3.33C 80 4C 5C 70 6.67C 60 8C 10C 50 13.3C 16C 40 20C 30 26.6C 32C 20 40C 10 0 0 Register 0x5F configures Remote 1 TRANGE; Register 0x60 configures local TRANGE; Register 0x61 configures Remote 2 TRANGE, Register 0x3C configures PECI TRANGE. 53.3C 20 40 60 80 TEMPERATURE ABOVE TMIN 100 120 (A) 100 Actual Changes in PWM Output (Advanced Acoustics Settings) 2C 2.5C 90 3.33C FAN SPEED (% OF MAX) 80 While the automatic fan control algorithm describes the general response of the PWM output, it is also necessary to note that the enhanced acoustics registers (0x62, 0x63, and 0x3C) can be used to set/clamp the maximum rate of change of PWM output for a given temperature zone. This means that if TRANGE is programmed with an AFC slope that is quite steep, a relatively small change in temperature could cause a large change in PWM output and possibly an audible change in fan speed, which can be noticeable/annoying to end users. 80C 4C 5C 70 6.67C 60 8C 10C 50 13.3C 16C 40 20C 30 26.6C 32C 20 40C 10 0 0 53.3C 20 40 60 80 TEMPERATURE ABOVE TMIN 100 120 80C (B) Figure 58. TRANGE vs. Actual Fan Speed (Not PWM Drive) Profile The graphs in Figure 58 assume the fan starts from 0% PWM duty cycle. Clearly, the minimum PWM duty cycle, PWMMIN, needs to be factored in to see how the loop actually performs in the system. Figure 59 shows how TRANGE is affected when the PWMMIN value is set to 20%. It can be seen that the fan actually runs at about 45% fan speed when the temperature exceeds TMIN. Rev. 0 | Page 42 of 76 06789-062 1 TRANGE (C) 2 2.5 3.33 4 5 6.67 8 10 13.33 16 20 26.67 32 (default) 40 53.33 80 PWM DUTY CYCLE (%) Bits [7:4]1 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Decreasing the speed of the PWM output changes by programming the smoothing on the appropriate temperature channels (Register 0x62 and Register 0x63) changes how fast the fan speed increases/decreases in the event of a temperature spike. Slowly the PWM duty cycle increases until the PWM duty cycle reaches the appropriate duty cycle as defined by the AFC curve. ADT7490 100 2C 3.33C 4C PWM DUTY CYCLE (%) 80 5C 70 Note that TTHERM limits are nonmaskable and affect the fan speed no matter how automatic fan control settings are configured. This allows some flexibility, because a TRANGE value can be selected based on its slope, while a hard limit (such as 70C), can be programmed as TMAX (the temperature at which the fan reaches full speed) by setting TTHERM to that limit (for example, 70C). 6.67C 8C 60 10C 50 13.3C 16C 40 20C 30 26.6C 32C 20 THERM Registers 40C 10 0 0 effects. Ultimately, this limit should be set up as a fail-safe, and one should ensure that it is not exceeded under normal system operating conditions. 2.5C 90 53.3C 20 40 60 80 TEMPERATURE ABOVE TMIN 100 120 Register 0x6A, Remote 1 THERM Temperature Limit = 0x64 (100C default) 80C (A) 100 2.5C 90 4C 5C 70 Register 0x3D, PECI TCONTROL Limit = 0x00 (0C default) 6.67C 60 8C THERM Hysteresis 10C 50 THERM hysteresis on a particular channel is configured via the hysteresis settings in the following section (0x6D and 0x6E). For example, setting hysteresis on the Remote 1 channel also sets the hysteresis on Remote 1 THERM. 13.3C 40 16C 20C 30 26.6C 20 32C 40C 10 Hysteresis Registers 53.3C 20 40 60 80 TEMPERATURE ABOVE TMIN 100 120 80C (B) Register 0x6D, Remote 1, Local Hysteresis Register 06789-063 FAN SPEED (% OF MAX) Register 0x6C, Remote 2 THERM Temperature limit = 0x64 (100C default) 3.33C 80 0 0 Register 0x6B, Local THERM Temperature Limit = 0x64 (100C default) 2C Bits [7:4], Remote 1 Temperature hysteresis (4C default). Bits [3:0], Local Temperature hysteresis (4C default). Figure 59. TRANGE and % Fan Speed Slopes with PWMMIN = 20% Register 0x6E, Remote 2, PECI Temperature Hysteresis Register STEP 7: TTHERM FOR TEMPERATURE CHANNELS TTHERM is the absolute maximum temperature allowed on a temperature channel. For PECI temperature channels, the equivalent parameter is TCONTROL. Above this temperature, a component such as the CPU or VRM may be operating beyond its safe operating limit. When the temperature measured exceeds TTHERM, all fans are driven at 100% PWM duty cycle (full speed) to provide critical system cooling. The fans remain running at 100% until the temperature drops below TTHERM minus hysteresis, where hysteresis is the number programmed into the hysteresis registers (0x6D and 0x6E). The default hysteresis value is 4C. Bits [7:4], Remote 2 Temperature hysteresis (4C default). Bits [3:0], PECI Temperature hysteresis (4C default). Because each hysteresis setting is four bits, hysteresis values are programmable from 1C to 15C. It is not recommended that hysteresis values ever be programmed to 0C, because this disables hysteresis. In effect, this causes the fans to cycle (during a THERM event) between normal speed and 100% speed, or, while operating close to TMIN, between normal speed and off, creating unsettling acoustic noise. The TTHERM limit should be considered the maximum worst-case operating temperature of the system. Because exceeding any TTHERM limit runs all fans at 100%, it has very negative acoustic Rev. 0 | Page 43 of 76 ADT7490 TRANGE PWM DUTYCYCLE 100% 0% TMIN TTHERM PWM MIN 100% PWM CONFIG PWM GENERATOR TMIN REMOTE 2 = CPU TEMP TRANGE THERMAL CALIBRATION 0% PWM MIN 100% TACHOMETER 1 MEASUREMENT PWM CONFIG PWM GENERATOR MUX TMIN LOCAL = VRM TEMP TRANGE THERMAL CALIBRATION 0% PWM MIN 100% PWM CONFIG TRANGE TACHOMETER 3 AND 4 MEASUREMENT 0% PWM1 TACH1 CPU FAN SINK RAMP CONTROL (ACOUSTIC ENHANCEMENT) TACHOMETER 2 MEASUREMENT PWM GENERATOR TMIN RAMP CONTROL (ACOUSTIC ENHANCEMENT) PWM2 TACH2 RAMP CONTROL (ACOUSTIC ENHANCEMENT) FRONT CHASSIS PWM3 TACH3 REMOTE 1 = AMBIENT TEMP REAR CHASSIS 06789-065 THERMAL CALIBRATION Figure 60. How TTHERM Relates to Automatic Fan Control STEP 8: THYST FOR TEMPERATURE CHANNELS THYST is the amount of extra cooling a fan provides after the temperature measured has dropped back below TMIN before the fan turns off. The premise for temperature hysteresis (THYST) is that, without it, the fan would merely chatter, or cycle on and off regularly, whenever the temperature is hovering at about the TMIN setting. The THYST value chosen determines the amount of time needed for the system to cool down or heat up as the fan is turning on and off. Values of hysteresis are programmable in the range of 1C to 15C. Larger values of THYST prevent the fans from chattering on and off. The THYST default value is set at 4C. The THYST setting applies not only to the temperature hysteresis for fan on/off, but the same setting is used for the TTHERM hysteresis value, described in the Step 7: TTHERM for Temperature Channels section. Therefore, programming Register 0x6D and Register 0x6E sets the hysteresis for both fan on/off and the THERM function. In some applications, it is required that fans not turn off below TMIN, but remain running at PWMMIN. Bits [7:5] of Enhanced Acoustics Register 1 (0x62) allow the fans to be turned off or to be kept spinning below TMIN. If the fans are always on, the THYST value has no effect on the fan when the temperature drops below TMIN. Rev. 0 | Page 44 of 76 ADT7490 TRANGE PWM DUTYCYCLE 100% 0% TTHERM THERMAL CALIBRATION PWM MIN 100% PWM CONFIG PWM GENERATOR TMIN REMOTE 2 = CPU TEMP TRANGE THERMAL CALIBRATION 0% PWM MIN 100% TMIN LOCAL = VRM TEMP TRANGE THERMAL CALIBRATION 0% PWM MIN 100% TACHOMETER 1 MEASUREMENT PWM CONFIG PWM GENERATOR MUX PWM CONFIG TRANGE CPU FAN SINK RAMP CONTROL (ACOUSTIC ENHANCEMENT) PWM2 TACH2 RAMP CONTROL (ACOUSTIC ENHANCEMENT) TACHOMETER 3 AND 4 MEASUREMENT 0% PWM1 TACH1 TACHOMETER 2 MEASUREMENT PWM GENERATOR TMIN RAMP CONTROL (ACOUSTIC ENHANCEMENT) FRONT CHASSIS PWM3 TACH3 REMOTE 1 = AMBIENT TEMP REAR CHASSIS 06789-066 TMIN Figure 61. The THYST Value Applies to Fan On/Off Hysteresis and THERM Hysteresis THERM Hysteresis Configuration Register 6 (Register 0x10) Any hysteresis programmed via Register 0x6D and Register 0x6E also applies hysteresis on the appropriate THERM channel. Bit 0 (SLOW) = 1, slows the ramp rate for PWM changes associated with the Remote 1 temperature channel by 4. Enhanced Acoustics Register 1 (Register 0x62) Bit 1 (SLOW) = 1, slows the ramp rate for PWM changes associated with the local temperature channel by 4. Bit 7 (MIN3) = 0, PWM3 is off (0% PWM duty cycle) when temperature is below TMIN - THYST. Bit 7 (MIN3) = 1, PWM3 runs at PWM3 minimum duty cycle below TMIN - THYST. Bit 6 (MIN2) = 0, PWM2 is off (0% PWM duty cycle) when temperature is below TMIN - THYST. Bit 6 (MIN2) = 1, PWM2 runs at PWM2 minimum duty cycle below TMIN - THYST. Bit 2 (SLOW) = 1, slows the ramp rate for PWM changes associated with the Remote 2 temperature channel by 4. Bit 7 (ExtraSlow) = 1, slows the ramp rate for all fans by a factor of 39.2%. The following sections list the ramp-up times when the SLOW bit is set for each temperature monitoring channel. Bit 5 (MIN1) = 0, PWM1 is off (0% PWM duty cycle) when temperature is below TMIN - THYST. Bit 5 (MIN1) = 1, PWM1 runs at PWM1 minimum duty cycle below TMIN - THYST. Rev. 0 | Page 45 of 76 ADT7490 Enhanced Acoustics Register 1 (Register 0x62) PROGRAMMING THE GPIOs Bits [2:0] ACOU, selects the ramp rate for PWM outputs associated with the Remote Temperature 1 input. The ADT7490 has two dedicated GPIOs (Pin 5 and Pin 6).The direction (input or output) and polarity (active high or active low) of the GPIOs is set in the GPIO Configuration Register (0x80). Bit 2 and Bit 3 of Register 0x80 also reflect the state of the GPIO pins when configured as inputs and assert the GPIO pins when configured as outputs. 000 = 37.5 sec 001 = 18.8 sec 010 = 12.5 sec 011 = 7.5 sec 100 = 4.7 sec 101 = 3.1 sec 110 = 1.6 sec 111 = 0.8 sec XNOR TREE TEST MODE Enhanced Acoustics Register 2 (Register 0x63) The ADT7490 includes an XNOR tree test mode. This mode is useful for in-circuit test equipment at board-level testing. By applying stimulus to the pins included in the XNOR tree, it is possible to detect opens, or shorts, on the system board. Bits [2:0] ACOU3, selects the ramp rate for PWM outputs associated with the local temperature channel. The XNOR tree test is invoked by setting Bit 0 (XEN) of the XNOR Tree Test Enable register (Register 0x6F). Figure 62 shows the signals that are exercised in the XNOR tree test mode. PWM2 PWM3 TACH1 TACH2 [6:4] ACOU2, selects the ramp rate for PWM outputs associated with the Remote Temperature 2 input. TACH3 000 = 37.5 sec 001 = 18.8 sec 010 = 12.5 sec 011 = 7.5 sec 100 = 4.7 sec 101 = 3.1 sec 110 = 1.6 sec 111 = 0.8 sec When Bit 7 of Configuration Register 6 (0x10) = 1, the preceding ramp rates change to 000 = 52.2 sec 001 = 26.1 sec 010 = 17.4 sec 011 = 10.4 sec 100 = 6.5 sec 101 = 4.4 sec 110 = 2.2 sec 111 = 1.1 sec TACH4 PWM1/XTO Figure 62. XNOR Tree Test Setting the appropriate SLOW Bit 2, Bit 1, or Bit 0 of Configuration Register 6 (0x10) slows the ramp rate further by a factor of 4. Rev. 0 | Page 46 of 76 06789-004 000 = 37.5 sec 001 = 18.8 sec 010 = 12.5 sec 011 = 7.5 sec 100 = 4.7 sec 101 = 3.1 sec 110 = 1.6 sec 111 = 0.8 sec ADT7490 REGISTER TABLES Table 24. ADT7490 Registers Addr. 0x10 R/W R/W Description Config. 6 Bit 7 ExtraSlow Bit 5 Res Bit 4 Res Bit 3 Res RES 7 7 7 9 9 IMON Bit 6 VCCP Low RES 6 6 6 8 8 IMON Bit 1 SLOW Local FSPD 1 1 1 3 3 RES Bit 0 SLOW Remote 1 THERMHys 0 0 0 2 2 RES Default 0x00 Lockable? Yes FSPDIS 3 3 3 5 5 RES Bit 2 SLOW Remote 2 Vx1 2 2 2 4 4 RES 0x11 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F R/W R R R R R R 0x20 0x21 0x22 0x23 0x24 0x25 R R R R R R 0x26 0x27 R R 0x28 R 0x29 R 0x2A R 0x2B R 0x2C R 0x2D R 0x2E R 0x2F R 0x30 R/W 0x31 R/W 0x32 R/W 0x33 0x34 R R/W 0x35 R/W 0x36 R/W 0x38 R/W 0x39 R/W 0x3A R/W 0x3B R/W Config. 7 PECI1 PECI2 PECI3 IMON Meas. VTT Meas. Extended Resolution 3 +2.5VIN Meas. VCCP Meas. VCC Meas. +5VIN Meas. +12VIN Meas. Remote 1 Temp. Local Temp. Remote 2 Temp. TACH1 Low Byte TACH1 High Byte TACH2 Low Byte TACH2 High Byte TACH3 Low Byte TACH3 High Byte TACH4 Low Byte TACH4 High Byte PWM1 Current Duty Cycle PWM2 Current Duty Cycle PWM3 Current Duty Cycle PECI0 PECI Low Limit PECI High Limit PECI Config. Register 1 Max PWM1 Duty Cycle Max PWM2 Duty Cycle Max PWM3 Duty Cycle PECI TMIN RES 5 5 5 7 7 VTT TODIS 4 4 4 6 6 VTT 0x00 0x80 0x80 0x80 0x00 0x00 0x00 Yes 9 9 9 9 9 9 8 8 8 8 8 8 7 7 7 7 7 7 6 6 6 6 6 6 5 5 5 5 5 5 4 4 4 4 4 4 3 3 3 3 3 3 2 2 2 2 2 2 0x00 0x00 0x00 0x00 0x00 0x80 9 9 8 8 7 7 6 6 5 5 4 4 3 3 2 2 0x80 0x80 7 6 5 4 3 2 1 0 0x00 15 14 13 12 11 10 9 8 0x00 7 6 5 4 3 2 1 0 0x00 15 14 13 12 11 10 9 8 0x00 7 6 5 4 3 2 1 0 0x00 15 14 13 12 11 10 9 8 0x00 7 6 5 4 3 2 1 0 0x00 15 14 13 12 11 10 9 8 0x00 7 6 5 4 3 2 1 0 0xFF 7 6 5 4 3 2 1 0 0xFF 7 6 5 4 3 2 1 0 0xFF 7 7 6 6 5 5 4 4 3 3 2 2 1 1 0 0 0x80 0x81 7 6 5 4 3 2 1 0 0x00 RES RES RES REPLACE DOM0 AVG2 AVG1 AVG0 0x00 Yes 7 6 5 4 3 2 1 0 0xFF Yes 7 6 5 4 3 2 1 0 0xFF Yes 7 6 5 4 3 2 1 0 0xFF Yes 7 6 5 4 3 2 1 0 0xE0 Yes Rev. 0 | Page 47 of 76 ADT7490 Addr. 0x3C R/W R/W Description PECI TRANGE/ Enhanced Acoustics PECI TCONTROL Company ID No. Version/ Revision Config. Register 1 Bit 7 RANGE Bit 6 RANGE Bit 5 RANGE Bit 4 RANGE Bit 3 ENP Bit 2 ACOU Bit 1 ACOU Bit 0 ACOU Default 0xC0 Lockable? Yes 0x3D 0x3E R/W R 7 7 6 6 5 5 4 4 3 3 2 2 1 1 0 0 0x00 0x41 Yes 0x3F R VER3 VER2 VER1 VER0 4-Wire PECI REV1 REV0 0x6E 0x40 R/W RES RES PECI Monitor Fan Boost RDY LOCK STRT 0x04 R Interrupt Status 1 OOL R2T THERM in Manual LT 0x41 R1T +5VIN VCC VCCP +2.5VIN/ THERM 0x00 0x42 R Interrupt Status 2 D2 FAULT D1 FAULT FAN4/ THERM FAN3 FAN2 FAN1 OOL +12VIN 0x00 0x43 R Interrupt Status 3 OOL RES RES RES COMM DATA PECI0 0x00 0x44 R/W 7 6 5 4 2 1 0 0x00 0x45 R/W 7 6 5 4 3 2 1 0 0xFF 0x46 R/W 7 6 5 4 3 2 1 0 0x00 0x47 R/W 7 6 5 4 3 2 1 0 0xFF 0x48 R/W 7 6 5 4 3 2 1 0 0x00 0x49 R/W 7 6 5 4 3 2 1 0 0xFF 0x4A R/W 7 6 5 4 3 2 1 0 0x00 0x4B R/W 7 6 5 4 3 2 1 0 0xFF 0x4C R/W 7 6 5 4 3 2 1 0 0x00 0x4D R/W 7 6 5 4 3 2 1 0 0xFF 0x4E R/W 7 6 5 4 3 2 1 0 0x81 0x4F R/W 7 6 5 4 3 2 1 0 0x7F 0x50 R/W 7 6 5 4 3 2 1 0 0x81 0x51 R/W 7 6 5 4 3 2 1 0 0x7F 0x52 R/W 7 6 5 4 3 2 1 0 0x81 0x53 R/W 7 6 5 4 3 2 1 0 0x7F 0x54 R/W 7 6 5 4 3 2 1 0 0xFF 0x55 R/W 15 14 13 12 11 10 9 8 0xFF 0x56 R/W 7 6 5 4 3 2 1 0 0xFF 0x57 R/W 15 14 13 12 11 10 9 8 0xFF 0x58 R/W 7 6 5 4 3 2 1 0 0xFF 0x59 R/W +2.5VIN Low Limit +2.5VIN High Limit VCCP Low Limit VCCP High Limit VCC Low Limit VCC High Limit +5VIN Low Limit +5VIN High Limit +12VIN Low Limit +12VIN High Limit Remote 1 Temp Low Limit Remote 1 Temp High Limit Local Temp Low Limit Local Temp High Limit Remote 2 Temp Low Limit Remote 2 Temp High Limit TACH1 Min Low Byte TACH1 Min High Byte TACH2 Min Low Byte TACH2 Min High Byte TACH3 Min Low Byte TACH3 Min High Byte OVT (THERM Temp Limit) 3 15 14 13 12 11 10 9 8 0xFF Rev. 0 | Page 48 of 76 Yes ADT7490 Addr. 0x5A R/W R/W 0x5B R/W 0x5C R/W 0x5D R/W 0x5E R/W 0x5F R/W 0x60 R/W 0x61 R/W 0x62 R/W 0x63 R/W 0x64 R/W 0x65 R/W 0x66 R/W 0x67 R/W 0x68 R/W 0x69 R/W 0x6A R/W 0x6B R/W 0x6C R/W 0x6D R/W 0x6E R/W 0x6F R/W 0x70 R/W 0x71 R/W 0x72 R/W 0x73 0x74 R/W R/W Description TACH4 Min Low Byte TACH4 Min High Byte PWM1 Config. Register PWM2 Config. Register PWM3 Config. Register Remote 1 TRANGE/PWM1 Frequency Local TRANGE/PWM2 Frequency Remote 2 TRANGE/PWM3 Frequency Enhanced Acoustics Reg. 1 Enhanced Acoustics Reg. 2 PWM1 Min Duty Cycle PWM2 Min Duty Cycle PWM3 Min Duty Cycle Remote 1 Temp TMIN Local Temp. TMIN Remote 2 Temp TMIN Remote 1 THERM Temp Limit Local THERM Temp. Limit Remote 2 THERM Temp Limit Remote 1 and Local Temp/TMIN Hysteresis Remote 2 and PECI Temp/TMIN Hysteresis XNOR Tree Test Enable Remote 1 Temp Offset Local Temp Offset Remote 2 Temp Offset Config. Reg. 2 Interrupt Mask Reg. 1 Bit 7 7 Bit 6 6 Bit 5 5 Bit 4 4 Bit 3 3 Bit 2 2 Bit 1 1 Bit 0 0 Default 0xFF 15 14 13 12 11 10 9 8 0xFF BHVR BHVR BHVR INV ALT SPIN SPIN SPIN 0x62 Yes BHVR BHVR BHVR INV ALT SPIN SPIN SPIN 0x62 Yes BHVR BHVR BHVR INV ALT SPIN SPIN SPIN 0x62 Yes RANGE RANGE RANGE RANGE HF/LF FREQ FREQ FREQ 0xC4 Yes RANGE RANGE RANGE RANGE HF/LF FREQ FREQ FREQ 0xC4 Yes RANGE RANGE RANGE RANGE HF/LF FREQ FREQ FREQ 0xC4 Yes MIN3 MIN2 MIN1 SYNC EN1 ACOU ACOU ACOU 0x00 Yes EN2 ACOU2 ACOU2 ACOU2 EN3 ACOU3 ACOU3 ACOU3 0x00 Yes 7 6 5 4 3 2 1 0 0x80 Yes 7 6 5 4 3 2 1 0 0x80 Yes 7 6 5 4 3 2 1 0 0x80 Yes 7 6 5 4 3 2 1 0 0x5A Yes 7 6 5 4 3 2 1 0 0x5A Yes 7 6 5 4 3 2 1 0 0x5A Yes 7 6 5 4 3 2 1 0 0x64 Yes 7 6 5 4 3 2 1 0 0x64 Yes 7 6 5 4 3 2 1 0 0x64 Yes HYSR1 HYSR1 HYSR1 HYSR1 HYSL HYSL HYSL HYSL 0x44 Yes HYSR2 HYSR2 HYSR2 HYSR2 HYSP HYSP HYSP HYSP 0x44 Yes RES RES RES RES RES RES RES XEN 0x00 Yes 7 6 5 4 3 2 1 0 0x00 Yes 7 6 5 4 3 2 1 0 0x00 Yes 7 6 5 4 3 2 1 0 0x00 Yes Shutdown OOL CONV R2T ATTN LT AVG RIT Fan3Detect +5VIN Fan2Detect VCC Fan1Detect VCCP FanPresDT +2.5VIN/ THERM 0x00 0x00 Yes Rev. 0 | Page 49 of 76 Lockable? ADT7490 Addr. 0x75 R/W R/W Description Interrupt Mask Reg. 2 Bit 7 D2 Fault Bit 6 D1 Fault Bit 5 FAN4/ THERM Bit 4 FAN3 Bit 3 FAN2 Bit 2 FAN1 Bit 1 OOL Bit 0 +12VIN/ VC Default 0x00 0x76 R +5VIN +5VIN VCC VCC VCCP VCCP +2.5VIN +2.5VIN 0x00 0x77 R TDM2 TDM2 LTMP LTMP TDM1 TDM1 +12VIN +12VIN 0x00 0x78 R/W Extended Resolution 1 Extended Resolution 2 Config. 3 DC4 DC3 DC2 DC1 FAST BOOST ALERT Enable 0x00 0x79 R TMR TMR TMR TMR TMR TMR ASRT/ TMR0 0x00 0x7A R/W LIMT LIMT LIMT LIMT LIMT LIMT LIMT LIMT 0x00 0x7B R/W FAN4 FAN4 FAN3 FAN3 FAN2 FAN2 FAN1 FAN1 0x55 0x7C R/W THERM Timer Status THERM Timer Limit TACH Pulses per Revolution Config. Register 5 THERM/ +2.5VIN TMR R2 THERM Output Only Temp Offset TWOS COMPL 0x01 Yes Config. Register 4 BpAtt +12VIN PECI R1 THERM Output Only BpAtt +2.5VIN RES R/W R1 THERM Output Only BpAtt VCCP RES 0x7D Local THERM Output Only BpAtt +5VIN Pin 14 Func Pin 14 Func 0x00 Yes 0x7E 0x7F 0x80 R R R/W Yes Yes 0x81 R 0x82 R/W 0x83 R/W 0x84 0x85 0x86 0x87 R/W R/W R/W R/W 0x88 0x89 0x8A R/W R R/W 0x8B R/W 0x8C R/W 0x8D R/W 0x8E R/W 0x8F R/W 0x90 R/W 0x94 R/W 0x95 R/W 0x96 R/W 0x97 R/W Test 1 Test 2 GPIO Config. Register Interrupt Status 4 Interrupt Mask 3 Interrupt Mask 4 VTT Low Limit IMON Low Limit VTT High Limit IMON High Limit PECI Config. 2 TEST 3 PECI Operating Point Remote 1 Operating Point Local Temp Operating Point Remote 2 Operating Point Dynamic TMIN Control Reg. 1 Dynamic TMIN Control Reg. 2 Dynamic TMIN Control Reg. .3 PECI0 Temp Offset PECI1 Temp Offset PECI2 Temp Offset PECI3 Temp Offset Yes VTT GPIO2 DIR IMON GPIO1 POL PECI3 THERM Disable Do not write to this register Do not write to this register GPIO1 GPIO2 GPIO2 POL PECI2 PECI1 RES OOL RES RES RES OVT COMM DATA PECI0 0x00 VTT IMON PECI3 PECI2 PECI1 RES RES RES 0x00 7 7 7 7 6 6 6 6 5 5 5 5 4 4 4 4 3 3 3 3 2 2 2 2 1 1 1 1 0 0 0 0 0x00 0x00 0xFF 0xFF Yes Yes Yes Yes #CPU #CPU DOM1 RES RES 7 6 5 DOM2 DOM3 RES Do not write to this register 4 3 2 1 0 0x00 0x00 0xFB Yes Yes Yes 7 6 5 4 3 2 1 0 0x64 Yes 7 6 5 4 3 2 1 0 0x64 Yes 7 6 5 4 3 2 1 0 0x64 Yes R2T LT R1T PHTR2 PHTL PHTR1 VCCPLO CYR2 0x00 Yes CYR2 CYR2 CYL CYL CYL CYR1 CYR1 CYR1 0x00 Yes PECI PHTP CYP CYP CYP RES RES RES 0x00 Yes 7 6 5 4 3 2 1 0 0x00 Yes 7 6 5 4 3 2 1 0 0x00 Yes 7 6 5 4 3 2 1 0 0x00 Yes 7 6 5 4 3 2 1 0 0x00 Yes GPIO1 DIR Max/Full on THERM Lockable? Rev. 0 | Page 50 of 76 RES RES 0x00 0x00 0x00 RES RES 0x00 ADT7490 Table 25. Register 0x10--Configuration Register 6 (Power-On Default = 0x00)1 Bit No. [0] Mnemonic SLOW Remote 1 R/W1 R/W [1] SLOW Local R/W [2] SLOW Remote 2 R/W [3] [4] [5] [6] Res Res Res VCCP Low N/A N/A N/A R/W [7] ExtraSlow R/W 1 Description When this bit is set, fan smoothing times are multiplied x4 for Remote 1 temperature channel (as defined in Register 0x62). When this bit is set, fan smoothing times are multiplied x4 for local temperature channel (as defined in Register 0x63). When this bit is set, fan smoothing times are multiplied x4 for Remote 2 temperature channel (as defined in Register 0x63). Reserved. Reserved. Reserved. VCCP Low = 1. When the power is supplied from 3.3 V STANDBYand the core voltage (VCCP) drops below its VCCP low limit value (Register 0x46), the following occurs: Status Bit 1 in Status Register 1 is set. SMBALERT is generated, if enabled. PROCHOT monitoring is disabled. Everything is re-enabled once VCCP increases above the VCCP low limit. When VCCP increases above the low limit: PROCHOT monitoring is enabled. Fans return to their programmed state after a spin-up cycle. When this bit is set, all fan smoothing times are increased by a further 39.2% This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Table 26. Register 0x11--Configuration Register 7 (Power-On Default = 0x00) Bit No. [0] [1] Mnemonic THERMHys FSPD R/W1 R/W R/W [2] Vx1 R/W [3] FSPDIS R/W [4] TODIS R/W [7:5] RES N/A 1 Description THERM hysteresis is enabled by default. Setting this bit to 1 disables THERM hysteresis. When set to 1, this bit runs all fans at maximum speed as programmed in the maximum PWM duty cycle registers (0x38 to 0x3A). Power-on default = 0. This bit is not locked at any time. BIOS should set this bit to a 1 when the ADT7490 is configured to measure current from an Analog Devices ADOPT(R) VRM controller and to measure the CPU's core voltage. This bit allows monitoring software to display CPU watts usage. (Lockable.) Logic 1 disables fan spin-up for two TACH pulses. Instead, the PWM outputs go high for the entire fan spin-up timeout selected. When this bit is set to 1, the SMBus timeout feature is disabled. In this state, if at any point during an SMBus transaction involving the ADT7490 activity ceases for more than 35 ms, the ADT7490 assumes the bus is locked and releases the bus. This allows the ADT7490 to be used with SMBus controllers that cannot handle SMBus timeouts. (Lockable.) Reserved. Do not write to these bits. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Table 27. PECI Reading Registers (Power-On Default = 0x80) Register Address 0x33 0x1A 0x1B 0x1C R/W Read-only Read-only Read-only Read-only Description PECI0: This register reads the eight bits representative of PECI Client Address 0x30. PECI1: This register reads the eight bits representative of PECI Client Address 0x31. PECI2: This register reads the eight bits representative of PECI Client Address 0x32. PECI3: This register reads the eight bits representative of PECI Client Address 0x33. Table 28. IMON/VTT Reading Registers (Power-On Default = 0x00) Register Address 0x1D R/W Read-only 0x1E Read-only Description Reflects the voltage measurement at the IMON input on Pin 19 (8 MSBs of reading). Input range of 0 V to 2.25 V. Reflects the voltage measurement at the VTT input on Pin 8 (8 MSBs of reading). Input range of 0 V to 2.25 V. Rev. 0 | Page 51 of 76 ADT7490 Table 29. Register 0x1F--Extended Resolution 3 (Power-On Default = 0x00) Bit No. [3:0] [5:4] [7:6] R/W Read-only Read-only Read-only Description Reserved. Hold the two LSBs of the 10-bit VTT measurement. Hold the two LSBs of the 10-bit IMON measurement. Table 30. Voltage Reading Registers (Power-On Default = 0x00)1 Register Address 0x20 0x21 0x22 0x23 0x24 R/W Read-only Read-only Read-only Read-only Read-only Description Reflects the voltage measurement at the 2.5 VIN input on Pin 22 (8 MSBs of reading). Reflects the voltage measurement2 at the VCCP input on Pin 23 (8 MSBs of reading). Reflects the voltage measurement3 at the VCC input on Pin 4 (8 MSBs of reading). Reflects the voltage measurement at the 5 VIN input on Pin 20 (8 MSBs of reading). Reflects the voltage measurement at the 12 VIN input on Pin 21 (8 MSBs of reading). 1 If the extended resolution bits of these readings are also being read, the extended resolution registers (Register 0x76, Register 0x77) must be read first. Once the extended resolution registers have been read, the associated MSB reading registers are frozen until read. Both the extended resolution registers and the MSB registers are frozen. 2 If VCCP Low (Bit 6 of 0x10) is set, VCCP can control the sleep state of the ADT7490. 3 VCC (Pin 4) is the supply voltage for the ADT7490. Table 31. Temperature Reading Registers (Power-On Default = 0x80)1, 2 Register Address 0x25 R/W Read-only Description Remote 1 temperature reading3, 4 (8 MSB of reading). 0x26 0x27 Read-only Read-only Local temperature reading (8 MSB of reading). Remote 2 temperature reading3, 4 (8 MSB of reading). 1 If the extended resolution bits of these readings are also being read, the extended resolution registers (Register 0x76, Register 0x77) must be read first. Once the extended resolution registers have been read, all associated MSB reading registers are frozen until read. Both the extended resolution registers and the MSB registers are frozen. 2 These temperature readings can be in twos complement or Offset 64 format; this interpretation is determined by Bit 0 of Configuration Register 5 (0x7C). 3 In twos complement mode, a temperature reading of -128C (0x80) indicates a diode fault (open or short) on that channel. 4 In Offset 64 mode, a temperature reading of -64C (0x00) indicates a diode fault (open or short) on that channel. Rev. 0 | Page 52 of 76 ADT7490 Table 32. Fan Tachometer Reading Registers (Power-On Default = 0x00)1 Register Address 0x28 0x29 0x2A 0x2B 0x2C 0x2D 0x2E 0x2F 1 R/W Read-only Read-only Read-only Read-only Read-only Read-only Read-only Read-only Description TACH1 low byte. TACH1 high byte. TACH2 low byte. TACH2 high byte. TACH3 low byte. TACH3 high byte. TACH4 low byte. TACH4 high byte. These registers count the number of 11.11 s periods (based on an internal 90 kHz clock) that occur between a number of consecutive fan TACH pulses (default = 2). The number of TACH pulses used to count can be changed using the TACH Pulses per Revolution register (Register 0x7B). This allows the fan speed to be accurately measured. Because a valid fan tachometer reading requires that two bytes be read, the low byte must be read first. Both the low and high bytes are then frozen until read. At power-on, these registers contain 0x0000 until the first valid fan TACH measurement is read into these registers. This prevents false interrupts from occurring while the fans are spinning up. A count of 0xFFFF indicates that a fan is one of the following: stalled or blocked (object jamming the fan), failed (internal circuitry destroyed), or not populated. (The ADT7490 expects to see a fan connected to each TACH. If a fan is not connected to that TACH, its TACH minimum high and low bytes should be set to 0xFFFF.) An alternate function, for example, is TACH4 reconfigured as the THERM pin. Table 33. Current PWM Duty Cycle Registers (Power-On Default = 0xFF)1 Register Address 0x30 0x31 0x32 1 R/W R/W R/W R/W Description PWM1 current duty cycle (0% to 100% duty cycle = 0x00 to 0xFF). PWM2 current duty cycle (0% to 100% duty cycle = 0x00 to 0xFF). PWM3 current duty cycle (0% to 100% duty cycle = 0x00 to 0xFF). These registers reflect the PWM duty cycle driving each fan at any given time. When in automatic fan speed control mode, the ADT7490 reports the PWM duty cycles back through these registers. The PWM duty cycle values vary according to temperature in automatic fan speed control mode. During fan startup, these registers report back 0x00. In manual mode, the PWM duty cycle outputs can be set to any duty cycle value by writing to these registers. Table 34. Register 0x33--PECI0 Reading Register (Power-On Default = 0x80) Register Address 0x33 R/W Read-only Description PECI0: This register reads the 8 bits representative of PECI Client Address 0x30. Table 35. PECI Limit Registers Register Address 0x34 0x35 R/W R/W R/W Description PECI Low Limit. PECI High Limit. Rev. 0 | Page 53 of 76 Power-On Default 0x81 0x00 ADT7490 Table 36. Register 0x36--PECI Configuration Register 1 (Power-On Default = 0x00) Bit No. [2:0] Mnemonic AVG R/W1 R/W Description PECI Smoothing Interval. These bit set the duration over which smoothing is carried out on the PECI data read. Note that the PECI smoothing interval is equal to the PECI register update interval. The smoothing interval is calculated using the following formula: Smoothing Interval = # reads x (t BIT x 67 x # CPU + t IDLE ) [3] DOM0 R/W [4] REPLACE R/W [7:5] RES R 1 where: #reads is the number of readings defined below. tBIT is the negotiated bit rate. 67 is the number of bits in each PECI reading. #CPU is the number of CPUs providing PECI data (1 to 4). tIDLE = 14 s, the delay between consecutive reads. Bit Code Number of PECI readings 000 16 001 2048 010 4096 011 8192 100 16384 101 32768 110 65536 111 Reserved CPU Domain Count information. Set to 0 indicates that CPU 1 associated with the PECI0 reading has a single domain (default). Set to 1 indicates that the system CPU 1 contains two domains. If this bit is set to 0, it indicates that the ADT7490 is operating in standard mode. If this bit is set to 1, the Remote 1 Temperaute register (Register 0x25) is overwritten by PECI0 information (Register 0x33) and vice versa. Note that in this mode, all associated user programmable limit and fan control registers are also swapped and should be programmed in the appropriate PECI or absolute temperature format. Reserved. These registers become read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to these registers fail. Table 37. Maximum PWM Duty Cycle (Power-On Default = 0xFF)1 R/W2 R/W R/W R/W Register Address 0x38 0x39 0x3A 1 2 Description Maximum duty cycle for PWM1 output, default = 100% (0xFF). Maximum duty cycle for PWM2 output, default = 100% (0xFF). Maximum duty cycle for PWM3 output, default = 100% (0xFF). These registers set the maximum PWM duty cycle of the PWM output. These registers become read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to these registers fail. Table 38. PECI TMIN Register (Power-On Default = 0xE0,Value = -32) Register Address 0x3B 1 R/W1 R/W Description PECI TMIN. When the PECI measurement exceeds PECI TMIN, the appropriate fans run at PWMMIN and increase according to the automatic fan speed control slope. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set. Any further attempts to write to this register have no effect. Rev. 0 | Page 54 of 76 ADT7490 Table 39. Register 0x3C--PECI TRANGE/Enhanced Acoustics Register (Power-On Default = 0xC0) Bit No. [2:0] Mnemonic ACOU R/W1 R/W Description Assuming that PWMx is associated with the PECI channel, these bits define the maximum rate of change of the PWMx output for PECI temperature-related changes. Instead of the fan speed jumping instantaneously to its newly determined speed, it ramps gracefully at the rate determined by these bits. This feature ultimately enhances the acoustics of the fan. The smoothing times below are based on a refresh rate of the round robin cycle. The PECI data, for 0% to 100%, must be multiplied each time by PECI Refresh Rate Round Robin Cycle [3] ENP R/W [7:4] RANGE R/W 1 where the PECI refresh rate is defined in Register 0x36 and the round robin cycle is typically 165 ms. When Bit 7 of Configuration Register 6 (0x10) is 0 Bit Code Time for 0% to 100% 000 = 1 37.5 sec 001 = 2 18.8 sec 010 = 3 12.5 sec 011 = 4 7.5 sec 100 = 8 4.7 sec 101 = 12 3.1 sec 110 = 24 1.6 sec 111 = 48 0.8 sec When Bit 7 of Configuration Register 6 (0x10) is 1 Bit Code Time for 0% to 100% 000 = 1 52.2 sec 001 = 2 26.1 sec 010 = 3 17.4 sec 011 = 4 10.4 sec 100 = 8 6.5 sec 101 = 12 4.4 sec 110 = 24 2.2 sec 111 = 48 1.1 sec When this bit is set to 1, smoothing is enabled on the PECI channel allowing enhanced acoustics on the associated PWM output. These bits determine the PWM duty cycle vs. the temperature range for automatic fan control. Bit Code Temperature 0000 2C 0001 2.5C 0010 3.33C 0011 4C 0100 5C 0101 6.67C 0110 8C 0111 10C 1000 13.33C 1001 16C 1010 20C 1011 26.67C 1100 32C (default) 1101 40C 1110 53.33C 1111 80C This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Rev. 0 | Page 55 of 76 ADT7490 Table 40. TCONTROL Limit Registers (Power-On Default = 0x00)1 R/W2 Read/write Register Address 0x3D Description PECI TCONTROL limit. 1 If any PECI reading exceeds the TCONTROL limit, all PWM outputs drive their fans at 100% duty cycle. This is a fail-safe mechanism incorporated to cool the system in the event of a critical overtemperature. It also ensures some level of cooling in the event that software or hardware locks up. If set to 0x80, this feature is disabled. The PWM output remains at 100% until the temperature drops below TCONTROL limit - hysteresis. 2 This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Table 41. Register 0x3F--Version/Revision Register (Power-On Default = 0x6E) Bit No. [1:0] Mnemonic REV R/W Read [2] [3] PECI 4-Wire Read Read [7:4] VER Read Description These two bits indicate the ADT7490 silicon revision number. 0x00 indicates Revision 0, 0x01 indicates Revision 1, and so on. This bit is set to 1 indicating that the ADT7490 supports the PECI interface. This bit is set to 1 indicating that the ADT7490 may be configured to drive 4-wire fans using high frequency PWM. These bits indicate the version number of the device. This is set to 6, indicating that the ADT7490 is part of the Heceta 6 ASIC family. Table 42. Register 0x40--Configuration Register 1 (Power-On Default = 0x04) Bit No. [0] Mnemonic STRT2,3 R/W1 R/W [1] LOCK Write once [2] RDY Read-only [3] Fan Boost R/W [4] PECI Monitor THERM in Manual R/W [5] [7:6] 1 2 3 RES R/W Read Description Logic 1 enables monitoring and PWM control outputs based on the limit settings programmed. Logic 0 disables monitoring and PWM control is based on the default power-up limit settings. Note that the limit values programmed are preserved even if a Logic 0 is written to this bit and the default settings are enabled. This bit does not become locked once Bit 1 (LOCK bit) has been set. Logic 1 locks all limit values to their current settings. Once this bit is set, all lockable registers become read-only and cannot be modified until the ADT7490 is powered down and powered up again. This prevents rogue programs such as viruses from modifying critical system limit settings. (Lockable.) This bit is set to 1 by the ADT7490 to indicate that the device is fully powered-up and ready to begin system monitoring. When this bit is set to Logic 1, all PWM outputs go to 100% regardless of other fan speed configurations and automatic fan speed control settings. When this bit is set to 0, the fan speed control returns to the fan speed setting calculated by the preprogrammed fan speed control settings. This bit remains writable after the LOCK bit is set. Set this bit to Logic 1 to enable CPU thermal monitoring via PECI interface. This bit becomes readonly when the LOCK bit is set. When this bit is set to logic 1, THERM is enabled so that the fans go to 100% duty cycle on a THERM or TCONTROL assertion overriding any other fan setting, even when the PWMs are configured for manual mode, or disabled. This bit becomes read-only when the LOCK bit is set. Reserved. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Bit 0 (STRT) of Configuration Register 1 (0x40) remains writable after the LOCK bit is set. When monitoring (STRT) is disabled, PWM outputs always go to 100% for thermal protection. Rev. 0 | Page 56 of 76 ADT7490 Table 43. Register 0x41--Interrupt Status Register 1 (Power-On Default = 0x00) Bit No. [0] Mnemonic +2.5VIN/THERM R/W Read-only [1] VCCP Read-only [2] VCC Read-only [3] +5VIN Read-only [4] R1T Read-only [5] LT Read-only [6] R2T Read-only [7] OOL Read-only Description +2.5VIN = 1 indicates that the 2.5 VIN high or low limit has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. If Pin 22 is configured as THERM, this bit is asserted when the timer limit has been exceeded. VCCP = 1 indicates that the VCCP high or low limit has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. VCC = 1 indicates that the VCC high or low limit has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. +5VIN = 1 indicates that the 5 VIN high or low limit has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. R1T = 1 indicates that the Remote 1 low or high temperature has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. LT = 1 indicates that the local low or high temperature has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. R2T = 1 indicates that the Remote 2 low or high temperature has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. OOL = 1 indicates that an out-of-limit event has been latched in Status Register 2 (0x42). This bit is a logical OR of all status bits in Status Register 2. Software can test this bit in isolation to determine whether any of the voltage, temperature, or fan speed readings represented by Status Register 2 are out-of-limit, which eliminates the need to read Status Register 2 during every interrupt or polling cycle. Table 44. Register 0x42--Interrupt Status Register 2 (Power-On Default = 0x00) Bit No. [0] Mnemonic +12VIN R/W Read-only [1] OOL Read-only [2] FAN1 Read-only [3] FAN2 Read-only [4] FAN3 Read-only [5] FAN4/THERM Read-only Read-only [6] [7] D1 FAULT D2 FAULT Read-only Read-only Description +12VIN = 1 indicates that the 12 VIN high or low limit has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. OOL = 1 indicates that an out-of-limit event has been latched in Status Register 3 (0x43). This bit is a logical OR of all status bits in Status Register 3. Software can test this bit in isolation to determine whether any of the voltage, temperature, or fan speed readings represented by Status Register 3 are out-of-limit, which eliminates the need to read Status Register 3 during every interrupt or polling cycle. FAN1 = 1 indicates that Fan 1 has dropped below minimum speed or has stalled. This bit is not set when the PWM1 output is off. FAN2 = 1 indicates that Fan 2 has dropped below minimum speed or has stalled. This bit is not set when the PWM2 output is off. FAN3 = 1 indicates that Fan 3 has dropped below minimum speed or has stalled. This bit is not set when the PWM3 output is off. When Pin 14 is programmed as a TACH4 input, FAN4 = 1 indicates that Fan 4 has dropped below minimum speed or has stalled. This bit is not set when the PWM3 output is off. If Pin 14 is configured as the THERM timer input for THERM monitoring, this bit is set when the THERM assertion time exceeds the limit programmed in the THERM timer limit register (Register 0x7A). D1 FAULT = 1 indicates either an open or short circuit on the Thermal Diode 1 inputs. D2 FAULT = 1 indicates either an open or short circuit on the Thermal Diode 2 inputs. Rev. 0 | Page 57 of 76 ADT7490 Table 45. Register 0x43--Interrupt Status Register 3 (Power-On Default = 0x00) Bit No. [0] Mnemonic PECI0 R/W Read-only [1] DATA Read-only [2] COMM Read-only [3] OVT Read-only [6:4] [7] RES OOL Read-only Read-only Description A Logic 1 indicates that the PECI high or low limit has been exceeded by the PECI value from PECI Client Address 0x30. This bit is cleared on a read of the status register only if the error condition has subsided. A Logic 1 indicates that valid PECI data cannot be obtained for the processor and a specified error code has been recorded. A Logic 1 indicates that there is a communications error (for example, invalid FCS) on the PECI interface. OVT = 1 indicates that one of the THERM overtemperature limits has been exceeded. This bit is cleared on a read of the status register when the temperature drops below THERM - THYST. Reserved. OOL = 1 indicates that an out-of-limit event has been latched in Status Register 4 (0x81). This bit is a logical OR of all status bits in Status Register 4. Software can test this bit in isolation to determine whether any of the voltage, temperature, or fan speed readings represented by Status Register 4 are out-of-limit, which eliminates the need to read Status Register 4 during every interrupt or polling cycle. Table 46. Voltage Limit Registers1 Register Address 0x44 0x45 0x46 0x47 0x48 0x49 0x4A 0x4B 0x4C 0x4D 1 2 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Description2 +2.5VIN low limit. +2.5VIN high limit. VCCP low limit. VCCP high limit. VCC low limit. VCC high limit. +5VIN low limit. +5VIN high limit. +12VIN low limit. +12VIN high limit. Power-On Default 0x00 0xFF 0x00 0xFF 0x00 0xFF 0x00 0xFF 0x00 0xFF Setting the Configuration Register 1 (0x40) LOCK bit has no effect on these registers. High limits: An interrupt is generated when a value exceeds its high limit (> comparison). Low limits: An interrupt is generated when a value is equal to or below its low limit ( comparison). Table 47. Temperature Limit Registers1 Register Address 0x4E R/W R/W Description2 Remote 1 temperature low limit. Power-On Default 0x81 0x4F 0x50 0x51 0x52 0x53 R/W R/W R/W R/W R/W Remote 1 temperature high limit. Local temperature low limit. Local temperature high limit. Remote 2 temperature low limit. Remote 2 temperature high limit. 0x7F 0x81 0x7F 0x81 0x7F 1 Exceeding any of these temperature limits by 1C causes the appropriate status bit to be set in the interrupt status register. Setting the Configuration Register 1 LOCK (0x40) bit has no effect on these registers. 2 High limits: An interrupt is generated when a value exceeds its high limit (> comparison). Low limits: An interrupt is generated when a value is equal to or below its low limit ( comparison). Rev. 0 | Page 58 of 76 ADT7490 Table 48. Fan Tachometer Limit Registers1 Register Address 0x54 0x55 0x56 0x57 0x58 0x59 0x5A 0x5B 1 R/W R/W R/W R/W R/W R/W R/W R/W R/W Description TACH1 minimum low byte. TACH1 minimum high byte/single-channel ADC channel select. TACH2 minimum low byte. TACH2 minimum high byte. TACH3 minimum low byte. TACH3 minimum high byte. TACH4 minimum low byte. TACH4 minimum high byte. Power-On Default 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF Exceeding any of the TACH limit registers by 1 indicates that the fan is running too slowly or has stalled. The appropriate status bit is set in Interrupt Status Register 2 (0x42) to indicate the fan failure. Setting the Configuration Register 1 (0x40) LOCK bit has no effect on these registers. Table 49. Register 0x55--TACH1 Minimum High Byte (Power-On Default = 0xFF) Bits [3:0] Mnemonic Reserved R/W Read-only [7:4] SCADC R/W Description When Bit 6 of Configuration 2 Register (0x73) is set (single-channel ADC mode), these bits are reserved. Otherwise, these bits represent Bits [3:0] of the TACH1 minimum high byte. When Bit 6 of Configuration 2 Register (0x73) is set (single-channel ADC mode), these bits are used to select the only channel from which the ADC will take measurements. Otherwise, these bits represent Bits [7:4] of the TACH1 minimum high byte. Bit Code Single-Channel Select 0000 +2.5VIN 0001 VCCP 0010 VCC 0011 +5VIN 0100 +12VIN 0101 Remote 1 temperature 0110 Local temperature 0111 Remote 2 temperature 1000 VTT 1001 IMON Rev. 0 | Page 59 of 76 ADT7490 Table 50. PWM Configuration Registers R/W1 R/W R/W R/W Register Address 0x5C 0x5D 0x5E 1 Description PWM1 configuration. PWM2 configuration. PWM3 configuration. Power-On Default 0x62 0x62 0x62 These registers become read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to these registers fail. Table 51. Register 0x5C, Register 0x5D, and Register 0x5E--PWM1, PWM2, and PWM3 Configuration Registers (Power-On Default = 0x62) Bit No. [2:0] Mnemonic SPIN R/W1 R/W [3] ALT R/W [4] INV R/W [7:5] BHVR2 R/W 1 2 Description These bits control the start-up timeout for PWMx. The PWM output stays high until two valid TACH rising edges are seen from the fan. If there is not a valid TACH signal during the fan TACH measurement directly after the fan start-up timeout period, the TACH measurement reads 0xFFFF and Status Register 2 reflects the fan fault. If the TACH minimum high and low bytes contain 0xFFFF or 0x0000, then the Status Register 2 bit is not set, even if the fan has not started. Bit Code Start-up Timeout 000 No start-up timeout 001 100 ms 010 250 ms (default) 011 400 ms 100 667 ms 101 1 sec 110 2 sec 111 4 sec Use alternative behavior setting options in Bits[7:5] below for PWMx by setting this bit to 1. Default =0. This bit inverts the PWM output. The default is 0, which corresponds to a logic high output for 100% duty cycle. Setting this bit to 1 inverts the PWM output, so 100% duty cycle corresponds to a logic low output. These bits assign each fan to a particular temperature sensor for localized cooling. Setting Bit 3 to Logic 1 in this register chooses whether the default of alternative behavior option is selected. Default Behavior Bits Alternative Behavior Bits2 000 = Remote 1 temperature controls 000 = PECI0 reading controls PWMx PWMx (automatic fan control mode). (automatic fan control mode). 001 = Local temperature controls PWMx 001 = PECI1 reading controls PWMx (automatic fan control mode). (automatic fan control mode). 010 = Remote 2 temperature controls 010 = PECI2 reading controls PWMx PWMx (automatic fan control mode). (automatic fan control mode). 011 = PWMx runs full speed (default). 011 = PECI3 reading controls PWMx (automatic fan control mode). 100 = PWMx disabled. 100 = Reserved. If selected, fans run at 100% duty cycle. 101 = Fastest speed calculated by local 101 = Fastest of all 4 PECI channels. and Remote 2 temperature controls Fastest speed calculated by all 4 PECI PWMx. readings. 110 = Fastest speed calculated by all 110 = Reserved. If selected, fans run at three temperature channel controls 100% duty cycle. PWMx. 111 = Manual mode. PWM duty cycle 111 = Fastest speed calculated by all of registers (Register 0x30 to Register 0x32) the thermal zones (Local, Remote 1, become writable. Remote 2 and PECI temperatures). This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. When REPLACE mode is selected, (Register 0x36, Bit 4 set to 1) PWM1 is automatically configured for the alternative behavior setting. Register 0x36 Bits [7:5] should be set to 000 only. Rev. 0 | Page 60 of 76 ADT7490 Table 52. Temperature TRANGE/PWM Frequency Registers R/W1 R/W R/W R/W Register Address 0x5F 0x60 0x61 1 Description Remote 1 TRANGE/PWM1 frequency. Local temperature TRANGE/PWM2 frequency. Remote 2 TRANGE/PWM3 frequency. Power-On Default 0xC4 0xC4 0xC4 These registers become read-only when the Configuration Register 1 (0x40) LOCK bit is set. Any further attempts to write to these registers have no effect. Table 53. Register 0x5F, Register 0x60, and Register 0x61--Remote 1 TRANGE/PWM1 Frequency, Local Temperature TRANGE/PWM2 Frequency, and Remote 2 TRANGE/PWM3 Frequency (Power-On Default = 0xC4) Bit No. [2:0] Mnemonic FREQ R/W1 R/W [3] HF/LF R/W [7:4] RANGE R/W 1 Description These bits control the PWMx frequency (only apply when PWM channel is in low frequency mode). Bit Code Frequency 000 11.0 Hz 001 14.7 Hz 010 22.1 Hz 011 29.4 Hz 100 35.3 Hz (default) 101 44.1 Hz 110 58.8 Hz 111 88.2 Hz HF/LF = 1, high frequency PWM mode is enabled for PWMx. HF/LF = 0, low frequency PWM mode is enabled for PWMx. These bits determine the PWM duty cycle vs. the temperature range for automatic fan control. Bit Code Temperature 0000 2C 0001 2.5C 0010 3.33C 0011 4C 0100 5C 0101 6.67C 0110 8C 0111 10C 1000 13.33C 1001 16C 1010 20C 1011 26.67C 1100 32C (default) 1101 40C 1110 53.33C 1111 80C This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set. Any further attempts to write to this register have no effect. Rev. 0 | Page 61 of 76 ADT7490 Table 54. Register 0x62--Enhanced Acoustics Register 1 (Power-On Default = 0x00) Bit No. [2:0] Mnemonic ACOU2 R/W1 R/W [3] [4] EN1 SYNC R/W R/W [5] MIN1 R/W [6] MIN2 R/W [7] MIN3 R/W 1 2 Description Assuming that PWMx is associated with the Remote 1 temperature channel, these bits define the maximum rate of change of the PWMx output for Remote 1 temperature-related changes. Instead of the fan speed jumping instantaneously to its newly determined speed, it ramps gracefully at the rate determined by these bits. This feature ultimately enhances the acoustics of the fan. When Bit 7 of Configuration Register 6 (0x10) is 0 Bit Code Time for 0% to 100% 000 = 1 37.5 sec 001 = 2 18.8 sec 010 = 3 12.5 sec 011 = 4 7.5 sec 100 = 8 4.7 sec 101 = 12 3.1 sec 110 = 24 1.6 sec 111 = 48 0.8 sec When Bit 7 of Configuration Register 6 (0x10) is 1 Bit Code Time for 0% to 100% 000 = 1 52.2 sec 001 = 2 26.1 sec 010 = 3 17.4 sec 011 = 4 10.4 sec 100 = 8 6.5 sec 101 = 12 4.4 sec 110 = 24 2.2 sec 111 = 48 1.1 sec When this bit is 1, smoothing is enabled on Remote 1 temperature channel. SYNC = 1 synchronizes fan speed measurements on TACH2, TACH3, and TACH4 to PWM3. This allows up to three fans to be driven from PWM3 output and their speeds to be measured. SYNC = 0 synchronizes only TACH3 and TACH4 to PWM3 output. When the ADT7490 is in automatic fan control mode, this bit defines whether PWM1 is off (0% duty cycle) or at PWM1 minimum duty cycle when the controlling temperature is below its TMIN - hysteresis value. 0 = 0% duty cycle below TMIN - hysteresis. 1 = PWM1 minimum duty cycle below TMIN - hysteresis. When the ADT7490 is in automatic fan speed control mode, this bit defines whether PWM2 is off (0% duty cycle) or at PWM2 minimum duty cycle when the controlling temperature is below its TMIN - hysteresis value. 0 = 0% duty cycle below TMIN - hysteresis. 1 = PWM2 minimum duty cycle below TMIN - hysteresis. When the ADT7490 is in automatic fan speed control mode, this bit defines whether PWM3 is off (0% duty cycle) or at PWM3 minimum duty cycle when the controlling temperature is below its TMIN - hysteresis value. 0 = 0% duty cycle below TMIN - hysteresis. 1 = PWM3 minimum duty cycle below TMIN - hysteresis. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Setting the relevant bit of Configuration Register 6 (0x10, Bits [2:0]) further decreases these ramp rates by a factor of 4. Rev. 0 | Page 62 of 76 ADT7490 Table 55. Register 0x63--Enhanced Acoustics Register 2 (Power-On Default = 0x00) Bit No. [2:0] Mnemonic ACOU3 R/W1 R/W [3] [6:4] EN3 ACOU2 R/W R/W [7] EN2 R/W 1 Description Assuming that PWMx is associated with the local temperature channel, these bits define the maximum rate of change of the PWMx output for local temperature-related changes. Instead of the fan speed jumping instantaneously to its newly determined speed, it ramps gracefully at the rate determined by these bits. This feature ultimately enhances the acoustics of the fan. When Bit 7 of Configuration Register 6 (0x10) is 0 Bit Code Time for 0% to 100% 000 = 1 37.5 sec 001 = 2 18.8 sec 010 = 3 12.5 sec 011 = 4 7.5 sec 100 = 8 4.7 sec 101 = 12 3.1 sec 110 = 24 1.6 sec 111 = 48 0.8 sec When Bit 7 of Configuration Register 6 (0x10) is 1 Bit Code Time for 0% to 100% 000 = 1 52.2 sec 001 = 2 26.1 sec 010 = 3 17.4 sec 011 = 4 10.4 sec 100 = 8 6.5 sec 101 = 12 4.4 sec 110 = 24 2.2 sec 111 = 48 1.1 sec When this bit is 1, smoothing is enabled on the local temperature channel. Assuming that PWMx is associated with the Remote 2 temperature channel, these bits define the maximum rate of change of the PWMx output for Remote 2 Temperature related changes. Instead of the fan speed jumping instantaneously to its newly determined speed, it ramps gracefully at the rate determined by these bits. This feature ultimately enhances the acoustics of the fan. When Bit 7 of Configuration Register 6 (0x10) is 0 Time Slot Increase Time for 0% to 100% 000 = 1 37.5 sec 001 = 2 18.8 sec 010 = 3 12.5 sec 011 = 4 7.5 sec 100 = 8 4.7 sec 101 = 12 3.1 sec 110 = 24 1.6 sec 111 = 48 0.8 sec When Bit 7 of Configuration Register 6 (0x10) is 1 Time Slot Increase Time for 0% to 100% 000 = 1 52.2 sec 001 = 2 26.1 sec 010 = 3 17.4 sec 011 = 4 10.4 sec 100 = 8 6.5 sec 101 = 12 4.4 sec 110 = 24 2.2 sec 111 = 48 1.1 sec When this bit is 1, smoothing is enabled on the Remote 2 temperature channel. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Rev. 0 | Page 63 of 76 ADT7490 Table 56. PWM Minimum Duty Cycle Registers Register Address 0x64 0x65 0x66 1 R/W1 R/W R/W R/W Description PWM1 minimum duty cycle. PWM2 minimum duty cycle. PWM3 minimum duty cycle. Power-On Default 0x80 (50% duty cycle) 0x80 (50% duty cycle) 0x80 (50% duty cycle) These registers become read-only when the ADT7490 is in automatic fan control mode. Table 57. Register 0x64, Register 0x65, and Register 0x66--PWM1, PWM2, and PWM3 Min Duty Cycles (Power-On Default = 0x80) Bit No. [7:0] 1 Mnemonic PWM duty cycle R/W1 R/W Description These bits define the PWMMIN duty cycle for PWMx. 0x00 = 0% duty cycle (fan off ). 0x40 = 25% duty cycle. 0x80 = 50% duty cycle. 0xFF = 100% duty cycle (fan full speed). This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect.. Table 58. TMIN Registers1 Register Address 0x67 0x68 0x69 1 2 R/W2 R/W R/W R/W Description Remote 1 Temperature TMIN. Local Temperature TMIN. Remote 2 Temperature TMIN. Power-On Default 0x5A (90C) 0x5A (90C) 0x5A (90C) These are the TMIN registers for each temperature channel. When the temperature measured exceeds TMIN, the appropriate fan runs at minimum speed and increases with temperature according to TRANGE. These registers become read-only when the Configuration Register 1 (0x40) LOCK bit is set. Any further attempts to write to these registers have no effect. Table 59. THERM Limit Registers1 Register Address 0x6A 0x6B 0x6C R/W2 R/W R/W R/W Description Remote 1 THERM temperature limit. Local THERM temperature limit. Remote 2 THERM temperature limit. Power-On Default 0x64 (100C) 0x64 (100C) 0x64 (100C) If any temperature measured exceeds its THERM limit, all PWM outputs drive their fans at 100% duty cycle. This is a fail-safe mechanism incorporated to cool the system in the event of a critical over temperature. It also ensures some level of cooling in the event that software or hardware locks up. If set to 0x80, this feature is disabled. The PWM output remains at 100% until the temperature drops below THERM limit - hysteresis. If the THERM pin is programmed as an output, exceeding these limits by 0.25C can cause the THERM pin to assert low as an output. 2 These registers become read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to these registers have no effect. 1 Rev. 0 | Page 64 of 76 ADT7490 Table 60. Temperature/TMIN Hysteresis Registers Register Address 0x6D 0x6E 1 R/W1 R/W R/W Description Remote 1 and Local Temperature/TMIN hysteresis. PECI and Remote 2 Temperature/TMIN hysteresis. Power-On Default 0x44 0x44 These registers become read-only when the Configuration Register 1(0x40) LOCK bit is set to 1. Any further attempts to write to these registers have no effect. Table 61. Register 0x6D--Remote 1 and Local Temp/TMIN Hysteresis (Power-On Default = 0x44) Bit No.1 [3:0] Mnemonic HYSL R/W2 R/W [7:4] HYSR1 R/W Description Local Temperature Hysteresis. 0C to 15C of hysteresis can be applied to the Local temperature AFC control loops. Remote 1 Temperature Hysteresis. 0C to 15C of hysteresis can be applied to the Remote 1 Temperature AFC control loops. 1 Each 4-bit value controls the amount of temperature hysteresis applied to a particular temperature channel. Once the temperature for that channel falls below its TMIN value, the fan remains running at PWMMIN duty cycle until the temperature = TMIN - hysteresis. Up to 15C of hysteresis can be assigned to any temperature channel. The hysteresis value chosen also applies to that temperature channel if its THERM limit is exceeded. The PWM output being controlled goes to 100%, if the THERM limit is exceeded and remains at 100% until the temperature drops below THERM - hysteresis. For acoustic reasons, it is recommended that the hysteresis value not be programmed less than 4C. Setting the hysteresis value lower than 4C causes the fan to switch on and off regularly when the temperature is close to TMIN. 2 These registers become read-only when the Configuration Register 1 LOCK bit is set to 1. Any further attempts to write to these registers have no effect. Table 62. Register 0x6E--Remote 2 and PECI Temp/TMIN Hysteresis (Power-On Default = 0x44) Bit No.1 [3:0] [7:4] Mnemonic HYSP HYSR2 R/W2 R/W R/W Description PECI Temperature Hysteresis. 0C to 15C of hysteresis can be applied to the PECI AFC control loops. Remote 2 Temperature Hysteresis. 0C to 15C of hysteresis can be applied to the Local Temperature AFC control loops. 1 Each 4-bit value controls the amount of temperature hysteresis applied to a particular temperature channel. Once the temperature for that channel falls below its TMIN value, the fan remains running at PWMMIN duty cycle until the temperature = TMIN - hysteresis. Up to 15C of hysteresis can be assigned to any temperature channel. The hysteresis value chosen also applies to that temperature channel, if its THERM limit is exceeded. The PWM output being controlled goes to 100%, if the THERM limit is exceeded and remains at 100% until the temperature drops below THERM - hysteresis. For acoustic reasons, it is recommended that the hysteresis value not be programmed less than 4C. Setting the hysteresis value lower than 4C causes the fan to switch on and off regularly when the temperature is close to TMIN. 2 These registers become read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to these registers have no effect. Table 63. Register 0x6F--XNOR Tree Test Enable (Power-On Default = 0x00) Bit No. [0] Mnemonic XEN R/W1 R/W [7:1] RES R/W 1 Description If the XEN bit is set to 1, the device enters the XNOR tree test mode. Clearing the bit removes the device from the XNOR tree test mode. Unused/reserved. Do not write to these bits. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Table 64. Register 0x70--Remote 1 Temperature Offset (Power-On Default = 0x00) Bit No. [7:0] 1 R/W1 R/W Description Allows a temperature offset to be automatically applied to the Remote 1 temperature channel measurement. Bit 1 of Configuration Register 5 (0x7C) determines the range and resolution of this register. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Rev. 0 | Page 65 of 76 ADT7490 Table 65. Register 0x71--Local Temperature Offset (Power-On Default = 0x00) Bit No. [7:0] 1 R/W1 R/W Description Allows a temperature offset to be automatically applied to the local temperature measurement. Bit 1 of Configuration Register 5 (0x7C) determines the range and resolution of this register. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Table 66. Register 0x72--Remote 2 Temperature Offset (Power-On Default = 0x00) Bit No. [7:0] 1 R/W1 R/W Description Allows a temperature offset to be automatically applied to the Remote 2 temperature channel measurement. Bit 1 of Configuration Register 5 (0x7C) determines the range and resolution of this register. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Table 67. Register 0x73--Configuration Register 2 (Power-On Default = 0x00) Bit No. 0 Mnemonic FanPresDT R/W1 R/W 1 2 3 4 Fan1Detect Fan2Detect Fan3Detect AVG Read Read Read R/W 5 ATTN R/W 6 CONV R/W 7 Shutdown R/W 1 Description When FanPresDT = 1, the state of Bits [3:1] of this register reflects the presence of a 4-wire fan on the appropriate TACH channel. Fan1Detect = 1 indicates that a 4-wire fan is connected to the PWM1 input. Fan2Detect = 1 indicates that a 4-wire fan is connected to the PWM2 input. Fan3Detect = 1 indicates that a 4-wire fan is connected to the PWM3 input. AVG = 1 indicates that averaging on the temperature and voltage measurements is turned off. This allows measurements on each channel to be made much faster (x16). ATTN = 1 indicates that the ADT7490 removes the attenuators from the +2.5VIN, VCCP, +5VIN, and +12VIN inputs. These inputs can be used for other functions such as connecting up external sensors. It is also possible to remove attenuators from individual channels using Bits [7:4] of Configuration Register 4 (0x7D). CONV = 1 indicates that the ADT7490 is put into a single-channel ADC conversion mode. In this mode, the ADT7490 can be made to read continuously from one input only, for example, Remote 1 temperature. The appropriate ADC channel is selected by writing to Bits [7:4] of TACH1 minimum high byte register (0x55). When CONV = 1, Bits [7:4], Register 0x55 Bit Code ADC Channel Selected 0000 +2.5VIN 0001 VCCP 0010 VCC 0011 +5VIN 0100 +12VIN 0101 Remote 1 temperature 0110 Local temperature 0111 Remote 2 temperature 1000 VTT 1001 IMON When the shutdown bit is set to 1, the ADT7490 goes into shutdown mode. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Rev. 0 | Page 66 of 76 ADT7490 Table 68. Register 0x74--Interrupt Mask Register 1 (Power-On Default = 0x00) Bit No. [0] Mnemonic +2.5VIN/THERM R/W R/W [1] [2] [3] [4] [5] [6] [7] VCCP VCC +5VIN R1T LT R2T OOL R/W R/W R/W R/W R/W R/W R/W Description +2.5VIN/THERM = 1 masks SMBALERT for out-of-limit conditions on the +2.5VIN/THERM timer channel. VCCP = 1 masks SMBALERT for out-of-limit conditions on the VCCP channel. VCC = 1 masks SMBALERT for out-of-limit conditions on the VCC channel. +5VIN = 1 masks SMBALERT for out-of-limit conditions on the +5VIN channel. R1T = 1 masks SMBALERT for out-of-limit conditions on the Remote 1 temperature channel. LT = 1 masks SMBALERT for out-of-limit conditions on the Local temperature channel. R2T = 1 masks SMBALERT for out-of-limit conditions on the Remote 2 temperature channel. OOL = 1 masks SMBALERT assertions when the OOL status bit is set. Note that the OOL mask bit is independent of the individual mask bits associated with Interrupt Status 2 register. Therefore, if the intention is to mask SMBALERT assertions for any of the Interrupt Status 2 register bits, OOL must also be masked. Table 69. Register 0x75--Interrupt Mask Register 2 (Power-On Default = 0x00) Bit No. [0] Mnemonic +12VIN R/W R/W [1] OOL R/W [2] [3] [4] [5] FAN1 FAN2 FAN3 F4P R/W R/W R/W R/W [6] [7] D1 D2 R/W R/W Description When Pin 21 is configured as a +12VIN input, +12VIN = 1 masks SMBALERT for out-of-limit conditions on the +12VIN channel. OOL = 1 masks SMBALERT assertions when the OOL status bit is set. Note that the OOL mask bit is independent of the individual mask bits in Interrupt Mask 3 register (0x82). Therefore, if the intention is to mask SMBALERT assertions for any of the Status Register 4 bits, OOL must also be masked. FAN1 = 1 masks SMBALERT for a Fan 1 fault. FAN2 = 1 masks SMBALERT for a Fan 2 fault. FAN3 = 1 masks SMBALERT for a Fan 3 fault. If Pin 14 is configured as TACH4, F4P = 1 masks SMBALERT for a Fan 4 fault. If Pin 14 is configured as THERM, F4P = 1 masks SMBALERT for an exceeded THERM timer limit. D1 = 1 masks SMBALERT for a diode open or short on a Remote 1 channel. D2 = 1 masks SMBALERT for a diode open or short on a Remote 2 channel. Table 70. Register 0x76--Extended Resolution Register 1 (Power-On Default = 0x00)1 Bit No. [1:0] [3:2] [5:4] [7:6] 1 Mnemonic +2.5VIN VCCP VCC +5VIN R/W Read-only Read-only Read-only Read-only Description +2.5VIN LSBs. Holds the 2 LSBs of the 10-bit +2.5VIN measurement. VCCP LSBs. Holds the 2 LSBs of the 10-bit VCCP measurement. VCC LSBs. Holds the 2 LSBs of the 10-bit VCC measurement. +5VIN LSBs. Holds the 2 LSBs of the 10-bit +5VIN measurement. If this register is read, this register and the registers holding the MSB of each reading are frozen until read. Table 71. Register 0x77--Extended Resolution Register 2 (Power-On Default = 0x00)1 Bit [1:0] [3:2] [5:4] [7:6] 1 Name +12VIN TDM1 LTMP TDM2 R/W Read-only Read-only Read-only Read-only Description +12VIN LSBs. Holds the 2 LSBs of the 10-bit +12VIN measurement. Remote 1 Temperature LSBs. Holds the 2 LSBs of the 10-bit Remote 1 temperature measurement. Local Temperature LSBs. Holds the 2 LSBs of the 10-bit local temperature measurement. Remote 2 Temperature LSBs. Holds the 2 LSBs of the 10-bit Remote 2 temperature measurement. If this register is read, this register and the registers holding the MSB of each reading are frozen until read. Rev. 0 | Page 67 of 76 ADT7490 Table 72. Register 0x78--Configuration Register 3 (Power-On Default = 0x00) Bit No. [0] Mnemonic ALERT Enable R/W1 R/W [1] THERM/ +2.5VIN R/W [2] BOOST R/W [3] FAST R/W [4] DC1 R/W [5] DC2 R/W [6] DC3 R/W [7] DC4 R/W 1 Description ALERT = 1, Pin 10 (PWM2/SMBALERT) is configured as an SMBALERT interrupt output to indicate out-of-limit error conditions. ALERT = 0, Pin 10 (PWM2/SMBALERT) is configured as the PWM2 output. THERM = 1 enables THERM functionality on Pin 22 and Pin 14, if Pin 14 is configured as THERM, determined by Bit 0 and Bit 1 (Pin 14 Func) of Configuration Register 4 (0x7D). When THERM is asserted, if the fans are running and the boost bit is set, then the fans run at full speed. Alternatively, THERM can be programmed so that a timer is triggered to time how long THERM has been asserted. THERM = 0 enables +2.5VIN measurement on Pin 22 and disables THERM. If Bits [5:7] of Configuration Register 5 (0x7C) are set, THERM is bidirectional. If they are 0, THERM is a timer input only. Pin 14 Func (0x7D) THERM/+2.5VIN (0x78) Pin 22 Pin 14 00 01 10 11 00 01 10 11 0 0 0 0 1 1 1 1 +2.5VIN +2.5VIN +2.5VIN +2.5VIN THERM +2.5VIN THERM THERM TACH4 TACH4 SMBALERT N/A TACH4 THERM SMBALERT N/A When THERM is an input and BOOST = 1, assertion of THERM causes all fans to run at the maximum programmed duty cycle for fail-safe cooling. FAST = 1 enables fast TACH measurements on all channels. This increases the TACH measurement rate from once per second to once every 250 ms (4x). DC1 = 1 enables TACH measurements to be continuously made on TACH1. Fans must be driven by dc. Setting this bit prevents pulse stretching because it is not required for dc-driven motors. DC2 = 1 enables TACH measurements to be continuously made on TACH2. Fans must be driven by dc. Setting this bit prevents pulse stretching because it is not required for dc-driven motors. DC3 = 1 enables TACH measurements to be continuously made on TACH3. Fans must be driven by dc. Setting this bit prevents pulse stretching because it is not required for dc-driven motors. DC4 = 1 enables TACH measurements to be continuously made on TACH4. Fans must be driven by dc. Setting this bit prevents pulse stretching because it is not required for dc-driven motors. Bits [3:0] of this register become read-only when the Configuration Register 1 LOCK (0x40) bit is set to 1. Any further attempts to write to Bits [3:0] have no effect. Table 73. Register 0x79--THERM Timer Status Register (Power-On Default = 0x00) Bit No. [0] Mnemonic ASRT/ TMR0 R/W R/W [7:1] TMR R/W Description This bit is set high on the assertion of the THERM input and is cleared on read. If the THERM assertion time exceeds 45.52 ms, this bit is set and becomes the LSB of the 8-bit TMR reading. This allows THERM assertion times from 45.52 ms to 5.82 sec to be reported back with a resolution of 22.76 ms. Times how long THERM input is asserted. These seven bits read zero until the THERM assertion time exceeds 45.52 ms. Table 74. Register 0x7A--THERM Timer Limit Register (Power-On Default = 0x00) Bit No. [7:0] Mnemonic LIMT R/W R/W Description Sets maximum THERM assertion length allowed before an interrupt is generated. This is an 8-bit limit with a resolution of 22.76 ms allowing THERM assertion limits of 45.52 ms to 5.82 s to be programmed. If the THERM assertion time exceeds this limit, Bit 5 (FAN4/THERM) of Interrupt Status 2 register (0x42) is set. If the limit value is 0x00, an interrupt is generated immediately on the assertion of the THERM input. If THERM is configured as an output, the THERM timer limit should be set to 0xFF to avoid unwanted alerts from being generated. Rev. 0 | Page 68 of 76 ADT7490 Table 75. Register 0x7B--TACH Pulses per Revolution Register (Power-On Default = 0x55) Bit No. [1:0] Mnemonic FAN1 R/W R/W [3:2] FAN2 R/W [5:4] FAN3 R/W [7:6] FAN4 R/W Description Sets number of pulses to be counted when measuring Fan 1 speed. Can be used to determine fan pulses per revolution for unknown fan type. Bit Code Pulses Counted 00 1 01 2 (default) 10 3 11 4 Sets number of pulses to be counted when measuring Fan 2 speed. Can be used to determine fan pulses per revolution for unknown fan type. Bit Code Pulses Counted 00 1 01 2 (default) 10 3 11 4 Sets number of pulses to be counted when measuring Fan 3 speed. Can be used to determine fan pulses per revolution for unknown fan type. Bit Code Pulses Counted 00 1 01 2 (default) 10 3 11 4 Sets number of pulses to be counted when measuring Fan 4 speed. Can be used to determine fan pulses per revolution for unknown fan type. Bit Code Pulses Counted 00 1 01 2 (default) 10 3 11 4 Table 76. Register 0x7C--Configuration Register 5 (Power-On Default = 0x01) Bit No. [0] Mnemonic TWOS COMPL R/W1 R/W [1] Temp Offset R/W [2] [3] [4] RES RES PECI R1 THERM Output Only R/W R/W R/W Description TWOS COMPL = 1 sets the temperature range to the twos complement temperature range. TWOS COMPL = 0 changes the temperature range to the Offset 64 temperature range. When this bit is changed, the ADT7490 interprets all relevant temperature register values as defined by this bit. Temp Offset = 0 sets offset range to -63C to +64C with 0.5C resolution. Temp Offset = 1 sets offset range to -63C to +127C with 1C resolution. These settings apply to Register 0x70, Register 0x71, and Register 0x72 (Remote 1, Internal, and Remote 2 Temperature offset registers. Note that PECI offset is always 1C resolution). Reserved. Reserved. PECI R1 = 1 enables THERM assertions when the PECI temperature read is higher than the PECI TCONTROL limit and the THERM pin is bidirectional. If THERM is configured as an output, the THERM timer limit register (0x7A) should be set to 0xFF to avoid unwanted alerts from being generated. PECI R1 = 0 indicates that the THERM pin is configured as a timer input only. Can also be disabled by writing one of the following values to the PECI TCONTROL limit register (0x3D): Writing -64C in Offset 64 mode. Writing -128C in twos complement mode. Rev. 0 | Page 69 of 76 ADT7490 Bit No. [5] Mnemonic R1 THERM Output Only R/W1 R/W [6] Local THERM Output Only R/W [7] R2 THERM Output Only R/W 1 Description R1 = 1 enables THERM assertions when the Remote 1 temperature read is higher than the Remote 1 THERM limit and the THERM pin is bidirectional. If THERM is configured as an output, the THERM timer limit (Register 0x7A) should be set to 0xFF to avoid unwanted alerts from being generated. R1 = 0 indicates that the THERM pin is configured as a timer input only. Can also be disabled by writing one of the following values to the Remote 1 THERM Temp Limit register (0x6A): Writing -64C in Offset 64 mode. Writing -128C in twos complement mode. R1 = 1 enables THERM assertions when the Local temperature read is higher than the Local THERM limit and the THERM pin is bidirectional. If THERM is configured as an output, the THERM timer limit (Register 0x7A) should be set to 0xFF to avoid unwanted alerts from being generated. R1 = 0 indicates that the THERM pin is configured as a timer input only. Can also be disabled by writing one of the below values to the Local THERM Limit register (0x6B): Writing -64C in Offset 64 mode. Writing -128C in twos complement mode. R1 = 1 enables THERM assertions when the Remote 2 temperature read is higher than the Remote 2 THERM limit and the THERMpin is bidirectional. If THERM is configured as an output the THERM timer limit (Register 0x7A) should be set to 0xFF to avoid unwanted alerts from being generated. R1 = 0 indicates that the THERM pin is configured as a timer input only. C an also be disabled by writing one of the below values to the Remote 2 THERM Temp Limit register (0x6C): Writing -64C in Offset 64 mode. Writing -128C in twos complement mode. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Table 77. Register 0x7D--Configuration Register 4 (Power-On Default = 0x00) Bit No. [1:0] Mnemonic Pin 14 Func R/W1 R/W [2] THERM Disable R/W [3] Max/Full on THERM R/W [4] R/W [5] BpAtt +2.5VIN BpAtt VCCP [6] BpAtt +5VIN R/W [7] BpAtt +12VIN R/W 1 R/W Description These bits set the functionality of Pin 14. 00 = TACH4 (default) 01 = THERM 10 = SMBALERT 11 = Reserved THERM Disable = 0 enables THERM overtemperature output assuming THERM is correctly configured (0x78, 0x7C, and 0x7D). THERM Disable = 1 disables THERM overtemperature output on all channels. THERM can also be disabled on any channel by: Writing -64C to the appropriate THERM temperature limit in Offset 64 mode. Writing -128C to the appropriate THERM temperature limit in twos complement mode. Max/Full on THERM = 0 indicates that fans go to 100% when THERM temperature limit is exceeded. Max/Full on THERM = 1 indicates that fans go to maximum speed (0x38, 0x39, 0x3A) when THERM temperature limit is exceeded. Bypass +2.5VIN attenuator. When set, the measurement scale for this channel changes from 0 V (0x00) to 2.25 V (0xFF). Bypass VCCP attenuator. When set, the measurement scale for this channel changes from 0 V (0x00) to 2.25 V (0xFF). Bypass +5VIN attenuator. When set, the measurement scale for this channel changes from 0 V (0x00) to 2.25 V (0xFF). Bypass +12VIN attenuator. When set, the measurement scale for this channel changes from 0 V (0x00) to 2.25 V (0xFF). This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Rev. 0 | Page 70 of 76 ADT7490 Table 78. Register 0x7E--Manufacturer's Test Register 1 (Power-On Default = 0x00) Bit No. [7:0] Mnemonic Reserved R/W Read-only Description Manufacturer's test register. These bits are reserved for manufacturer's test purposes and should not be written to under normal operation. Table 79. Register 0x7F--Manufacturer's Test Register 2 (Power-On Default = 0x00) Bit No. [7:0] Mnemonic Reserved R/W Read-only Description Manufacturer's test register. These bits are reserved for manufacturer's test purposes and should not be written to under normal operation. Table 80. Register 0x80--GPIO Configuration Register (Power-On Default = 0x00) Bit No. [1:0] [2] Mnemonic RES GPIO2 R/W Reserved R/W [3] GPIO1 R/W [4] [5] [6] [7] GPIO2 POL GPIO1 POL GPIO2 DIR GPIO1 DIR R/W R/W R/W R/W Description Reserved. If GPIO2 is set to input, this register reflects the state of the pin. If GPIO2 is configured as an output, writing to this register asserts the output high or low depending on the polarity. If GPIO1 is set to input, this register reflects the state of the pin. If GPIO1 is configured as an output, writing to this register asserts the output high or low depending on the polarity. GPIO2 polarity bit. Set to 0 for active low. Set to 1 for active high. GPIO1 polarity bit. Set to 0 for active low. Set to 1 for active high. GPIO2 direction bit. Set to 1 for GPIO1 to act as an input, set to 0 for GPIO2 to act as an output. GPIO1 direction bit. Set to 1 for GPIO1 to act as an input, set to 0 for GPIO1 to act as an output. Table 81. Register 0x81--Interrupt Status Register 4 (Power-On Default = 0x00) Bit No. [2:0] [3] Mnemonic RES PECI1 R/W Read-only Read-only [4] PECI2 Read-only [5] PECI3 Read-only [6] IMON Read-only [7] VTT Read-only Description Reserved. A Logic 1 indicates that the PECI high or low limit has been exceeded by the PECI value from PECI Client Address 0x31. This bit is cleared on a read of the status register only if the error condition has subsided. A Logic 1 indicates that the PECI high or low limit has been exceeded by the PECI value from PECI Client Address 0x32. This bit is cleared on a read of the status register only if the error condition has subsided. A Logic 1 indicates that the PECI high or low limit has been exceeded by the PECI value from PECI Client Address 0x33. This bit is cleared on a read of the status register only if the error condition has subsided. A Logic 1 indicates that the IMON high or low limit has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. A Logic 1 indicates that the VTT high or low limit has been exceeded. This bit is cleared on a read of the status register only if the error condition has subsided. Table 82. Register 0x82--Interrupt Mask Register 3 (Power-On Default = 0x00)1 Bit No. [0] [1] [2] [3] [6:4] [7] 1 Mnemonic PECI0 DATA COMM OVT RES OOL R/W R/W R/W R/W R/W R/W R/W Description A Logic 1 masks SMBALERT assertions for out-of-limit conditions on PECI0. A Logic 1 masks SMBALERT assertions for PECI data errors. A Logic 1 masks SMBALERT assertions for PECI communications errors. OVT = 1 masks SMBALERT for overtemperature THERM conditions. Reserved. OOL = 1 masks SMBALERT assertions when the OOL status bit is set. Note that the OOL mask bit is independent of the individual mask bits of Interrupt Mask 4 register (0x83). Therefore, if the intention is to mask SMBALERT assertions for any of the Status Register 4 bits, OOL must also be masked. If the mask bits in Register 0x82 are set, it is also necessary to set the OOL mask bit in Register 0x75 to ensure the SMBALERT output is not asserted. Rev. 0 | Page 71 of 76 ADT7490 Table 83. Register 0x83--Interrupt Mask Register 4 (Power-On Default = 0x00)1 Bit No. [2:0] [3] [4] [5] [6] [7] 1 Mnemonic RES PECI1 PECI2 PECI3 IMON VTT R/W R/W R/W R/W R/W R/W R/W Description Reserved. A Logic 1 masks ALERT assertions for out-of-limit conditions on PECI1. A Logic 1 masks ALERT assertions for out-of-limit conditions on PECI2. A Logic 1 masks ALERT assertions for out-of-limit conditions on PECI3. A Logic 1 masks ALERT assertions for out-of-limit conditions on IMON. A Logic 1 masks ALERT assertions for out-of-limit conditions on VTT. If the mask bits in Register 0x83 are set, it is also necessary to set the OOL mask bit in Register 0x82 to ensure the SMBALERT output is not asserted. Table 84. VTT, IMON Limit Registers R/W1 R/W R/W R/W R/W Register Address 0x84 0x85 0x86 0x87 1 Description VTT Low Limit IMON Low Limit VTT High Limit IMON High Limit Power-On Default 0x00 0x00 0xFF 0xFF These registers becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to these registers fail. Table 85. Register 0x88--PECI Configuration Register 2 (Power-On Default = 0x00) Bit No. [2:0] [3] Mnemonic RES DOM3 R/W1 R/W R/W [4] DOM2 R/W [5] DOM1 R/W [7:6] #CPU R/W 1 Description Reserved. CPU Domain Count Information. Set to 0 indicates that CPU 4 associated with the PECI3 reading has a single domain (default). Set to 1 indicates that the system CPU4 contains two domains. CPU Domain Count Information. Set to 0 indicates that CPU 3 associated with the PECI2 reading has a single domain (default). Set to 1 indicates that the system CPU3 contains two domains. CPU Domain Count Information. Set to 0 indicates that CPU 2 associated with the PECI1 reading has a single domain (default). Set to 1 indicates that the system CPU2 contains two domains. CPU Count. These bits indicate the number of CPUs in the system, which provide PECI thermal information to the ADT7490. 00 = 1 CPU (default); indicates that PECI0 data is available from CPU 1 at Address 0x30. 01 = 2 CPUs; indicates that PECI0 data is available from CPU1 at Address 0x30 and PECI1 data is available from CPU 2 at Address 0x31. 10 = 3 CPUs; indicates that PECI0 data is available from CPU1 at Address 0x30, PECI1 data is available from CPU 2 at Address 0x31 and PECI2 data is available from CPU 3 at Address 0x32. 11 = 4 CPUs; indicates that PECI0 data is available from CPU1 at Address 0x30, PECI1 data is available from CPU 2 at Address 0x31, PECI2 data is available from CPU 3 at Address 0x32 and PECI3 data is available from CPU 4 at Address 0x33. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Table 86. Operating Point Registers1, 2 Register Address 0x8A 0x8B 0x8C 0x8D 1 2 3 R/W3 R/W R/W R/W R/W Description PECI operating point register Remote 1 operating point register (default = 100C). Local temperature operating point register (default = 100C). Remote 2 operating point register (default = 100C). Power-On Default 0xFB 0x64 0x64 0x64 These registers set the target operating point for each temperature channel when the dynamic TMIN control feature is enabled. The fans being controlled are adjusted to maintain temperature about an operating point. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Rev. 0 | Page 72 of 76 ADT7490 Table 87. Register 0x8E--Dynamic TMIN Control Register 1 (Power-On Default = 0x00) Bit No. [0] Mnemonic CYR2 R/W1 R/W [1] VCCPLO R/W [2] PHTR1 Read/write [3] PHTL R/W [4] PHTR2 R/W [5] R1T R/W [6] LT R/W [7] R2T R/W 1 Description MSB of 3-Bit Remote 2 Cycle Value. The other two bits of the code reside in the Dynamic TMIN Control Register 2 (0x8F). These three bits define the delay time between making subsequent TMIN adjustments in the control loop in terms of the number of monitoring cycles. The system has associated thermal time constants that need to be found to optimize the response of fans and the control loop. VCCPLO = 1. When the power is supplied from 3.3 V STANDBY and the core voltage (VCCP) drops below its VCCP low limit value (0x46), the following occurs: Status Bit 1 in Status Register 1 is set. SMBALERT is generated, if enabled. PROCHOT monitoring is disabled. Dynamic TMIN control is disabled. The device is prevented from entering shutdown. Everything is re-enabled once VCCP increases above the VCCP low limit. PHTR1 = 1 copies the Remote 1 current temperature to the Remote 1 operating point register if THERM is asserted. The operating point contains the temperature at which THERM is asserted, allowing the system to run as quietly as possible without affecting system performance. PHTR1 = 0 ignores any THERM assertions on the THERM pin. The Remote 1 operating point register reflects its programmed value. PHTL = 1 copies the local channel's current temperature to the local operating point register if THERM is asserted. The operating point contains the temperature at which THERM is asserted. This allows the system to run as quietly as possible without affecting system performance. PHTL = 0 ignores any THERM assertions on the THERM pin. The local temperature operating point register reflects its programmed value. PHTR2 = 1 copies the Remote 2 current temperature to the Remote 2 operating point register if THERM is asserted. The operating point contains the temperature at which THERM is asserted, allowing the system to run as quietly as possible without affecting system performance. PHTR2 = 0 ignores any THERM assertions on the THERM pin. The Remote 2 operating point register reflects its programmed value. R1T = 1 enables dynamic TMIN control on the Remote 1 temperature channel. The chosen TMIN value is dynamically adjusted based on the current temperature, operating point, and high and low limits for this zone. R1T = 0 disables dynamic TMIN control. The TMIN value chosen is not adjusted, and the channel behaves as described in the Automatic Fan Control Overview section. LT = 1 enables dynamic TMIN control on the local temperature channel. The chosen TMIN value is dynamically adjusted based on the current temperature, operating point, and high and low limits for this zone. LT = 0 disables dynamic TMIN control. The TMIN value chosen is not adjusted, and the channel behaves as described in the Automatic Fan Control Overview section. R2T = 1 enables dynamic TMIN control on the Remote 2 temperature channel. The chosen TMIN value is dynamically adjusted based on the current temperature, operating point, and high and low limits for this zone. R2T = 0 disables dynamic TMIN control. The TMIN value chosen is not adjusted, and the channel behaves as described in the Automatic Fan Control Overview section. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Rev. 0 | Page 73 of 76 ADT7490 Table 88. Register 0x8F--Dynamic TMIN Control Register 2 (Power-On Default = 0x00) Bit No. [2:0] Mnemonic CYR1 R/W1 R/W [5:3] CYL R/W [7:6] CYR2 R/W 1 Description 3-Bit Remote 1 Cycle Value. These three bits define the delay time between making subsequent TMIN adjustments in the control loop for the Remote 1 channel in terms of number of monitoring cycles. The system has associated thermal time constants that need to be found to optimize the response of fans and the control loop. Bit Code Decrease Cycle Increase Cycle 000 8 cycles (1 sec) 16 cycles (2 sec) 001 16 cycles (2 sec) 32 cycles (4 sec) 010 32 cycles (4 sec) 64 cycles (8 sec) 011 64 cycles (8 sec) 128 cycles (16 sec) 100 128 cycles (16 sec) 256 cycles (32 sec) 101 256 cycles (32 sec) 512 cycles (64 sec) 110 512 cycles (64 sec) 1024 cycles (128 sec) 111 1024 cycles (128 sec) 2048 cycles (256 sec) 3-Bit Local Temperature Cycle Value. These three bits define the delay time between making subsequent TMIN adjustments in the control loop for the local temperature channel in terms of number of monitoring cycles. The system has associated thermal time constants that need to be found to optimize the response of fans and the control loop. Bit Code Decrease Cycle Increase Cycle 000 8 cycles (1 sec) 16 cycles (2 sec) 001 16 cycles (2 sec) 32 cycles (4 sec) 010 32 cycles (4 sec) 64 cycles (8 sec) 011 64 cycles (8 sec) 128 cycles (16 sec) 100 128 cycles (16 sec) 256 cycles (32 sec) 101 256 cycles (32 sec) 512 cycles (64 sec) 110 512 cycles (64 sec) 1024 cycles (128 sec) 111 1024 cycles (128 sec) 2048 cycles (256 sec) 2 LSBs of 3-Bit Remote 2 Cycle Value. The MSB of the 3-bit code resides in the Dynamic TMIN Control Register 1 (Register 0x8E). These three bits define the delay time between making subsequent TMIN adjustments in the control loop for the Remote 2 channel in terms of number of monitoring cycles. The system has associated thermal time constants that need to be found to optimize the response of fans and the control loop. Bit Code Decrease Cycle Increase Cycle 000 8 cycles (1 sec) 16 cycles (2 sec) 001 16 cycles (2 sec) 32 cycles (4 sec) 010 32 cycles (4 sec) 64 cycles (8 sec) 011 64 cycles (8 sec) 128 cycles (16 sec) 100 128 cycles (16 sec) 256 cycles (32 sec) 101 256 cycles (32 sec) 512 cycles (64 sec) 110 512 cycles (64 sec) 1024 cycles (128 sec) 111 1024 cycles (128 sec) 2048 cycles (256 sec) This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Rev. 0 | Page 74 of 76 ADT7490 Table 89. Register 0x90--Dynamic TMIN Control Register 3 (Power-On Default = 0x00) Bit No. [2:0] [5:3] Mnemonic RES CYP R/W1 Reserved R/W [6] PHTP R/W [7] PECI R/W 1 Description Reserved. 3-Bit PECI Temperature Cycle Value. These three bits define the delay time between making subsequent TMIN adjustments in the control loop for the PECI temperature channels in terms of number of monitoring cycles. The system has associated thermal time constants that need to be found to optimize the response of fans and the control loop. Bit Code Decrease Cycle Increase Cycle 000 8 cycles (1 sec) 16 cycles (2 sec) 001 16 cycles (2 sec) 32 cycles (4 sec) 010 32 cycles (4 sec) 64 cycles (8 sec) 011 64 cycles (8 sec) 128 cycles (16 sec) 100 128 cycles (16 sec) 256 cycles (32 sec) 101 256 cycles (32 sec) 512 cycles (64 sec) 110 512 cycles (64 sec) 1024 cycles (128 sec) 111 1024 cycles (128 sec) 2048 cycles (256 sec) PHTR1 = 1 copies the PECI0 current reading to the PECI operating point register if THERM is asserted. The operating point contains the temperature at which THERM is asserted, allowing the system to run as quietly as possible without affecting system performance. PHTR1 = 0 ignores any THERM assertions on the THERM pin. The PECI operating point register reflects its programmed value. PECI = 1 enables dynamic TMIN control on the PECI temperature channel. The chosen TMIN value is dynamically adjusted based on the current temperature, operating point, and high and low limits for this zone. PECI = 0 disables dynamic TMIN control. The TMIN value chosen is not adjusted and the channel behaves as described in the Automatic Fan Control Overview section. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any subsequent attempts to write to this register fail. Table 90. Register 0x94--PECI0 Temperature Offset (Power-On Default = 0x00) Bit No. [7:0] 1 R/W1 R/W Description Allows a temperature offset to be automatically applied to the PECI0 channel measurements. The programmable offset range is from -63C to +127C with 1C resolution. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Table 91. Register 0x95--PECI1 Temperature Offset (Power-On Default = 0x00) Bit No. [7:0] 1 R/W1 R/W Description Allows a temperature offset to be automatically applied to the PECI1 channel measurements. The programmable offset range is from -63C to +127C with 1C resolution. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Table 92. Register 0x96--PECI2 Temperature Offset (Power-On Default = 0x00) Bit No. [7:0] 1 R/W1 R/W Description Allows a temperature offset to be automatically applied to the PECI2 channel measurements. The programmable offset range is from -63C to +127C with 1C resolution. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Table 93. Register 0x97--PECI3 Temperature Offset (Power-On Default = 0x00) Bit No. [7:0] 1 R/W1 R/W Description Allows a temperature offset to be automatically applied to the PECI3 channel measurements. The programmable offset range is from -63C to +127C with 1C resolution. This register becomes read-only when the Configuration Register 1 (0x40) LOCK bit is set to 1. Any further attempts to write to this register have no effect. Rev. 0 | Page 75 of 76 ADT7490 OUTLINE DIMENSIONS 0.345 0.341 0.337 24 13 0.158 0.154 0.150 1 12 0.244 0.236 0.228 PIN 1 0.069 0.053 0.065 0.049 0.010 0.004 0.025 BSC COPLANARITY 0.004 0.012 0.008 SEATING PLANE 0.010 0.006 8 0 0.050 0.016 COMPLIANT TO JEDEC STANDARDS MO-137AE Figure 63. 24-Lead Shrink Small Outline Package [QSOP] (RQ-24) Dimensions shown in inches ORDERING GUIDE Model ADT7490ARQZ 1 ADT7490ARQZ-REEL1 ADT7490ARQZ-REEL71 EVAL-ADT7490EBZ1 1 Termperature Range -40C to +125C -40C to +125C -40C to +125C Package Description 24-Lead QSOP 24-Lead QSOP 24-Lead QSOP Evaluation Board Z = RoHS Compliant Part. (c)2007 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D06789-0-7/07(0) Rev. 0 | Page 76 of 76 Package Option RQ-24 RQ-24 RQ-24