Internally charge-pumped high drive for use with external
N-FET (PDO1 to PDO6 only)
Sequencing engine (SE) implements state machine control of
PDO outputs
State changes conditional on input events
Enables complex control of boards
Power-up and power-down sequence control
Fault event handling
Interrupt generation on warnings
Watchdog function can be integrated in SE
Program software control of sequencing through SMBus
Complete voltage-margining solution for 6 voltage rails
6 voltage output 8-bit DACs (0.300 V to 1.551 V) allow voltage
adjustment via dc-to-dc converter trim/feedback node
12-bit ADC for readback of all supervised voltages
2 auxiliary (single-ended) ADC inputs
Reference input (REFIN) has 2 input options
Driven directly from 2.048 V (±0.25%) REFOUT pin
More accurate external reference for improved ADC
performance
Device powered by the highest of VPx, VH for improved
redundancy
User EEPROM: 256 bytes
Industry-standard 2-wire bus interface (SMBus)
Guaranteed PDO low with VH, VPx = 1.2 V
Available in 40-lead, 6 mm × 6 mm LFCSP and
48-lead, 7 mm × 7 mm TQFP packages
For more information about the ADM1166 register map,
refer to the
Rev. 0
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other
rights of third parties that may result from its use. Specifications subject to change without notice. No
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Trademarks and registered trademarks are the property of their respective owners.
AN-698 Application Note
and Nonvolatile Fault Recording
ADM1166
FUNCTIONAL BLOCK DIAGRAM
REFOUTREFINAUX2AUX1REFGND
VX1
VX2
VX3
VX4
VX5
VP1
VP2
VP3
VP4
GND
ADM1166
12-BIT
MUX
SAR ADC
CLOSED-LOOP
MARGINING SYSTEM
DUAL-
FUNCTION
INPUTS
(LOGIC INPUTS
OR
SFDs)
PROGRAMMABLE
RESET
GENERATORS
(SFDs)
VH
V
V
OUT
DAC
DAC2
V
OUT
DAC
DAC3
OUT
DAC
DAC1
SEQUENCING
V
OUT
DAC
DAC4
VREF
ENGINE
V
OUT
DAC
DAC5
Figure 1.
APPLICATIONS
Central office systems
Servers/routers
Multivoltage system line cards
DSP/FPGA supply sequencing
In-circuit testing of margined supplies
GENERAL DESCRIPTION
The ADM1166 Super Sequencer® is a configurable supervisory/
sequencing device that offers a single-chip solution for supply
monitoring and sequencing in multiple-supply systems. In addition
to these functions, the ADM1166 integrates a 12-bit ADC and
six 8-bit voltage output DACs. These circuits can be used to
implement a closed-loop margining system that enables supply
adjustment by altering either the feedback node or reference of
a dc-to-dc converter using the DAC outputs.
Supply margining can be performed with a minimum of external
components. The margining loop can be used for in-circuit testing
of a board during production (for example, to verify board functionality at −5% of nominal supplies), or it can be used dynamically
to accurately control the output voltage of a dc-to-dc converter.
The device also provides up to 10 programmable inputs for
monitoring undervoltage faults, overvoltage faults, or out-ofwindow faults on up to 10 supplies. In addition, 10 programmable
outputs can be used as logic enables. Six of these programmable
outputs can also provide up to a 12 V output for driving the gate
of an N-FET that can be placed in the path of a supply.
The logical core of the device is a sequencing engine. This statemachine-based construction provides up to 63 different states.
This design enables very flexible sequencing of the outputs, based
on the condition of the inputs.
DETAILED BLOCK DIAGRAM
REFOUTREFIN
AUX1AUX2REFGND
A block of nonvolatile EEPROM is available that can be used to
store user-defined information and may also be used to hold a
number of fault records that are written by the sequencing engine
defined by the user when a particular fault or sequence occurs.
The device is controlled via configuration data that can be
programmed into an EEPROM. The entire configuration can
be programmed using an intuitive GUI-based software package
provided by Analog Devices, Inc.
SDA SCL A1 A0
VX1
VX2
VX3
VX4
VX5
VP1
VP2
VP3
VP4
AGND
VDDCAP
VH
SELECTABLE
ATTENUATOR
SELECTABLE
ATTENUATOR
VDD
ARBITRATOR
ADM1166
GPI SIGNAL
CONDITIONING
GPI SIGNAL
CONDITIONING
REG 5.25V
CHARGE PUMP
12-BIT
SAR ADC
SFD
SFD
SFD
SFD
VREF
V
OUT
DAC
INTERFACE
CONTROLLER
FAULT RECORDING
SEQUENCING
ENGINE
SMBus
DEVICE
CONFIGURABLE
OUTPUT DRIVER
CONFIGURABLE
OUTPUT DRIVER
CONFIGURABLE
OUTPUT DRIVER
CONFIGURABLE
OUTPUT DRIVER
(HV)
(HV)
(LV)
(LV)
OSC
EEPROM
V
OUT
DAC
PDO1
PDO2
PDO3
PDO4
PDO5
PDO6
PDO7
PDO8
PDO9
PDO10
PDOGND
GNDDAC2 DAC3 DAC4 DAC5
VCCP
DAC1
DAC6
09332-002
Figure 2. Detailed Block Diagram
Rev. 0 | Page 3 of 32
Page 4
ADM1166
SPECIFICATIONS
VH = 3.0 V to 14.4 V1, VPx = 3.0 V to 6.0 V1, TA = −40°C to +85°C, unless otherwise noted.
Table 1.
Parameter Min Typ Max Unit Test Conditions/Comments
POWER SUPPLY ARBITRATION
VH, VPx 3.0 V Minimum supply required on one of VPx, VH
VPx 6.0 V Maximum VDDCAP = 5.1 V, typical
VH 14.4 V VDDCAP = 4.75 V
VDDCAP 2.7 4.75 5.4 V Regulated LDO output
C
10 μF Minimum recommended decoupling capacitance
VDDCAP
POWER SUPPLY
Supply Current, IVH, I
Additional Currents
All PDOx FET Drivers On 1 mA
Current Available from
VDDCAP
DAC Supply Currents 2.2 mA Six DACs on with 100 μA maximum load on each
ADC Supply Current 1 mA Running round-robin loop
EEPROM Erase Current 10 mA 1 ms duration only, VDDCAP = 3 V
SUPPLY FAULT DETECTORS
VH Pin
Input Impedance 52 kΩ
Input Attenuator Error ±0.05 % Midrange and high range
Detection Ranges
High Range 6 14.4 V
Midrange 2.5 6 V
VPx Pins
Input Impedance 52 kΩ
Input Attenuator Error ±0.05 % Low range and midrange
Detection Ranges
Midrange 2.5 6 V
Low Range 1.25 3 V
Ultralow Range 0.573 1.375 V No input attenuation error
VXx Pins
Input Impedance 1 MΩ
Detection Range
Ultralow Range 0.573 1.375 V No input attenuation error
Absolute Accuracy ±1 %
Threshold Resolution 8 Bits
Digital Glitch Filter 0 μs Minimum programmable filter length
100 μs Maximum programmable filter length
4.2 6 mA VDDCAP = 4.75 V, PDO1 to PDO10 off, DACs off, ADC off
VPx
VDDCAP = 4.75 V, PDO1 to PDO6 loaded with 1 μA each,
PDO7 to PDO10 off
2 mA
Maximum additional load that can be drawn from all PDO
pull-ups to VDDCAP
Parameter Min Typ Max Unit Test Conditions/Comments
ANALOG-TO-DIGITAL CONVERTER
Signal Range 0 V
Input Reference Voltage on
REFIN Pin, V
REFIN
2.048 V
Resolution 12 Bits
INL ±2.5 LSB Endpoint corrected, V
Gain Error ±0.05 % V
Conversion Time 0.44 ms One conversion on one channel
84 ms All 12 channels selected, 16× averaging enabled
Offset Error ±2 LSB V
Input Noise 0.25 LSB rms Direct input (no attenuator)
AUX1, AUX2 Input Impedance 1 MΩ
BUFFERED VOLTAGE OUTPUT DACs
Resolution 8 Bits
Code 0x7F Output Voltage
Range 1 0.592 0.6 0.603 V
Range 2 0.796 0.8 0.803 V
Range 3 0.996 1 1.003 V
Range 4 1.246 1.25 1.253 V
Output Voltage Range 601.25 mV Same range, independent of center point
LSB Step Size 2.36 mV
INL ±0.75 LSB Endpoint corrected
DNL ±0.4 LSB
Gain Error 1 %
Maximum Load Current (Source) 100 μA
Maximum Load Current (Sink) 100 μA
Maximum Load Capacitance 50 pF
Settling Time to 50 pF Load 2 μs
Load Regulation 2.5 mV Per mA
PSRR 60 dB DC
40 dB 100 mV step in 20 ns with 50 pF load
REFERENCE OUTPUT
Reference Output Voltage 2.043 2.048 2.053 V No load
Load Regulation −0.25 mV Sourcing current, I
0.25 mV Sinking current, I
Minimum Load Capacitance 1 μF Capacitor required for decoupling, stability
PSRR 60 dB DC
PROGRAMMABLE DRIVER OUTPUTS
High Voltage (Charge-Pump) Mode
(PDO1 to PDO6)
Output Impedance 500 kΩ
V
11 12.5 14 V IOH = 0 μA
OH
V
10.5 12 13.5 V IOH = 1 μA
OH
2
V
8 10 13.5 V IOH = 7 μA
OH
I
20 μA 2 V < VOH < 7 V
OUTAVG
REFIN
V
The ADC can convert signals presented to the VH, VPx,
and VXx pins; VPx and VH input signals are attenuated
depending on the selected range; a signal at the pin
corresponding to the selected range is from 0.573 V to
1.375 V at the ADC input
= 2.048 V
REFIN
= 2.048 V
REFIN
= 2.048 V
REFIN
Six DACs are individually selectable for centering on
one of four output voltage ranges
= −100 μA
DACxMAX
= 100 μA
DACxMAX
Rev. 0 | Page 5 of 32
Page 6
ADM1166
Parameter Min Typ Max Unit Test Conditions/Comments
Standard (Digital Output) Mode
(PDO1 to PDO10)
VOH 2.4 V VPU (pull-up to VDDCAP or VPx) = 2.7 V, IOH = 0.5 mA
4.5 V VPU to VPx = 6.0 V, IOH = 0 mA
V
VOL 0 0.50 V IOL = 20 mA
2
I
20 mA Maximum sink current per PDOx pin
OL
2
I
60 mA Maximum total sink for all PDOx pins
SINK
R
16 20 29 kΩ Internal pull-up
PULL-UP
I
(VPx)2 2 mA
SOURCE
Three-State Output Leakage
Current
Oscillator Frequency 90 100 110 kHz All on-chip time delays derived from this clock
DIGITAL INPUTS (VXx, A0, A1)
Input High Voltage, VIH 2.0 V Maximum VIN = 5.5 V
Input Low Voltage, VIL 0.8 V Maximum VIN = 5.5 V
Input High Current, IIH −1 μA VIN = 5.5 V
Input Low Current, IIL 1 μA VIN = 0 V
Input Capacitance 5 pF
Programmable Pull-Down Current,
PULL-DOWN
I
SERIAL BUS DIGITAL INPUTS (SDA, SCL)
Input High Voltage, VIH 2.0 V
Input Low Voltage, VIL 0.8 V
Output Low Voltage, V
2
0.4 V I
OL
SERIAL BUS TIMING3
Clock Frequency, f
Bus Free Time, t
Start Setup Time, t
Stop Setup Time, t
Start Hold Time, t
SCL Low Time, t
SCL High Time, t
400 kHz
SCLK
1.3 μs
BUF
0.6 μs
SU;STA
0.6 μs
SU;STO
0.6 μs
HD;STA
1.3 μs
LOW
0.6 μs
HIGH
SCL, SDA Rise Time, tR 300 ns
SCL, SDA Fall Time, tF 300 ns
Data Setup Time, t
Data Hold Time, t
100 ns
SU;DAT
250 ns
HD;DAT
Input Low Current, IIL 1 μA VIN = 0 V
SEQUENCING ENGINE TIMING
State Change Time 10 μs
1
At least one of the VH and VPx pins must be ≥ 3.0 V to maintain the device supply on VDDCAP.
2
Specification is not production tested but is supported by characterization data at initial product release.
3
Guaranteed by design.
− 0.3 V VPU ≤ 2.7 V, IOH = 0.5 mA
PU
Current load on any VPx pull-ups, that is, total source
current available through any number of PDO pull-up
switches configured onto any one VPx pin
10 μA V
= 14.4 V
PDO
20 μA VDDCAP = 4.75 V, T
= −3.0 mA
OUT
= 25°C, if known logic state is required
A
Rev. 0 | Page 6 of 32
Page 7
ADM1166
ABSOLUTE MAXIMUM RATINGS
Table 2.
Parameter Rating
Voltage on VH Pin 16 V
Voltage on VPx Pins 7 V
Voltage on VXx Pins −0.3 V to +6.5 V
Voltage on AUX1, AUX2 Pins −0.3 V to +5 V
Voltage on A0, A1 Pins −0.3 V to +7 V
Voltage on REFIN, REFOUT Pins 5 V
Voltage on VDDCAP, VCCP Pins 6.5 V
Voltage on DACx Pins 6.5 V
Voltage on PDOx Pins 16 V
Voltage on SDA, SCL Pins 7 V
Voltage on GND, AGND, PDOGND, REFGND Pins −0.3 V to +0.3 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
Soldering Vapor Phase, 60 sec 215°C
ESD Rating, All Pins 2000 V
THERMAL RESISTANCE
θJA is specified for the worst-case conditions, that is, a device
soldered in a circuit board for surface-mount packages.
Table 3. Thermal Resistance
Package Type θJA Unit
40-Lead LFCSP 26.5 °C/W
48-Lead TQFP 50 °C/W
ESD CAUTION
Stresses above those listed under Absolute Maximum Ratings
may cause permanent damage to the device. This is a stress
rating only; functional operation of the device at these or any
other conditions above those indicated in the operational
section of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods may affect
device reliability.
Rev. 0 | Page 7 of 32
Page 8
ADM1166
V
V
V
V
V
V
V
V
V
PIN CONFIGURATIONS AND FUNCTION DESCRIPTIONS
GND
VDDCAP
AUX1
AUX2
SDA
SCLA1A0
VCCP
PDOGND
32
31
33
34
35
36
37
38
39
40
1
VX1
VX2
2
VX3
3
VX4
4
5
VX5
6
VP1
7
VP2
VP3
8
9
VP4
10
VH
NOTE
1. EXPOSED PAD SHOULD BE SOLDERED
TO THE BO ARD FOR IMPRO V E D
MECHANICAL STABILITY.
High Impedance Inputs to Supply Fault Detectors. Fault thresholds can be set from 0.573 V to
1.375 V. Alternatively, these pins can be used as general-purpose digital inputs.
6 to 9 7 to 10 VP1 to VP4 (VPx)
Low Voltage Inputs to Supply Fault Detectors. Three input ranges can be set by altering the
input attenuation on a potential divider connected to these pins, the output of which
connects to a supply fault detector. These pins allow thresholds from 2.5 V to 6.0 V, from
1.25 V to 3.00 V, and from 0.573 V to 1.375 V.
10 11 VH
High Voltage Input to Supply Fault Detectors. Two input ranges can be set by altering the
input attenuation on a potential divider connected to this pin, the output of which connects
to a supply fault detector. This pin allows thresholds from 6.0 V to 14.4 V and from 2.5 V to 6.0 V.
1
11 14 AGND
12 15 REFGND
13 16 REFIN
Ground Return for Input Attenuators.
1
Ground Return for On-Chip Reference Circuits.
Reference Input for ADC. Nominally, 2.048 V. This pin must be driven by a reference voltage.
The on-board reference can be used by connecting the REFOUT pin to the REFIN pin.
14 17 REFOUT
Reference Output, 2.048 V. Typically connected to REFIN. Note that the capacitor must be
connected between this pin and REFGND. A 10 μF capacitor is recommended for this purpose.
15 to 20 18 to 23 DAC1 to DAC6
21 to 30 26 to 35 PDO10 to PDO1
31 38 PDOGND
1
Ground Return for Driver Outputs.
32 39 VCCP
Voltage Output DACs. These pins default to high impedance at power-up.
Programmable Driver Outputs.
Central Charge-Pump Voltage of 5.25 V. A reservoir capacitor must be connected between
this pin and GND. A 10 μF capacitor is recommended for this purpose.
33 40 A0
34 41 A1
35 42 SCL
36 43 SDA
Logic Input. This pin sets the seventh bit of the SMBus interface address.
Logic Input. This pin sets the sixth bit of the SMBus interface address.
In a typical application, all ground pins are connected together.
48-Lead
TQFP Mnemonic Description
Device Supply Voltage. Linearly regulated from the highest of the VPx and VH pins to a
typical of 4.75 V. Note that the capacitor must be connected between this pin and GND.
A 10 μF capacitor is recommended for this purpose.
Exposed Pad. This pad is a no connect (NC). If possible, this pad should be soldered to the
board for improved mechanical stability.
Rev. 0 | Page 9 of 32
Page 10
ADM1166
TYPICAL PERFORMANCE CHARACTERISTICS
(V)
VDDCAP
V
6
5
4
3
2
1
0
0654321
Figure 5. V
V
VP1
VDDCAP
(V)
vs. V
09332-050
VP1
180
160
140
120
100
(µA)
80
VP1
I
60
40
20
0
0123456
(V)
V
VP1
Figure 8. I
vs. V
VP1
(VP1 Not as Supply)
VP1
09332-053
6
5
4
(V)
3
VDDCAP
V
2
1
0
011412108642
(V)
V
VH
Figure 6. V
5.0
4.5
4.0
3.5
3.0
2.5
(mA)
VP1
I
2.0
1.5
1.0
0.5
0
0123456
Figure 7. I
vs. V
VP1
vs. VVH
VDDCAP
(V)
V
VP1
(VP1 as Supply)
VP1
5.0
4.5
4.0
3.5
3.0
2.5
(mA)
VH
I
2.0
1.5
1.0
0.5
0
6
09332-051
011412108642
Figure 9. IVH vs. VVH (VH as Supply)
350
300
250
200
(µA)
VH
150
I
100
50
0
0654321
09332-052
Figure 10. IVH vs. VVH (VH Not as Supply)
6
(V)
V
VH
V
(V)
VH
09332-054
09332-055
Rev. 0 | Page 10 of 32
Page 11
ADM1166
14
12
(V)
10
PDO1
8
6
4
CHARGE-PUMPED V
2
0
015.012.510.07.55.02.5
Figure 11. Charge-Pumped V
I
(µA)
LOAD
(FET Drive Mode) vs. I
PDO1
LOAD
09332-056
1.0
0.8
0.6
0.4
0.2
0
DNL (LSB)
–0.2
–0.4
–0.6
–0.8
–1.0
CODE
40001000200030000
09332-066
Figure 14. DNL for ADC
5.0
4.5
4.0
3.5
3.0
(V)
2.5
PDO1
V
2.0
1.5
1.0
0.5
4.5
4.0
3.5
3.0
2.5
(V)
2.0
PDO1
V
1.5
1.0
0.5
0
0654321
Figure 12. V
0
0605040302010
Figure 13. V
VP1 = 3V
(mA)
I
LOAD
(Strong Pull-Up to VPx) vs. I
PDO1
VP1 = 5V
VP1 = 3V
(µA)
I
LOAD
(Weak Pull-Up to VPx) vs. I
PDO1
VP1 = 5V
LOAD
LOAD
1.0
0.8
0.6
0.4
0.2
0
INL (LSB)
–0.2
–0.4
–0.6
–0.8
–1.0
04000300020001000
09332-057
12000
10000
8000
6000
HITS PER CODE
4000
2000
0
09332-058
25
Figure 16. ADC Noise, Midcode Input, 10,000 Reads
CODE
Figure 15. INL for ADC
9894
81
204920482047
CODE
09332-063
09332-064
Rev. 0 | Page 11 of 32
Page 12
ADM1166
1.005
1.004
1.003
1.002
DAC
20kΩ
BUFFER
OUTPUT
47pF
1
CH1 200mVM1.00µsCH1 756mV
Figure 17. Transient Response of DAC Code Change into Typical Load
DAC
100kΩ
BUFFER
OUTPUT
PROBE
POINT
1
PROBE
POINT
1.001
1.000
0.999
DAC OUTPUT
0.998
0.997
0.996
09332-059
0.995
–40–20020406010080
VP1 = 4.75V
TEMPERATURE (°C)
Figure 19. DAC Output vs. Temperature
2.058
2.053
1V
2.048
REFOUT (V)
2.043
VP1 = 3.0V
09332-065
VP1 = 3.0V
VP1 = 4.75V
CH1 200mVM1.00µsCH1 944mV
Figure 18. Transient Response of DAC to Turn-On from High-Z State
09332-060
2.038
–40–20020406010080
TEMPERATURE (°C)
09332-061
Figure 20. REFOUT vs. Temperature
Rev. 0 | Page 12 of 32
Page 13
ADM1166
V
POWERING THE ADM1166
The ADM1166 is powered from the highest voltage input on
either the positive-only supply inputs (VPx) or the high voltage
supply input (VH). This technique offers improved redundancy
because the device is not dependent on any particular voltage rail
to keep it operational. The same pins are used for supply fault
detection (see the Supply Supervision section). A V
arbitrator
DD
on the device chooses which supply to use. The arbitrator can
be considered an OR’ing of five low dropout regulators (LDOs)
together. A supply comparator chooses the highest input to provide
the on-chip supply. There is minimal switching loss with this
architecture (~0.2 V), resulting in the ability to power the ADM1166
from a supply as low as 3.0 V. Note that the supply on the VXx
pins cannot be used to power the device.
An external capacitor to GND is required to decouple the on-chip
supply from noise. This capacitor should be connected to the
VDDCAP pin, as shown in Figure 21. The capacitor has another
use during brownouts (momentary loss of power). Under these
conditions, when the input supply (VPx or VH) dips transiently
below V
off so that it does not pull V
, the synchronous rectifier switch immediately turns
DD
down. The VDD capacitor can
DD
then act as a reservoir to keep the device active until the next
highest supply takes over the powering of the device. A 10 μF
capacitor is recommended for this reservoir/decoupling function.
The value of the VDDCAP capacitor may be increased if it is
necessary to guarantee a complete fault record is written into
EEPROM should all supplies fail. The value of capacitor to use
is discussed in the Black Box Writes with No External Supply
section.
The VH input pin can accommodate supplies up to 14.4 V, which
allows the ADM1166 to be powered using a 12 V backplane supply.
In cases where this 12 V supply is hot swapped, it is recommended
that the ADM1166 not be connected directly to the supply. Suitable
precautions, such as the use of a hot swap controller or RC filter
network, should be taken to protect the device from transients
that could cause damage during hot swap events.
When two or more supplies are within 100 mV of each other,
the supply that first takes control of V
example, if VP1 is connected to a 3.3 V supply, V
keeps control. For
DD
powers up
DD
to approximately 3.1 V through VP1. If VP2 is then connected to
another 3.3 V supply, VP1 still powers the device, unless VP2
goes 100 mV higher than VP1.
VP1
VP2
VP3
VP4
INENOUT
4.75V
LDO
INENOUT
4.75V
LDO
INENOUT
4.75V
LDO
INENOUT
4.75V
LDO
VH
SUPPLY
COMPARATOR
Figure 21. V
DD
INENOUT
4.75V
LDO
Arbitrator Operation
DDCAP
INTERNAL
DEVICE
SUPPLY
09332-022
Rev. 0 | Page 13 of 32
Page 14
ADM1166
INPUTS
SUPPLY SUPERVISION
The ADM1166 has 10 programmable inputs. Five of these are
dedicated supply fault detectors (SFDs). These dedicated inputs
are called VH and VPx (VP1 to VP4) by default. The other five
inputs are labeled VXx (VX1 to VX5) and have dual functionality.
They can be used either as SFDs, with functionality similar to that
of VH and VPx, or as CMOS-/TTL-compatible logic inputs to
the device. Therefore, the ADM1166 can have up to 10 analog
inputs, a minimum of five analog inputs and five digital inputs,
or a combination thereof. If an input is used as an analog input,
it cannot be used as a digital input. Therefore, a configuration
requiring 10 analog inputs has no available digital inputs. Tabl e 6
shows the details of each input.
PROGRAMMING THE SUPPLY FAULT DETECTORS
The ADM1166 can have up to 10 SFDs on its 10 input channels.
These highly programmable reset generators enable the supervision
of up to 10 supply voltages. The supplies can be as low as 0.573 V
and as high as 14.4 V. The inputs can be configured to detect an
undervoltage fault (the input voltage drops below a preprogrammed value), an overvoltage fault (the input voltage rises
above a preprogrammed value), or an out-of-window fault (the
input voltage is outside a preprogrammed range). The thresholds
can be programmed to an 8-bit resolution in registers provided in
the ADM1166. This translates to a voltage resolution that is
dependent on the range selected.
The resolution is given by
Step Size = Threshold Range/255
Therefore, if the high range is selected on VH, the step size can
be calculated as
(14.4 V − 6.0 V)/255 = 32.9 mV
Tabl e 5 lists the upper and lower limits of each available range,
the bottom of each range (V
Table 5. Voltage Range Limits
Voltage Range (V) VB (V) VR (V)
0.573 to 1.375 0.573 0.802
1.25 to 3.00 1.25 1.75
2.5 to 6.0 2.5 3.5
6.0 to 14.4 6.0 8.4
), and the range itself (VR).
B
The threshold value required is given by
V
= (VR × N)/255 + VB
T
where:
V
is the desired threshold voltage (undervoltage or overvoltage).
T
V
is the voltage range.
R
N is the decimal value of the 8-bit code.
V
is the bottom of the range.
B
Reversing the equation, the code for a desired threshold is given by
N = 255 × (V
− VB)/VR
T
For example, if the user wants to set a 5 V overvoltage threshold
on VP1, the code to be programmed in the PS1OVTH register
(as discussed in the AN-698 Application Note) is given by
N = 255 × (5 − 2.5)/3.5
Therefore, N = 182 (1011 0110 or 0xB6).
INPUT COMPARATOR HYSTERESIS
The UV and OV comparators shown in Figure 22 are always
looking at VPx. To avoid chatter (multiple transitions when the
input is very close to the set threshold level), these comparators
have digitally programmable hysteresis. The hysteresis can be
programmed up to the values shown in Tab l e 6 .
RANGE
SELECT
ULTRA
LOW
VPx
VREF
LOW
MID
Figure 22. Supply Fault Detector Block
The hysteresis is added after a supply voltage goes out of
tolerance. Therefore, the user can program the amount above
the undervoltage threshold to which the input must rise before
an undervoltage fault is deasserted. Similarly, the user can program
the amount below the overvoltage threshold to which an input
must fall before an overvoltage fault is deasserted.
COMPARATOR
+
–
+
–
COMPARATOR
OV
GLITCH
FILTER
UV
FAULT TYPE
SELECT
FAULT
OUTPUT
09332-023
Table 6. Input Functions, Thresholds, and Ranges
Input Function Voltage Range (V) Maximum Hysteresis Voltage Resolution (mV) Glitch Filter (μs)
VH High voltage analog input 2.5 to 6.0 425 mV 13.7 0 to 100
6.0 to 14.4 1.02 V 32.9 0 to 100
VPx Positive analog input 0.573 to 1.375 97.5 mV 3.14 0 to 100
1.25 to 3.00 212 mV 6.8 0 to 100
2.5 to 6.0 425 mV 13.7 0 to 100
VXx High-Z analog input 0.573 to 1.375 97.5 mV 3.14 0 to 100
Digital input 0 to 5.0 Not applicable Not applicable 0 to 100
Rev. 0 | Page 14 of 32
Page 15
ADM1166
R
R
The hysteresis value is given by
V
= VR × N
HYST
where:
V
is the desired hysteresis voltage.
HYST
N
is the decimal value of the 5-bit hysteresis code.
THRESH
Note that N
THRESH
hysteresis for the ranges is listed in Tabl e 6.
INPUT GLITCH FILTERING
The final stage of the SFDs is a glitch filter. This block provides
time-domain filtering on the output of the SFD comparators,
which allows the user to remove any spurious transitions such
as supply bounce at turn-on. The glitch filter function is in addition
to the digitally programmable hysteresis of the SFD comparators.
The glitch filter timeout is programmable up to 100 μs.
For example, when the glitch filter timeout is 100 μs, any pulse
appearing on the input of the glitch filter block that is less than
100 μs in duration is prevented from appearing on the output of
the glitch filter block. Any input pulse that is longer than 100 μs
appears on the output of the glitch filter block. The output is
delayed with respect to the input by 100 μs. The filtering process is
shown in Figure 23.
INPUT PULSE SHORTE
THAN GLIT CH FILTER TIM EO UT
PROGRAMMED
TIMEOUT
INPUT
t
0
t
0
t
GF
OUTPUT
t
GF
Figure 23. Input Glitch Filter Function
SUPPLY SUPERVISION WITH VXx INPUTS
The VXx inputs have two functions. They can be used as either
supply fault detectors or digital logic inputs. When selected as
analog (SFD) inputs, the VXx pins have functionality that is very
similar to the VH and VPx pins. The primary difference is that the
VXx pins have only one input range: 0.573 V to 1.375 V. Therefore,
these inputs can directly supervise only the very low supplies.
However, the input impedance of the VXx pins is high, allowing
an external resistor divide network to be connected to the pin.
Thus, potentially any supply can be divided down into the input
range of the VXx pin and supervised. This enables the ADM1166
to monitor other supplies, such as +24 V, +48 V, and −5 V.
/255
THRESH
has a maximum value of 31. The maximum
INPUT PULSE LONGE
THAN GLIT CH FILTER TIMEOUT
PROGRAMMED
TIMEOUT
INPUT
t
t
t
0
0
t
GF
OUTPUT
GF
An additional supply supervision function is available when the
VXx pins are selected as digital inputs. In this case, the analog
function is available as a second detector on each of the dedicated
analog inputs, VPx and VH. The analog function of VX1 is
mapped to VP1, VX2 is mapped to VP2, and so on. VX5 is
mapped to VH. In this case, these SFDs can be viewed as
secondary or warning SFDs.
The secondary SFDs are fixed to the same input range as the
primary SFDs. They are used to indicate warning levels rather
than failure levels. This allows faults and warnings to be generated
on a single supply using only one pin. For example, if VP1 is set
to output a fault when a 3.3 V supply drops to 3.0 V, VX1 can be
set to output a warning at 3.1 V. Warning outputs are available for
readback from the status registers. They are also OR’ed together
and fed into the SE, allowing warnings to generate interrupts on
the PDOs. Therefore, in this example, if the supply drops to 3.1 V,
a warning is generated, and remedial action can be taken before
the supply drops out of tolerance.
VXx PINS AS DIGITAL INPUTS
As discussed in the Supply Supervision with VXX Inputs section,
the VXx input pins on the ADM1166 have dual functionality.
The second function is as a digital logic input to the device.
Therefore, the ADM1166 can be configured for up to five digital
inputs. These inputs are TTL-/CMOS-compatible inputs. Standard
logic signals can be applied to the pins: RESET from reset generators,
PWRGD signals, fault flags, and manual resets. These signals are
available as inputs to the SE and, therefore, can be used to control
the status of the PDOs. The inputs can be configured to detect
either a change in level or an edge.
When configured for level detection, the output of the digital
block is a buffered version of the input. When configured for edge
detection, a pulse of programmable width is output from the
digital block once the logic transition is detected. The width is
programmable from 0 μs to 100 μs. The digital blocks feature the
same glitch filter function that is available on the SFDs. This
enables the user to ignore spurious transitions on the inputs. For
example, the filter can be used to debounce a manual reset switch.
09332-024
When configured as digital inputs, each VXx pin has a weak
(10 μA) pull-down current source available for placing the input
into a known condition, even if left floating. The current source,
if selected, weakly pulls the input to GND.
(DIGITAL INPUT)
VXx
+
DETECTOR
–
VREF = 1.4V
Figure 24. VXx Digital Input Function
GLITCH
FILTER
TO
SEQUENCING
ENGINE
09332-027
Rev. 0 | Page 15 of 32
Page 16
ADM1166
V
OUTPUTS
SUPPLY SEQUENCING THROUGH CONFIGURABLE
OUTPUT DRIVERS
Supply sequencing is achieved with the ADM1166 using the
programmable driver outputs (PDOs) on the device as control
signals for supplies. The output drivers can be used as logic
enables or as FET drivers.
The sequence in which the PDOs are asserted (and, therefore,
the supplies are turned on) is controlled by the sequencing engine
(SE). The SE determines what action is taken with the PDOs,
based on the condition of the ADM1166 inputs. Therefore, the
PDOs can be set up to assert when the SFDs are in tolerance, the
correct input signals are received on the VXx digital pins, and
no warnings are received from any of the inputs of the device.
The PDOs can be used for a variety of functions. The primary
function is to provide enable signals for LDOs or dc-to-dc
converters that generate supplies locally on a board. The PDOs
can also be used to provide a PWRGD signal, when all the SFDs
are in tolerance, or a RESET output if one of the SFDs goes out
of specification (this can be used as a status signal for a DSP,
FPGA, or other microcontroller).
The PDOs can be programmed to pull up to a number of different
options. The outputs can be programmed as follows:
•Open drain (allowing the user to connect an external
pull-up resistor).
• Open drain with weak pull-up to V
• Open drain with strong pull-up to V
• Open drain with weak pull-up to VPx.
• Open drain with strong pull-up to VPx.
• Strong pull-down to GND.
• Internally charge pumped high drive (12 V, PDO1 to
PDO6 only).
The last option (available only on PDO1 to PDO6) allows the
user to directly drive a voltage high enough to fully enhance an
external N-FET, which is used to isolate, for example, a cardside voltage from a backplane supply (a PDO can sustain greater
than 10.5 V into a 1 μA load). The pull-down switches can also
be used to drive status LEDs directly.
.
DD
.
DD
CFG4 CFG5 CFG6
SEL
VP1
The data driving each of the PDOs can come from one of three
sources. The source can be enabled in the PDOxCFG configuration register (see the AN-698 Application Note for details).
The data sources are as follows:
• Output from the SE.
• Directly from the SMBus. A PDO can be configured so that
the SMBus has direct control over it. This enables software
control of the PDOs. Therefore, a microcontroller can be
used to initiate a software power-up/power-down sequence.
•On-chip clock. A 100 kHz clock is generated on the device.
This clock can be made available on any of the PDOs. It
can be used, for example, to clock an external device such
as an LED.
DEFAULT OUTPUT CONFIGURATION
All of the internal registers in an unprogrammed ADM1166
device from the factory are set to 0. Because of this, the PDOx pins
are pulled to GND by a weak (20 kΩ), on-chip pull-down resistor.
As the input supply to the ADM1166 ramps up on VPx or VH,
all PDOx pins behave as follows:
• Input supply = 0 V to 1.2 V. The PDOs are high impedance.
• Input supply = 1.2 V to 2.7 V. The PDOs are pulled to GND
by a weak (20 kΩ), on-chip pull-down resistor.
•Supply > 2.7 V. Factory-programmed devices continue to
pull all PDOs to GND by a weak (20 kΩ), on-chip pull-down
resistor. Programmed devices download current EEPROM
configuration data, and the programmed setup is latched. The
PDO then goes to the state demanded by the configuration.
This provides a known condition for the PDOs during
power-up.
The internal pull-down can be overdriven with an external pull-up
of suitable value tied from the PDOx pin to the required pull-up
voltage. The 20 kΩ resistor must be accounted for in calculating
a suitable value. For example, if PDOx must be pulled up to 3.3 V,
and 5 V is available as an external supply, the pull-up resistor
value is given by
3.3 V = 5 V × 20 kΩ/(R
Therefore,
R
= (100 kΩ − 66 kΩ)/3.3 V = 10 kΩ
UP
V
VP4
DD
FET (PDO1 TO PDO6 ONLY)
+ 20 kΩ)
UP
10Ω
20kΩ
SE DATA
SMBus DATA
CLK DATA
Figure 25. Programmable Driver Output
Rev. 0 | Page 16 of 32
10Ω
10Ω
20kΩ
20kΩ
PDO
20kΩ
09332-028
Page 17
ADM1166
SEQUENCING ENGINE
OVERVIEW
The ADM1166 sequencing engine (SE) provides the user with
powerful and flexible control of sequencing. The SE implements
state machine control of the PDO outputs, with state changes
conditional on input events. SE programs can enable complex
control of boards such as power-up and power-down sequence
control, fault event handling, and interrupt generation on warnings.
A watchdog function that verifies the continued operation of a
processor clock can be integrated into the SE program. The SE
can also be controlled via the SMBus, giving software or firmware
control of the board sequencing.
The SE state machine comprises 63 state cells. Each state has the
following attributes:
•Monitors signals indicating the status of the 10 input pins,
VP1 to VP4, VH, and VX1 to VX5.
• Can be entered from any other state.
• Three exit routes move the state machine onto a next state:
sequence detection, fault monitoring, and timeout.
•Delay timers for the sequence and timeout blocks can be
programmed independently and changed with each state
change. The range of timeouts is from 0 ms to 400 ms.
•Output condition of the 10 PDO pins is defined and fixed
within a state.
•Transition from one state to the next is made in less than
20 μs, which is the time needed to download a state definition
from EEPROM to the SE.
•Can trigger a write of the black box fault and status
registers into the black box section of EEPROM.
The ADM1166 offers up to 63 state definitions. The signals
monitored to indicate the status of the input pins are the outputs
of the SFDs.
WARNINGS
The SE also monitors warnings. These warnings can be generated
when the ADC readings violate their limit register value or
when the secondary voltage monitors on VPx or VH are triggered.
The warnings are OR’ed together and are available as a single
warning input to each of the three blocks that enable exiting a state.
SMBus JUMP (UNCONDITIONAL JUMP)
The SE can be forced to advance to the next state unconditionally.
This enables the user to force the SE to advance. Examples of
the use of this feature include moving to a margining state or
debugging a sequence. The SMBus jump or go-to command
can be seen as another input to sequence and timeout blocks to
provide an exit from each state.
MONITOR
FAULT
STATE
SEQUENCE
Figure 26. State Cell
TIMEOUT
09332-029
Table 7. Sample Sequence State Entries
State Sequence Timeout Monitor
IDLE1 If VX1 is low, go to State IDLE2.
IDLE2 If VP1 is okay, go to State EN3V3.
EN3V3 If VP2 is okay, go to State EN2V5.
DIS3V3 If VX1 is high, go to State IDLE1.
EN2V5 If VP3 is okay, go to State PWRGD.
DIS2V5 If VX1 is high, go to State IDLE1.
FSEL1 If VP3 is not okay, go to State DIS2V5. If VP1 or VP2 is not okay, go to State FSEL2.
FSEL2 If VP2 is not okay, go to State DIS3V3. If VP1 is not okay, go to State IDLE1.
PWRGD If VX1 is high, go to State DIS2V5. If VP1, VP2, or VP3 is not okay, go to State FSEL1.
If VP2 is not okay after 10 ms,
go to State DIS3V3.
If VP3 is not okay after 20 ms,
go to State DIS2V5.
If VP1 is not okay, go to State IDLE1.
If VP1 or VP2 is not okay, go to State FSEL2.
Rev. 0 | Page 17 of 32
Page 18
ADM1166
SEQUENCING ENGINE APPLICATION EXAMPLE
The application in this section demonstrates the operation of
the SE. Figure 28 shows how the simple building block of a
single SE state can be used to build a power-up sequence for a
three-supply system.
Tabl e 8 lists the PDO outputs for each state in the same SE
implementation. In this system, a good 5 V supply on the VP1 pin
and the VX1 pin held low are the triggers required to start a
power-up sequence. Next, the sequence turns on the 3.3 V supply,
then the 2.5 V supply (assuming successful turn-on of the 3.3 V
supply). When all three supplies have turned on correctly, the
PWRGD state is entered, where the SE remains until a fault occurs
on one of the three supplies or until it is instructed to go through a
power-down sequence by VX1 going high.
Faults are dealt with throughout the power-up sequence on a
case-by-case basis. The following three sections (the Sequence
Detector section, the Monitoring Fault Detector section, and
the Timeout Detector section) describe the individual blocks
and use the sample application shown in Figure 28 to demonstrate
the actions of the state machine.
Sequence Detector
The sequence detector block is used to detect when a step in a
sequence has been completed. It looks for one of the SE inputs
to change state, and is most often used as the gate for successful
progress through a power-up or power-down sequence. A timer
block that is included in this detector can insert delays into a
power-up or power-down sequence, if required. Timer delays
can be set from 10 μs to 400 ms. Figure 27 is a block diagram of
the sequence detector.
VP1
VX5
SUPPLYFAULT
DETECTION
LOGIC INPUT CHANGE
OR FAULT DETECTION
WARNINGS
FORCE FLOW
(UNCONDITIONAL JUMP)
INVERT
SELECT
Figure 27. Sequence Detector Block Diagram
SEQUENCE
DETECTOR
TIMER
09332-032
If a timer delay is specified, the input to the sequence detector
must remain in the defined state for the duration of the timer
delay. If the input changes state during the delay, the timer is reset.
The sequence detector can also help to identify monitoring faults.
In the sample application shown in Figure 28, the FSEL1 and
FSEL2 states first identify which of the VP1, VP2, or VP3 pins
has faulted, and then they take appropriate action.
The monitoring fault detector block is used to detect a failure
on an input. The logical function implementing this is a wide
OR gate that can detect when an input deviates from its expected
condition. The clearest demonstration of the use of this block is
in the PWRGD state, where the monitor block indicates that a
failure on one or more of the VPx, VXx, or VH inputs has
occurred.
No programmable delay is available in this block because the
triggering of a fault condition is likely to be caused by a supply
falling out of tolerance. In this situation, the device must react
as quickly as possible. Some latency occurs when moving out of
this state because it takes a finite amount of time (~20 μs) for the
state configuration to download from the EEPROM into the SE.
Figure 29 is a block diagram of the monitoring fault detector.
The timeout detector allows the user to trap a failure to ensure
proper progress through a power-up or power-down sequence.
In the sample application shown in Figure 28, the timeout nextstate transition is from the EN3V3 and EN2V5 states. For the
EN3V3 state, the signal 3V3ON is asserted on the PDO1 output
pin upon entry to this state to turn on a 3.3 V supply.
This supply rail is connected to the VP2 pin, and the sequence
detector looks for the VP2 pin to go above its undervoltage
threshold, which is set in the supply fault detector (SFD)
attached to that pin.
The power-up sequence progresses when this change is detected. If,
however, the supply fails (perhaps due to a short circuit overloading
this supply), the timeout block traps the problem. In this example,
if the 3.3 V supply fails within 10 ms, the SE moves to the DIS3V3
state and turns off this supply by bringing PDO1 low. It also
indicates that a fault has occurred by taking PDO3 high. Timeout
delays of 100 μs to 400 ms can be programmed.
FAULT AND STATUS REPORTING
The ADM1166 has a fault latch for recording faults. Two registers,
FSTAT1 and FSTAT2, are set aside for this purpose. A single bit
is assigned to each input of the device, and a fault on that input
sets the relevant bit. The contents of the fault register can be
read out over the SMBus to determine which input(s) faulted.
The fault register can be enabled or disabled in each state. To
latch data from one state, ensure that the fault latch is disabled
in the following state. This ensures that only real faults are
captured and not, for example, undervoltage conditions that
may be present during a power-up or power-down sequence.
The ADM1166 also has a number of input status registers. These
include more detailed information, such as whether an undervoltage or overvoltage fault is present on a particular input. The
status registers also include information on ADC limit faults.
There are two sets of these registers with different behaviors.
The first set of status registers is not latched in any way and,
therefore, can change at any time in response to changes on the
inputs. These registers provide information as the UV and OV
state of the inputs, the digital state of the GPI VXx inputs, and
also the ADC warning limit status.
The second set of registers update each time the sequence engine
changes state and are latched until the next state change. The
second set of registers provides the same information as the first
set, but in a more compact form. The reason for this is that
these registers are used by the black box feature when writing
status information for the previous state into EEPROM.
AN-698 Application Note for full details about the
See the
ADM1166 registers.
Rev. 0 | Page 19 of 32
Page 20
ADM1166
NONVOLATILE BLACK BOX FAULT RECORDING
A section of EEPROM, from Address 0xF900 to Address 0xF9FF, is
provided which, by default, can be used to store user-defined settings
and information. Part of this section of EEPROM, Address 0xF980 to
Address 0xF9FF, can, instead, be used to store up to 16 fault records.
Any sequencing engine state can be designated as a black box write
state. Each time the sequence engine enters that state a fault record
is written into EEPROM. The fault record provides a snapshot of the
entire ADM1166 state at the point in time when the last state was
exited, just prior to entering the designated black box write state. A
fault record contains the following information:
• A flag bit set to 0 after the fault record has been written
• The state number of the previous state prior to the fault
record write state
•Did a sequence/timeout/monitor condition cause the
previous state to exit?
• UVSTATx and OVSTATx input comparator status
• VXx GPISTAT status
• LIMSTATx status
• A checksum byte
Each fault record contains eight bytes, with each byte taking
typically about 250 μs to write to EEPROM, for a total write
time of about 2 ms. Once the black box begins to write a fault
record into EEPROM, the ADM1166 ensures the write is complete
before attempting to write any additional fault records. This
means that if consecutive sequencing engine states are designated
as black box write states, then a time delay must be used in the
first state to ensure that the fault record is written before moving to
the next state.
When the ADM1166 powers on initially, it performs a search
to find the first fault record that has not been written to. It does
this by checking the flag bit in each fault record until it finds
one where the flag bit is 1. The first fault record is stored at
Address 0xF980 and at multiples of eight bytes after that,
with the last record stored at Address 0xF9F8.
The fault recorder is only able to write in the EEPROM. It is
not able to erase the EEPROM prior to writing the fault record.
Therefore, to ensure correct operation, it is important that the fault
record EEPROM be erased prior to use. Once all the EEPROM
locations for the fault records are used, no more fault records can
be written. This ensures that the first fault in any cascading fault is
stored and not overwritten and lost.
To avoid the fault recorder filling up and fault records being lost, an
application can periodically poll the ADM1166 to determine if there
are fault records to be read. Alternatively, one of the PDOx outputs
can be used to generate an interrupt for a processor in the fault
record write state to signal the need to come and read one or more
fault records.
After reading fault records during normal operation, the following
two things must be done before the fault recorder will be able to
reuse the EEPROM locations:
• The EEPROM section must be erased.
• The fault recorder must be reset so that it performs its search
again for the first unused location of EEPROM that is
available to store a fault record.
BLACK BOX WRITES WITH NO EXTERNAL SUPPLY
In cases where all the input supplies fail, for example, if the card
has been removed from a powered backplane, the state machine
can be programmed to trigger a write into the black box EEPROM.
The decoupling capacitors on the rail that power the ADM1166
and other loads on the board form an energy reservoir. Depending
on the other loads on the board and their behavior as the supply
rails drop, there may be sufficient energy in the decoupling
capacitors to allow the ADM1166 to write a complete fault record
(8 bytes of data).
Typically, it takes 2 ms to write to the eight bytes of a fault record. If
the ADM1166 is powered using a 12 V supply on the VH pin, then
a UV threshold at 6 V could be set and used as the state machine
trigger to start writing a fault record to EEPROM. The higher the
threshold, the earlier the black box write will begin, and the more
energy available in the decoupling capacitors to ensure it completes
successfully.
Provided the VH supply, or another supply connected to a VPx pin,
remains above 3.0 V during the time to write, the entire fault record
would always be written to EEPROM. In many cases, there will be
sufficient decoupling capacitors on a board to power the ADM1166
as it writes into EEPROM.
In cases where the decoupling capacitors are not able to supply
sufficient energy for a complete fault record to be written after the
board is removed, the value of the capacitor on VDDCAP may
be increased. In the worst case, assuming that no energy is
supplied to the ADM1166 by external decoupling capacitors,
but that the VDDCAP capacitor has 4.75 V across it at the start
of the black box write to EEPROM, then a VDDCAP of 68 μF is
sufficient to guarantee a single complete black box record can
be written to EEPROM.
Rev. 0 | Page 20 of 32
Page 21
ADM1166
A
VOLTAGE READBACK
The ADM1166 has an on-board, 12-bit accurate ADC for
voltage readback over the SMBus. The ADC has a 12-channel
analog mux on the front end. The 12 channels consist of the
10 SFD inputs (VH, VPx, and VXx) and two auxiliary (singleended) ADC inputs (AUX1 and AUX2). Any or all of these inputs
can be selected to be read, in turn, by the ADC. The circuit
controlling this operation is called the round-robin circuit.
This circuit can be selected to run through its loop of conversions
once or continuously. Averaging is also provided for each channel.
In this case, the round-robin circuit runs through its loop of
conversions 16 times before returning a result for each channel. At
the end of this cycle, the results are written to the output registers.
The ADC samples single-sided inputs with respect to the AGND
pin. A 0 V input gives out Code 0, and an input equal to the
voltage on REFIN gives out full code (4095 decimal).
The inputs to the ADC come directly from the VXx pins and
from the back of the input attenuators on the VPx and VH pins,
as shown in Figure 30 and Figure 31.
12-BIT
ADC
DIGITIZED
VOLTAGE
READING
09332-025
NO ATTENUATION
VXx
2.048V VREF
Figure 30. ADC Reading on VXx Pins
VPx/VH
TTENUATION NETWORK
(DEPENDS ON RANGE SE LECTED)
12-BIT
2.048V VREF
Figure 31. ADC Reading on VPx/VH Pins
ADC
DIGITIZED
VOLTAGE
READING
09332-026
The voltage at the input pin can be derived from the following
equation:
CodeADC
V =
where V
4095
= 2.048 V when the internal reference is used (that
REFIN
× Attenuation Factor × V
REFIN
is, the REFIN pin is connected to the REFOUT pin).
The ADC input voltage ranges for the SFD input ranges are listed
in Tab l e 9.
Table 9. ADC Input Voltage Ranges
SFD Input Range (V)
Attenuation
Fac tor
ADC Input Voltage
Range (V)
0.573 to 1.375 1 0 to 2.048
1.25 to 3.00 2.181 0 to 4.46
2.5 to 6.0 4.363 0 to 6.01
6.0 to 14.4 10.472 0 to 14.41
1
The upper limit is the absolute maximum allowed voltage on the VPx and
VH pins.
The typical way to supply the reference to the ADC on the REFIN
pin is to connect the REFOUT pin to the REFIN pin. REFOUT
provides a 2.048 V reference. As such, the supervising range covers
less than half the normal ADC range. It is possible, however, to
provide the ADC with a more accurate external reference for
improved readback accuracy.
Supplies can also be connected to the input pins purely for ADC
readback, even though these pins may go above the expected
supervisory range limits (but not above the absolute maximum
ratings on these pins). For example, a 1.5 V supply connected to
the VX1 pin can be correctly read out as an ADC code of approximately 3/4 full scale, but it always sits above any supervisory limits
that can be set on that pin. The maximum setting for the REFIN
pin is 2.048 V.
SUPPLY SUPERVISION WITH THE ADC
In addition to the readback capability, another level of supervision
is provided by the on-chip 12-bit ADC. The ADM1166 has limit
registers with which the user can program a maximum or minimum
allowable threshold. Exceeding the threshold generates a warning
that can either be read back from the status registers or input
into the SE to determine what sequencing action the ADM1166
should take. Only one register is provided for each input channel.
Therefore, either an undervoltage threshold or overvoltage
threshold (but not both) can be set for a given channel. The
round-robin circuit can be enabled via a SMBus write, or it
can be programmed to turn on in any state in the SE program.
For example, it can be set to start after a power-up sequence is
complete and all supplies are known to be within expected
tolerance limits.
Note that latency is built into this supervision, dictated by the
conversion time of the ADC. With all 12 channels selected, the
total time for the round-robin operation (averaging off) is
approximately 6 ms (500 μs per channel selected). Supervision
using the ADC, therefore, does not provide the same real-time
response as the SFDs.
Rev. 0 | Page 21 of 32
Page 22
ADM1166
SUPPLY MARGINING
OVERVIEW
It is often necessary for the system designer to adjust supplies, either
to optimize their level or force them away from nominal values
to characterize the system performance under these conditions.
This is a function typically performed during an in-circuit test (ICT),
such as when a manufacturer wants to guarantee that a product
under test functions correctly at nominal supplies minus 10%.
OPEN-LOOP SUPPLY MARGINING
The simplest method of margining a supply is to implement an
open-loop technique (see Figure 32). A popular way to do this
is to switch extra resistors into the feedback node of a power
module, such as a dc-to-dc converter or LDO. The extra resistor
alters the voltage at the feedback or trim node and forces the
output voltage to margin up or down by a certain amount.
The ADM1166 can perform open-loop margining for up to six
supplies. The six on-board voltage DACs (DAC1 to DAC6) can
drive into the feedback pins of the power modules to be margined.
The simplest circuit to implement this function is an attenuation
resistor that connects the DACx pin to the feedback node of a
dc-to-dc converter. When the DACx output voltage is set equal
to the feedback voltage, no current flows into the attenuation
resistor, and the dc-to-dc converter output voltage does not change.
Taking DACx above the feedback voltage forces current into the
feedback node, and the output of the dc-to-dc converter is forced to
VIN
fall to compensate for this. The dc-to-dc converter output can
be forced high by setting the DACx output voltage lower than
the feedback node voltage. The series resistor can be split in two,
and the node between them can be decoupled with a capacitor
to ground. This can help to decouple any noise picked up from
the board. Decoupling to a ground local to the dc-to-dc converter
is recommended.
The ADM1166 can be commanded to margin a supply up or down
over the SMBus by updating the values on the relevant DAC output.
CLOSED-LOOP SUPPLY MARGINING
A more accurate and comprehensive method of margining is to
implement a closed-loop system (see Figure 33). The voltage on
the rail to be margined can be read back to accurately margin the
rail to the target voltage. The ADM1166 incorporates all the circuits
required to do this, with the 12-bit successive approximation ADC
used to read back the level of the supervised voltages, and the six
voltage output DACs, implemented as described in the OpenLoop Supply Margining section, used to adjust supply levels. These
circuits can be used along with other intelligence, such as a
microcontroller, to implement a closed-loop margining system that
allows any dc-to-dc converter or LDO supply to be set to any voltage,
accurate to within ±0.5% of the target.
MICROCONTROLLER
V
OUTPUT
DC-TO-DC
CONVERTER
FEEDBACK
GND
R1
R2
OUT
ATTENUATION
RESISTOR, R3
PCB
TRACE NOISE
DECOUPLING
CAPACITOR
DACx
ADM1166
DAC
DEVICE
CONTROLLER
(SMBus)
09332-067
Figure 32. Open-Loop Margining System Using the ADM1166
VIN
DC-TO-DC
CONVERTER
OUTPUT
FEEDBACK
ADM1166
VH/VPx/VXx
MUX
GND
R1
R2
ATTENUATION
RESISTOR, R3
DACx
PCB
TRACE NOISE
DECOUPLING
CAPACITOR
Figure 33. Closed-Loop Margining System Using the ADM1166
MICROCONTROLL ER
ADC
DEVICE
CONTROLLER
DAC
(SMBus)
09332-034
Rev. 0 | Page 22 of 32
Page 23
ADM1166
To implement closed-loop margining,
1.
Disable the six DACx outputs. Set the DAC output voltage equal to the voltage on the
2.
feedback node.
Enable the DAC.
3.
Read the voltage at the dc-to-dc converter output that is
4.
connected to one of the VPx, VH, or VXx pins.
If necessary, modify the DACx output code up or down to
5.
adjust the dc-to-dc converter output voltage. Otherwise,
stop because the target voltage has been reached.
Set the DAC output voltage to a value that alters the supply
6.
output by the required amount (for example, ±5%).
Repeat Step 4 through Step 6 until the measured supply
7.
reaches the target voltage.
Step 1 to Step 3 ensures that when the DACx output buffer is
turned on, it has little effect on the dc-to-dc converter output.
The DAC output buffer is designed to power up without glitching
by first powering up the buffer to follow the pin voltage. It does not
drive out onto the pin at this time. Once the output buffer is
properly enabled, the buffer input is switched over to the DAC,
and the output stage of the buffer is turned on. Output glitching
is negligible.
WRITING TO THE DACS
Four DAC ranges are offered. They can be placed with midcode
(Code 0x7F) at 0.6 V, 0.8 V, 1.0 V, and 1.25 V. These voltages are
placed to correspond to the most common feedback voltages.
Centering the DAC outputs in this way provides the best use of
the DAC resolution. For most supplies, it is possible to place the
DAC midcode at the point where the dc-to-dc converter output
is not modified, thereby giving half of the DAC range to margin
up and the other half to margin down.
The DAC output voltage is set by the code written to the DACx
register. The voltage is linear with the unsigned binary number
in this register. Code 0x7F is placed at the midcode voltage, as
described previously. The output voltage is given by
DAC Output = (DACx − 0x7F)/255 × 0.6015 + V
where V
is one of the four offset voltages.
OFF
There are 256 DAC settings available. The midcode value is
located at DAC Code 0x7F as close as possible to the middle
of the 256 code range. The full output swing of the DACs is
+302 mV (+128 codes) and −300 mV (−127 codes) around
the selected midcode voltage. The voltage range for each midcode
voltage is shown in Tabl e 10 .
Table 10. Ranges for Midcode Voltages
Midcode
Voltage (V)
0.6 0.300 0.902
0.8 0.500 1.102
1.0 0.700 1.302
1.25 0.950 1.552
Minimum Voltage
Output (V)
Maximum Voltage
Output (V)
OFF
CHOOSING THE SIZE OF THE ATTENUATION
RESISTOR
The size of the attenuation resistor, R3, determines how much
the DAC voltage swing affects the output voltage of the dc-to-dc
converter that is being margined (see Figure 33).
Because the voltage at the feedback pin remains constant, the
current flowing from the feedback node to GND through R2 is
a constant. In addition, the feedback node itself is high impedance.
This means that the current flowing through R1 is the same as
the current flowing through R3.
Therefore, a direct relationship exists between the extra voltage
drop across R1 during margining and the voltage drop across R3.
This relationship is given by the following equation:
ΔV
OUT
(VFB − V
R3
DACOUT
)
R1
=
where:
V
is the change in V
Δ
OUT
V
is the voltage at the feedback node of the dc-to-dc converter.
FB
V
is the voltage output of the margining DAC.
DACOUT
OUT
.
This equation demonstrates that if the user wants the output
voltage to change by ±300 mV, then R1 = R3. If the user wants the
output voltage to change by ±600 mV, R1 = 2 × R3, and so on.
It is best to use the full DAC output range to margin a supply.
Choosing the attenuation resistor in this way provides the most
resolution from the DAC, meaning that with one DAC code
change, the smallest effect on the dc-to-dc converter output
voltage is induced. If the resistor is sized up to use a code such
as 27 decimal to 227 decimal to move the dc-to-dc converter output
by ±5%, it takes 100 codes to move 5% (each code moves the
output by 0.05%). This is beyond the readback accuracy of the
ADC, but it should not prevent the user from building a circuit
to use the most resolution.
DAC LIMITING AND OTHER SAFETY FEATURES
Limit registers (called DPLIMx and DNLIMx) on the device
offer the user some protection from firmware bugs that can
cause catastrophic board problems by forcing supplies beyond
their allowable output ranges. Essentially, the DAC code written
into the DACx register is clipped such that the code used to set
the DAC voltage is given by
DAC Code
= DACx, DACx ≥ DNLIMx and DACx ≤ DPLIMx
= DNLIMx, DACx < DNLIMx
= DPLIMx, DACx > DPLIMx
In addition, the DAC output buffer is three-stated if DNLIMx >
DPLIMx. By programming the limit registers this way, the user
can make it very difficult for the DAC output buffers to be
turned on during normal system operation. The limit registers
are among the registers downloaded from EEPROM at startup.
Rev. 0 | Page 23 of 32
Page 24
ADM1166
APPLICATIONS DIAGRAM
12V IN
5V IN
3V IN
5V OUT
3V OUTVP2
3.3V OUTVP3
2.5V OUTVP4
1.8V OUTVX1
1.2V OUTVX2
0.9V OUTVX3
POWRON
RESET
VH
ADM1166
VP1
VX4
VX5
REFOUT
REFIN VCCP VDDCAP GND
10µF10µF10µF
PDO1
PDO2
PDO3
PDO4
PDO5
PDO6
PDO7
PDO8
PDO9
PDO10
DAC1*
PWRGD
SIGNAL VALID
SYSTEM RESET
3.3V OUT
IN
DC-TO-DC1
ENOUT
IN
DC-TO-DC2
ENOUT
IN
DC-TO-DC3
ENOUT
3.3V OUT
IN
LDO
ENOUT
12V OUT
5V OUT
3V OUT
3.3V OUT
2.5V OUT
1.8V OUT
0.9V OUT
*ONLY ONE MARGINING CI RCUI T
SHOWN FO R CLARITY. DAC1 TO DAC6
ALLOW M ARGINING F OR UP TO SIX
VOLTAGE RAILS.
IN
OUT
ENTRIM
1.2V OUT
DC-TO-DC4
09332-068
Figure 34. Applications Diagram
Rev. 0 | Page 24 of 32
Page 25
ADM1166
COMMUNICATING WITH THE ADM1166
CONFIGURATION DOWNLOAD AT POWER-UP
The configuration of the ADM1166 (undervoltage/overvoltage
thresholds, glitch filter timeouts, and PDO configurations) is
dictated by the contents of the RAM. The RAM comprises digital
latches that are local to each function on the device. The latches are
double buffered and have two identical latches, Latch A and Latch B.
Therefore, when an update to a function occurs, the contents of
Latch A are updated first, and then the contents of Latch B are
updated with identical data. The advantages of this architecture are
explained in detail in the Updating the Configuration section.
The two latches are volatile memory and lose their contents at
power-down. Therefore, the configuration in the RAM must be
restored at power-up by downloading the contents of the EEPROM
(nonvolatile memory) to the local latches. This download occurs in
steps, as follows:
With no power applied to the device, the PDOs are all high
1.
impedance.
When 1.2 V appears on any of the inputs connected to the
2.
VDD arbitrator (VH or VPx), the PDOs are all weakly
pulled to GND with a 20 kΩ resistor.
When the supply rises above the undervoltage lockout of
3.
the device (UVLO is 2.5 V), the EEPROM starts to
download to the RAM.
The EEPROM downloads its contents to all Latch As.
4.
When the contents of the EEPROM are completely
5.
downloaded to the Latch As, the device controller signals
all Latch As to download to all Latch Bs simultaneously,
completing the configuration download.
At 0.5 ms after the configuration download completes, the first
6.
state definition is downloaded from the EEPROM into the SE.
Note that any attempt to communicate with the device prior to
the completion of the download causes the ADM1166 to issue
a no acknowledge (NACK).
UPDATING THE CONFIGURATION
After power-up, with all the configuration settings loaded from
the EEPROM into the RAM registers, the user may need to alter
the configuration of functions on the ADM1166, such as changing
the undervoltage or overvoltage limit of an SFD, changing the fault
output of an SFD, or adjusting the rise time delay of one of the PDOs.
The ADM1166 provides several options that allow the user to
update the configuration over the SMBus interface. The following
three options are controlled in the UPDCFG register.
SMBus
Option 1
Update the configuration in real time. The user writes to the RAM
across the SMBus, and the configuration is updated immediately.
Option 2
Update the Latch As without updating the Latch Bs. With this
method, the configuration of the ADM1166 remains unchanged
and continues to operate in the original setup until the instruction
is given to update the Latch Bs.
Option 3
Change the EEPROM register contents without changing the RAM
contents, and then download the revised EEPROM contents to
the RAM registers. With this method, the configuration of the
ADM1166 remains unchanged and continues to operate in the
original setup until the instruction is given to update the RAM.
The instruction to download from the EEPROM in Option 3 is
also a useful way to restore the original EEPROM contents if
revisions to the configuration are unsatisfactory. For example, if
the user needs to alter an overvoltage threshold, the RAM register
can be updated as described in the Option 1 section. However,
if the user is not satisfied with the change and wants to revert to
the original programmed value, the device controller can issue a
command to download the EEPROM contents to the RAM again,
as described in the Option 3 section, restoring the ADM1166 to
its original configuration.
The topology of the ADM1166 makes this type of operation
possible. The local, volatile registers (RAM) are all doublebuffered latches. Setting Bit 0 of the UPDCFG register to 1 leaves
the double-buffered latches open at all times. If Bit 0 is set to 0
when a RAM write occurs across the SMBus, only the first side
of the double-buffered latch is written to. The user must then
write a 1 to Bit 1 of the UPDCFG register. This generates a pulse
to update all the second latches at once. EEPROM writes occur
in a similar way.
The final bit in this register can enable or disable EEPROM page
erasure. If this bit is set high, the contents of an EEPROM page can
all be set to 1. If this bit is set low, the contents of a page cannot be
erased, even if the command code for page erasure is programmed
across the SMBus. The bit map for the UPDCFG register is shown
in the AN-698 Application Note. A flow diagram for download at
power-up and subsequent configuration updates is shown in
Figure 35.
POWER-UP
(V
> 2.5V)
CC
EEPROM
E
E
P
R
O
M
L
D
DEVICE
CONTROLLER
D
A
T
A
LATCH ALATCH B
Figure 35. Configuration Update Flow Diagram
R
U
A
P
M
D
L
D
Rev. 0 | Page 25 of 32
FUNCTION
(OV THRESHO LD
ON VP1)
09332-035
Page 26
ADM1166
UPDATING THE SEQUENCING ENGINE
Sequencing engine (SE) functions are not updated in the same
way as regular configuration latches. The SE has its own dedicated
512-byte nonvolatile, electrically erasable, programmable, readonly memory (EEPROM) for storing state definitions, providing
63 individual states each with a 64-bit word (one state is reserved).
At power-up, the first state is loaded from the SE EEPROM into
the engine itself. When the conditions of this state are met, the
next state is loaded from the EEPROM into the engine, and so
on. The loading of each new state takes approximately 10 μs.
To alter a state, the required changes must be made directly to
the EEPROM. RAM for each state does not exist. The relevant
alterations must be made to the 64-bit word, which is then
uploaded directly to the EEPROM.
INTERNAL REGISTERS
The ADM1166 contains a large number of data registers. The
principal registers are the address pointer register and the
configuration registers.
Address Pointer Register
The address pointer register contains the address that selects
one of the other internal registers. When writing to the ADM1166,
the first byte of data is always a register address that is written to
the address pointer register.
Configuration Registers
The configuration registers provide control and configuration
for various operating parameters of the ADM1166.
EEPROM
The ADM1166 has two 512-byte cells of nonvolatile EEPROM
from Address 0xF800 to Address 0xFBFF. The EEPROM is used
for permanent storage of data that is not lost when the ADM1166 is
powered down. One EEPROM cell, 0xF800 to 0xF9FF, contains the
configuration data, user information and, if enabled, any fault
records of the device; the other section, 0xFA00 to 0xFBFF, contains
the state definitions for the SE. Although referred to as read-only
memory, the EEPROM can be written to, as well as read from,
using the serial bus in exactly the same way as the other registers.
The major differences between the EEPROM and other
registers are as follows:
• An EEPROM location must be blank before it can be
written to. If it contains data, the data must first be erased.
• Writing to the EEPROM is slower than writing to the RAM.
• Writing to the EEPROM should be restricted because it has
a limited write/cycle life of typically 10,000 write operations
due to the usual EEPROM wear-out mechanisms.
The first EEPROM is split into 16 (0 to 15) pages of 32 bytes each.
Page 0 to Page 3, from Address 0xF800 to Address 0xF89F, hold
the configuration data for the applications on the ADM1166
(such as the SFDs and PDOs). These EEPROM addresses are
the same as the RAM register addresses, prefixed by F8. Page 5
to Page 7, from Address 0xF8A0 to Address 0xF8FF, are reserved.
Page 8 to Page 11 are available for customer use to store any
information that may be required by the customer in their
application. Customers can store information on Page 12 to
Page 15, or these pages can store the fault records written by the
sequencing engine if users have decided to enable writing of the
fault records for different states.
Data can be downloaded from the EEPROM to the RAM in one
of the following ways:
• At power-up, when Page 0 to Page 4 are downloaded.
• By setting Bit 0 of the UDOWNLD register (0xD8), which
performs a user download of Page 0 to Page 4.
When the sequence engine is enabled, it is not possible to access
the section of EEPROM from Address 0xFA00 to Address 0xFBFF.
The sequence engine must be halted before it is possible to read
or write to this range. Attempting to read or write to this range if
the sequence engine is not halted will generate a no acknowledge,
or NACK.
Read/write access to the configuration and user EEPROM ranges
from Address 0xF800 to Address 0xF89F and Address 0xF900
to Address 0xF9FF depends on whether the black box fault
recorder is enabled. If the fault recorder is enabled and one or
more states have been set as fault record trigger states, then it is
not possible to access any EEPROM location in this range
without first halting the black box. Attempts to read or write
this EEPROM range while the fault recorder is operating are
acknowledged by the device but do not return any useful data
or modify the EEPROM in any way.
If none of the states are set as fault record trigger states, then the
black box is considered disabled, and read/write access is allowed
without having to halt the black box fault recorder.
SERIAL BUS INTERFACE
The ADM1166 is controlled via the serial system management
bus (SMBus) and is connected to this bus as a slave device under
the control of a master device. It takes approximately 1 ms after
power-up for the ADM1166 to download from its EEPROM.
Therefore, access to the ADM1166 is restricted until the
download is complete.
Identifying the ADM1166 on the SMBus
The ADM1166 has a 7-bit serial bus slave address (see Tabl e 11 ).
The device is powered up with a default serial bus address. The
five MSBs of the address are set to 01101; the two LSBs are
determined by the logical states of Pin A1 and Pin A0. This
allows the connection of four ADM1166s to one SMBus.
Table 11. Serial Bus Slave Address
A1 Pin A0 Pin Hex Address 7-Bit Address1
Low Low 0x68 0110100x
Low High 0x6A 0110101x
High Low 0x6C 0110110x
High High 0x6E 0110111x
1
x = Read/write bit. The address is shown only as the first 7 MSBs.
Rev. 0 | Page 26 of 32
Page 27
ADM1166
The device also has several identification registers (read-only)
that can be read across the SMBus. Tabl e 12 lists these registers
with their values and functions.
Table 12. Identification Register Values and Functions
Figure 36, Figure 37, and Figure 38 are timing diagrams for general
read and write operations using the SMBus. The SMBus specification
defines specific conditions for different types of read and write
operations, which are discussed in the Write Operations and the
Read Operations sections.
The general SMBus protocol operates in the following three steps.
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 a data stream follows. 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 slave
W
address (MSB first) plus an R/
bit. This bit determines
the direction of the data transfer, that is, whether data is
written to or read from the slave device (0 = write, 1 = read).
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, and by holding it low during the high period
of this clock pulse.
SCL
1991
All other devices on the bus remain idle while the selected
device waits for data to be read from or written to it. If the
W
bit is a 0, the master writes to the slave device. If the
R/
W
R/
bit is a 1, the master reads from the slave device.
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. Data transitions on the data line
must occur during the low period of the clock signal and
remain stable during the high period because a low-to-high
transition when the clock is high could be interpreted as a
stop signal. If the operation is a write operation, the first
data byte after the slave address is a command byte. This
command byte tells the slave device what to expect next. It
may be an instruction telling the slave device to expect a
block write, or it may be a register address that tells the
slave where subsequent data is to be written. Because data
W
can flow in only one direction, as defined by the R/
bit,
sending a command to a slave device during a read operation
is not possible. Before a read operation, it may be necessary
to perform a write operation to tell the slave what sort of
read operation to expect and/or the address from which
data is to be read.
3.
When all data bytes have been read or written, stop conditions
are established. In write mode, the master pulls the data line
th
high during the 10
clock pulse to assert a stop condition.
In read mode, the master device releases the SDA line during
the low period before the ninth clock pulse, but the slave device
does not pull it low. This is known as a no acknowledge.
The master then takes the data line low during the low
th
period before the 10
th
clock pulse to assert a stop condition.
10
clock pulse and then high during the
SDA
START BY
MASTER
SCL
(CONTINUED)
SDA
(CONTINUED)
R/W
ACK. BY
FRAME 1
SLAVE ADDRESS
1919
D7 D6 D5 D4 D3 D2 D1
FRAME 3
DATA BYTE
Figure 36. General SMBus Write Timing Diagram
SLAVE
D7A0A111100D6 D5 D4 D3 D2 D1 D0
FRAME 2
COMMAND CODE
D0
ACK. BY
SLAVE
Rev. 0 | Page 27 of 32
D7 D6 D5 D4 D3 D2 D1 D0
FRAME N
DATA BYT E
ACK. BY
SLAVE
ACK. BY
SLAVE
STOP
BY
MASTER
09332-036
Page 28
ADM1166
SCL
SDA
(CONTINUED)
(CONTINUED)
1991
START BY
MASTER
SCL
SDA
191
D7 D6 D5 D4 D3 D2 D1
FRAME 1
SLAVE ADDRESS
FRAME 3
DATA BYTE
R/W
ACK. BY
SLAVE
Figure 37. General SMBus Read Timing Diagram
t
R
t
SCL
SDA
t
BUF
PSSP
LOW
t
HD;STA
t
HD;DAT
t
SU;DAT
Figure 38. Serial Bus Timing Diagram
SMBus PROTOCOLS FOR RAM AND EEPROM
The ADM1166 contains volatile registers (RAM) and nonvolatile
registers (EEPROM). User RAM occupies Address 0x00 to
Address 0xDF, and the EEPROM occupies Address 0xF800 to
Address 0xFBFF.
Data can be written to and read from both the RAM and the
EEPROM as single data bytes. Data can be written only to
unprogrammed EEPROM locations. To write new data to a
programmed location, the location contents must first be erased.
D7A0A111100D6 D5 D4 D3 D2 D1 D0
FRAME 2
DATA BYTE
D0
ACK. BY
MASTER
t
F
t
HIGH
D7 D6 D5 D4 D3 D2 D1 D0
FRAME N
DATA BYT E
t
HD;STA
t
SU;STA
EEPROM erasure cannot be done at the byte level. The EEPROM
is arranged as 32 pages of 32 bytes each, and an entire page
must be erased.
Page erasure is enabled by setting Bit 2 in the UPDCFG register
(Address 0x90) to 1. If this bit is not set, page erasure cannot
occur, even if the command byte (0xFE) is programmed across
the SMBus.
ACK. BY
MASTER
t
9
NO ACK.
SU;STO
STOP
BY
MASTER
09332-037
09332-038
Rev. 0 | Page 28 of 32
Page 29
ADM1166
WRITE OPERATIONS
The SMBus specification defines several protocols for different
types of read and write operations. The following abbreviations
are used in Figure 39 to Figure 47:
• S = Start
• P = Stop
• R = Read
• W = Write
• A = Acknowledge
•
= No acknowledge
A
The ADM1166 uses the following SMBus write protocols.
Send Byte
In a send byte operation, the master device sends a single
command byte to a slave device, as follows:
1.
The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the
2.
write bit (low).
The addressed slave device asserts an acknowledge (ACK)
3.
on SDA.
The master sends a command code.
4.
The slave asserts an ACK on SDA.
5.
The master asserts a stop condition on SDA, and the
6.
transaction ends.
In the ADM1166, the send byte protocol is used for two
purposes:
• To write a register address to the RAM for a subsequent
single byte read from the same address, or for a block read
or block write starting at that address, as shown in Figure 39.
2413 5
SLAVE
SWAA
ADDRESS
Figure 39. Setting a RAM Address for Subsequent Read
RAM
ADDRESS
(0x00 TO 0xDF)
• To erase a page of EEPROM memory. EEPROM memory
can be written to only if it is unprogrammed. Before writing
to one or more EEPROM memory locations that are already
programmed, the page(s) containing those locations must
first be erased. EEPROM memory is erased by writing a
command byte.
6
P
09332-039
The master sends a command code telling the slave device
to erase the page. The ADM1166 command code for a page
erasure is 0xFE (1111 1110). Note that for a page erasure to
take place, the page address must be given in the previous
write word transaction (see the Writ e Byt e /Word section). In
addition, Bit 2 in the UPDCFG register (Address 0x90)
must be set to 1.
2413 5
SLAVE
SWAA
ADDRESS
Figure 40. EEPROM Page Erasure
COMMAND
BYTE
(0xFE)
6
P
09332-040
As soon as the ADM1166 receives the command byte,
page erasure begins. The master device can send a stop
command as soon as it sends the command byte. Page
erasure takes approximately 20 ms. If the ADM1166 is
accessed before erasure is complete, it responds with a
no acknowledge (NACK).
Write Byte/Word
In a write byte/word operation, the master device sends a command
byte and one or two data bytes to the slave device, as follows:
1.
The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the
2.
write bit (low).
The addressed slave device asserts an ACK on SDA.
3.
4.
The master sends a command code. The slave asserts an ACK on SDA.
5.
The master sends a data byte.
6.
The slave asserts an ACK on SDA.
7.
The master sends a data byte or asserts a stop condition.
8.
9.
The slave asserts an ACK on SDA.
The master asserts a stop condition on SDA to end the
10.
transaction.
In the ADM1166, the write byte/word protocol is used for three
purposes:
• To write a single byte of data to the RAM. In this case, the
command byte is RAM Address 0x00 to RAM Address 0xDF,
and the only data byte is the actual data, as shown in Figure 41.
2413 5768
SLAVE
SW ADATAAPA
ADDRESS
Figure 41. Single Byte Write to the RAM
RAM
ADDRESS
(0x00 TO 0xDF)
09332-041
•To set up a 2-byte EEPROM address for a subsequent read,
Rev. 0 | Page 29 of 32
write, block read, block write, or page erase. In this case, the
command byte is the high byte of EEPROM Address 0xF8
to EEPROM Address 0xFB. The only data byte is the low
byte of the EEPROM address, as shown in Figure 42.
2413 5 768
EEPROM
SLAVE
SWA
ADDRESS
Figure 42. Setting an EEPROM Address
ADDRESS
HIGH BYTE
(0xF8 TO 0xFB)
EEPROM
ADDRESS
APA
LOW BYTE
(0x00 TO 0xF F)
09332-042
Page 30
ADM1166
Because a page consists of 32 bytes, only the three MSBs of
the address low byte are important for page erasure. The
lower five bits of the EEPROM address low byte specify the
addresses within a page and are ignored during an erase
operation.
• To write a single byte of data to the EEPROM. In this case,
the command byte is the high byte of EEPROM Address 0xF8
to EEPROM Address 0xFB. The first data byte is the low
byte of the EEPROM address, and the second data byte is
the actual data, as shown in Figure 43.
2413 5 7
EEPROM
SLAVE
SWA
ADDRESS
ADDRESS
HIGH BY TE
(0xF8 TO 0x FB)
Figure 43. Single Byte Write to the EEPROM
EEPROM
ADDRESS
AA
LOW BYTE
(0x00 TO 0xF F)
Block Write
In a block write operation, the master device writes a block of
data to a slave device. The start address for a block write must
have been set previously. In the ADM1166, a send byte operation sets a RAM address, and a write byte/word operation sets
an EEPROM address, as follows:
The master device asserts a start condition on SDA.
1.
The master sends the 7-bit slave address followed by
2.
the write bit (low).
3.
The addressed slave device asserts an ACK on SDA.
4.
The master sends a command code that tells the slave
device to expect a block write. The ADM1166 command
code for a block write is 0xFC (1111 1100).
5.
The slave asserts an ACK on SDA. The master sends a data byte that tells the slave device how
6.
many data bytes are being sent. The SMBus specification
allows a maximum of 32 data bytes in a block write.
The slave asserts an ACK on SDA.
7.
The master sends N data bytes.
8.
The slave asserts an ACK on SDA after each data byte.
9.
The master asserts a stop condition on SDA to end the
10.
transaction.
2
SLAVE
SWA
ADDRESS
9
86
10
A
DATA
P
09332-043
413A5
COMMAND 0xFC
(BLOCK WRI TE)
Figure 45. Block Write to the EEPROM or RAM
6
BYTE
COUNT
Unlike some EEPROM devices that limit block writes to within
a page boundary, there is no limitation on the start address
when performing a block write to EEPROM, except when
• There must be at least N locations from the start address to
the highest EEPROM address (0xFBFF) to avoid writing to
invalid addresses.
• An address crosses a page boundary. In this case, both
pages must be erased before programming.
Note that the ADM1166 features a clock extend function for writes
to the EEPROM. Programming an EEPROM byte takes approximately 250 μs, which limits the SMBus clock for repeated or block
write operations. The ADM1166 pulls SCL low and extends the
clock pulse when it cannot accept any more data.
READ OPERATIONS
The ADM1166 uses the following SMBus read protocols.
Receive Byte
In a receive byte operation, the master device receives a single
byte from a slave device, as follows:
1.
The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the
2.
read bit (high).
3.
The addressed slave device asserts an ACK on SDA.
4.
The master receives a data byte. The master asserts a NACK on SDA.
5.
The master asserts a stop condition on SDA, and the
6.
transaction ends.
In the ADM1166, the receive byte protocol is used to read a
single byte of data from a RAM or EEPROM location whose
address has previously been set by a send byte or write
byte/word operation, as shown in Figure 44.
23145
SLAVE
SRDATAA
ADDRESS
Figure 44. Single Byte Read from the EEPROM or RAM
7
910
8
A
DATA
1
A
DATA
2
DATA
N
A PA
09332-044
6
P
A
09332-045
Rev. 0 | Page 30 of 32
Page 31
ADM1166
Block Read
In a block read operation, the master device reads a block of
data from a slave device. The start address for a block read must
have been set previously. In the ADM1166, this is done by a
send byte operation to set a RAM address, or a write byte/word
operation to set an EEPROM address. The block read operation
itself consists of a send byte operation that sends a block read
command to the slave, immediately followed by a repeated start
and a read operation that reads out multiple data bytes, as follows:
The master device asserts a start condition on SDA.
1.
2.
The master sends the 7-bit slave address followed by the
write bit (low).
The addressed slave device asserts an ACK on SDA.
3.
The master sends a command code that tells the slave
4.
device to expect a block read. The ADM1166 command
code for a block read is 0xFD (1111 1101).
The slave asserts an ACK on SDA.
5.
The master asserts a repeat start condition on SDA.
6.
The master sends the 7-bit slave address followed by the
7.
read bit (high).
The slave asserts an ACK on SDA.
8.
The ADM1166 sends a byte-count data byte that tells the
9.
master how many data bytes to expect. The ADM1166
always returns 32 data bytes (0x20), which is the maximum
allowed by the SMBus Version 1.1 specification.
The master asserts an ACK on SDA.
10.
The master receives 32 data bytes.
11.
The master asserts an ACK on SDA after each data byte.
12.
The master asserts a stop condition on SDA to end the
13.
transaction.
2
SLAVE
SWA
ADDRESS
413A5S6
COMMAND 0xFD
(BLOCK READ)
Error Correction
The ADM1166 provides the option of issuing a packet error correction (PEC) byte after a write to the RAM, a write to the EEPROM,
a block write to the RAM/EEPROM, or a block read from the
RAM/EEPROM. This option enables the user to verify that the data
received by or sent from the ADM1166 is correct. The PEC byte
is an optional byte sent after the last data byte has been written
to or read from the ADM1166. The protocol is the same as a
block read for Step 1 to Step 12 and then proceeds as follows:
The ADM1166 issues a PEC byte to the master. The master
13.
checks the PEC byte and issues another block read, if the
PEC byte is incorrect.
A NACK is generated after the PEC byte to signal the end
14.
of the read.
The master asserts a stop condition on SDA to end the
15.
transaction.
Note that the PEC byte is calculated using CRC-8. The frame
check sequence (FCS) conforms to CRC-8 by the polynomial
C(x) = x
8
+ x2 + x1 + 1
See the SMBus Version 1.1 specification for details. An example
of a block read with the optional PEC byte is shown in Figure 47.
8
7
SLAVE
ADDRESS
91011
BYTE
A
COUNT
DATA
1
12
ARA
DATA
A13P
32
Figure 46. Block Read from the EEPROM or RAM
09332-046
2
SLAVE
SWA
ADDRESS
Figure 47. Block Read from the EEPROM or RAM with PEC
413A5S6
COMMAND 0xFD
(BLOCK READ)
SLAVE
ADDRESS
8
7
910 1211
BYTE
COUNT
DATA
32
DATA
A
A13PEC
ARA
1
14A15
P
09332-047
Rev. 0 | Page 31 of 32
Page 32
ADM1166
OUTLINE DIMENSIONS
PIN 1
INDICATOR
6.10
6.00 SQ
5.90
0.50
BSC
0.30
0.25
0.18
31
N
1
P
30
EXPOSED
PAD
40
1
I
N
I
*
4.70
4.60 SQ
4.50
O
R
T
D
C
I
A
0.80
0.75
0.70
SEATING
PLANE
21
0.08
20
BOTTOM VIEWTOP VIEW
0.45
0.40
0.35
0.05 MAX
0.02 NOM
COPLANARITY
0.20 REF
COMPLIANT TO JEDEC STANDARDS MO-220-WJJD-5
WITH EXCEPTION TO EXPOSED PAD DIMENSION.
10
11
0.20 MIN
FORPROPERCONNECTIONOF
THE EXPOSED PAD, REFER TO
THE PIN CONFIGURATION AND
FUNCTION DESCRIPTIONS
SECTION OF THIS DATA SHEET.
02-02-2010-A
Figure 48. 40-Lead Lead Frame Chip Scale Package [LFCSP_WQ]