AD ADM1029

a
Dual PWM Fan Controller and Temperature
Monitor for High Availability Systems
ADM1029*
FEATURES
Software Programmable and Automatic Fan Speed
Control
Automatic Fan Speed Control Allows Control
Independent of CPU Intervention after Initial Setup
Control Loop Minimizes Acoustic Noise and Power
Consumption
Remote and Local Temperature Monitoring
Dual Fan Speed Measurement
Supports Backup and Redundant Fans
Supports Hot Swapping of Fans
Cascadable Fault Output Allows Fault Signaling
between Multiple ADM1029s
Address Pin Allows Up to Eight ADM1029s in A System
Small 24-Lead QSOP Package
APPLICATIONS
Network Servers and Personal Computers
Microprocessor-Based Office Equipment
High Availability Telecommunications Equipment
FUNCTIONAL BLOCK DIAGRAM
VCC
SCL
SERIAL BUS
INTERFACE
SDA
ADM1029
ADDRESS POINTER
REGISTER
SLAVE ADDRESS
REGISTER
INTERRUPT MASK
REGISTERS
PRESENT1
FAN 1 STATUS
REGISTER
FAULT1
DRIVE1
INT
INTERRUPT
MASKING
INTERRUPT STATUS
REGISTERS
CFAULT
FAN 1 MIN
SPEED REGISTER
PWM
CONTROLLER
FAN 1 ALARM
SPEED REGISTER
LIMIT COMPARATOR
FAN 1 HOT-PLUG
SPEED REGISTER
RESET
VALUE AND LIMIT
REGISTERS
GPIO2
TACH1
G.P. I/O REGISTER
FAN SPEED
COUNTER
TACH2
PRESENT2
FAN 2 STATUS
REGISTER
AIN1/GPIO1
FAN 2 MIN
SPEED REGISTER
D2+/GPIO6
AIN0/GPIO0
FAULT2
ADC
DRIVE2
PWM
CONTROLLER
FAN 2 ALARM
SPEED REGISTER
FAN 2 HOT-PLUG
SPEED REGISTER
ANALOG
MUX
REMOTE SENSOR
SIGNAL
CONDITIONING
D2–/GPIO5
D1+/GPIO4
D1–/GPIO3
BANDGAP
REFERENCE
TMIN/INSTALL
BANDGAP
TEMP SENSOR
ADD
GND
*Protected by U.S. Patent Numbers 6,255,973 and 6,188,189
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. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700
www.analog.com
Fax: 781/326-8703
© Analog Devices, Inc., 2001
ADM1029–SPECIFICATIONS1, 2 (T = T
A
MIN
to TMAX, VCC = VMIN to VMAX, unless otherwise noted.)
Parameter
Min
Typ
Max
Unit
Test Conditions/Comments
POWER SUPPLY
Supply Voltage, VCC
Supply Current, ICC
3.0
3.30
1.7
1.5
10
5.5
3.0
V
mA
mA
µA
Interface Inactive, ADC Active
ADC Inactive, DAC Active
Shutdown Mode
±1
1
±3
1
90
5.5
±3
TEMPERATURE-TO-DIGITAL CONVERTER
Internal Sensor Accuracy
Resolution
External Diode Sensor Accuracy
Resolution
Remote Sensor Source Current
ANALOG-TO-DIGITAL CONVERTER
Total Unadjusted Error, TUE
Differential Nonlinearity, DNL
Power Supply Sensitivity
Conversion Time
Analog Input or Internal Temperature
External Temperature
±1
60
±5
±1
±1
11.6
185.6
FAN RPM-TO-DIGITAL CONVERTER
Accuracy
Full-Scale Count
FAN 1 and FAN 2 Nominal Input RPM 4
°C
°C
°C
°C
µA
µA
%
LSB
%/ V
0°C ≤ TA ≤ 100°C
High Level
Low Level
Note 3
ms
ms
±6
255
%
60°C ≤ TA ≤ 100°C: VCC = 3.3 V
Divisor = 1, Fan Count = 153
Divisor = 2, Fan Count = 153
Divisor = 4, Fan Count = 153
Divisor = 8, Fan Count = 153
8800
4400
2200
1100
60.0
63.6
rpm
rpm
rpm
rpm
kHz
OPEN-DRAIN DIGITAL OUTPUTS (INT, CFAULT)
Output Low Voltage, V OL
High Level Output Current, I OH
0.1
0.4
1
V
µA
IOUT = –6.0 mA, VCC = 3 V
VOUT = VCC
OPEN-DRAIN SERIAL DATA BUS OUTPUT (SDA)
Output Low Voltage, V OL
High Level Output Leakage Current, I OH
0.1
0.4
1
V
µA
IOUT = –6.0 mA, VCC = 3 V
VOUT = VCC
0.8
V
V
mV
Internal Clock Frequency
SERIAL BUS DIGITAL INPUTS (SCL, SDA)
Input High Voltage, V IH
Input Low Voltage, VIL
Hysteresis
DIGITAL INPUT LOGIC LEVELS RESET,
GPIO1-6, FAULT1/2, TACH1/2, PRESENT1/2
Input High Voltage, V IH
Input Low Voltage, VIL
DIGITAL INPUT CURRENT
Input High Current, I IH
Input Low Current, IIL
Input Capacitance, CIN
56.4
2.1
500
2.1
0.8
–1
+1
20
V
V
µA
µA
pF
VIN = VCC
VIN = 0
kHz
ns
µs
µs
µs
µs
See Figure 1
See Figure 1
See Figure 1
See Figure 1
See Figure 1
See Figure 1
5
SERIAL BUS TIMING
Clock Frequency, fSCLK
Glitch Immunity, tSW
Bus Free Time, tBUF
Start Setup Time, tSU:STA
Start Hold Time, tHD:STA
Stop Condition Setup Time, t SU:STO
10
100
50
4.7
4.7
4
4
–2–
REV. 0
ADM1029
Parameter
Min
Typ
Max
Unit
Test Conditions/Comments
50
1000
300
µs
µs
ns
ns
ns
ns
See Figure 1
See Figure 1
See Figure 1
See Figure 1
See Figure 1
See Figure 1
5
SERIAL BUS TIMING (continued)
SCL Low Time, tLOW
SCL High Time, t HIGH
SCL, SDA Rise Time, t R
SCL, SDA Fall Time, t F
Data Setup Time, t SU:DAT
Data Hold Time, tHD:DAT
1.3
4
250
300
NOTES
1
All voltages are measured with respect to GND, unless otherwise specified.
2
Typicals are at T A = 25°C and represent most likely parametric norm. Shutdown current typ is measured with V CC = 3.3 V.
3
TUE (Total Unadjusted Error) includes Offset, Gain, and Linearity errors of the ADC, multiplexer.
4
The total fan count is based on two pulses per revolution of the fan tachometer output.
5
Timing specifications are tested at logic levels of V IL = 0.8 V for a falling edge and V IH = 2.1 V for a rising edge.
Specifications subject to change without notice.
PIN CONFIGURATION
ABSOLUTE MAXIMUM RATINGS*
Positive Supply Voltage (VCC) . . . . . . . . . . . . . . . . . . . . . 6.5 V
Voltage on Pins 13–18 . . . . . . . . . . . . –0.3 V to (VCC + 0.3 V)
Voltage on Any Other Input or Output Pin . . . . –0.3 V to +6.5 V
Input Current at Any Pin . . . . . . . . . . . . . . . . . . . . . . . ± 5 mA
Package Input Current . . . . . . . . . . . . . . . . . . . . . . . ± 20 mA
Maximum Junction Temperature (TJ max) . . . . . . . . . . 150°C
Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C
Lead Temperature
Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . . 215°C
Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200°C
ESD Rating All Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . 2000 V
*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.
DRIVE1
1
24 DRIVE2
FAULT1
2
23 FAULT2
TACH1
3
22 TACH2
PRESENT1
4
21 PRESENT2
SCL
5
20 AIN1/GPIO1
SDA
6
ADM1029
GND
7
TOP VIEW
(Not To Scale)
VCC
8
17 D2+/GPIO6
CFAULT
9
16 D2–/GPIO5
INT 10
THERMAL CHARACTERISTICS
24-Lead QSOP Package:
θJA = 105°C/W, θJC = 39°C/W
19 AIN0/GPIO0
18 TMIN/INSTALL
15 ADD
GPIO2 11
14 D1+/GPIO4
RESET 12
13 D2–/GPIO3
ORDERING GUIDE
Temperature
Range
Model
ADM1029ARQ 0°C to 100°C
Package
Description
Package
Option
Shrink Small Outline RQ-24
Package (QSOP)
tR
tF
tHD;STA
tLOW
SCL
tHD;STA
tHIGH
tHD;DAT
tSU;STA
tSU;DAT
tSU;STO
SDA
tBUF
P
S
S
Figure 1. Diagram for Serial Bus Timing
REV. 0
–3–
P
ADM1029
PIN FUNCTION DESCRIPTIONS
Pin No.
Mnemonic
Description
1
DRIVE1
2
FAULT1
3
TACH1
4
PRESENT1
5
6
7
8
SCL
SDA
GND
VCC
9
CFAULT
10
INT
11
12
13
GPIO2
RESET
D1–/GPIO3
14
D1+/GPIO4
15
16
ADD
D2–/GPIO5
17
D2+/GPIO6
18
TMIN/INSTALL
19
AIN0/GPIO0
20
AIN1/GPIO1
21
PRESENT2
22
TACH2
23
FAULT2
24
DRIVE2
Open Drain Digital Output. Pulsewidth Modulated (PWM) output to control the speed of
Fan 1. Requires 10 kΩ typical pull-up resistor.
Open Drain Digital I/O. When used with a fan having a fault output, a Logic 0 input to this pin
signals a fault on Fan 1. Also used as a fault output.
Open Drain Digital Input. Digital fan tachometer input for Fan 1. Will accept logic signals up
to 5 V even when VCC is lower than 5 V.
Open Drain Digital Input. A shorting link in the fan connector holds this pin low when
Fan 1 is connected.
Open Drain Digital Input. Serial Bus Clock. Requires 2.2 kΩ pull-up typical.
Digital I/O. Serial Bus bidirectional data. Open-drain output requires 2.2 kΩ pull-up.
System Ground
Power (3.0 V to 5.5 V). Typically powered from 3.3 V power rail. Bypass with the parallel
combination of 10 µF (electrolytic or tantalum) and 0.1 µF (ceramic) bypass capacitors.
Open Drain Digital I/O. Cascade fault input/output used for fault signaling between
multiple ADM1029s.
Digital Output. Interrupt Request (Open Drain). The output is enabled when Bit 1 of the
Configuration Register is set to 0. The default state is enabled.
Open Drain Digital I/O. General-purpose logic I/O pin.
Open Drain Digital Input. Active low reset input.
Analog Input/Open Drain Digital I/O. Connected to cathode of external temperature-sensing
diode, or may be reconfigured as a general-purpose logic input/output.
Analog Input/Open Drain Digital I/O. Connected to anode of external temperature-sensing
diode, or may be reconfigured as a general-purpose logic input/output.
Eight-Level Analog Input. Used to set the three LSBs of the serial bus address.
Analog Input/Open Drain Digital I/O. Connected to cathode of external temperature-sensing
diode, or may be reconfigured as a general-purpose logic input/output.
Analog Input/Open Drain Digital I/O. Connected to anode of external temperature-sensing
diode, or may be reconfigured as a general-purpose logic input/output.
Eight-Level Analog Input. The voltage on this pin defines whether automatic fan speed control
is enabled, the minimum temperature at which the fan(s) will turn on in automatic speed control mode, and the number of fans that should be installed.
Analog Input/Open Drain Digital I/O. May be configured as a 0 V to 2.5 V analog input or as a
general-purpose digital I/O pin.
Analog Input/Open Drain Digital I/O. May be configured as a 0 V to 2.5 V analog input or as a
general-purpose digital I/O pin.
Open Drain Digital Input. A shorting link in the fan connector holds this pin low when Fan 2
is connected.
Open Drain Digital Input. Digital fan tachometer input for Fan 2. Will accept logic signals up
to 5 V even when VCC is lower than 5 V.
Open Drain Digital I/O. When used with a fan having a fault output, a Logic 0 input to this pin
signals a fault on Fan 2. Also used as a fault output.
Open Drain Digital Output. Pulsewidth Modulated (PWM) output to control the speed of
Fan 2. Requires 10 kΩ typical pull-up resistor.
–4–
REV. 0
Typical Performance Characteristics–ADM1029
110
15
90
80
5
DXP TO GND
70
READING
REMOTE TEMPERATURE ERROR – ⴗC
100
10
0
DXP TO VCC(3.3V)
–5
60
50
40
–10
30
20
–15
10
0
–20
0
3.3
10
30
LEAKAGE RESISTANCE – M⍀
0
100
VIN = 250mV p-p
REMOTE TEMPERATURE ERROR – ⴗC
REMOTE TEMPERATURE ERROR – ⴗC
4.0
3.0
2.5
2.0
1.5
1.0
0.5
0
VIN = 100mV p-p
–1.0
0
1
4
8
12
16
20
50 100 200 300 400 500 600
1
0
–1
–2
–3
–4
–5
–6
–7
–8
–9
–10
–11
–12
–13
–14
–15
–16
1.0
2.2
FREQUENCY – MHz
TPC 2. Remote Temperature Error vs. Power Supply
Noise Frequency
40
50
60
70
80
90
100
110
3.3
4.7
10.0
DXP – DXN CAPACITANCE – nF
22.0
47.0
TPC 5. Remote Temperature Error vs. Capacitance
Between D+ and D–
80
10
9
70
VIN = 100mV p-p
VIN = 60mV p-p
VIN = 40mV p-p
8
7
SUPPLY CURRENT – ␮A
REMOTE TEMPERATURE ERROR – ⴗC
30
TPC 4. Pentium® III Temperature Measurement vs.
ADM1029 Reading
4.5
–0.5
20
MEASURED TEMPERATURE
TPC 1. Remote Temperature Error vs. PC Board Track
Resistance
3.5
10
6
5
4
3
2
VCC = 5V
60
50
40
30
20
VCC = 3.3V
1
10
0
0
–1
0
0
0.4 0.8 10 50 100 150 200 250 300 350 400 450 500 550 600
FREQUENCY – MHz
5
10
25
50
75
100
250
500
750 1000
SCLK FREQUENCY – kHz
TPC 3. Remote Temperature Error vs. Common-Mode
Noise Frequency
TPC 6. Standby Current vs. Clock Frequency
Pentium is a registered trademark of Intel Corporation.
REV. 0
1
–5–
ADM1029
13
10
9
11
LOCAL TEMPERATURE ERROR – ⴗC
REMOTE TEMPERATURE ERROR – ⴗC
12
VIN = 40mV p-p
10
9
8
VIN = 30mV p-p
VIN = 20mV p-p
7
6
5
4
3
2
1
4
3
2
1
0
1
4
8 12 16 20 50 100
200
300
FREQUENCY – MHz
400
500
600
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1.0
VIN = 100mV p-p
5
–1
0
1
4
8
12
16
20
50
100 200 300 400 500 600
FREQUENCY – MHz
TPC 10. Local Sensor Temperature Error vs. Power Supply
Noise Frequency
120
110
100
90
TEMPERATURE – ⴗC
SUPPLY CURRENT – ␮A
6
0
0
VIN = 250mV p-p
7
–1
TPC 7. Remote Temperature Error vs. Differential-Mode
Noise Frequency
80
70
60
50
40
30
20
10
0
1.4
1.8
2.2
2.6
3.0
3.4
3.8
SUPPLY VOLTAGE – V
4.2
0
4.6
TPC 8. Standby Supply Current vs. Supply Voltage
1
2
3
4
5
6
7
TIME – Seconds
8
9
10
TPC 11. ADM1029 Response to Thermal Shock
0.10
1.80
1.75
1.70
1.65
1.60
1.55
1.50
1.45
1.40
1.35
1.30
1.25
1.20
1.15
1.10
1.05
1.00
2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0
0.00
–0.10
–0.20
–0.30
ERROR – ⴗC
SUPPLY CURRENT – mA
8
–0.40
–0.50
–0.60
–0.70
–0.80
–0.90
–1.00
–1.10
–1.20
0
20
40
60
80
85
100
105
120
TEMPERATURE – ⴗC
SUPPLY VOLTAGE – V
TPC 9. Supply Current vs. Supply Voltage
TPC 12. Remote Temperature Error
–6–
REV. 0
ADM1029
0.05
FUNCTIONAL DESCRIPTION
0.00
SERIAL BUS INTERFACE
Control of the ADM1029 is carried out via the serial bus. The
ADM1029 is connected to this bus as a slave device, under the
control of a master device.
–0.05
–0.10
ERROR – ⴗC
–0.15
–0.20
The ADM1029 has a 7-bit serial bus address. The four MSBs of
the address are set to 0101. The three LSBs can be set by the
user to give a total of eight different addresses, allowing up to
eight ADM1029s to be connected to a single serial bus segment.
To minimize device pin count and size, the three LSBs are set
using a single pin (ADD, Pin 15). This is an 8-level input whose
input voltage is set by a potential divider. The voltage on ADD
is sampled immediately after power-up and digitized by the
on-chip ADC to determine the value of the 3 LSBs. Since ADD
is sampled only at power-up, any changes made while power is
on will have no effect.
–0.25
–0.30
–0.35
–0.40
–0.45
–0.50
–0.55
–0.60
0
20
40
60
80
85
100
TEMPERATURE – ⴗC
105
120
TPC 13. Local Temperature Error
VCC
PRODUCT DESCRIPTION
R1
ADD
The ADM1029 is a versatile fan controller and monitor for use
in personal computers, servers, telecommunications equipment,
or any high-availability system where reliable control and monitoring of multiple cooling fans is required. Each ADM1029 can
control the speed of one or two fans and can measure the speed
of fans that have a tachometer output. The ADM1029 can also
measure the temperature of one or two external sensing diodes
or an internal temperature sensor, allowing fan speed to be
adjusted to keep system temperature within acceptable limits. The
ADM1029 has FAULT inputs for use with fans that can signal
failure conditions, and inputs to detect whether or not fans are
connected.
ADM1029
R2
GND
Figure 2. Setting the Serial Address
Table I shows resistor values for setting the 3 LSBs of the serial
bus address. The same principle is used to set the voltage on Pin
18 (TMIN/INSTALL), which controls the automatic fan speed
control function, and also tells the ADM1029 how many fans
should be installed, as described later.
If several ADM1029s are used in a system, their ADD inputs
can tap off a single potential divider, as shown in Figure 3.
The ADM1029 communicates with the host processor over an
System Management (SMBus) serial bus. It supports eight
different serial bus addresses, so that up to eight devices can
be connected to a common bus, controlling up to sixteen fans.
This makes software support and hardware design scalable.
VCC
ADDRESS XXXX111
ADD
ADM1029 #1
1.5k⍀
ADDRESS XXXX110
ADD
ADM1029 #2
1k⍀
The ADM1029 has an interrupt output (INT) that allows it
to signal fault conditions to the host processor. It also has a
separate, cascadable fault output (CFAULT) that allows the
ADM1029 to signal a fault condition to other ADM1029s.
ADDRESS XXXX101
ADD
ADM1029 #3
1k⍀
ADDRESS XXXX100
ADD
ADM1029 #4
1k⍀
ADDRESS XXXX011
The ADM1029 has a number of useful features including an
automatic fan speed control option implemented in hardware
with no software requirement, automatic use of backup fans in
the event of fan failure, and supports hot-swapping of failed fans.
1k⍀
ADDRESS XXXX010
1k⍀
ADDRESS XXXX001
ADD
ADD
ADD
ADM1029 #5
ADM1029 #6
ADM1029 #7
1.5k⍀
ADDRESS XXXX000
ADD
ADM1029 #8
GND
Figure 3. Setting Address of up to Eight ADM1029s
Table I. Resistor Ratios for Setting Serial Bus Address
3 MSBs
of ADC
Ideal Ratio
R2/(R1 + R2)
R1
(k⍀)
R2
(k⍀)
Actual
R2/(R1 + R2)
Error
%
Address
111
110
101
100
011
010
001
000
N/A
0.8125
0.6875
0.5625
0.4375
0.3125
0.1875
N/A
0
18
22
12
15
47
82
∞
∞
82
47
15
12
22
18
0
1
0.82
0.6812
0.5556
0.4444
0.3188
0.18
0
0
+0.75
–0.63
–0.69
+0.69
+0.63
–0.75
0
0101111
0101110
0101101
0101100
0101011
0101010
0101001
0101000
REV. 0
–7–
ADM1029
occur during the low period of the clock signal and remain
stable during the high period, as 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.
The serial bus protocol operates as follows:
1. The master initiates data transfer by establishing a START
condition, defined as a high-to-low transition on the serial
data line SDA, while the serial clock line SCL remains high.
This indicates that an address/data stream will follow. All
slave peripherals connected to the serial bus respond to the
START condition, and shift in the next eight bits, consisting
of a 7-bit address (MSB first) plus an R/W bit, which determines the direction of the data transfer, i.e., whether data
will be written to or read from the slave device.
3. When all data bytes have been read or written, stop conditions are established. In WRITE mode, the master will pull
the data line high during the tenth clock pulse to assert a
STOP condition. In READ mode, the master device will
override the acknowledge bit by pulling the data line high
during the low period before the ninth clock pulse. This is
known as No Acknowledge. The master will then take the
data line low during the low period before the tenth clock
pulse, high during the tenth clock pulse to assert a STOP
condition.
The peripheral whose address corresponds to the transmitted
address responds by pulling the data line low during the low
period before the ninth clock pulse, known as the Acknowledge Bit. All other devices on the bus now remain idle while
the selected device waits for data to be read from or written
to it. If the R/W bit is a 0, the master will write to the slave
device. If the R/W bit is a 1 the master will read from the
slave device.
Any number of bytes of data may 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.
2. 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
1
9
1
9
SCL
0
SDA
1
0
A2
1
A0
A1
D6
D7
R/W
D4
D5
D3
D2
D1
D0
ACK. BY
ADM1029
START BY
MASTER
ACK. BY
ADM1029
FRAME 2
ADDRESS POINTER REGISTER BYTE
FRAME 1
SERIAL BUS ADDRESS BYTE
1
9
SCL (CONTINUED)
SDA (CONTINUED)
D7
D6
D4
D5
D3
D2
D1
D0
ACK. BY
ADM1029
STOP BY
MASTER
FRAME 3
DATA BYTE
Figure 4a. Writing a Register Address to the Address Pointer Register, then Writing Data to the Selected Register
1
9
1
9
SCL
SDA
0
1
0
1
A2
A1
A0
START BY
MASTER
D7
R/W
D6
D5
D4
D3
D2
D1
D0
ACK. BY
ADM1029
ACK. BY
ADM1029
FRAME 1
SERIAL BUS ADDRESS BYTE
STOP BY
MASTER
FRAME 2
ADDRESS POINTER REGISTER BYTE
Figure 4b. Writing to the Address Pointer Register Only
1
9
1
9
SCL
SDA
0
1
0
1
A2
A1
START BY
MASTER
A0
D7
R/W
D6
D5
D4
D3
D2
D1
FRAME 1
SERIAL BUS ADDRESS BYTE
D0
NO ACK.
STOP BY
BY MASTER MASTER
ACK. BY
ADM1029
FRAME 2
DATA BYTE FROM ADM1029
Figure 4c. Reading Data from a Previously Selected Register
–8–
REV. 0
ADM1029
In the case of the ADM1029, write operations contain either
one or two bytes, and read operations contain one byte, and
perform the following functions:
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, 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
contains a second data byte that is written to the register
selected by the address pointer register.
This is illustrated in Figure 4a. The device address is sent over
the bus followed by R/W 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.
After sending its slave address, the first device will then clear its
INT output. The host can then check if the INT is still low and
send the general call again if necessary until all devices asserting
INT have responded.
The ARA function can be disabled by setting Bit 2 of the Configuration Register (address 01h).
TEMPERATURE MEASUREMENT SYSTEM
LOCAL TEMPERATURE MEASUREMENT
The ADM1029 contains an on-chip bandgap temperature sensor,
whose output is digitized by the on-chip ADC. The temperature
data is stored in the Local Temp Value Register (address A0h).
As both positive and negative temperatures can be measured, the
temperature data is stored in two’s complement format, as shown
in Table II. Theoretically, the temperature sensor and ADC can
measure temperatures from –128°C to +127°C with a resolution
of 1°C, but temperatures outside the operating temperature
range of the device cannot be measured by the internal sensor.
When reading data from a register there are two possibilities:
1. If the ADM1029’s Address Pointer Register value is unknown
or not the desired value, it is first necessary to set it to the
correct value before data can be read from the desired data
register. This is done by performing a write to the ADM1029
as before, but only the data byte containing the register address
is sent, as data is not to be written to the register. This is
shown in Figure 4b.
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 4c.
2. 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, so Figure 4b can be omitted.
Note: although 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,
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.
REMOTE TEMPERATURE MEASUREMENT
The ADM1029 can measure the temperature of one or two
remote diode-connected transistors, connected to Pins 13 and
14 and/or 16 and 17. The data from the temperature measurements is stored in the Remote 1 and Remote 2 Temp Value
Registers (addresses A1h and A2h).
If two remote temperature measurements are not required, Pins
16 and 17 can be reconfigured as general-purpose logic I/O
pins, as explained later.
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. The absolute value of VBE varies
from device to device and individual calibration is required to
null this out so, unfortunately, the technique is unsuitable for
mass production.
The technique used in the ADM1029 is to measure the change
in VBE when the device is operated at two different currents.
This is given by:
∆VBE = KT/q × ln(N)
where:
ALERT RESPONSE ADDRESS
The ADM1029 has an interrupt (INT) output that is asserted
low when a fault condition occurs. Several INT outputs can be
wire OR’d to a common interrupt line. When the host processor
receives an interrupt request, it would normally need to read the
interrupt status register of each device to identify which device
had made the interrupt request. However, the ADM1029 supports the optional Alert Response Address function of the SMBus
protocol. When the host processor receives an interrupt request
it can send a general call address (0001100) over the bus. The
device asserting INT will then send its own slave address back
to the host processor, so the device asserting INT can be identified immediately.
If more than one device is asserting INT, all devices will try to
respond with their slave address, but an arbitration process
ensures that only the lowest address will be received by the host.
REV. 0
K is Boltzmann’s constant
q is charge on the carrier
T is absolute temperature in Kelvins
N is ratio of the two currents
Figure 5 shows the input signal conditioning used to measure
the output of a remote temperature sensor. This figure shows
the external sensor as a substrate transistor, provided for temperature monitoring on some microprocessors, but it could equally
well be a discrete transistor.
If a discrete transistor is used, the collector will not be 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.
–9–
ADM1029
VDD
I
NⴛI
IBIAS
VOUT+
D+
REMOTE
SENSING
TRANSISTOR
TO ADC
D–
VOUT–
BIAS
DIODE
LOW-PASS FILTER
fC = 65kHz
Figure 5. Signal Conditioning for Remote Diode Temperature Sensors
To prevent ground noise interfering with the measurement, the
more negative terminal of the sensor is not referenced to ground,
but biased above ground by an internal diode at the D– input. If
the sensor is used in a noisy environment, a capacitor of value
up to 1000 pF may be placed between the D+/D– pins.
TEMPERATURE LIMITS
To measure ∆VBE, the sensor is switched between operating currents
of I and N × I. The resulting waveform is passed through a 65 kHz
low-pass filter to remove noise, and to a chopper-stabilized amplifier
that performs the functions of amplification and rectification of
the waveform to produce a dc voltage proportional to ∆VBE. This
voltage is measured by the ADC to give a temperature output in
8-bit two’s complement format. To further reduce the effects of
noise, digital filtering is performed by averaging the results of 16
measurement cycles. An external temperature measurement takes
nominally 9.6 ms.
The contents of the Local and Remote Temperature Value Registers (addresses A0h to A2h) are compared to the contents of the
High and Low Limit Registers at addresses 90h to 92h and 98h
to 9Ah. How the ADM1029 responds to overtemperature/
undertemperature conditions depends on the status of the Temperature Fault Action Registers (addresses 40h to 42h). The
response of CFAULT, INT, and fan-speed-to-temperature events
depends on the setting of these registers, as explained later.
The results of external temperature measurements are stored in
8-bit, two’s complement format, as illustrated in Table II.
OFFSET REGISTERS
Digital noise and other error sources can cause offset errors in
the temperature measurement, particularly on the remote sensors. The ADM1029 offers a way to minimize these effects. The
offsets on the three temperature channels can be measured during
system characterization and stored as two’s complement values
in three offset registers at addresses 30h to 32h. The offset
values are automatically added to, or subtracted from, the temperature values, depending on whether the two’s complement
number corresponds to a positive or negative offset. Offset values from –15°C to +15°C are allowed.
Table II. Temperature Data Format
Temperature
Digital Output
–128°C
–125°C
–100°C
–75°C
–50°C
–25°C
0°C
+10°C
+25°C
+50°C
+75°C
+100°C
+125°C
+127°C
1000
1000
1001
1011
1100
1110
0000
0000
0001
0011
0100
0110
0111
0111
0000
0011
1100
0101
1110
0111
0000
1010
1001
0010
1011
0100
1101
1111
The default value in the offset registers is zero, so if no offsets
are programmed, the temperature measurements are unaltered.
–10–
REV. 0
ADM1029
LAYOUT CONSIDERATIONS
Table III. Temperature-Specific Registers
Digital boards can be electrically noisy environments, and care
must be taken to protect the analog inputs from noise, particularly when measuring the very small voltages from a remote diode
sensor. The following precautions should be taken:
1. Place the ADM1029 as close as possible to the remote sensing diode. Provided that the worst noise sources such as
clock generators, data/address buses, and CRTs are avoided,
this distance can be 4 to 8 inches.
2. Route the D+ and D– tracks close together, in parallel, with
grounded guard tracks on each side. Provide a ground plane
under the tracks if possible.
3. Use wide tracks to minimize inductance and reduce noise
pickup. Ten mil track minimum width and spacing is
recommended.
GND
10MIL
10MIL
D+
10MIL
10MIL
D–
10MIL
10MIL
GND
10MIL
Figure 6. Arrangement of Signal Tracks
4. Try to minimize the number of copper/solder joints, which
can cause thermocouple effects. Where copper/solder joints
are used, make sure that they are in both the D+ and D–
path and at the same temperature.
Thermocouple effects should not be a major problem as 1°C
corresponds to about 240 µV, and thermocouple voltages are
about 3 µV/oC of temperature difference. Unless there are two
thermocouples with a big temperature differential between
them, thermocouple voltages should be much less than 200 µV.
5. Place 0.1 µF bypass and 1000 pF input filter capacitors close
to the ADM1029.
6. If the distance to the remote sensor is more than 8 inches,
the use of twisted pair cable is recommended. This will work
up to about 6 to 12 feet.
7. For really long distances (up to 100 feet), use shielded
twisted pair such as Belden #8451 microphone cable. Connect the twisted pair to D+ and D– and the shield to GND
close to the ADM1029. Leave the remote end of the shield
unconnected to avoid ground loops.
Because the measurement technique uses switched current
sources, excessive cable and/or filter capacitance can affect the
measurement. When using long cables, the filter capacitor may
be reduced or removed.
Cable resistance can also introduce errors. 1 Ω series resistance
introduces about 0.5°C error.
TEMPERATURE-RELATED REGISTERS
Table III is a list of registers on the ADM1029 that are specific
to temperature measurement and control.
REV. 0
Address
Description
0x06
0x30
0x31
0x32
0x40
0x41
0x42
0x48
0x49
0x4A
0x80
0x81
0x82
0x88
0x89
0x8A
0x90
0x91
0x92
0x98
0x99
0x9A
0xA0
0xA1
0xA2
Temp Devices Installed
Local Temp Offset
Remote 1 Temp Offset
Remote 2 Temp Offset
Local Temp Fault Action
Remote 1 Temp Fault Action
Remote 2 Temp Fault Action
Local Temp Cooling Action
Remote 1 Temp Cooling Action
Remote 2 Temp Cooling Action
Local Temp TMIN
Remote 1 Temp TMIN
Remote 2 Temp TMIN
Local Temp TRANGE/THYST
Remote 1 Temp TRANGE/THYST
Remote 2 Temp TRANGE/THYST
Local Temp High Limit
Remote 1 Temp High Limit
Remote 2 Temp High Limit
Local Temp Low Limit
Remote 1 Temp Low Limit
Remote 2 Temp Low Limit
Local Temp Value
Remote 1 Temp Value
Remote 2 Temp Value
The flowchart in Figure 7 shows how to configure the ADM1029
to measure temperature. It also shows how to configure the
ADM1029’s behavior for out-of-limit temperature measurements.
FAN INTERFACING
The ADM1029 can be interfaced to many types of fan. It can be
used to control the speed of a simple two-wire fan. It can measure the speed of a fan with a tach output, and it can accept a
logic input from fans with a FAULT output. By means of a
shorting link in the fan connector it can also determine if a fan is
present or not and if fans have been hot-swapped.
The ADM1029 can control or monitor one or two fans. Bits 0
and 1 of the Fans Supported In System Register (03h) tell the
ADM1029 how many fans it should be controlling/monitoring.
In the following descriptions “installed” means that the corresponding bit of register 03h is set and the ADM1029 expects to
see a fan interfaced to it. It does not necessarily mean that the
fan is actually, physically, connected.
If a fan is installed, events such as a fault output and hot-swapping
of the fan can cause INT and CFAULT to be asserted, unless
they are masked for that particular event. If a fan is not installed,
but is still physically connected to the ADM1029, these events will
be ignored with respect to asserting INT or CFAULT, but will
still be reflected in the corresponding Fan Status Register.
Setting Bit 0 indicates that Fan 1 is installed and is set to 1
at power-up by default. Setting Bit 1 indicates that Fan 2 is
installed and depends on the state of Pin 18 (TMIN/INSTALL)
at power-up.
–11–
ADM1029
DEFAULTS
LOCAL = 60ⴗC
REMOTE 1 = 70ⴗC
REMOTE 2 = 70ⴗC
CONFIGURE
TEMPERATURE LOW
LIMITS
LOCAL (REG 0x98)
REMOTE 1 (REG 0x99)
REMOTE 2 (REG 0x9A)
DEFAULTS
LOCAL = 80ⴗC
REMOTE 1 = 100ⴗC
REMOTE 2 = 100ⴗC
CONFIGURE
TEMPERATURE HIGH
LIMITS
LOCAL (REG 0x90)
REMOTE 1 (REG 0x91)
REMOTE 2 (REG 0x92)
BIT 0 = 1
BIT 1 = 1
BIT 2 = 1
BIT 3 = 0
BIT 3 = 1
BIT 4 = 1
BIT 5 = 1
BIT 6 = 1
BIT 7
7
ASSERT CFAULT ON OVER-TEMPERATURE
RUN FAN(S) ALARM SPEED ON OVER-TEMPERATURE
ASSERT INT ON OVER-TEMPERATURE
ALARM BELOW LOW TEMP LIMIT
ALARM ABOVE LOW TEMP LIMIT
ASSERT CFAULT WHEN LOW TEMP LIMIT CROSSED
RUN FAN ALARM SPEED ON UNDER-TEMPERATURE
ASSERT INT ON UNDER-TEMPERATURE
LATCHES A TEMPERATURE OUT-OF-LIMIT EVENT
6
5
4
3
2
1
0
IS
TEMPERATURE
>
HIGH LIMIT?
CONFIGURE
TEMPERATURE FAULT
ACTION
LOCAL (REG 0x40)
REMOTE 1 (REG 0x41)
REMOTE 2 (REG 0x42)
YES
CFAULT
IS
TEMPERATURE
>
HIGH LIMIT?
YES
CONFIGURE
TEMPERATURE COOLING
ACTION
LOCAL (REG 0x48)
REMOTE 1 (REG 0x49)
REMOTE 2 (REG 0x4A)
FANS RUN
ALARM SPEED
IS
TEMPERATURE
>
HIGH LIMIT?
YES
INT
CONFIGURE
TEMPERATURE OFFSETS
LOCAL (REG 0x30)
REMOTE 1 (REG 0x31)
REMOTE 2 (REG 0x32)
DEFAULTS
LOCAL = 0ⴗC
REMOTE 1 = 0ⴗC
REMOTE 2 = 0ⴗC
ALARM ABOVE OR
BELOW LOW TEMP
LIMIT?
0 = ALARM BELOW TEMP LIMIT
1 = ALARM ABOVE TEMP LIMIT
LOW TEMP LIMIT
CROSSED?
MEASURE
TEMPERATURE
LOCAL (REG 0xA0)
REMOTE 1 (REG 0xA1)
REMOTE 2 (REG 0xA2)
CFAULT
YES
LOW TEMP LIMIT
CROSSED?
YES
FANS RUN ALARM SPEED
LOW TEMP LIMIT
CROSSED?
YES
INT
AUTOMATIC FAN SPEED CONTROL (SEE TABLE X LATER)
BIT 0 = 1
BIT 1 = 1
X
FAN 1 RUNS AT ALARM SPEED FOR OUT-OF-LIMIT TEMPERATURE EVENTS;
OTHERWISE, FAN 1 RUNS AT SPEED DETERMINED BY AUTOMATIC FAN
CONTROL.
FAN 2 RUNS AT ALARM SPEED FOR OUT-OF-LIMIT TEMPERATURE EVENTS;
OTHERWISE, FAN 2 RUNS AT SPEED DETERMINED BY AUTOMATIC FAN
CONTROL.
X
X
X
X
X
1
0
Figure 7. Temperature Sensing Flowchart
–12–
REV. 0
ADM1029
If two fans are installed, Bit 0 would be 1 by default and Pin
18 would be tied high* to set Bit 1. If only one fan is installed, it
would normally be Fan 1 and Pin 18 would be tied low* to
clear Bit 1. However, both of these bits can be modified by
writing to the register, so it is possible to have Fan 2 installed
and not Fan 1, or even have no fans installed.
*Note that Pin 18 also sets TMIN for automatic fan speed control. If this function
is used, Pin 18 would be set to some other level according to Table VIII.
FAULT INPUTS/OUTPUTS
The ADM1029 can be used with fans that have a fault output
which indicates if the fan has stalled or failed. If one or both of
the FAULT inputs (Pin 2 or Pin 23) goes low, both INT and
CFAULT will be asserted.
Events on the fault inputs are also reflected in Bits 2 and 3 of the
corresponding Fan Status Registers at addresses 10h and 11h.
Bit 2 reflects the inverse state of the FAULT pin (0 if FAULT is
high, 1 if FAULT is low), while Bit 3 is latched high if a FAULT
input goes low. It must be cleared by writing a zero to it.
If the fan(s) being used do not have a FAULT output, the FAULT
input(s) on the ADM1029 should be pulled high to VCC.
The FAULT pins can also be configured as open-drain outputs
by setting Bit 5 of the corresponding Fan Fault Action Register
(18h or 19h). If a FAULT pin is configured as an output, it will
still function as an input. This means that when a fault input
occurs it will be latched low by the fault output, even if the fault
input is removed. The fault output can be used to drive a fan
failure indicator such as an LED.
After the speed of the first fan has been measured, the speed of
the second fan (if installed) will be measured in the same way.
The measurement cycle will repeat until monitoring is disabled.
The fan speed measurements are stored in the Fan Tach Value
registers at addresses 70h and 71h.
If both fans are installed, Fan 1 will be measured first. If only
one fan is installed, the ADM1029 will still try to measure
both fans, starting with Fan 1, but the measurement on the
noninstalled fan will time out when the Fan Tach Value count
overranges.
The fan speed count is given by:
Count = f 4 60/R/N
where:
f is oscillator frequency in Hz
factor 4 is because 4 tach periods are counted
factor 60 is to convert minutes to seconds
R = fan speed in RPM
N is number of tach pulses per revolution
The frequency of the oscillator can be adjusted to suit the expected
frequency range of the fan tach pulses, which depends on the
fan speed and the number of tach pulses produced for each
revolution of the fan, which is either 1, 2, or 4. The oscillator
frequency is set by Bits 7 and 6 of the Fan Configuration Registers (68h for Fan 1 and 69h for Fan 2).
Table III. Oscillator Frequencies
If the FAULT pin is used as an output, any input to the FAULT
pin should also be open-drain. This will avoid the fault input
trying to source a high current into the FAULT pin if the fault
input goes high while the fault output is low.
Bit 7
Bit 6
Oscillator Frequency (Hz)
0
0
1
1
0
1
0
1
Measurement Disabled
470
940
1880
FAN PRESENT INPUTS
The fan PRESENT signal is implemented by a shorting link
to ground in the fan connector. When the fan is plugged in,
the corresponding PRESENT input (Pin 4 or Pin 21) on the
ADM1029 is pulled low. If the fan is unplugged, the PRESENT
input will be pulled high. INT and CFAULT will be asserted
(unless masked) and the event will be reflected in Bits 0 and
Bit 1 of the corresponding Fan Status Register.
CLOCK
CONFIG
REG. BIT 4
FAN 1
TACH
Appearance or disappearance of a PRESENT input signal during normal operation signals to the ADM1029 that a fan has
been hot-plugged or unplugged. INT and CFAULT will be
asserted (unless masked). When a fan is hot-plugged, Bit 7 of
the corresponding Fan Status Register will be set and a Fan
Free Wheel Test commences automatically.
FAN 2
TACH
FAN 1
MEASUREMENT
PERIOD
START OF
MONITORING
CYCLE
Figure 8. Fan Speed Measurement
FAN SPEED MEASUREMENT
The fan counter does not count the fan tach output pulses
directly, because at low fan speeds it would take several seconds
to accumulate a reasonably large and accurate count. Instead,
the period of the fan revolution is measured by gating an onchip oscillator into the input of an 8-bit counter.
The fan speed measuring circuit is initialized on the first rising
edge of a fan tach pulse after monitoring is enabled by setting
Bit 4 of the Configuration Register. It then starts counting on
the rising edge of the second tach pulse and counts for four fan
tach periods, until the rising edge of the sixth tach pulse, or
until the counter overranges if the fan tach period is too long.
REV. 0
FAN 2
MEASUREMENT
PERIOD
FAN SPEED LIMITS
Fans generally do not overspeed if run from the correct voltage,
so the failure condition of interest is under-speed due to electrical or mechanical failure. For this reason only low-speed limits
are programmed into the Tach Limit Registers for the fans.
These registers are at address 78h for Fan 1 and 79h for Fan
2. It should be noted that, since fan period rather than speed is
being measured, the fan speed count will be larger the slower
the fan speed. Therefore a fan failure fault will occur when the
measurement exceeds the limit value.
–13–
ADM1029
For the most accurate fan failure indication, the oscillator
frequency should be chosen to give as large a limit value as
possible without the counter overranging. A count close to 3/4
full-scale or 191 is the optimum value.
PULL-UP
4.7k⍀
TYP
For example, if a fan produces two tach pulses per revolution
and the fan failure speed is to be 600 rpm, the oscillator frequency should be set to 940 Hz. This will give a count at the fail
speed of:
If the oscillator frequency were only 470 Hz, the count would
be 94, while an oscillator frequency of 1880 Hz cannot be used
because the count would be 376 and the counter would overrange.
FAN MONITORING CYCLE TIME
Five complete tach periods are required to carry out a fan speed
measurement Therefore, if the start of a fan measurement just
misses a rising edge, the measurement can take almost six tach
periods for each fan.
The worst-case monitoring cycle time is when both fans are
under speed and the fan speed counter counts up to its maximum value. The actual count takes 256 oscillator pulses over
four tach periods, plus a further two tach periods or 128 oscillator pulses before the count starts. The total monitoring cycle
time is therefore:
TACH
OUTPUT
TACH1
OR TACH2
FAN SPEED
COUNTER
ZD1*
ZENER
*CHOOSE ZD1 VOLTAGE APPROX. 0.8 ⴛ VCC
940 4 60/600/2 = 188
Figure 9b. Fan with Tach. Pull-Up to Voltage >6.5 V (e.g.,
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 9c. Alternatively, a resistive
attenuator may be used, as shown in Figure 9d.
R1 and R2 should be chosen such that:
2 V < VPULLUP × R2/(RPULLUP + R1 + R2) < 5 V
The fan inputs have an input resistance of nominally 160 kΩ to
ground, so this 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 would be 100 kΩ and 47 kΩ.
This will give a high input voltage of 3.83 V.
VCC
12V
tMEAS = 384/fOSC(FAN 1) + 384/fOSC(FAN 2)
In order to read a valid result from the Fan Tach Value Registers,
the total monitoring time allowed after starting the monitoring
cycle should be greater than this.
TACH
O/P
PULL-UP
TYP <1k⍀
OR TOTEM-POLE
TACH SIGNAL CONDITIONING
Signal conditioning in the ADM1029 accommodates the slow
rise and fall times typical of fan tachometer outputs. The maximum input signal range is 0 V to 5 V, even if VCC is less than
5 V. In the event that these inputs are supplied from fan outputs
that exceed 0 V to 5 V, either resistive attenuation of the fan
signal or diode clamping must be included to keep inputs within
an acceptable range.
R1
10k⍀
TACH1
OR TACH2
FAN SPEED
COUNTER
ZD1
ZENER*
*CHOOSE ZD1 VOLTAGE APPROX. 0.8 ⴛ VCC
Figure 9c. Fan with Strong Tach. Pull-Up to >VCC or
Totem-Pole Output, Clamped with Zener and Resistor
12V
Figures 9a to 9d show circuits for most common fan tach outputs.
VCC
<1k⍀
TACH1
OR TACH2
R1*
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 9a.
12V
VCC
12V
TACH
OUTPUT
FAN SPEED
COUNTER
R2*
VCC
*SEE TEXT
PULL-UP
4.7k⍀
TYP
TACH1
OR TACH2
TACH
OUTPUT
Figure 9d. Fan with Strong Tach. Pull-Up to >VCC or
Totem-Pole Output, Attenuated with R1/R2
FAN SPEED
COUNTER
FAN SPEED CONTROL
Figure 9a. Fan with Tach Pull-Up to +VCC
If the fan output has a resistive pull-up to 12 V (or other voltage
greater than 6.5 V), the fan output can be clamped with a Zener
diode, as shown in Figure 9b. The Zener voltage should be
chosen so that it is greater than VIH but less than 6.5 V, allowing
for the voltage tolerance of the Zener. A value of between 3 V
and 5 V is suitable.
Fan speed is controlled using pulsewidth modulation (PWM).
The PWM outputs (Pins 1 and 24) give a pulse output with a
programmable frequency (default 250 Hz) and a duty-cycle
defined by the contents of the relevant fan speed register, or by
the automatic fan speed control when this mode is enabled. The
speed at which a fan runs is determined by fault conditions and
the settings of various control and mask registers.
A fan can only be driven if it is defined as being supported by
the controller in register 02h. The ADM1029 supports up to
two fans, so Bits 0 and 1 of this register are permanently set.
This register is read-only.
–14–
REV. 0
ADM1029
• If Bit 1 of an AIN Behavior Register is set (50h—AIN0,
51h—AIN1), all fans controlled by the ADM1029 will go to
alarm speed if the corresponding AIN high limit is exceeded.
A fan will only be driven if it is defined as being supported by
the system in register 03h. If Bit 0 of this register is set, it indicates that Fan 1 is installed. This is the power-on default. If
Bit 1 is set, it indicates that Fan 2 is installed. This bit is set by
the state of Pin 18 at power-up. This register is read/write and
the default/power-on setting can be overwritten. If a fan is not
supported in register 03h it will not be driven, even if it is physically installed.
• If Bit 5 of an AIN Behavior Register is set, all fans controlled
by the ADM1029 will go to alarm speed if an analog input
crosses the corresponding AIN low limit, the direction depending on the setting of Bit 3 of the AIN control register. (0 =
alarm when input goes below low limit, 1 = alarm when input
goes above low limit).
The PWM outputs are open-drain outputs. They require pull-up
resistors and must be amplified and buffered to drive the fans.
• If a thermal override occurs while the ADM1029 is in sleep
mode, all fans controlled by the ADM1029 will run at
alarm speed.
Minimum Speed
The normal operating fan speed is set by the four LSBs of the
Fan 1 and Fan 2 Minimum/Alarm Speed Registers (addresses
60h, 61h). These bits also set the minimum speed at which a fan
will run in automatic control mode. These bits should be set to
05h. This corresponds to 33% PWM duty-cycle, which is the
lowest speed at which most fans will run reliably.
Hot-Plug Speed
Hot-plug speed is set by the four LSBs of the Fan 1 and Fan 2
Configuration Registers (addresses 68h and 69h). The PWM
frequency is set by Bits 4 and 5 of these registers, while Bits 6
and 7 set the number of pulses per revolution for fan speed
measurement.
Fan(s) will run at minimum speed if there is no fault condition,
automatic fan speed is disabled, and there are no other overriding conditions.
Fan(s) will run at hot-plug speed if any of the following conditions occur, assuming the condition has not been masked using
the Fan Event Mask Registers:
Alarm Speed
Alarm speed is set by the four MSBs of the Fan 1 and Fan 2
Minimum/Alarm Speed Registers (addresses 60h, 61h). Fan(s)
will run at alarm speed if any of the following conditions occurs,
assuming the condition has not been masked out using the Fan
Event Mask Registers:
• If a fan is unplugged, the other fan (if any) controlled by the
ADM1029 will run at hot-plug speed.
• Setting Bit 0 of register 07h forces Fan 1 to run at alarm speed
(Set Fan x Alarm Speed Register).
• Setting Bit 1 of register 08h forces Fan 2 to run at hot-plug
speed (Set Fan x Hot-Plug Speed).
• Setting Bit 1 of register 07h forces Fan 2 to run at alarm speed
(Set Fan x Alarm Speed Register).
• When a GPIO pin is configured as an input by setting Bit 0 of
the corresponding GPIO Behavior Register, and Bit 5 of the
GPIO Behavior Register is also set, all fans controlled by the
ADM1029 will go to hot-plug speed when the logic input is
asserted (high or low, depending on the polarity bit, Bit 1 of
the corresponding GPIO Behavior Register).
• Setting Bit 0 of register 08h forces Fan 1 to run at hot-plug
speed (Set Fan x Hot-Plug Speed).
If monitoring is disabled by clearing Bit 4 of the Configuration Register, all fans controlled by the ADM1029
will run at alarm speed.
• When a GPIO pin is configured as an input by setting Bit 0 of
the corresponding GPIO Behavior Register, and Bit 4 of the
GPIO Behavior Register is also set, all fans controlled by the
ADM1029 will go to alarm speed when the logic input is
asserted (high or low, depending on the polarity bit, Bit 1 of
the corresponding GPIO Behavior Register).
• If Bit 6 of a Fan Fault Action Register is set (18h for Fan 1,
19h for Fan 2) the corresponding fan will go to hot-plug speed
when CFAULT is pulled low by an external source.
• If Bit 7 of a Fan Fault Action Register is set (18h—Fan 1, 19h
—Fan 2) the corresponding fan will go to alarm speed when
CFAULT is pulled low by an external source.
• If a tach measurement exceeds the set limit, all fans controlled
by the ADM1029 will run at alarm speed.
• If a fan fault input pin is asserted (low), all fans controlled by
the ADM1029 will run at alarm speed.
• If Bit 1 of a Temp. Fault Action Register is set (40h—Local
Sensor, 41h—Remote 1, 42h—Remote 2), all fans controlled
by the ADM1029 will go to alarm speed if the corresponding
temperature high limit is exceeded.
• If Bit 5 of a Temp. Fault Action Register is set, all fans controlled by the ADM1029 will go to alarm speed if a temperature
input crosses the corresponding temperature low limit, the
direction depending on the setting of Bit 3 of the Temp. Control register. (0 = alarm when input goes below low limit, 1 =
alarm when input goes above low limit).
REV. 0
Note: If operating conditions and register settings are such that
both alarm speed and hot-plug speed would be triggered, which
one takes priority is determined by Bit 5 of the Fan 1 and Fan 2
Status Registers (addresses 10h and 11h). If this bit is set, hot-plug
speed takes priority. If it is cleared, alarm speed takes priority.
Full Speed
Fans will run at full speed if the corresponding bits in the Set
Fan x Full Speed Register (address 09h) are set: Bit 0 for Fan 1
and Bit 1 for Fan 2.
Fan Mask Registers
The effect of various conditions on fan speed can be enabled or
disabled by mask registers. In all these registers, setting Bit 0 of
the register enables Fan 1 to go to alarm speed or hot-plug speed if
the corresponding event occurs, while setting Bit 1 enables Fan
2. Clearing these bits masks the effect of the corresponding
event on fan speed.
Registers 20h and 21h are Fan Event Mask Registers. Bits 0 and
1 of register 20h enable (bit set) or mask (bit clear) the effect of
a Fan 1 fault (underspeed or fault input) on Fan 1 and Fan 2
speed. Similarly, Bits 0 and 1 of register 21h enable (bit set)
–15–
ADM1029
or mask (bit clear) the effect of a Fan 2 Fault on Fan 1 and
Fan 2 speed.
Registers 38h to 3Eh are GPIO X Event Mask Registers. Bits 0
and 1 of these registers enable or mask the effect of a GPIO
assertion on Fan 1 and Fan 2 speed.
Note: Registers 48h to 4Ah are Temp. Cooling Action Registers. Bits 0 and 1 of these registers enable or mask the effect of
Local, Remote 1, and Remote 2 temperature faults on Fan 1
and Fan 2 speed. These registers also determine which temperature channel controls each fan in automatic fan speed control
mode, as described later.
Registers 58h and 59h are AIN Event Mask Registers. Bits 0
and 1 of these registers enable or mask the effect of an AIN outof-limit event on Fan 1 and Fan 2 speed.
MODES OF OPERATION
The ADM1029 has three different modes of operation. These
modes determine the behavior of the system.
duty cycle that most fans will run reliably at. Note that the PWM
duty cycle values programmed in to these registers also define
the PWM duty cycle that the fans will turn on at, in Automatic
Fan Speed Control Mode. It is recommended that after powerup, the PWM duty cycle is set to 33% before enabling Automatic
Fan Speed Control.
THERMAL TRIP MODE
The ADM1029 can thermally trip the fan(s) for simple on/off
fan control, or 2-speed fan control. For example, a fan can be
programmed to run at 33% duty cycle. If the temperature exceeds
the high temperature limit set for that temperature channel, the
fan can automatically trip and run at Alarm Speed. The fan will
continue to run at Alarm Speed even if the temperature error
condition subsides, until the Latch Temp Fault bit (Bit 7 of the
Temp x Fault Action Reg) is cleared in software by writing a 0
to it. To configure Fan 1 normally, run at 33% but to thermally
trip to Alarm Speed for a Remote 2 measured temperature of
70°C, set up the following registers:
1. PWM Duty Cycle Select Mode (directly sets fan speed under
software control).
1. Configure the normal PWM duty cycle for Fan 1 to 33%.
2. Thermal Trip Mode
2. Set the Remote 2 High Temperature Limit = 70°C.
Fan 1 Minimum/Alarm Speed Reg (0x60) = 0xF5
3. Automatic Fan Speed Control Mode
Remote 2 Temp High Limit Reg (0x92) = 0x46
PWM DUTY CYCLE SELECT MODE
The ADM1029 may be operated under software control by
clearing bits <1:0> of the three Temp Cooling Action Registers
(Reg 0x48, 0x49, 0x4A). Once under Software Control, each
fan speed may be controlled by programming values of PWM
Duty Cycle in to the device. Values of PWM Duty Cycle between
0% to 100% may be written to the four LSBs of the Fan 1 and
Fan 2 Minimum/Alarm Speed Registers (addresses 60h, 61h).
to control the speed of each fan. Table IV shows the relationship
between hex values written to the Minimum/Alarm Speed Registers and PWM duty cycle obtained.
3. Configure Alarm Speed on Overtemperature function for
Remote 2 Temperature channel.
Set Bit 1 of Temp 2 Fault Action Reg (0x42)
4. Enable Fan 1 to be controlled by Remote 2 Temperature.
Set Bit 0 of Temp 2 Cooling Action Reg (0x4A)
Once the fan thermally trips to Alarm Speed, it will continue to
run at Alarm Speed until the temperature drops below the High
Temperature Limit and the Latch Temp Fault bit (Bit 7 of the
Temp 2 Fault Action Reg) is cleared to 0.
EVENT LATCH BITS
Table IV. PWM Duty Cycle Select Mode
Hex Value
PWM Duty Cycle
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
0%
7%
14%
20%
27%
33% Recommended
40%
47%
53%
60%
67%
73%
80%
87%
93%
100% (Default)
Certain events that occur will cause latch bits to be set in various registers on the ADM1029. Once a latch bit is set, it will
need to be cleared by software for the system to return to normal operation. To detect if a latch bit has been set, the INT pin
can be used to signal a latch event to the system supervisor.
Alternatively, the Status Registers can be polled periodically,
and any latch bits that are set can be cleared. The events that
cause latch bits to be set are:
1. Thermal Events. If the fan is run at Alarm Speed on Overtemperature or Undertemperature, this will set the Latch
Temp Fault bit (Bit 7 of the Temp x Fault Action Registers
0x40–0x42).
2. Missing Fan. If a fan is missing, i.e., has been unplugged, the
Missing Latch bit (Bit 1 of Fan x Status Registers) is set.
3. Hotplugged Fan. If a new fan is inserted into the system, Bit
7 (Hotplug Latch bit) of the Fan x Status Register is set.
It is recommended that the minimum PWM duty cycle be set to
33% (0x05). This has been determined to be the lowest PWM
*Bits <3:0> set the Minimum PWM duty cycle, bits <7:4> set the Alarm Speed
PWM duty cycle for each fan.
4. FAULT Asserted. If the fan becomes stuck and its FAULT
output asserts low, Bit 2 (Fault Latch bit) of the Fan x
Status register is set.
5. TACH Failure. If the fan runs underspeed or becomes stuck,
then Bit 6 (Tach Fault Latch Bit) of the Fan x Status Register is set.
–16–
REV. 0
ADM1029
AUTOMATIC FAN SPEED CONTROL
TRANGE = 5ⴗC
The ADM1029 has a local temperature channel and two remote
temperature channels, which may be connected to an on-chip
diode-connected transistor on a CPU or a general-purpose
discrete transistor. These three temperature channels may be
used as the basis for an automatic fan speed control loop to
drive fans using Pulsewidth Modulation (PWM).
100
HOW DOES THE CONTROL LOOP WORK?
The Automatic Fan Speed Control Loop is shown in Figure 10.
E = 10
ⴗC
=
40
ⴗC
GE =
20ⴗ
C
NG
E
ⴗC
T
RA
AN
ANG
73
TR
80
TR
PWM DUTY CYCLE – %
93
87
TR
AN
GE
80
=
66
60
53
47
SPIN UP FOR 2 SECONDS
MAX
40
33
FAN SPEED
0
60
40
20
80
TMAX = TMIN + TRANGE
TEMPERATURE – ⴗC
Figure 11. PWM Duty Cycle vs. Temperature Slopes
(TRANGE)
100
3. TMAX. This is defined as the temperature at which a fan
will be at its maximum speed. At this temperature, the PWM
duty cycle driving the fan will be 100%. TMAX is given by
TMIN + TRANGE. Since this parameter is the sum of the TMIN
and TRANGE parameters, it does not need to be programmed
into a register on-chip.
4. Programmable hysteresis is included in the control loop to
prevent the fans continuously switching on and off if the
temperature is close to TMIN. The fans will continue to run
until such time as the temperature drops below TMIN–THYST.
The four MSBs of the TRANGE/T HYST registers (Registers
0x88, 0x89, 0x8A) contain a temperature hysteresis value
that can be programmed from 0001 to 1111. This allows a
temperature hysteresis range from 1°C to 15°C for each
temperature measurement channel.
ⴗC
=
=
NG
T
T
RA
RA
NG
E
E
80
73
40
40
0ⴗ
C
2. TRANGE. This will be the temperature range over which the
ADM1029 will automatically adjust fan speed. As the temperature increases beyond TMIN, the PWM duty cycle will be
increased accordingly. The TRANGE parameter actually defines
the fan speed versus temperature slope of the control loop.
ⴗC
93
87
=4
1. T MIN. This is the temperature at which a fan should switch
on and run at minimum speed. The fan will only turn on
once the temperature being measured rises above the TMIN
value programmed. The fan will spin up for a predetermined time (default = 2 secs). See Fan Spin-Up section
for more details.
E
In order for the fan speed control loop to work, certain loop
parameters need to be programmed in to the device:
Figure 12 shows how for a given TRANGE, changing the TMIN
value affects the loop. Increasing the TMIN value will increase
the TMAX (temperature at which the fan runs full speed) value,
since TMAX = TMIN + TRANGE. Note, however, that the PWM
Duty Cycle versus Temperature slope remains exactly the same.
Changing the TMIN value merely shifts the control slope.
NG
Figure 10. Automatic Fan Speed Control
RA
TMAX = TMIN + TRANGE
T
TMIN
TEMPERATURE
Figure 11 shows the different control slopes determined by the
TRANGE value chosen, and programmed in to the ADM1029.
TMIN was set to 0 °C to start all slopes from the same point. It
can be seen how changing the TRANGE value affects the PWM
Duty Cycle vs. Temperature Slope.
PWM DUTY CYCLE – %
MIN
REV. 0
5 10
TMIN
66
60
53
47
40
33
0
20
40
60
80
TMAX = TMIN + TRANGE
TMIN
TEMPERATURE – ⴗC
Figure 12. Effect of Increasing TMIN Value on Control Loop
FAN SPIN-UP
As previously mentioned, once the temperature being measured
exceeds the TMIN value programmed, the fan will turn on at
minimum speed (default = 33% duty cycle). However, the problem with fans being driven by PWM is that 33% duty cycle is
not enough to reliably start the fan spinning. The solution is to
–17–
ADM1029
spin the fan up for a predetermined time, and once the fan has
spun up, its running speed may be reduced in line with the
temperature being measured.
100
93
87
Bits 2:0
Spin-Up Times
(Fan Spin-Up Register)
000
001
010
011
100
101
110
111
16 Seconds
8 Seconds
4 Seconds
2 Seconds (Default)
1 Second
1/4 Second
1/16 Second
1/64 Second
=4
0ⴗC
73
66
RA
NG
E
Table V. Fan Spin-Up Times
80
60
T
PWM DUTY CYCLE – %
The ADM1029 allows fan spin-up times between 1/64 second
and 16 seconds. The Fan Spin-Up Register (Register 0x0C)
allows the spin-up time for the fans to be programmed. Bit 3
of this register, when set, disables fan spin-up for both fans.
53
47
40
33
0
TMIN
1
Bit 0 Register 0x49 and/or Bit 1 Reg 0x4A =
Remote Temp 1 Controls Fan 1, Remote Temp 2
Controls Fan 2
Bit 0 Register 0x48 and Bit 1 Register 0x48 = 1
Local Temp Controls Fan 1 and/or Fan 2
Bit 0 Register 0x49 and Bit 1 Register 0x49 =
Remote Temp 1 Controls Fan 1 and/or Fan 2
Bit 0 Register 0x4A and Bit 1 Register 0x4A =
Remote Temp 2 Controls Fan 1 and/or Fan 2
Bits 0, 1 Reg 0x48, 0x49, 0x4A = 1 Max Speed
Calculated by Local and Remote Temperature
Channels Controls Fans 1 and/or 2
2
3
4
5
60
TMAX = TMIN + TRANGE
a.
100
PWM DUTY CYCLE – %
93
87
80
73
66
GE
AN
60
=
ⴗC
80
TR
53
47
40
33
0
TMIN
20
40
70
80
TMAX = TMIN + TRANGE
REMOTE TEMPERATURE – ⴗC
b.
Figure 13. Max Speed Calculated by Local and Remote
Temperature Control Loops Drives Fans
Table VI. Automatic Mode Fan Behavior
Temperature Cooling Action
40
LOCAL TEMPERATURE – ⴗC
Once the Automatic Fan Speed Control Loop parameters have
been chosen, the ADM1029 device may be programmed. The
ADM1029 is placed into Automatic Fan Speed Control Mode
by writing to the three Temperature Cooling Action Registers
(Registers 0x48, 0x49, 0x4A). The device powers up in Automatic Fan Speed Control Mode by default, as long as the TMIN/
Install pin (Pin 18) does not have the disable option selected
(TMIN/Install pin tied low or high). The default setting is that
both fans will run at the fastest speed calculated by all three
temperature channels. The control mode offers flexibility in that
the user can decide which temperature channel/channels control
each fan (five options).
Option
20
The local temperature’s TMAX will thus be 60°C. Figure 13b
shows the control loop for the Remote 1 Temperature channel. Its
TMIN value has been set to 0°C, while its TRANGE = 80°C. Therefore, the Remote 1 Temperature’s TMAX value will be 80°C.
If both temperature channels measure 40°C, both control
loops will calculate a PWM duty cycle of 66%. Therefore, the
fans will be driven at 66% duty cycle.
When Option 5 is chosen, this offers increased flexibility. The
Local and Remote temperature channels can have independently
programmed control loops with different control parameters.
Whichever control loop calculates the fastest fan speed based on
the temperature being measured, drives both fans.
Figure 13 shows how the fan’s PWM duty cycle is determined
by two independent control loops. This is the type of Automode
Fan Behavior seen when Bits 0 and 1 of all three Temperature
Cooling Action Registers = 11. Figure 13a shows the control
loop for the Local Temperature channel. Its TMIN value has
been programmed to 20°C, and its TRANGE value is 40°C.
If both temperature channels measure 20°C, the local channel
will calculate 33% PWM duty cycle, while the Remote 1
channel will calculate 50% PWM duty cycle. Thus, the fans will
be driven at 50% PWM duty cycle. Consider the local temperature
measuring 60°C, while the Remote 1 temperature is measuring
70°C. The PWM duty cycle calculated by the local temperature
control loop will be 100% (since the temperature = TMAX). The
PWM duty cycle calculated by the Remote 1 temperature
control loop at 70°C will be approximately 90%. So the fans will
run full speed (100% duty cycle). Remember that the fan speed
will be based on the fastest speed calculated, and is not necessarily
based on the highest temperature measured. Depending on the
control loop parameters programmed, a lower temperature on one
channel may actually calculate a faster speed than a higher
temperature on another channel.
–18–
REV. 0
ADM1029
PROGRAMMING THE AUTOMATIC FAN SPEED
CONTROL LOOP
Table VII. Programming PWM Duty Cycle
1. Program a value for TMIN.
Decimal Value
PWM Duty Cycle
2. Program a value for the slope TRANGE.
00
01
02
03
04
05
06
07
08
09
10 (0x0A)
11 (0x0B)
12 (0x0C)
13 (0x0D)
14 (0x0E)
15 (0x0F)
0%
7%
14%
20%
27%
33% Recommended
40%
47%
53%
60%
67%
73%
80%
87%
93%
100% (Default)
3. TMAX = TMIN + TRANGE.
4. Program a value for Fan Spin-up Time.
5. Program the desired Automatic Fan Speed Control Mode
Behavior, i.e., which temperature channel controls each fan.
OTHER CONTROL LOOP PARAMETERS?
Having programmed all the above loop parameters, are there
any other parameters to worry about?
TMIN was defined as being the temperature at which a fan
switched on and ran at minimum speed. This minimum speed
should be set to 33%. If the minimum PWM duty cycle is
programmed to 33%, the fan control loops will operate as previously described.
It should be noted, however, that changing the minimum PWM
duty cycle affects the control loop behavior.
*Bits <3:0> set the Minimum PWM duty cycle for Automatic Mode. Bits <7:4>
set the Alarm Speed PWM duty cycle.
The temperature at which each fan will run full speed (100%
duty cycle) is given by:
100
TMAX = TMIN + (( Max DC–Min DC) × TRANGE/10)
ⴗC
where,
40
3
RA
NG
73
66
TMAX
TMIN
Max DC
Min DC
E =
80
2
T
PWM DUTY CYCLE – %
93
87
60
Temperature at which fan runs full speed
Temperature at which fan will turn on
Maximum Duty Cycle (100%) = 15 decimal
Duty Cycle at TMIN, programmed into Fan Speed
Config Register (default = 33% = 5 decimal)
= PWM Duty Cycle versus Temperature Slope
1
53
TRANGE
47
Example 1
40
33
0
TMIN
16
28
40
60
TMIN
Min DC
= 0°C, TRANGE = 40°C
= 53% = 8 decimal (Table VII)
Calculate TMAX
TEMPERATURE – ⴗC
Figure 14. Effect of Changing Minimum Duty Cycle on
Control Loop with Fixed TMIN and TRANGE Values
Slope 1 of Figure 14 shows TMIN set to 0°C and the TRANGE
chosen is 40°C. In this case, the fan’s PWM duty cycle will vary
over the range 33% to 100%. The fan will run full speed at
40°C. If the minimum PWM duty cycle at which the fan runs at
TMIN is changed, its effect can be seen on Slopes 2 and 3. Take
Case 2, where the minimum PWM duty cycle is reprogrammed
from 33% (default) to 53%. The fan will actually reach full speed
at a much lower temperature, 28°C. Case 3 shows that when
the minimum PWM duty cycle was increased to 73%, the temperature at which the fan ran full speed was 16°C. So the effect
of increasing the minimum PWM duty cycle, with a fixed TMIN
and fixed TRANGE, is that the fan will actually reach full speed
(TMAX) at a lower temperature than TMIN + TRANGE. How can
TMAX be calculated?
In Automatic Fan Speed Control Mode, the registers holding
the minimum PWM duty cycle at TMIN, are the Minimum/
Alarm Speed Registers (addresses 60h, 61h). Table VII shows
the relationship between the decimal values written to the Minimum/Alarm Speed Registers and PWM duty cycle obtained.
REV. 0
=
=
=
=
TMAX = TMIN + (( Max DC–Min DC) × TRANGE/10)
TMAX = 0 + ((100% DC – 53% DC) × 40/10)
TMAX = 0 + ((15 – 8)× 4) = 28
TMAX = 28ⴗC. (As seen on Slope 2 of Figure 14)
Example 2
TMIN
Min DC
= 0°C, TRANGE = 40°C
= 73% = 11 decimal (Table VII)
Calculate TMAX
TMAX = TMIN + ((Max DC–Min DC) × TRANGE/10)
TMAX = 0 + ((100% DC – 73% DC) × 40/10)
TMAX = 0 + ((15 – 11) × 4) = 16
TMAX = 16ⴗC. (As seen on Slope 3 of Figure 14)
Example 3
TMIN
Min DC
= 0°C, TRANGE = 40°C
= 33% = 5 decimal from Table IV
Calculate TMAX
TMAX = TMIN + ((Max DC–Min DC) × TRANGE/10)
TMAX = 0 + ((100% DC – 33% DC) × 40/10)
TMAX = 0 + ((15 – 5) × 4) = 40
TMAX = 40ⴗC. (As seen on Slope 1 of Figure 14)
–19–
ADM1029
TEMP COOLING ACTION (CONFIGURE REG 0x48 FOR LOCAL
TEMP, REG 0x49 FOR REMOTE 1 TEMP AND REG 0x4A FOR
REMOTE 2 TEMP)
PROGRAM FAN
MINIMUM DUTY CYCLE
FAN 1 (REG 0x60)
FAN 2 (REG 0x61)
CONFIGURE TEMP
COOLING ACTION
LOCAL TEMP (REG 0x48)
REMOTE 1 TEMP (REG 0x49)
REMOTE 2 TEMP (REG 0x4A)
OPTION 1
BIT 0 (REG 0x49) AND/OR BIT 1 (REG 0x4A) = 1
REMOTE 1 TEMP CONTROLS FAN 1
REMOTE 2 TEMP CONTROLS FAN 2
OPTION 2
BIT 0 (REG 0x48) AND BIT 1 (REG 0x48) = 1
LOCAL TEMP CONTROLS FAN 1 AND/OR FAN 2
OPTION 3
BIT 0 (REG 0x49) AND BIT 1 (REG 0x49) = 1
REMOTE 1 TEMP CONTROLS FAN 1 AND/OR FAN 2
OPTION 4
BIT 0 (REG 0x4A) AND BIT 1 (REG 0x4A) = 1
REMOTE 2 TEMP CONTROLS FAN 1 AND/OR FAN 2
OPTION 5
BIT 0, 1 (REG 0x48, 0x49, 0x4A) = 1
FAN 1 AND/OR FAN 2 RUNS AT FASTEST SPEED
CALCULATED BY ALL TEMPERATURE CHANNELS
PROGRAM FAN START
TEMPERATURE, TMIN
LOCAL TEMP (REG 0x80)
REMOTE 1 TEMP (REG 0x81)
REMOTE 2 TEMP (REG 0x82)
REMOTE 1
TEMPERATURE
FAN 1
FAN 1
PROGRAM TEMP-TO-FAN
SPEED CONTROL SLOPE,
TRANGE
ADM1029
ADM1029
LOCAL TEMP
LOCAL TEMP (REG 0x88)
REMOTE 1 TEMP (REG 0x89)
REMOTE 2 TEMP (REG 0x8A)
REMOTE 2
TEMPERATURE
OPTION 1
FAN 2
OPTION 2
FAN 2
CONFIGURE CONTROL
LOOP HYSTERESIS
LOCAL TEMP (REG 0x88)
REMOTE 1 TEMP (REG 0x89)
REMOTE 2 TEMP (REG 0x8A)
REMOTE 1
TEMPERATURE
FAN 1
REMOTE 1
TEMPERATURE
FAN 1
CONFIGURE FAN
SPIN-UP TIME
(REGISTER 0x0C)
ADM1029
ADM1029
CONFIGURE PWM DRIVE
FREQUENCY
FAN 1 (REG 0x68)
FAN 2 (REG 0x69)
CONFIGURE TACH
OSCILLATOR FREQUENCY
FAN 1 (REG 0x68)
FAN 2 (REG 0x69)
REMOTE 2
TEMPERATURE
REMOTE 2
TEMPERATURE
OPTION 3
FAN 2
FAN 1
REMOTE 1
TEMPERATURE
MEASURE
FAN SPEED
OPTION 4
FAN 2
ADM1029
LOCAL TEMP
FAN 1 (REG 0x70)
FAN 2 (REG 0x71)
REMOTE 2
TEMPERATURE
OPTION 5
FAN 2
Figure 15. Configuring Automatic Fan Speed Control
–20–
REV. 0
ADM1029
Table VIII. Resistor Ratios for Setting T MIN and Number of Fans Installed Using TMIN/INSTALL Pin (Pin 18)
3 MSBs
of ADC
Ideal Ratio
R2/(R1 + R2)
R1
(k⍀)
R2
(k⍀)
Actual
R2/(R1 + R2)
Error
(%)
TMIN
Fans
Installed
111
110
101
100
011
010
001
000
N/A
0.8125
0.6875
0.5625
0.4375
0.3125
0.1875
N/A
0
18
22
12
15
47
82
82
47
15
12
22
18
0
1
0.82
0.6812
0.5556
0.4444
0.3188
0.18
0
0
0.75
–0.63
–0.69
0.69
0.63
–0.75
0
Disabled
48°C
40°C
32°C
32°C
40°C
48°C
Disabled
2
2
2
2
1
1
1
1
In this case, since the Minimum Duty Cycle is the default 33%,
the equation for TMAX reduces to:
TMAX = TMIN + ((Max DC – Min DC) × TRANGE/10)
TMAX = TMIN + ((15 – 5) × TRANGE/10)
TMAX = TMIN + (10 × TRANGE/10)
TMAX = TMIN + TRANGE
FAN-RELATED REGISTERS
Table IX is a list of registers on the ADM1029 that are specific
to fan speed measurement and control:
Table IX. Fan-Specific Registers
ENABLING AUTOMATIC FAN SPEED CONTROL USING
TMIN/INSTALL PIN (PIN 18)
Automatic fan control can also be enabled in hardware by Pin
18 (TMIN/INSTALL). This is an 8-level input with multiple
functions, which is sampled only at power-up.
If only one fan is installed, the voltage on Pin 18 should be kept
at less than VCC/2, which clears Bit 1 of register 03h. Within this
voltage range, four voltage levels define the minimum temperature
at which the fan will operate in automatic speed control mode.
If two fans are installed, the voltage on Pin 18 should be between
VCC/2 and VCC, which sets Bit 1 of register 03h. Within this
voltage range, four voltage levels define the minimum temperature
at which the fans will operate in automatic speed control mode.
Resistor values for setting the voltage on Pin 18 are given in
Table VIII. If automatic fan speed control is not used, Pin 18 can
simply be strapped to ground (one fan) or VCC (two fans),
depending on how many fans are installed. Under this condition, the fans will run full speed until the device is written to by
software to change fan speed.
When automatic fan speed control is enabled at power-up by
the TMIN/INSTALL pin, Bit 4 of the Configuration register is
set to enable monitoring, and Bits 0 and 1 of all Temp. Cooling
Action Registers are set, so any temperature channel will automatically control all fans that are installed.
Note: if automatic fan speed control is enabled and an event
occurs that would cause a fan to go to alarm or hot-plug speed
(e.g., temperature fault), that event will override the automatic
fan speed control. If the event affects only one fan, the other fan
will remain under automatic control.
Address
Description
0x02
0x03
0x07
0x08
0x09
0x10
0x11
0x18
0x19
0x20
0x21
0x48
0x49
0x4A
0x60
0x61
0x68
0x69
0x70
0x71
0x78
0x79
Fans Supported By Controller
Fans Supported In System
Set Fan x Alarm Speed
Set Fan x Hot-Plug Speed
Set Fan x Full Speed
Fan 1 Status
Fan 2 Status
Fan 1 Fault Action
Fan 2 Fault Action
Fan 1 Event Mask
Fan 2 Event Mask
Local Temp Cooling Action
Remote 1 Cooling Action
Remote 2 Cooling Action
Fan 1 Minimum/Alarm Speed
Fan 2 Minimum/Alarm Speed
Fan 1 Configuration
Fan 2 Configuration
Fan 1 Tach Value
Fan 2 Tach Value
Fan 1 Tach High Limit
Fan 2 Tach High Limit
FAN CONFIGURATION REGISTERS
Registers 0x68 and 0x69 are the Fan 1 and Fan 2 Configuration
Registers. These allow the PWM output frequencies to be selected
for each fan. The default PWM drive frequency is 250 Hz. Bits
<7:6> adjust the fan tach oscillator frequency for fan tach measurements. Bits <3:0> allow the Hot Plug PWM duty cycle value
for each fan to be programmed.
Figures 16 and 17 show how to configure the fans to handle
thermal or fault events.
REV. 0
–21–
ADM1029
FAN FAULT ACTION (CONFIGURE REG 0x18 FOR FAN 1, REG 0x19 FOR FAN 2)
SET FAN 1 = 33%
SET FAN 2 = 33%
DEFAULTS
FAN 1 = 100%
FAN 2 = 100%
FAN 1 (REG 0x60)
FAN 2 (REG 0x61)
BIT 0 = 1
BIT 1 = 1
BIT 2 = 1
BIT 3 = 1
BIT 4 = 1
BIT 5 = 1
BIT 6 = 1
BIT 7 = 1
CONFIGURE FAN
ALARM SPEED
7
CONFIGURE FAN
NORMAL SPEED
ASSERT CFAULT ON FAN FAULT (TACH FAILURE OR FAULT ASSERTION)
ASSERT INT ON FAN FAULT (TACH FAILURE OR FAULT ASSERTION)
ASSERT CFAULT IF FAN HOT UNPLUGGED
ASSERT INT IF FAN HOT UNPLUGGED
THERMAL OVERRIDE IF IN SLEEP MODE (FAN RUNS AT ALARM SPEED)
DRIVE FAULT LOW IF A FAN FAULT IS DETECTED
IF CFAULT PULLED LOW EXTERNALLY, RUN FAN AT HOT-PLUG SPEED
IF CFAULT PULLED LOW EXTERNALLY, RUN FAN AT ALARM SPEED
6
5
4
3
2
1
0
FAN 1 (REG 0x60)
FAN 2 (REG 0x61)
FAN TACH
FAILURE OR
FAULT PIN
LOW?
DEFAULTS
FAN 1 = 100%
FAN 2 = 100%
CONFIGURE FAN
HOT-PLUG SPEED
FAN TACH
FAILURE OR
FAULT PIN
LOW?
FAN 1 (REG 0x68)
FAN 2 (REG 0x69)
HAS A FAN
BEEN HOT
UNPLUGGED?
CONFIGURE FAN FAULT
ACTION
HAS A FAN
BEEN HOT
UNPLUGGED?
FAN 1 (REG 0x18)
FAN 2 (REG 0x19)
OVERTEMPERATURE
DETECTED IN
SLEEP MODE?
CONFIGURE FAN FAULT
MASK REGISTERS
FAN 1 (REG 0x20)
FAN 2 (REG 0x21)
FAN TACH
FAILURE OR
FAULT PIN
LOW?
HAS CFAULT BEEN
PULLED LOW?
HAS CFAULT BEEN
PULLED LOW?
CFAULT
YES
INT
YES
CFAULT
YES
INT
YES
FAN RUNS AT ALARM SPEED
YES
YES
FAN RUNS AT HOT-PLUG SPEED
YES
FAN RUNS AT ALARM SPEED
YES
FAN TACH
FAILURE OR
FAULT PIN
LOW?
BIT 0 = 1
RUN FAN 1 AT ALARM SPEED
IF FAN FAULT IS DETECTED
BIT 1 = 1
RUN FAN 2 AT ALARM SPEED IF
FAN FAULT IS DETECTED
BITS 2 – 7
DON'T CARE
FAN FAULT MASK (CONFIGURE REG 0x20 FOR
FAN 1, REG 0x21 FOR FAN 2)
FAN TACH
FAILURE OR
FAULT PIN
LOW?
FAN 1 RUNS ALARM SPEED
YES
FAN 2 RUNS ALARM SPEED
YES
Figure 16. Fan Configuration Flowchart
–22–
REV. 0
ADM1029
GPIO EVENT MASK (CONFIGURE REG 0x38 FOR GPIO0,
REG 0x39 FOR GPIO1.....REG 0x3E FOR GPIO6)
BIT 0 = 1
FAN 1 RUNS AT ALARM OR
HOT-PLUG SPEED IF GPIO PIN
IS ASSERTED
BIT 1 = 1
FAN 2 RUNS AT ALARM OR
HOT-PLUG SPEED IF GPIO PIN
IS ASSERTED
BITS 2 – 7
DON'T CARE
IS GPIO
PIN
ASSERTED?
YES
FAN RUNS AT ALARM
OR HOT-PLUG SPEED
CONFIGURE GPIO EVENT
MASK REGISTERS
(REG 0x38 – 0x3E)
PROGRAM FAN START
TEMPERATURE, TMIN
CONFIGURE TEMP
COOLING ACTION
LOCAL TEMP (REG 0x80)
REMOTE 1 TEMP (REG 0x81)
REMOTE 2 TEMP (REG 0x82)
LOCAL TEMP (REG 0x48)
REMOTE 1 TEMP (REG 0x49)
REMOTE 2 TEMP (REG 0x4A)
CONFIGURE AIN EVENT
MASK REGISTERS
PROGRAM TEMP-TO-FAN
SPEED CONTROL
SLOPE, TRANGE
AUTOMATIC FAN
SPEED CONTROL
CONFIGURATION
LOCAL TEMP (REG 0x88)
REMOTE 1 TEMP (REG 0x89)
REMOTE 2 TEMP (REG 0x8A)
(REFER TO AUTOMATIC FAN SPEED
CONTROL FLOWCHART)
AIN1 (REG 0x58)
AIN2 (REG 0x59)
CONFIGURE CONTROL
LOOP HYSTERESIS
CONFIGURE FAN
SPIN-UP TIME
LOCAL TEMP (REG 0x88)
REMOTE 1 TEMP (REG 0x89)
REMOTE 2 TEMP (REG 0x8A)
REGISTER 0x0C
CONFIGURE PWM DRIVE
FREQUENCY
FAN1 (REG 0x68)
FAN2 (REG 0x69)
CONFIGURE TACH
OSCILLATOR FREQUENCY
AIN EVENT MASK (CONFIGURE REG 0x58 FOR
AIN 0, REG 0x59 FOR AIN 1)
BIT 0 = 1
FAN 1 RUNS AT ALARM SPEED
IF AIN OUT-OF-LIMIT EVENT
OCCURS
BIT 1 = 1
FAN 2 RUNS AT ALARM SPEED
IF AIN OUT-OF-LIMIT EVENT
OCCURS
BITS 2 – 7
DON'T CARE
FAN1 (REG 0x68)
FAN2 (REG 0x69)
MEASURE
FAN SPEED
FAN1 (REG 0x70)
FAN2 (REG 0x71)
Figure 17. Fan Configuration Flowchart (Continued)
REV. 0
–23–
IS AIN
PIN
ASSERTED?
YES
FAN RUNS AT
ALARM SPEED
ADM1029
RESET INPUT
• If Bit 6 of a Temp. Fault Action Register is set, INT will be
asserted if a temperature input crosses the corresponding
temperature low limit, the direction depending on the setting
of Bit 3 of the Temp. Fault Action register. (0 = INT when
temperature goes below low limit, 1 = INT when temperature
goes above low limit).
Pin 12 is an active-low system RESET input. Taking this pin
low will generate a system reset, which will reset all registers to
their default values.
ANALOG INPUTS
Pins 19 and 20 of the ADM1029 are dual-function pins. They
may be configured as general-purpose logic I/O pins by setting
Bits 0, 1 of the GPIO Present/AIN Register (address 05h) or
as 0 V to 2.5 V analog inputs by clearing these bits.
• If Bit 1 of a Fan Fault Action Register (18h or 19h) is set,
INT will be asserted when a tach measurement for the corresponding fan exceeds the set limit .
In the analog input mode, Pins 19 and 20 have an input range
of 0 V to 2.5 V. By suitable input scaling, the analog input may
be configured to measure other voltage ranges such as system
power supply voltages. If more than one ADM1029 is used in a
system, several such voltages may be monitored.
The measured values of AIN0 and AIN 1 are stored in the
AIN0 and AIN1 Value Registers (addresses B8h and B9h) and
are compared to high and low limits stored in the AIN0 and
AIN1 High and Low Limit Registers (addresses A8h, A9h and
B0h, B1h).
• If Bit 2 of an AIN Behavior Register is set (50h—AIN0, 51h—
AIN1), INT will be asserted if the corresponding AIN high
limit is exceeded.
• If Bit 6 of an AIN Behavior Register is set, INT will be asserted
if the corresponding analog input crosses its AIN low limit,
the direction depending on the setting of Bit 3 of the AIN
Behavior register. (0 = INT when input goes below low limit,
1 = INT when input goes above low limit).
The response of the ADM1029 to an out-of-limit measurement
on AIN0 or AIN1 depends on the status of the AIN0 and AIN1
Behavior Registers (Registers 50h, 51h). The response of
CFAULT, INT, and fan speed to temperature events depends
on the setting of these registers, as detailed in the register tables
later in this data sheet. Figure 18 shows how the AIN pins can
be configured to respond to different events.
FAN FREE-WHEELING TEST
The Fan Free Wheeling Test is used to diagnose fans connected
to the ADM1029 to ensure that they are operating correctly.
Large fans tightly coupled in a duct can affect each other’s airflow. If one fan has failed it may not be apparent, as the other
fan moving can suck air through the faulty fan causing it to spin.
The ADM1029 will spin each fan up separately with the other
powered down and measure the fan speed of both. When it tries
to spin the failed fan with the working fan off, the fan speed
measurement will fail, and the faulty fan will be detected. The
Fan Free-Wheel Test can be invoked at any time in software by
setting Bit 3 of the Configuration Register (Reg. 0x01). The Fan
Free-Wheel Test normally takes about 10 seconds. Once the
Fan Free-Wheel test has completed, Bit 3 will automatically
clear to 0.
ANALOG MONITORING CYCLE
The ADM1029 performs a sequential “round-robin,” monitoring cycle on all analog inputs and temperature inputs that are
enabled. A conversion on AIN0 or AIN1 typically takes 11.6 ms,
while an external temperature conversion takes 185.6 ms.
INTERRUPT (INT) OUTPUT
The INT output is an open-drain output with selectable polarity, intended to communicate fault conditions to the host
processor. The polarity is set to active low by clearing Bit 7 of
the Configuration Register (address 01h) or to active high by
setting this bit.
Automatic Fan Free-Wheel Test
INT can be asserted if any of the following conditions occur:
• A hot-plug event.
• Setting Bit 6 of the Configuration Register (address 01h)
forces INT to be asserted.
• When a GPIO pin is configured as an input by setting Bit 0 of
the corresponding GPIO Behavior Register and Bit 3 of the
GPIO Behavior Register is also set, INT will be asserted when
the logic input is asserted (high or low, depending on the polarity bit, Bit 1 of the corresponding GPIO Behavior Register).
• If Bit 2 of a Temp. Fault Action Register is set (40h—Local
Sensor, 41h—Remote 1, 42h—Remote 2), INT will be asserted
if the corresponding temperature high limit is exceeded.
• If Bit 1 of a Fan Fault Action Register (18h or 19h) is set,
INT will be asserted when the fan fault input pin for the corresponding fan is asserted (low).
Whenever a fan is hot-plugged, the Fan Free-Wheel Test is
automatically invoked. Bit 3 gets set high automatically and once
the test has completed, self-clears to 0. If 2 fans are installed in
the system, the Fan Free-Wheel Test is invoked by removing the
suspect fan and hotplugging a new one. When the suspect fan
(e.g., Fan 1) is removed, the Missing bit (Bit 0) and Missing
Latch bit (Bit 1) of the Fan 1 Status Register are set. Fan 2 will
then automatically run at HotPlug Speed. If the faulty fan is
replaced, the HotPlug Latch bit (Bit 7) is set and the Missing
bit (Bit 0) self-clears. (However, the Missing Latch bit remains
set.) Fan 2 will return to its previous value automatically and
the Fan Free-Wheel Test is invoked. Fan 1 is run at 100% while
Fan 2 is turned off. Fan 2 is then run at 100% with Fan 1 turned
off. Both fans are then spun-up for the Fan Spin-up time. Note
that the Hotplug Latch bit and Missing Latch bit remains set
(Bits 7 and 1). These need to be cleared to 0 before a subsequent Fan Free-Wheel Test can occur. Otherwise, subsequent
fan removals and insertions are ignored.
–24–
REV. 0
ADM1029
AIN PINS ENABLE (REG 0x05)
ENABLE PINS FOR AIN
FUNCTION
(REGISTER 0x05)
BIT 0 = 0
PIN 19 CONFIGURED AS AIN0
BIT 1 = 0
PIN 20 CONFIGURED AS AIN1
BIT 2 – 7
RESERVED FOR OTHER
FUNCTIONS
AIN PINS BEHAVIOR (REG 0x50 CONFIGURES AIN0, REG 0x51 CONFIGURES AIN1)
CONFIGURE AIN PINS
BEHAVIOR
AIN0 (REG 0x50)
AIN1 (REG 0x51)
BIT 0 = 1
BIT 1 = 1
BIT 2 = 1
BIT 3 = 0
BIT 3 = 1
BIT 4 = 1
BIT 5 = 1
BIT 6 = 1
CONFIGURE AIN EVENT
MASK
AIN0 (REG 0x58)
AIN1 (REG 0x59)
BIT 7 = 1
7
CFAULT ASSERTED IF AIN VALUE EXCEEDS AIN HIGH LIMIT
FANS RUN ALARM SPEED IF AIN VALUE EXCEEDS AIN HIGH LIMIT
INT ASSERTED IF AIN VALUE EXCEEDS AIN HIGH LIMIT
ALARM GENERATED (INT, CFAULT, OR ALARM SPEED) WHEN AIN GOES BELOW AIN LOW LIMIT
ALARM GENERATED (INT, CFAULT, OR ALARM SPEED) WHEN AIN GOES ABOVE AIN LOW LIMIT
CFAULT ASSERTED IF AIN VALUE EXCEEDS AIN LOW LIMIT. BIT 3 DECIDES WHETHER CFAULT
IS ASSERTED GOING ABOVE OR BELOW THE LOW LIMIT
FANS RUN ALARM SPEED IF AIN VALUE CROSSES THE AIN LOW LIMIT. BIT 3 DECIDE WHETHER
ALARM SPEED IS TRIGGERED GOING ABOVE OR BELOW THE LOW LIMIT
INT ASSERTED IF AIN VALUE CROSSES THE AIN LOW LIMIT. BIT 3 DECIDES WHETHER INT IS
ASSERTED GOING ABOVE OR BELOW THE LOW LIMIT
THIS BIT LATCHES AN OUT-OF-LIMIT AIN EVENT. CLEARED BY WRITING A '0'
6
5
4
3
2
1
AIN EVENT MASK
(CONFIGURE REG 0x58 FOR
AIN0, REG 0x59 FOR AIN1)
BIT 0 = 1
RUN FAN 1 AT ALARM SPEED IF AIN OUT-OFLIMIT EVENT IS DETECTED
BIT 1 = 1
RUN FAN 2 AT ALARM SPEED IF AIN OUT-OFLIMIT EVENT IS DETECTED
BITS 2 – 7
0
IS AIN
VALUE >
AIN HIGH
LIMIT?
CFAULT
IS AIN
VALUE >
AIN HIGH
LIMIT?
RESERVED – READ BACK ZERO
YES
FANS RUN ALARM SPEED
IS AIN
VALUE >
AIN HIGH
LIMIT?
CONFIGURE AIN
HIGH LIMITS
YES
INT
AIN0 (REG 0xA8)
AIN1 (REG 0xA9)
YES
AIN ABOVE OR
BELOW LOW AIN
LIMIT?
CONFIGURE AIN
LOW LIMITS
0 = ALARM BELOW AIN LOW LIMIT
1 = ALARM ABOVE AIN LOW LIMIT
HAS AIN VALUE
EXCEEDED AIN
LOW LIMIT?
AIN0 (REG 0xB0)
AIN1 (REG 0xB1)
CFAULT
HAS AIN VALUE
EXCEEDED AIN
LOW LIMIT?
MEASURE AIN
VOLTAGES
YES
AIN0 (REG 0xB8)
AIN1 (REG 0xB9)
FANS RUN ALARM SPEED
HAS AIN VALUE
EXCEEDED AIN
LOW LIMIT?
YES
INT
YES
Figure 18. Configuring AIN0 and AIN1 Pins
REV. 0
–25–
ADM1029
GENERAL PURPOSE LOGIC INPUT/OUTPUTS
CFAULT OUTPUT
The ADM1029 has six dual-function pins (see Pin Function
Descriptions section) that may be configured as general-purpose
Logic I/O pins by setting the appropriate bit(s) of the GPIO
Present/AIN Register (address 05h) or as their alternate functions by clearing these bits.
The Cascade Fault output (CFAULT), is an open-drain, active
low output, intended to communicate fault conditions to other
ADM1029s in a system, without the intervention of the host processor. The other ADM1029’s may then adjust their fans’ speed
to compensate, depending on the settings of various registers.
When configured as GPIO pins, each GPIO pin has a Behavior
Register associated with it (Registers 28h to 2Eh) that may be
used to configure the operation of the pin.
CFAULT is asserted if any of the following conditions occurs:
• A hot-plug event.
• Setting Bit 5 of the Configuration Register (address 01h)
forces CFAULT to be asserted.
The GPIO pins may be configured as inputs or outputs. When
used as inputs, they may be configured to:
• Be active high or active low.
• Set/clear a bit in the Behavior Register when GP input is
asserted/deasserted.
• Latch a bit in the Behavior Register when GP input is asserted
(must be cleared by software).
• Assert CFAULT when GP input asserted.
• Assert INT when GP input asserted.
• Set fan(s) to alarm speed when GP input asserted.
• Set fan(s) to hot-plug speed when GP input asserted.
When used as outputs, they may be configured to:
• Be active high or low
• Be asserted if a High Temperature Limit is exceeded.
• Be asserted if a temperature measurement falls below a
low limit.
• Be asserted if a fan fault is detected.
• Be asserted if a fan tach limit is exceeded.
• Be asserted if an AIN high limit is exceeded.
• Be asserted if an analog input falls below a low limit.
Figure 19 shows how to configure the GPIO pins to handle
different out-of-limit and fault events.
• When a GPIO pin is configured as an input by setting Bit 0 of
the corresponding GPIO Behavior Register and Bit 2 of the
GPIO Behavior Register is also set, CFAULT will be asserted
when the logic input is asserted (high or low depending on the
polarity bit, Bit 1 of the corresponding GPIO Behavior Register).
• If Bit 0 of a Temp. Fault Action Register is set (40h—Local
Sensor, 41h—Remote 1, 42h—Remote 2), CFAULT will be
asserted if the corresponding temperature high limit is exceeded.
• If Bit 4 of a Temp. Fault Action Register is set, CFAULT will
be asserted if a temperature input crosses the corresponding
temperature low limit, the direction depending on the setting
of Bit 3 of the Temp. Fault Action Register. (0 = CFAULT
when input goes below low limit, 1 = CFAULT when input
goes above low limit).
• If Bit 0 of a Fan Fault Action Register (18h or 19h) is set,
CFAULT will be asserted when a tach measurement for the
corresponding fan exceeds the set limit.
• If Bit 0 of a Fan Fault Action Register (18h or 19h) is set,
CFAULT will be asserted, when the fan fault input pin for
the corresponding fan is asserted (low).
• If Bit 0 of an AIN Behavior Register is set (50h—AIN0,
51h—AIN1), CFAULT will be asserted if the corresponding
AIN high limit is exceeded.
• If Bit 4 of an AIN Behavior Register is set, CFAULT will be
asserted if an analog input crosses the corresponding AIN low
limit, the direction depending on the setting of Bit 3 of the
AIN Behavior Register. (0 = CFAULT when input goes
below low limit, 1 = CFAULT when input goes above low limit).
–26–
REV. 0
ADM1029
GPIO PINS ENABLE (REG 0x05)
ENABLE PINS FOR GPIO
FUNCTION
(REGISTER 0x05)
CONFIGURE GPIO PINS
BEHAVIOR
GPIO0 (REG 0x28)
|
GPIO6 (REG 0x2E)
BIT 0 = 1
BIT 1 = 1
BIT 2 = 1
BIT 3 = 1
BIT 4 = 1
BIT 5 = 1
BIT 6 = 1
BIT 7
GPIO PINS BEHAVIOR (REG 0x28 CONFIGURES GPIO0, REG 0x29 CONFIGURES GPIO1, ETC.)
BIT 0
BIT 1
BIT 2 = 1
BIT 3 = 1
CONFIGURE GPIO EVENT
MASK
GPIO0 (REG 0x38)
|
GPIO6 (REG 0x3E)
PIN 19 CONFIGURED AS GPIO0
PIN 20 CONFIGURED AS GPIO1
PIN 11 CONFIGURED AS GPIO2
PIN 13 CONFIGURED AS GPIO3
PIN 14 CONFIGURED AS GPIO4
PIN 16 CONFIGURED AS GPIO5
PIN 17 CONFIGURED AS GPIO6
RESERVED
BIT 4 = 1
BIT 5 = 1
BIT 6 = 1
BIT 7
SETS THE DIRECTION FOR GPIO PIN. A '0' CONFIGURES THE PIN AS AN OUTPUT, A '1' SETS
THE PIN UP AS AN INPUT
SETS THE POLARITY FOR GPIO PIN. A '0' MAKES THE PIN ACTIVE LOW, A '1' MAKES THE PIN
ACTIVE HIGH
IF GPIO PIN IS CONFIGURED AS AN INPUT, CFAULT IS ASSERTED WHEN GPIO IS ASSERTED.
IF GPIO PIN IS CONFIGURED AS AN OUTPUT, GPIO PIN WILL BE ASSERTED IF A HIGH
TEMPERATURE LIMIT IS EXCEEDED. THIS CAN BE USED TO SHUT DOWN THE SYSTEM IN AN
OVER-TEMPERATURE SITUATION.
IF GPIO PIN IS CONFIGURED AS AN INPUT, INT IS ASSERTED WHEN GPIO IS ASSERTED. IF GPIO
PIN IS AN OUTPUT, GPIO IS ASSERTED IF A TEMPERATURE LOW LIMIT IS EXCEEDED.
IF GPIO PIN IS CONFIGURED AS AN INPUT, FANS GO TO ALARM SPEED IF GPIO IS ASSERTED. IF
GPIO PIN IS AN OUTPUT, GPIO IS ASSERTED IF A FAN TACH LIMIT IS EXCEEDED.
IF GPIO PIN IS CONFIGURED AS AN INPUT, FANS GO TO HOT-PLUG SPEED IF GPIO IS ASSERTED.
IF GPIO PIN IS AN OUTPUT, GPIO IS ASSERTED IF A FAN FAULT IS DETECTED (FAULT PIN).
IF GPIO PIN IS AN INPUT, THIS BIT REFLECTS THE STATE OF GPIO PIN. IF GPIO PIN IS AN
OUTPUT, GPIO IS ASSERTED IF AN AIN HIGH LIMIT IS EXCEEDED.
IF GPIO PIN IS AN INPUT, THIS BIT LATCHES A GPIO ASSERTION EVENT. CLEARED BY
WRITING A '0.' IF GPIO PIN IS AN INPUT, GPIO IS ASSERTED IF AN AIN LOW LIMIT IS EXCEEDED.
BIT 0 = 1
RUN FAN 1 AT ALARM OR HOT-PLUG SPEED IF GPIO PIN IS ASSERTED
BIT 1 = 1
RUN FAN 2 AT ALARM OR HOT-PLUG SPEED IF GPIO PIN IS ASSERTED
BITS 2 – 7
RESERVED – READ BACK ZERO
GPIO EVENT MASK (CONFIGURE REG 0x38 FOR GPIO0, REG 0x39 FOR
GPIO1.....REG 0x3E FOR GPIO6)
IS GPIO
PIN ASSERTED?
Figure 19. Configuring GPIO Pins
REV. 0
IS GPIO
PIN ASSERTED?
–27–
FAN 1 RUNS AT HOT-PLUG
OR ALARM SPEED
YES
FAN 2 RUNS AT HOT-PLUG
OR ALARM SPEED
YES
ADM1029
Table X. Register Map
Address
Name
Default Value
Description
00
01
02
03
Status Register
Config Register
Fan Supported By Controller
Fans Supported In System
00h
0000 0000
03h
0000 00?1
04
05
GPIOs Supported By Controller
GPIO Present/AIN
7Fh
0????111
06
07
08
09
0B
0C
0D
0E
Temp Devices Installed
Set Fan x Alarm Speed
Set Fan x Hot-Plug Speed
Set Fan x Full Speed
S/W RESET
Fan Spin-Up
Manufacturer’s ID
Major/Minor Revision
0000 0??1
00h
00h
00h
00h
03h
41h
00h
0F
Manufacturer’s Test Register
00h
10
11
18
19
20
Fan 1 Status
Fan 2 Status
Fan 1 Fault Action
Fan 2 Fault Action
Fan 1 Event Mask
0000 0?0?
0000 0?0?
BFh
BFh
FFh
21
Fan 2 Event Mask
FFh
28
29
2A
2B
2C
2D
2E
30
GPIO0 Behavior
GPIO1 Behavior
GPIO2 Behavior
GPIO3 Behavior
GPIO4 Behavior
GPIO5 Behavior
GPIO6 Behavior
Local Temperature Offset
00h
00h
00h
00h
00h
00h
00h
00h
31
Remote 1 Temperature Offset
00h
32
Remote 2 Temperature Offset
00h
38
GPIO0 Event Mask
00h
39
GPIO1 Event Mask
00h
3A
GPIO2 Event Mask
00h
3B
GPIO3 Event Mask
00h
Contains the status of various fault conditions.
Configures the operation of the device.
Contains the number of fans the device can support.
Contains the number of fans actually supported by the device
in the application.
Contains the number of GPIO pins the device can support.
Used to configure GPIO pins as GPIO or as their alternate
analog input function.
Contains number of temperature sensors installed.
Writing to appropriate bit(s) makes fan(s) run at alarm speed.
Writing to appropriate bit(s) makes fan(s) run at hot-plug speed.
Writing to appropriate bit(s) makes fan(s) run at full speed.
Writing A6h to this register causes a software reset.
Configures fan spin-up time.
This register contains the manufacturer’s ID code for the device.
Contains the manufacturer’s code for major and minor revisions to the device in two nibbles.
This register is used by the manufacturer for test purposes. It
should not be read from or written to in normal operation.
Contains status information for FAN 1.
Contains status information for FAN 2.
Sets operation of INT, CFAULT, etc., for FAN 1 fault.
Sets operation of INT, CFAULT, etc., for FAN 2 fault.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to a fault or hot-plug event on FAN 1.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to a fault or hot-plug event on FAN 2.
Configures the operation of GPIO0.
Configures the operation of GPIO1.
Configures the operation of GPIO2.
Configures the operation of GPIO3.
Configures the operation of GPIO4.
Configures the operation of GPIO5.
Configures the operation of GPIO6.
Offset register for local temperature measurement. The value
in this register is added to the local temperature value to reduce
system offset effects.
Offset register for first remote temperature channel (D1). The
value in this register is added to the temperature value to reduce
system offset effects.
Offset register for second remote temperature channel (D2).
The value in this register is added to the temperature value to
reduce system offset effects.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to GPIO0 being asserted.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to GPIO1 being asserted.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to GPIO2 being asserted.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to GPIO3 being asserted.
–28–
REV. 0
ADM1029
Table X. Register Map (Continued)
Address
Name
Default Value
Description
3C
GPIO4 Event Mask
00h
3D
GPIO5 Event Mask
00h
3E
GPIO6 Event Mask
00h
40
Local Temp Fault Action
08h
41
Remote 1 Temp Fault Action
08h
42
Remote 2 Temp Fault Action
08h
48
Local Temp Cooling Action
00h
49
Remote 1 Temp Cooling Action
00h
4A
Remote 2 Temp Cooling Action
00h
50
AIN0 Behavior
00h
51
AIN1 Behavior
00h
58
AIN0 Event Mask
00h
59
AIN1 Event Mask
00h
60
61
68
69
70
71
78
79
80
Fan 1 Minimum/Alarm Speed
Fan 2 Minimum/Alarm Speed
Fan 1 Configuration
Fan 2 Configuration
Fan 1 Tach Value
Fan 2 Tach Value
Fan 1 Tach High Limit
Fan 2 Tach High Limit
Local Temp TMIN
FFh
FFh
2Fh
2Fh
00h
00h
FFh
FFh
??h
81
Remote 1 Temp TMIN
??h
82
Remote 2 Temp TMIN
??h
88
Local Temp TRANGE/THYST
51h
89
Remote 1 Temp TRANGE/THYST
51h
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to GPIO4 being asserted.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to GPIO5 being asserted.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to GPIO6 being asserted.
Configures the operation of INT, CFAULT, etc. for a Local
Temp fault (internal temperature sensor).
Configures the operation of INT, CFAULT, etc. for a Remote
1 Temp fault (D1 Temperature Sensor).
Configures the operation of INT, CFAULT, etc. for a Remote
2 Temp fault (D2 Temperature Sensor).
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to a Local Temp event (internal temperature sensor).
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to a Remote 1 Temp event (D1 temperature sensor).
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to a Remote 2 Temp event (D2 temperature sensor).
Configures the operation of INT, CFAULT, etc. for a fault on
Analog Channel 0.
Configures the operation of INT, CFAULT, etc. for a fault on
Analog Channel 1.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to a fault on Channel 0.
Enables/disables FAN 1 and/or FAN 2 alarm/hot-plug speed
in response to a fault on Channel 1.
Contains the Minimum/Alarm speeds for Fan 1.
Contains the Minimum/Alarm speeds for Fan 2.
Configures hot-plug speed, PWM and tach frequency.
Configures hot-plug speed, PWM and tach frequency.
Contains the measured value from the FAN 1 tachometer output.
Contains the measured value from the FAN 2 tachometer output.
Contains the high limit for FAN 1 tachometer measurement.
Contains the high limit for FAN 2 tachometer measurement.
Defines the starting temperature for the fan when controlled
by the local temperature channel, under Automatic Fan
Speed Control.
Defines the starting temperature for the fan when controlled
by the Remote 1 temperature channel, under Automatic Fan
Speed Control. (D1 Temp Sensor).
Defines the starting temperature for the fan when controlled
by the Remote 2 temperature channel, under Automatic Fan
Speed Control. (D2 Temp Sensor).
This register programs the control range for the local temperature control loop. It also defines the amount of temperature
hysteresis applied to the loop.
This register programs the control range for the Remote 1
temperature control loop. It also defines the amount of temperature hysteresis applied to the loop.
REV. 0
–29–
ADM1029
Table X. Register Map (Continued)
Address
Name
Default Value
Description
8A
Remote 2 Temp TRANGE/THYST
51h
90
91
92
98
99
9A
A0
A1
A2
A8
A9
B0
B1
B8
B9
Local Temp High Limit
Remote 1 Temp High Limit
Remote 2 Temp High Limit
Local Temp Low Limit
Remote 1 Temp Low Limit
Remote 2 Temp Low Limit
Local Temp Value
Remote 1 Temp Value
Remote 2 Temp Value
AIN0 High Limit
AIN1 High Limit
AIN0 Low Limit
AIN1 Low Limit
AIN0 Measured Value
AIN1 Measured Value
50h (80°C)
64h (100°C)
64h (100°C)
3Ch (60°C)
46h (70°C)
46h (70°C)
00h
00h
00h
FFh
FFh
00h
00h
00h
00h
This register programs the control range for the Remote 2
temperature control loop. It also defines the amount of temperature hysteresis applied to the loop.
High limit for Local measurement (internal sensor).
High limit for Remote 1 measurement (D1 Sensor).
High limit for Remote 2 measurement (D2 Sensor).
Low limit for Local Temp measurement (internal sensor).
Low limit for Remote 1 measurement (D1 Sensor).
Low limit for Remote 2 measurement (D2 Sensor).
Measured value from local temp sensor.
Measured value from D1 Remote Sensor.
Measured value from D2 Remote Sensor.
High limit for measurement on analog Channel 0.
High limit for measurement on analog Channel 1.
Low limit for measurement on analog Channel 0.
Low limit for measurement on analog Channel 1.
Measured value of analog Channel 0.
Measured value of analog Channel 1.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
–30–
REV. 0
ADM1029
CONFIGURATION REGISTERS
Register 01h — Config Register (Power-On Default 000? 000?)
Bit
Name
R/W
Description
0
1
2
3
Install = ?
Global INT mask = 0
ARA Disable = 0
Perform Free-Wheel
Test = 0
R/W
R/W
R/W
R/W
4
Start Monitoring = 0
R/W
5
6
7
Force CFAULT = 0
Force INT = 0
INT Polarity = 0
R/W
R/W
R/W
This bit reflects Bit 1 of Register 0x03 (Fans Supported In System).
Setting this bit to 1 will disable the INT output for all interrupt sources.
Setting this bit to 1 will disable the SMBus Alert Response Address feature.
Setting this bit to 1 will initiate the Fan Free-Wheeling Test. While this test
is being performed normal monitoring of fan speeds, temperature and voltages will be temporarily halted. This bit will automatically reset to 0 once the
test is complete which will take about 10 seconds.
Set to 1 to start round robin monitoring cycle of voltage temperature and fan
speeds, fault detection, etc. While this bit is 0, all fans will run at Alarm
Speed. This bit is set at power-up; otherwise, if automatic fan speed control
is enabled by Pin 18.
Setting this bit to 1 forces CFAULT to be asserted (Low).
Setting this bit to 1 forces INT to be asserted (Polarity depends on Bit 7).
Polarity of INT when asserted. 1 means High and 0 means Low.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
Register 05h – GPIO Present / AIN (Power-On Default 0????111)
Bit
Name
R/W
Description
0
GPIO 0 = 1
R/W
1
GPIO 1 = 1
R/W
2
GPIO 2 = 1
R/W
3
GPIO 3 = ?
R/W
4
GPIO 4 = ?
R/W
5
GPIO 5 = ?
R/W
6
GPIO 6 = ?
R/W
7
Reserved
R
Indicates that GPIO0 is being used. Set to 1 on power-up, but can be overwritten by software. Setting this bit to 0 means AIN0 is being used.
Indicates that GPIO1 is being used. Set to 1 on power-up, but can be overwritten by software. Setting this bit to 0 means AIN1 is being used.
Indicates that GPIO2 is being used. Set to 1 on power-up, but can be overwritten by software.
Indicates that GPIO3 is being used. Setting this bit to 0 means TDM1 is
being used. The ADM1029 can detect on power-up if TDM1 is connected.
If so, this bit is set to 0, otherwise it is set to 1. The default setting can be
overwritten by software.
Indicates that GPIO4 is being used. Setting this bit to 0 means TDM1 is
being used. The ADM1029 can detect on power-up if TDM1 is connected.
If so, this bit is set to 0, otherwise it is set to 1. The default setting can be
overwritten by software.
Indicates that GPIO5 is being used. Setting this bit to 0 means TDM2 is
being used. The ADM1029 can detect on power-up if TDM2 is connected.
If so, this bit is set to 0, otherwise it is set to 1. The default setting can be
overwritten by software.
Indicates that GPIO6 is being used. Setting this bit to 0 means TDM2 is
being used. The ADM1029 can detect on power-up if TDM2 is connected.
If so, this bit is set to 0, otherwise it is set to 1. The default setting can be
overwritten by software.
Unused. Will read back 0.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
REV. 0
–31–
ADM1029
Register 07h – Set Fan x* Alarm Speed (Power-On Default 00h)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
Fan 1 Alarm Speed = 0
Fan 2 Alarm Speed = 0
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R/W
R/W
R
R
R
R
R
R
When set to 1, Fan 1 will run at Alarm Speed.
When set to 1, Fan 2 will run at Alarm Speed.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
NOTES
*“x” denotes the fan number.
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
Register 08h – Set Fan x* Hot-Plug Speed (Power-On Default 00h)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
Fan 1 Hot-Plug Speed = 0
Fan 2 Hot-Plug Speed = 0
0
0
0
0
0
0
R/W
R/W
R
R
R
R
R
R
When set to 1, Fan 1 will run at Hot-Plug Speed.
When set to 1, Fan 2 will run at Hot-Plug Speed.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
NOTES
*“x” denotes the fan number.
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
Register 09h – Set Fan x* Full Speed (Power-On Default 00h)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
Fan 1 Full Speed = 0
Fan 2 Full Speed = 0
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R/W
R/W
R
R
R
R
R
R
When set to 1 Fan 1 will run at Full Speed.
When set to 1 Fan 2 will run at Full Speed.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
NOTES
*“x” denotes the fan number.
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
–32–
REV. 0
ADM1029
STATUS REGISTERS
Register 00h – Status Register (Power-On Default 00h)
Bit
Name
R/W
Description
0
INT
R
1
2
CFAULT_in
CFAULT_out
R
R
3
In Alarm_speed
R
4
In Hot-Plug Speed
R
5
GPIO/AIN Event
R
6
Hot Plug/Fan Fault
R
7
Thermal Event
R
This bit is set to 1 when the device is asserting INT low. This bit is the logical
OR of several bits in other registers and is cleared when these bits are cleared.
This bit is set to 1 when the device is receiving CFAULT low from another device.
This bit is set to 1 when the device is asserting CFAULT low. This bit is
the logical OR of several bits in other registers and is cleared when these
bits are cleared.
This bit is set to 1 when either fan is running at Alarm Speed. This bit is the
logical OR of several bits in other registers and is cleared when these bits are
cleared.
This bit is set to 1 when either fan is running at Hot-Plug Speed. This bit is
the logical OR of several bits in other registers and is cleared when these bits
are cleared.
This bit is a logical OR of Bits 1, 3, 6, and 7 in the GPIO Behavior Registers
at 28h to 2Eh while they are configured as inputs, and Bit 7 in the AIN
Behavior Registers at 50h and 51h. It will be set when any of these bits are set
and cleared when all of these bits are cleared.
This bit is a logical OR of Bits 1, 3, 6, and 7 in the Fan Status Registers at
10h and 11h. It will be set when any of these bits are set and cleared when all
of these bits are cleared.
This bit is a logical OR of Bit 7 in the Temp Fault Action Registers at 40h,
41h, and 42h. It will be set when any of these bits are set and cleared when all
of these bits are cleared.
Register 02h – Fan Supported By Controller (Power-On Default 03h)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
Fan 1 = 1
Fan 2 = 1
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
R
R
R
This bit set to 1 means the ADM1029 can support Fan 1.
This bit set to 1 means the ADM1029 can support Fan 2.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Register 03h – Fans Supported In System (Power-On Default 0000 00?1)
Bit
Name
R/W
Description
0
Fan 1 = 1
R/W
1
Fan 2 = ?
R/W
2
3
4
5
6
7
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
R
Indicates that Fan 1 is being used. Set to 1 on Power-up, but can be overwritten by software.
Indicates that Fan 2 is being used. Set by Pin 18 (TMIN/INSTALL) on
Power-up, but can be overwritten by software.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
REV. 0
–33–
ADM1029
Register 04h – GPIOs Supported By Controller (Power-On Default 7Fh)
Bit
Name
R/W
Description
0
GPIO 0 = 1 (Pin 19)
R
1
GPIO 1 = 1 (Pin 20)
R
2
GPIO 2 = 1 (Pin 11)
R
3
GPIO 3 = 1 (Pin 13)
R
4
GPIO 4 = 1 (Pin 14)
R
5
GPIO 5 = 1 (Pin 16)
R
6
GPIO 6 = 1 (Pin 17)
R
7
Reserved
R
This bit set to 1 means the ADM1029 can support GPIO0, available on
Pin 19.
This bit set to 1 means the ADM1029 can support GPIO1, available on
Pin 20.
This bit set to 1 means the ADM1029 can support GPIO2, available on
Pin 11.
This bit set to 1 means the ADM1029 can support GPIO3, available on
Pin 13.
This bit set to 1 means the ADM1029 can support GPIO4, available on
Pin 14.
This bit set to 1 means the ADM1029 can support GPIO5, available on
Pin 16.
This bit set to 1 means the ADM1029 can support GPIO6, available on
Pin 17.
Unused. Will read back 0.
Register 06h – Temp Devices Installed (Power-On Default 0000 0??1)
Bit
Name
R/W
Description
0
Local Temp = 1
R
1
Remote 1 Temp = ?
R
2
Remote 2 Temp = ?
R
3
4
5
6
7
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
This bit is permanently set to 1 since the local temperature sensor is
always available.
This bit is set to 1 if the Remote 1 temperature sensor (TDM1) is installed.
(Automatically detected on power-up.)
This bit is set to 1 if the Remote 2 temperature sensor (TDM2) is installed.
(Automatically detected on power-up.)
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
–34–
REV. 0
ADM1029
Register 10h, 11h – Fan x* Status (Power-On Default 0000 0?0?)
Bit
Name
R/W
Description
0
Missing = x
R
Reflects the state of Pins 4/21. Low means Fan x* is installed, High
means it is missing. This bit will automatically return Low if a missing
fan is replaced.
1
Missing _L = 0
R/W
2
Fault_ = x
R
3
Fault_L_ = 0
R/W
4
Sleep = 0
R/W
5
Hot Plug Priority
R/W
6
Tach_Fault_L
R/W
7
Hot_Plug_L
R/W
This bit is edge-triggered and latches a Fan x* missing event on removal
of Fan x. This bit is cleared by writing a 0 to it.
Inverse of Pin 2/23. Low on pin means Fan x* has a fault (Pins 2/23
Low), High on pin means it is OK. This bit will automatically return
Low if Pins 2/23 goes high.
This bit is edge-triggered and latches a Fan x* fault event on Pins 2/23.
This bit is cleared by writing a 0 to it. If the PRESENT pin for a fan
input is high (fan not installed) this bit will be cleared automatically.
When this bit is set, Fan x* will be stopped and no Fan x* faults will be
monitored. If Bit 4 in Fan x* Fault Action Register is set, Fan x* will go
to Alarm Speed if an overtemperature event is detected as per settings in
the Temp Fault Action Registers.
This bit indicates whether Fan x runs at Hot-Plug Speed (bit set to 1) or
Alarm Speed (bit set to 0) if both modes are triggered.
Latches a Fan x Tach Fault. This bit is cleared by writing a 0 to it. If the
PRESENT pin for a fan input is high (fan not installed), this bit will be
cleared automatically.
This bit is edge-triggered and latches a Fan x Hot-plug event which is the
insertion of Fan x. (Note difference to Bit 1.) This bit is cleared by writing a 0 to it. If a fan is Hot-Plug installed, it will run at Normal Speed.
NOTES
*“x” denotes the fan number. Register 10h is for Fan 1 and Register 11h is for Fan 2.
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
REV. 0
–35–
ADM1029
TEMPERATURE REGISTERS
Register 06h – Temp Devices Installed (Power-On Default 0000 0??1)
Bit
Name
R/W
Description
0
Local Temp = 1
R
1
Remote 1 Temp = ?
R
2
Remote 2 Temp = ?
R
3
4
5
6
7
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
This bit is permanently set to 1 since the local temperature sensor is always
available.
This bit is set to 1 if the Remote 1 temperature sensor (TDM1) is installed.
(Automatically detected on power-up.)
This bit is set to 1 if the Remote 2 temperature sensor (TDM2) is installed.
(Automatically detected on power-up.)
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
Register 30h, 31h, 32h – Temp x* Offset Registers (Power-On Default 00h)
Bit
Name
R/W
Description
<7:0>
Offset
R/W
This register contains an offset value that is automatically added to the temperature value to reduce the effects of systemic offset errors.
*“x” denotes the number of the temperature channel. Register 30h is for Local temperature channel, 31h is for Remote 1 Temp (D1), 32h is for Remote 2 Temp (D2).
Register 40h, 41h, 42h – Temp x* Fault Action (Power-On Default 08h)
Bit
Name
R/W
Description
0
R/W
1
Assert CFAULT on
OT = 0
Alarm speed on OT = 0
2
INT on OT = 0
R/W
3
Alarm below low = 0
R/W
4
Assert CFAULT on
UT = 0
R/W
5
Alarm speed on UT = 0
R/W
6
INT on UT = 0
R/W
7
Latch Temp Fault = 0
R/W
When this bit is set, CFAULT will be asserted when the Temp x* temperature exceeds the Temp x* Temperature High Limit, not otherwise.
When this bit is set, the fans(s) will go to alarm speed when the Temp x*
temperature exceeds the Temp x* Temperature High limit, not otherwise.
When this bit is set, INT will be asserted when the Temp x* temperature
exceeds the Temp x* Temperature High Limit, not otherwise.
This bit indicates whether an alarm (INT, CFAULT, or Alarm Speed) is
asserted when temperature goes above or below the Low Limit. 1 = above,
0 = below. This bit is set to 1 at power-up if automatic fan speed control is
enabled by Pin 18, cleared otherwise.
When this bit is set, CFAULT will be asserted when the Temp x* temperature
crosses the Temp x* Temperature Low Limit, not otherwise. Bit 3 decides
whether CFAULT is asserted for going above or below the Low Limit. This bit is
set to 1 if Automatic Fan Speed Control is enabled on power-up.
When this bit is set, the fans(s) will go to alarm speed when the Temp x*
temperature crosses the Temp x* Temperature Low Limit, not otherwise. Bit
3 decides whether Alarm Speed is asserted for going above or below the Low Limit.
When this bit is set, INT will be asserted when the Temp x* temperature
crosses the Temp x* Temperature Low Limit, not otherwise. Bit 3 decides
whether INT is asserted for going above or below the Low Limit.
This bit latches a temperature out-of-limit event (i.e., when the temperature
goes above the high limit or crosses the low limit) on the Temp x* channel.
This bit is cleared by writing a 0 to it.
R/W
*“x” denotes the number of the temperature channel. Register 40h is for the Local temperature channel, 41h is for Remote 1 Temp (D1), 42h is for Remote 2
Temp (D2).
–36–
REV. 0
ADM1029
Register 48h, 49h, 4Ah – Temp x* Cooling Action (Power-On Default 00h)
Bit
Name
R/W
Description
0
Fan 1 = 0
R/W
1
Fan 2 = 0
R/W
If a Temp x* out-of-limit event is generated such that fans should be driven at
Alarm Speed, Fan 1 will be set to this speed when this bit is set. If no Temp x*
out-of-limit event is present, Fan 1 will be set to the speed determined by the
automatic fan speed control circuit as a result of temperature measurements on
the Temp x* channel when this bit is set. If this bit is not set, Temp x* temperature measurements will have no effect on the speed of Fan 1.
If a Temp x* out-of-limit event is generated such that fans should be driven
at Alarm Speed, Fan 2 will be set to this speed when this bit is set. If no Temp
x* out-of-limit event is present, Fan 2 will be set to the speed determined by
the automatic fan speed control circuit as a result of temperature measurements on the Temp x* channel when this bit is set. If this bit is not set,
Temp x temperature measurements have no effect on the speed of Fan 2.
While in theory it is possible, through setting of Bits 0 and 1 in registers 48h
to 4Ah, to have any temperature channel controlling any fan, in practice this
is not feasible. A subset of possibilities only are supported as follows:
Case 1:
2
3
4
5
6
7
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
R
TDM1 controlling Fan 1
(Bit 0 in 49h set and/or
TDM2 controlling Fan 2
Bit 1 in 4Ah set, only)
Case 2:
Local controlling Fan 1 and/or Fan 2 (Bits 0, 1 in 48h only set)
Case 3:
TDM1 controlling Fan 1 and/or Fan 2 (Bits 0, 1 in 49h only set)
Case 4:
TDM2 controlling Fan 1 and/or Fan 2 (Bits 0, 1 in 4Ah only set)
Case 5:
Fan 1 and/or Fan 2 set to max speed (Bits 0, 1 in 48h, 49h,
(Default) determined by temperature
4Ah all set)
measurements on all three channels.
Other:
If Bits 0,1 in registers 48h, 49h, 4Ah are
set inconsistent with these cases, fans
will run at the speeds determined by
the normal speed registers.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
*“x” denotes the number of the temperature channel. Register 48h is for the Local temperature channel. 49h is for Remote 1 Temp (D1), 4Ah is for Remote 2
Temp (D2).
REV. 0
–37–
ADM1029
Register 80h, 81h, 82h – Temp x* TMIN (Power-On Default 001??000)
Bit
Name
R/W
Description
<7:0>
Temp x* TMIN
R/W
This register contains the minimum temperature value for automatic fan speed
control based on the Temp x* temperature. On power-up Pin 18 is sampled
by the ADC to determine the default value for Temp x* TMIN. If Pin 18 is
strapped to GND or VCC, this register defaults to 32°C, but Automatic Fan
Speed Control is disabled. There are eight strappable options on Pin 18.
These options are used to set Temp x* TMIN and the Install bit in the Config
Register (Reg 01h, Bit 0). The options are as follows:
ADC MSBs
R1
R2
Install
Temp x* TMIN
111
101
110
100
011
010
001
000
0
18 kΩ
22 kΩ
12 kΩ
15 kΩ
47 kΩ
82 kΩ
∞
∞
82 kΩ
47 kΩ
15 kΩ
12 kΩ
22 kΩ
18 kΩ
0
1
1
1
1
0
0
0
0
Disabled
48°C
40°C
32°C
32°C
40°C
48°C
Disabled
*“x” denotes the number of the temperature channel. Register 80h is for the Local temperature channel, 81h is for Remote 1 Temp (D1), 82h is for Remote 2
Temp (D2).
Register 88h, 89h, 8Ah Temp x* TRANGE/THYST (Power-On Default 51h)
Bit
Name
R/W
Description
<3:0>
Temp x* TRANGE
R/W
This nibble contains the temperature range over which automatic fan speed
control operates based on the Temp x* measured temperature. Only a limited
number of temperature ranges are supported as follows:
<7:4>
Temp x* THYST
R/W
Bits <3:0>
TRANGE
0000
0001
0010
0011
0100
5°C
10°C
20°C
40°C
80°C
This nibble allows programmability of the Hysteresis level around the temperature
at which the fan being controlled by Temp x* will switch on in automatic fan
speed control mode. Values from 0°C to 15°C are possible. If a value other than
0°C is programmed as a Hysteresis value, the fan will switch on when Temp x*
goes above TMIN, but will remain on until Temp x* falls below TMIN –THYST.
Between TMIN –THYST and TMIN the fan will run at the programmed minimum
pulsewidth in the Fan x* Speed 1 register.
*“x” denotes the number of the temperature channel. Register 88h is for the Local temperature channel , 89h is for Remote 1 Temp (D1), 8Ah is for Remote 2 Temp (D2).
–38–
REV. 0
ADM1029
Register 90h, 91h, 92h – Temp x* High Limit (Power-On Default 80ⴗC for Local Sensor, 100ⴗC for Remote Sensors)
Bit
Name
R/W
Description
<7:0>
Temp x* High Limit
R/W
This register contains the high limit value for the Temp x* measurement.
*“x” denotes the number of the temperature channel. Register 90h is for the Local temperature channel. 91h is for Remote 1 Temp (D1), 92h is for Remote 2
Temp (D2).
Register 98h, 99h, 9Ah – Temp x* Low Limit (Power-On Default 60ⴗC for Local Sensor, 70ⴗC for Remote Sensors)
Bit
Name
R/W
Description
<7:0>
Temp x* Low Limit
R/W
This register contains the low limit value for the Temp x* measurement.
*“x” denotes the number of the temperature channel. Register 98h is for the Local temperature channel. 99h is for Remote 1 Temp (D1), 9Ah is for Remote 2
Temp (D2).
Register A0h, A1h, A2h – Temp x* Measured Value (Power-On Default 00h)
Bit
Name
R/W
Description
<7:0>
Temp x* Value
R
This register contains the actual Temp x* measured value.
*“x” denotes the number of the temperature channel. Register A0h is for the Local temperature channel. A1h is for Remote 1 Temp (D1), A2h is for Remote 2
Temp (D2).
REV. 0
–39–
ADM1029
FAN REGISTERS
Register 02h – Fan Supported By Controller (Power-On Default 03h)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
Fan 1 = 1
Fan 2 = 1
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
R
R
R
This bit set to 1 means the ADM1029 can support Fan 1.
This bit set to 1 means the ADM1029 can support Fan 2.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Register 03h – Fans Supported In System (Power-On Default 0000 00?1)
Bit
Name
R/W
Description
0
Fan 1 = 1
R/W
1
Fan 2 = ?
R/W
2
3
4
5
6
7
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
R
Indicates that Fan 1 is being used. Set to 1 on power-up, but can be overwritten by software.
Indicates that Fan 2 is being used. Set by Pin 18 (TMIN/INSTALL) on
power-up, but can be overwritten by software.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
Register 07h – Set Fan x Alarm Speed (Power-On Default 00h)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
Fan 1 Alarm Speed = 0
Fan 2 Alarm Speed = 0
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R/W
R/W
R
R
R
R
R
R
When set to 1, Fan 1 will run at Alarm Speed.
When set to 1, Fan 2 will run at Alarm Speed.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Register 08h – Set Fan x Hot-Plug Speed (Power-On Default 00h)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
Fan 1 Hot-Plug Speed = 0
Fan 2 Hot-Plug Speed = 0
0
0
0
0
0
0
R/W
R/W
R
R
R
R
R
R
When set to 1, Fan 1 will run at Hot-Plug Speed.
When set to 1, Fan 2 will run at Hot-Plug Speed.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
–40–
REV. 0
ADM1029
Register 09h – Set Fan x Full Speed (Power-On Default 00h)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
Fan 1 Full Speed = 0
Fan 2 Full Speed = 0
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R/W
R/W
R
R
R
R
R
R
When set to 1 Fan 1 will run at Full Speed.
When set to 1 Fan 2 will run at Full Speed.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Register 0Ch – Fan Spin-Up Register (Power-On Default 03h)
Bit
Name
R/W
Description
<7:4>
3
<2:0>
Reserved
Spin-up Disable
Fan Spin-up Time
R
R/W
R/W
Unused
When this bit is set to 1, fan spin-up to full speed will be disabled.
These bits select the spin-up time for the fans
000 = 16 seconds
001 = 8 seconds
010 = 4 seconds
011 = 2 seconds (default)
100 = 1 second
101 = 0.25 seconds
110 = 1/16 second
111 = 1/64 second
Register 10h, 11h – Fan x* Status (Power-On Default 0000 0?0?)
Bit
Name
R/W
Description
0
Missing = x
R
1
Missing _L = 0
R/W
2
Fault_ = x
R
3
Fault_L_ = 0
R/W
4
Sleep = 0
R/W
5
Hot Plug Priority
R/W
6
Tach_Fault_L
R/W
7
Hot_Plug_L
R/W
Reflects the state of Pins 4/21. Low means Fan x* is installed, High means it
is missing. This bit will automatically return Low if a missing fan is replaced.
This bit is edge-triggered and latches a Fan x* missing event on removal of
Fan x*. This bit is cleared by writing a 0 to it.
Inverse of Pin 2/23. Low on pin means Fan x* has a fault (Pins 2/23 Low),
High on pin means it is OK. This bit will automatically return Low if Pin 2/23
goes high.
This bit is edge-triggered and latches a Fan x* fault event on Pin 2/23. This bit
is cleared by writing a 0 to it. If the PRESENT pin for a fan input is high (fan
not installed) this bit will be cleared automatically.
When this bit is set, Fan x* will be stopped and no Fan x* faults will be
monitored. If Bit 4 in Fan x* Fault Action Register is set then Fan x* will go
to Alarm Speed if an overtemperature event is detected as per settings in the
Temp Fault Action Registers.
This bit indicates whether Fan x* runs at Hot-Plug Speed (bit set to 1) or
Alarm Speed (bit set to 0) if both modes are triggered.
Latches a Fan x* Tach fault. This bit is cleared by writing a 0 to it. If the
PRESENT pin for a fan input is high (fan not installed) this bit will be
cleared automatically.
This bit is edge-triggered and latches a Fan x* Hot-Plug event which is the
insertion of Fan x*. (Note difference to Bit 1) This bit is cleared by writing a 0
to it. If a fan is Hot-Plug installed, it will run at Normal Speed.
NOTES
*“x” denotes the fan number. Register 10h is for Fan 1 and Register 11h is for Fan 2.
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
REV. 0
–41–
ADM1029
Register 18h, 19h – Fan x* Fault Action (Power-On Default BFh)
Bit
Name
R/W
Description
0
Assert CFAULT on
Fault = 1
Assert INT on Fault = 1
R/W
Assert CFAULT on
Hot Unplug = 1
Assert INT on
Hot Unplug = 1
Thermal Override in
Sleep = 1
R/W
If this bit is set, CFAULT will be asserted when there is a fault (Tach or
Pins 2/23) on Fan x*.
If this bit is set, INT will be asserted when there is a fault (Tach or Pins 2
23) on Fan x*.
If this bit is set, CFAULT will be asserted when there is a hot unplug event
on Fan x*.
If this bit is set, INT will be asserted when there is a hot unplug event
on Fan x*.
If Bit 4 in Fan x* Status Register is set then Fan x* will go to Alarm Speed if
an overtemperature event is detected as per settings in Temp x* Fault Action
Registers, while this bit is set.
If Bit 3 or Bit 6 of Reg 10 is set, drive Pins 2, 23 low if a fault is generated.
1
2
3
4
5
6
7
Drive Fault_ on
Fault_L = 1
Hot-Plug Speed on
CFAULT in = 0
Alarm on CFAULT = 1
R/W
R/W
R/W
R/W
R/W
R/W
When this bit is set, Fan x* will go to Hot-Plug Speed when CFAULT is
pulled low externally.
When this bit is set, Fan x* will go to Alarm Speed when CFAULT is pulled
low externally.
*“x” denotes the fan number. Register 18h is for Fan 1 and Register 19h is for Fan 2.
Register 20h, 21h – Fan x* Event Mask (Power-On Default FFh)
Bit
Name
R/W
Description
0
Fan 1 = 1
R/W
1
Fan 2 = 1
R/W
2
3
4
5
6
7
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
R
If a fault (Tach or Pins 2/23) is detected on Fan x*, Fan 1 will be driven to
Alarm Speed when this bit is set.
If a fault (Tach or Pins 2/23) is detected on Fan x*, Fan 2 will be driven to
Alarm Speed when this bit is set.
Unused. Will read back 1.
Unused. Will read back 1.
Unused. Will read back 1.
Unused. Will read back 1.
Unused. Will read back 1.
Unused. Will read back 1.
*“x” denotes the fan number. Register 20h is for Fan 1 and Register 21h is for Fan 2.
Register 60h, 61h – Fan x* Minimum/Alarm Speed (Power-On Default FFh)
Bit
Name
R/W
Description
3–0
Fan x Minimum Speed
R/W
7–4
Fan x Alarm Speed
R/W
This nibble contains the Normal speed value for Fan x*. When in automatic
fan this nibble will contain the minimum speed at which Fan x* will run. The
power-up default for the Min Speed should be 5hex which corresponds to
33% PWM duty cycle.
This nibble contains the Alarm speed value for Fan x*.
*“x” denotes the fan number. Register 60h is for FAN 1 and 61h is for FAN 2.
–42–
REV. 0
ADM1029
Register 68h, 69h – Fan x* Configuration (Power-On Default 2Fh)
Bit
Name
R/W
Description
<3:0>
Fan x* Hot-Plug Speed
R/W
<5:4>
PWM Frequency
R/W
<7:6>
Oscillator Frequency
R/W
This nibble contains the Hot-Plug speed value for Fan x*. This is the speed
the other fan(s) runs at if Fan x* is Hot-Plug removed. If a fan is Hot-Plug
installed, it will run at Normal Speed.
These bits allow programmability of the Nominal PWM Frequency for
Fan x*. The following options are supported:
Bits 5–4
PWM Freq
00
15.625 Hz
01
62.5 Hz
10
250 Hz – Default
11
1000 Hz
These bits contain the oscillator frequency for the Fan x* tach measurement.
If set to 00, tach measurement is disabled for Fan x*.
Bit 7
Bit 6 Oscillator Frequency (Hz)
0
0
Measurement disabled
0
1
470
1
0
940
1
1
1880
*“x” denotes the fan number. Register 68h is for FAN 1 and 69h is for FAN 2.
Register 70h, 71h – Fan x* Tach Value (Power-On Default 00h)
Bit
Name
R/W
Description
<7:0>
Fan x* Tach Value
R
This register contains the value of the Fan x* tachometer measurement.
*“x” denotes the fan number. Register 70h is for FAN 1 and 71h is for FAN 2.
Register 78h, 79h – Fan x* Tach High Limit (Power-On Default FFh)
Bit
Name
R/W
Description
<7:0>
Fan x* Tach High Limit
R/W
This register contains the limit value for the Fan x* tachometer measurement. Since the tachometer circuit counts between tach pulses, a slow fan will
result in a larger measured value, so exceeding the limit is the way to detect a
slow or stopped fan.
*“x” denotes the fan number. Register 78h is for FAN 1 and 79h is for FAN 2.
REV. 0
–43–
ADM1029
GPIO REGISTERS
Register 04h–GPIOs Supported by Controller (Power-On Default 7Fh)
Bit
Name
R/W
Description
0
1
2
3
4
5
6
7
GPIO 0 = 1 (Pin 19)
GPIO 1 = 1 (Pin 20)
GPIO 2 = 1 (Pin 11)
GPIO 3 = 1 (Pin 13)
GPIO 4 = 1 (Pin 14)
GPIO 5 = 1 (Pin 16)
GPIO 6 = 1 (Pin 17)
Reserved
R
R
R
R
R
R
R
R
This bit set to 1 means the ADM1029 can support GPIO0, available on Pin 19.
This bit set to 1 means the ADM1029 can support GPIO1, available on Pin 20.
This bit set to 1 means the ADM1029 can support GPIO2, available on Pin 11.
This bit set to 1 means the ADM1029 can support GPIO3, available on Pin 13.
This bit set to 1 means the ADM1029 can support GPIO4, available on Pin 14.
This bit set to 1 means the ADM1029 can support GPIO5, available on Pin 16.
This bit set to 1 means the ADM1029 can support GPIO6, available on Pin 17.
Unused. Will read back 0.
Register 05h–GPIO Present/AIN (Power-On Default 0????111)
Bit
Name
R/W
Description
0
GPIO 0 = 1
R/W
1
GPIO 1 = 1
R/W
2
GPIO 2 = 1
R/W
3
GPIO 3 = ?
R/W
4
GPIO 4 = ?
R/W
5
GPIO 5 = ?
R/W
6
GPIO 6 = ?
R/W
7
Reserved
R
Indicates that GPIO0 is being used. Set to 1 on power-up, but can be overwritten by software. Setting this bit to 0 means AIN0 is being used.
Indicates that GPIO1 is being used. Set to 1 on power-up, but can be overwritten by software. Setting this bit to 0 means AIN1 is being used.
Indicates that GPIO2 is being used. Set to 1 on power-up, but can be overwritten by software.
Indicates that GPIO3 is being used. Setting this bit to 0 means TDM1 is
being used. The ADM1029 can detect on power-up if TDM1 is connected. If
so then this bit is set to 0, otherwise it is set to 1. The default setting can be
overwritten by software.
Indicates that GPIO4 is being used. Setting this bit to 0 means TDM1 is
being used. The ADM1029 can detect on power-up if TDM1 is connected. If
so then this bit is set to 0, otherwise it is set to 1. The default setting can be
overwritten by software.
Indicates that GPIO5 is being used. Setting this bit to 0 means TDM2 is
being used. The ADM1029 can detect on power-up if TDM2 is connected. If
so then this bit is set to 0, otherwise it is set to 1. The default setting can be
overwritten by software.
Indicates that GPIO6 is being used. Setting this bit to 0 means TDM2 is
being used. The ADM1029 can detect on power-up if TDM2 is connected. If
so then it is set to 1. The default setting can be overwritten by software.
Unused. Will read back 0.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
–44–
REV. 0
ADM1029
Register 28h, 29h, 2Ah, 2Bh, 2Ch, 2Dh, 2Eh – GPIOx* Behavior (Power-On Default 00h)
Bit
Name
R/W
Description
0
Direction = 0
R/W
1
Polarity = 0
R/W
2
Bit 2 = 0
R/W
3
Bit 3 = 0
R/W
4
Bit 4 = 0
R/W
5
Bit 5 = 0
R/W
6
Bit 6 = 0
R
R/W
7
Bit 7 = 0
R/W
This bit indicates the direction for GPIOx* pin. When set to 1 GPIOx* will
function as an input, when 0 GPIOx* will function as an output.
This bit indicates the polarity of the GPIOx* pin. When set to 1 GPIOx* will
be active high, when 0 GPIOx* will be active low.
If GPIOx* is configured as an input, CFAULT will be asserted if GPIOx*
pin is asserted while this bit is set. If GPIO2 is configured as an output, GPIO2
will be asserted if a temperature High limit is exceeded while this bit is set. If
automatic fan speed control is enabled, this bit will be set by default. This can
be used as a SHUTDOWN signal for a catastrophic overtemperature event.
If GPIOx* is configured as an input, INT will be asserted if GPIOx* pin is
asserted while this bit is set. If GPIOx* is configured as an output, GPIOx*
will be asserted if a temperature Low limit is exceeded while this bit is set.
If GPIOx* is configured as an input, Fans will go to Alarm Speed if GPIOx*
pin is asserted while this bit is set. If GPIOx* is configured as an output,
GPIOx* will be asserted if a Fan Tach limit is exceeded while this bit is set.
If GPIOx* is configured as an input, Fans will go to Hot-Plug Speed if
GPIOx* pin is asserted while this bit is set. If GPIOx* is configured as an
output, GPIOx* will be asserted if a Fan Fault (Pins 2/23) is detected
while this bit is set.
If GPIOx* is configured as an input, this bit will reflect state of GPIOx* pin.
If GPIOx* is configured as an output, GPIOx will be asserted if an AIN high
limit is exceeded while this bit is set.
If GPIOx* is configured as an input, this bit will latch a GPIOx* assertion
event. This bit is cleared by writing a 0 to it. If GPIOx* is configured as an
output, GPIOx* will be asserted if an AIN Low limit is exceeded while this
bit is set.
*“x” denotes the number of the GPIO pin. Register 28h controls GPIO0, 29h controls GPIO1, etc.
Register 38h, 39h, 3Ah, 3Bh, 3Ch, 3Dh, 3Eh – GPIOx* Event Mask (Power-On Default 00h)
Bit
Name
R/W
Description
0
Fan 1 = 0
R/W
1
Fan 2 = 0
R/W
2
3
4
5
6
7
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R
R
R
R
R
R
If GPIOx* is asserted such that fans should be driven at Alarm or Hot-Plug
Speed, Fan 1 will be set to this speed when this bit is set.
If GPIOx* is asserted such that fans should be driven at Alarm or Hot-Plug
Speed, Fan 2 will be set to this speed when this bit is set.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
Unused. Will read back 0.
*“x” denotes the number of the GPIO pin. Register 38h is for GPIO0, 39h is for GPIO1 etc.
REV. 0
–45–
ADM1029
AIN REGISTERS
Register 05h – GPIO Present/AIN (Power-On Default 0????111)
Bit
Name
R/W
Description
0
GPIO 0 = 1
R/W
1
GPIO 1 = 1
R/W
2
GPIO 2 = 1
R/W
3
GPIO 3 = ?
R/W
4
GPIO 4 = ?
R/W
5
GPIO 5 = ?
R/W
6
GPIO 6 = ?
R/W
7
Reserved
R
Indicates that GPIO0 is being used. Set to 1 on power-up, but can be overwritten by software. Setting this bit to 0 means AIN0 is being used.
Indicates that GPIO1 is being used. Set to 1 on Power-up, but can be overwritten by software. Setting this bit to 0 means AIN1 is being used.
Indicates that GPIO2 is being used. Set to 1 on power-up, but can be overwritten by software.
Indicates that GPIO3 is being used. Setting this bit to 0 means TDM1 is being
used. The ADM1029 can detect on power-up if TDM1 is connected. If so,
this bit is set to 0; otherwise it is set to 1. The default setting can be overwritten by software.
Indicates that GPIO4 is being used. Setting this bit to 0 means TDM1 is being
used. The ADM1029 can detect on power-up if TDM1 is connected. If so,
this bit is set to 0; otherwise it is set to 1. The default setting can be overwritten by software.
Indicates that GPIO5 is being used. Setting this bit to 0 means TDM2 is being
used. The ADM1029 can detect on power-up if TDM2 is connected. If so,
this bit is set to 0; otherwise it is set to 1. The default setting can be overwritten by software.
Indicates that GPIO6 is being used. Setting this bit to 0 means TDM2 is being
used. The ADM1029 can detect on power-up if TDM2 is connected. If so,
this bit is set to 0; otherwise it is set to 1. The default setting can be overwritten by software.
Unused. Will read back 0.
NOTE
Question marks on this and following pages indicate bit settings that depend on the state of certain pins on power-up.
Register 50h, 51h – AINx* Behavior (Power-On Default 00h)
Bit
Name
R/W
Description
0
Assert CFAULT on
HI_LIM = 0
Alarm speed on
HI_LIM = 0
INT on HI_LIM = 0
Alarm below low = 0
R/W
4
Assert CFAULT on
LO_LIM = 0
R/W
5
Alarm speed on
LO_LIM = 0
R/W
6
INT on LO_LIM = 0
R/W
7
Latch AIN Fault = 0
R/W
When this bit is set, CFAULT is asserted when AINx* exceeds the AINx*
high limit.
When this bit is set, the fans go to alarm speed when AINx* exceeds the
AINx* high limit.
When this bit is set, INT is asserted when AINx* exceeds the AINx* high limit.
This bit indicates whether an alarm (INT, CFAULT or Alarm Speed) is
asserted when AINx* goes above or below the Low Limit. 1 = above. 0 = below.
When this bit is set, CFAULT is asserted when AINx* crosses the AINx*
low limit. Bit 3 decides whether CFAULT is asserted for going above or below
the Low Limit.
When this bit is set, the fans go to alarm speed when AINx* crosses the AINx*
low limit. Bit 3 decides whether Alarm Speed is asserted for going above or
below the Low Limit.
When this bit is set, INT is asserted when AINx* crosses the AINx* low limit. Bit
3 decides whether INT is asserted for going above or below the Low Limit.
This bit latches an out-of-limit event (i.e., when AINx* goes above the high
limit or crosses the low limit) on the AINx* channel. This bit is cleared by
writing a 0 to it.
1
2
3
R/W
R/W
R/W
*“x” denotes the number of the AIN channel. Register 50h controls AIN0 and 51h controls AIN1.
–46–
REV. 0
ADM1029
Register 58h, 59h – AINx* Event Mask (Power-On Default 00h)
Bit
Name
R/W
Description
0
Fan 1 = 0
R/W
1
Fan 2 = 0
R/W
2
3
4
5
6
7
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R/W
R/W
R/W
R/W
R/W
R/W
If an AINx* out-of-limit event is generated such that fans should be driven at
Alarm Speed, Fan 1 will be set to this speed when this bit is set.
If an AINx* out-of-limit event is generated such that fans should be driven at
Alarm Speed, Fan 2 will be set to this speed when this bit is set.
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
*“x” denotes the number of the AIN channel. Register 58h is for AIN0 and 59h is for AIN1.
Register A8h, A9h – AINx* High Limit (Power-On Default FFh)
Bit
Name
R/W
Description
<7:0>
AINx* High Limit
R/W
This register contains the high limit value for the AINx* analog input channel.
*“x” denotes the number of the AIN channel. Register A8h is for AIN0 and A9h is for AIN1.
Register B0h, B1h – AINx* Low Limit (Power-On Default 00h)
Bit
Name
R/W
Description
<7:0>
AINx* Low Limit
R/W
This register contains the low limit value for the AINx* analog input channel.
*“x” denotes the number of the AIN channel. Register B0h is for AIN0 and B1h is for AIN1.
Register B8h, B9h – AINx* Measured Value (Power-On Default 00h)
Bit
Name
R/W
Description
<7:0>
AINx* value
R
This register contains the measured value of the AINx* analog input channel.
*“x” denotes the number of the AIN channel. Register B8h is for AIN0 and B9h is for AIN1.
REV. 0
–47–
ADM1029
MISCELLANEOUS REGISTERS
Bit
Name
R/W
Description
<7:0>
S/W Reset
R/W
Writing A6 hex to this register location causes a software reset identical to a
power-on reset. This register is self-clearing so reading from it after the software reset has completed will result in 00 hex being read.
Register 0Dh – Manufacturer’s ID (Power-On Default 41h)
Bit
Name
R/W
Description
<7:0>
Manufacturer’s ID Code
R
This register contains the manufacturer’s ID code for the device.
C01721–1–7/01(0)
Register 0Bh – S/W RESET (Power-On Default 00h)
Register 0Eh – Revision (Power-On Default 00h)
Bit
Name
R/W
Description
<3:0>
<7:4>
Minor Revision Code
Major Revision Code
R
R
This nibble contains the manufacturer’s code for minor revisions to the device.
This nibble contains the manufacturer’s code for major revisions to the device
which would likely require a S/W revision.
Register 0Fh – Manufacturer’s Test Register (Power-On Default 00h)
Bit
Name
R/W
Description
<7:0>
Manufacturer’s Test
R/W
This register is used by the manufacturer for test purposes. It should not be
read from or written to in normal operation.
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
24-Lead QSOP Package
(RQ-24)
0.337 (8.74)
0.334 (8.56)
24
13
0.157 (3.99)
0.150 (3.81)
1
12
0.244 (6.20)
0.228 (5.79)
0.010 (0.25) 0.025 (0.64)
BSC
0.004 (0.10)
PRINTED IN U.S.A.
PIN 1
0.059 (1.50)
MAX
0.069 (1.75)
0.053 (1.35)
8ⴗ
0.012 (0.30) SEATING
0ⴗ
0.010 (0.20)
0.008 (0.20) PLANE
0.007 (0.18)
–48–
0.050 (1.27)
0.016 (0.41)
REV. 0