Super Sequencer With Margining Control and Temperature Monitoring ADM1062
Super Sequencer With Margining Control and Temperature Monitoring ADM1062
Super Sequencer With Margining Control and Temperature Monitoring ADM1062
FEATURES
Complete supervisory and sequencing solution for up to 10 supplies 10 supply fault detectors enable supervision of supplies to <0.5% accuracy at all voltages at 25C <1.0% accuracy across all voltages and temperatures 5 selectable input attenuators allow supervision of supplies to 14.4 V on VH 6 V on VP1 to VP4 (VPx) 5 dual-function inputs, VX1 to VX5 (VXx) High impedance input to supply fault detector with thresholds between 0.573 V and 1.375 V General-purpose logic input 10 programmable driver outputs, PDO1 to PDO10 (PDOx) Open-collector with external pull-up Push/pull output, driven to VDDCAP or VPx Open collector with weak pull-up to VDDCAP or VPx 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 Internal and external temperature sensors 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 ADM1062 register map, refer to the AN-698 Application Note at www.analog.com.
Rev. B
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.
DP
ADM1062
TEMP SENSOR INTERNAL DIODE VREF SMBus INTERFACE
MUX
EEPROM
CLOSED-LOOP MARGINING SYSTEM VX1 VX2 VX3 VX4 VX5 DUALFUNCTION INPUTS (LOGIC INPUTS OR SFDs) SEQUENCING ENGINE VP1 VP2 VP3 VP4 VH AGND VOUT DAC VOUT DAC VOUT DAC VOUT DAC VOUT DAC VOUT DAC VDD ARBITRATOR PROGRAMMABLE RESET GENERATORS (SFDs) CONFIGURABLE OUTPUT DRIVERS (LV CAPABLE OF DRIVING LOGIC SIGNALS) PDO7 PDO8 PDO9 PDO10 PDOGND VDDCAP
04433-001
VCCP GND
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 ADM1062 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 ADM1062 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 the reference of a dc-to-dc converter using the DAC outputs.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 20052008 Analog Devices, Inc. All rights reserved.
REVISION HISTORY
5/08Rev. A to Rev. B Changes to Table 1............................................................................ 4 Changes to Powering the ADM1062 Section ............................. 13 Changes to Table 5.......................................................................... 14 Changes to Sequence Detector Section ....................................... 18 Changes to Temperature Measurement System Section ........... 23 Changes to Table 11........................................................................ 24 Changes to Configuration Download at Power-Up Section..... 26 Changes to Table 12........................................................................ 27 Changes to Figure 49 and Error Correction Section ................. 32 Changes to Ordering Guide .......................................................... 34 12/06Rev. 0 to Rev. A Updated Format..................................................................Universal Changes to Features.......................................................................... 1 Changes to Figure 2...........................................................................3 Changes to Table 1.............................................................................4 Changes to Table 2.............................................................................7 Changes to Absolute Maximum Ratings Section..........................9 Changes to Programming the Supply Fault Detectors Section... 14 Changes to Table 6.......................................................................... 14 Changes to Outputs Section.......................................................... 16 Changes to Fault Reporting Section ............................................ 20 Changes to Table 9.......................................................................... 21 Changes to Identifying the ADM1062 on the SMBus Section .................................................................... 28 Changes to Figure 39 and Figure 30............................................. 30 4/05Revision 0: Initial Version
Rev. B | Page 2 of 36
ADM1062
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. Temperature measurement is possible with the ADM1062. The device contains one internal temperature sensor and a differential input for a remote thermal diode. Both are measured by the 12-bit ADC. 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. The ADM1062 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.
TEMP SENSOR
INTERNAL DIODE
ADM1062
VREF
SMBus INTERFACE
DEVICE CONTROLLER
OSC EEPROM
GPI SIGNAL CONDITIONING VX1 VX2 VX3 VX4 GPI SIGNAL CONDITIONING VX5 SFD SELECTABLE ATTENUATOR SEQUENCING ENGINE SFD
PDO6
SFD
SELECTABLE ATTENUATOR
SFD
PDO10 PDOGND
AGND VDDCAP VDD ARBITRATOR REG 5.25V CHARGE PUMP VOUT DAC VOUT DAC
GND
VCCP
DAC1
DAC2
DAC3
DAC4
DAC5
DAC6
Figure 2.
Rev. B | Page 3 of 36
04433-002
ADM1062 SPECIFICATIONS
VH = 3.0 V to 14.4 V 1 , VPx = 3.0 V to 6.0 V1, TA = 40C to +85C, unless otherwise noted. Table 1.
Parameter POWER SUPPLY ARBITRATION VH, VPx VPx VH VDDCAP CVDDCAP POWER SUPPLY Supply Current, IVH, IVPx Additional Currents All PDO FET Drivers On Current Available from VDDCAP DAC Supply Currents ADC Supply Current EEPROM Erase Current SUPPLY FAULT DETECTORS VH Pin Input Impedance Input Attenuator Error Detection Ranges High Range Midrange VPx Pins Input Impedance Input Attenuator Error Detection Ranges Midrange Low Range Ultralow Range VXx Pins Input Impedance Detection Range Ultralow Range Absolute Accuracy Threshold Resolution Digital Glitch Filter ANALOG-TO-DIGITAL CONVERTER Signal Range 2.2 1 10 Min 3.0 6.0 14.4 5.4 Typ Max Unit V V V V F mA mA 2 mA mA mA mA Test Conditions/Comments Minimum supply required on one of the VH, VPx pins Maximum VDDCAP = 5.1 V, typical VDDCAP = 4.75 V Regulated LDO output Minimum recommended decoupling capacitance VDDCAP = 4.75 V, PDO1 to PDO10 off, DACs off, ADC off VDDCAP = 4.75 V, PDO1 to PDO6 loaded with 1 A each, PDO7 to PDO10 off Maximum additional load that can be drawn from all PDO pull-ups to VDDCAP Six DACs on with 100 A maximum load on each Running round-robin loop 1 ms duration only, VDDCAP = 3 V
2.7 10
4.75
4.2 1
52 0.05 6 2.5 52 0.05 2.5 1.25 0.573 1 0.573 1.375 1 8 0 100 0 VREFIN 6 3 1.375 14.4 6
k % V V k % V V V M V % Bits s s V
No input attenuation error VREF error + DAC nonlinearity + comparator offset error + input attenuation error Minimum programmable filter length Maximum programmable filter length 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
Input Reference Voltage on REFIN Pin, VREFIN Resolution INL Gain Error
V Bits LSB %
Rev. B | Page 4 of 36
ADM1062
Parameter Conversion Time Offset Error Input Noise TEMPERATURE SENSOR 2 Local Sensor Accuracy Local Sensor Supply Voltage Coefficient Remote Sensor Accuracy Remote Sensor Supply Voltage Coefficient Remote Sensor Current Source Temperature for Code 0x800 Temperature for Code 0xC00 Temperature Resolution per Code BUFFERED VOLTAGE OUTPUT DACs Resolution Code 0x80 Output Voltage Range 1 Range 2 Range 3 Range 4 Output Voltage Range LSB Step Size INL DNL Gain Error Maximum Load Current (Source) Maximum Load Current (Sink) Maximum Load Capacitance Settling Time to 50 pF Load Load Regulation PSRR REFERENCE OUTPUT Reference Output Voltage Load Regulation Minimum Load Capacitance PSRR PROGRAMMABLE DRIVER OUTPUTS (PDOs) High Voltage (Charge Pump) Mode (PDO1 to PDO6) Output Impedance VOH IOUTAVG Standard (Digital Output) Mode (PDO1 to PDO10) VOH 0.592 0.796 0.996 1.246 Min Typ 0.44 84 0.25 3 1.7 3 3 200 12 0 128 0.125 8 Max Unit ms ms LSB LSB rms C C/V C C A A C C C Bits Six DACs are individually selectable for centering on one of four output voltage ranges 0.6 0.8 1 1.25 601.25 2.36 0.603 0.803 1.003 1.253 V V V V mV mV LSB LSB % A A pF s mV dB dB V mV mV F dB Test Conditions/Comments One conversion on one channel All 12 channels selected, 16 averaging enabled VREFIN = 2.048 V Direct input (no attenuator) VDDCAP = 4.75 V VDDCAP = 4.75 V High level Low level VDDCAP = 4.75 V VDDCAP = 4.75 V
0.75 0.4 1 100 100 50 2 2.5 60 40 2.043 2.048 0.25 +0.25 60 2.053
Per mA DC 100 mV step in 20 ns with 50 pF load No load Sourcing current, IDACxMAX = 100 A Sinking current, IDACxMAX = +100 A Capacitor required for decoupling, stability DC
11 10.5
500 12.5 12 20
14 13.5
k V V A
VOL
0.50
V V V V
VPU (pull-up to VDDCAP or VPx) = 2.7 V, IOH = 0.5 mA VPU to VPx = 6.0 V, IOH = 0 mA VPU 2.7 V, IOH = 0.5 mA IOL = 20 mA
Rev. B | Page 5 of 36
ADM1062
Parameter IOL 3 ISINK3 RPULL-UP ISOURCE (VPx)3 Min Typ Max 20 60 29 2 Unit mA mA k mA Test Conditions/Comments Maximum sink current per PDOx pin Maximum total sink for all PDOx pins Internal pull-up Current load on any VPx pull-ups, that is, total source current available through any number of PDOx pull-up switches configured onto any one VPx pin VPDO = 14.4 V All on-chip time delays derived from this clock Maximum VIN = 5.5 V Maximum VIN = 5.5 V VIN = 5.5 V VIN = 0 V VDDCAP = 4.75 V TA = 25C if known logic state is required
16
20
Three-State Output Leakage Current Oscillator Frequency DIGITAL INPUTS (VXx, A0, A1) Input High Voltage, VIH Input Low Voltage, VIL Input High Current, IIH Input Low Current, IIL Input Capacitance Programmable Pull-Down Current, IPULL-DOWN SERIAL BUS DIGITAL INPUTS (SDA, SCL) Input High Voltage, VIH Input Low Voltage, VIL Output Low Voltage, VOL3 SERIAL BUS TIMING Clock Frequency, fSCLK Bus Free Time, tBUF Start Setup Time, tSU;STA Stop Setup Time, tSU;STO Start Hold Time, tHD;STA SCL Low Time, tLOW SCL High Time, tHIGH SCL, SDA Rise Time, tR SCL, SDA Fall Time, tF Data Setup Time, tSU;DAT Data Hold Time, tHD;DAT Input Low Current, IIL SEQUENCING ENGINE TIMING State Change Time
1 2
90 2.0
100
10 110
A kHz V V A A pF A V V V kHz s s s s s s s s ns ns A s
0.8 1 1 5 20 2.0 0.8 0.4 400 4.7 4.7 4 4 4.7 4 1000 300 250 5 1 10
IOUT = 3.0 mA
VIN = 0
At least one of the VH, VPx pins must be 3.0 V to maintain the device supply on VDDCAP. All temperature sensor measurements are taken with round-robin loop enabled and at least one other voltage input being measured. 3 Specification is not production tested but is supported by characterization data at initial product release.
Rev. B | Page 6 of 36
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.
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 40-Lead LFCSP 48-Lead TQFP JA 25 50 Unit C/W C/W
ESD CAUTION
Rev. B | Page 7 of 36
VDDCAP
VDDCAP
VCCP
VCCP
39
GND
GND
SDA
SDA
SCL
SCL
DN
NC
DN
40
39
38
37
36
35
34
33
32
31 30 29 28
48
47
46
45
44
43
42
41
40
PIN 1 INDICATOR
PDO1 PDO2 PDO3 PDO4 PDO5 PDO6 PDO7 PDO8 PDO9 PDO10
NC
37 36 NC 35 PDO1 34 PDO2 33 PDO3 32 PDO4 31 PDO5 30 PDO6 29 PDO7 28 PDO8 27 PDO9 26 PDO10 25 NC 24
DP
DP
A1
A0
A1
20
PIN 1 INDICATOR
ADM1062
TOP VIEW (Not to Scale)
27 26 25 24 23 22 21
ADM1062
TOP VIEW (Not to Scale)
12
13
14
15
16
17
18
19
20
REFGND
REFIN
REFOUT
AGND
DAC1
DAC2
DAC3
DAC4
DAC5
DAC6
13
14
15
16
17
18
19
A0
21
22
23
REFIN
REFOUT
NC
AGND
REFGND
DAC1
DAC2
DAC3
DAC4
DAC5
DAC6
NC
NC = NO CONNECT
10
11
VH
11 12 13 14 15 to 20 21 to 30 31 32 33 34 35 36 37 38
14 15 16 17 18 to 23 26 to 35 38 39 40 41 42 43 44 45
AGND 2 REFGND2 REFIN REFOUT DAC1 to DAC6 PDO10 to PDO1 PDOGND2 VCCP A0 A1 SCL SDA DN DP
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. 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, from1.25 V to 3.00 V, and from 0.573 V to 1.375 V. 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. Ground Return for Input Attenuators. 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. 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. Voltage Output DACs. These pins default to high impedance at power-up. Programmable Output Drivers. Ground Return for Output Drivers. 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. 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. SMBus Clock Pin. Bidirectional open drain requires external resistive pull-up. SMBus Data Pin. Bidirectional open drain requires external resistive pull-up. External Temperature Sensor Cathode Connection. External Temperature Sensor Anode Connection.
Rev. B | Page 8 of 36
04433-004
ADM1062
Pin No. LFCSP 1 TQFP 39 46 Mnemonic VDDCAP Description Device Supply Voltage. Linearly regulated from the highest of the VPx, 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. Supply Ground.
40
1 2
47
GND2
Note that the LFCSP has an exposed pad on the bottom. This pad is a no connect (NC). If possible, this pad should be soldered to the board for improved mechanical stability. In a typical application, all ground pins are connected together.
Rev. B | Page 9 of 36
5
140
4
VVDDCAP (V)
IVP1 (A)
120 100 80 60 40
1
04433-050
04433-053
20 0
3 VVP1 (V)
3 VVP1 (V)
5.0 4.5
4
VVDDCAP (V)
8 VVH (V)
10
12
14
16
IVH (A)
3 VVH (V)
Rev. B | Page 10 of 36
04433-055
ADM1062
14 12 CHARGE-PUMPED V PDO1 (V) 10
1.0 0.8 0.6 0.4
DNL (LSB)
8 6 4 2 0
04433-056
2.5
5.0
10.0
12.5
15.0
1.0 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1.0 0 1000 2000 CODE 3000 4000
04433-063
VP1 = 3V
4.5 4.0
8000
VP1 = 3V
6000
4000
0.5 0
81 2049
10
20
30 ILOAD (A)
40
50
60
Rev. B | Page 11 of 36
04433-066
ADM1062
1.005 1.004 1.003 1.002
DAC OUTPUT
VP1 = 4.75V
PROBE POINT
04433-059
0.995 40
20
20
40
60
80
100
CH1 200mV
M1.00s
CH1
756mV
TEMPERATURE (C)
Figure 17. Transient Response of DAC Code Change into Typical Load
2.058
1V
REFOUT (V)
2.043
04433-061
04433-060
2.038 40
20
20
40
60
80
100
CH1 200mV
M1.00s
CH1
944mV
TEMPERATURE (C)
Rev. B | Page 12 of 36
OUT 4.75V LDO OUT 4.75V LDO OUT 4.75V LDO OUT 4.75V LDO OUT 4.75V LDO INTERNAL DEVICE SUPPLY
Rev. B | Page 13 of 36
ADM1062 INPUTS
SUPPLY SUPERVISION
The ADM1062 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 VH and VPx, or as CMOS-/TTL-compatible logic inputs to the device. Therefore, the ADM1062 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. Table 6 shows the details of each input. The threshold value required is given by VT = (VR N)/255 + VB where: VT is the desired threshold voltage (undervoltage or overvoltage). VR is the voltage range. N is the decimal value of the 8-bit code. VB is the bottom of the range. Reversing the equation, the code for a desired threshold is given by N = 255 (VT VB)/VR 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 at www.analog.com) is given by N = 255 (5 2.5)/3.5 Therefore, N = 182 (1011 0110 or 0xB6).
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.
VXx
Rev. B | Page 14 of 36
ADM1062
The hysteresis value is given by VHYST = VR NTHRESH/255 where: VHYST is the desired hysteresis voltage. NTHRESH is the decimal value of the 5-bit hysteresis code. Note that NTHRESH has a maximum value of 31. The maximum hysteresis for the ranges is listed in Table 6. 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 ORed 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.
INPUT
INPUT
t0
tGF
t0
tGF
OUTPUT
OUTPUT
04433-024
t0
tGF
t0
tGF
The digital blocks feature the same glitch filter function that is available on the SFDs. This function enables the user to ignore spurious transitions on the inputs. For example, the filter can be used to debounce a manual reset switch. 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.
VXx (DIGITAL INPUT) + DETECTOR
04433-027
GLITCH FILTER
TO SEQUENCING ENGINE
VREF = 1.4V
Rev. B | Page 15 of 36
ADM1062 OUTPUTS
SUPPLY SEQUENCING THROUGH CONFIGURABLE OUTPUT DRIVERS
Supply sequencing is achieved with the ADM1062 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 ADM1062 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, no warnings are received from any of the inputs of the device, and at other times. 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 VDD. Open-drain with strong pull-up to VDD. 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). register (see the AN-698 Application Note at www.analog.com 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.
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. The data driving each of the PDOs can come from one of three sources. The source can be enabled in the PDOxCFG configuration
SEL
VP1
20k
20k
20k 20k
10
10
10
04433-028
SEQUENCE
The ADM1062 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 and VH are triggered. The warnings are ORed together and are available as a single warning input to each of the three blocks that enable exiting a state.
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 or VP2 is not okay, go to State FSEL2. If VP1 is not okay, go to State IDLE1. If VP1, VP2, or VP3 is not okay, go to State FSEL1.
Rev. B | Page 17 of 36
04433-029
ADM1062
SEQUENCING ENGINE APPLICATION EXAMPLE
The application in this section demonstrates 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 threesupply system. Table 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. The sequence next 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 are 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. 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.
SEQUENCE STATES
IDLE1
VX1 = 0
IDLE2
VP1 = 1
TIMEOUT STATES
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 SUPPLY FAULT DETECTION SEQUENCE DETECTOR
(VP1 + VP2) = 0 VP1 = 0
EN3V3
10ms
VP2 = 1
EN2V5
(VP1 + VP2) = 0 20ms
DIS3V3
VX1 = 1
VP3 = 1
PWRGD
VP2 = 0 (VP1 + VP2 + VP3) = 0
DIS2V5
VX1 = 1
FSEL1
VX1 = 1
VX5
LOGIC INPUT CHANGE OR FAULT DETECTION TIMER WARNINGS INVERT FORCE FLOW (UNCONDITIONAL JUMP) SELECT
04433-032
VP3 = 0
FSEL2
VP1 = 0 VP2 = 0
04433-030
Rev. B | Page 18 of 36
ADM1062
Monitoring Fault Detector
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 VP1, VP2, or VP3 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 needs to 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.
MONITORING FAULT DETECTOR 1-BIT FAULT DETECTOR VP1 SUPPLY FAULT DETECTION MASK SENSE FAULT
Timeout 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.
1-BIT FAULT DETECTOR VX5 LOGIC INPUT CHANGE OR FAULT DETECTION MASK SENSE 1-BIT FAULT DETECTOR WARNINGS FAULT FAULT
MASK
Rev. B | Page 19 of 36
04433-033
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.
2.048V VREF
VPx/VH
ATTENUATION NETWORK (DEPENDS ON RANGE SELECTED) DIGITIZED VOLTAGE READING 12-BIT ADC
04433-026
2.048V VREF
The voltage at the input pin can be derived from the following equation: V=
where VREFIN = 2.048 V when the internal reference is used (that is, the REFIN pin is connected to the REFOUT pin). The ADC input voltage ranges for the SFD input ranges are listed in Table 9.
Rev. B | Page 20 of 36
6. 7.
Step 1 to Step 3 ensure 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.
MICROCONTROLLER
VOUT OUTPUT DC-TO-DC CONVERTER FEEDBACK GND ATTENUATION RESISTOR DACx PCB TRACE NOISE DECOUPLING CAPACITOR
ADM1062
DEVICE CONTROLLER (SMBus) DAC
Rev. B | Page 21 of 36
04433-067
ADM1062
VIN MICROCONTROLLER
ADM1062
DC-TO-DC CONVERTER OUTPUT R1 FEEDBACK R2 GND ATTENUATION RESISTOR, R3 DACx PCB TRACE NOISE DECOUPLING CAPACITOR VH/VPx/VXx MUX ADC DEVICE CONTROLLER (SMBus)
DAC
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: VOUT =
R1 (VFB VDACOUT) R3
where: VOUT is the change in VOUT. VFB is the voltage at the feedback node of the dc-to-dc converter. VDACOUT is the voltage output of the margining DAC. 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, then 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.
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 the EEPROM at startup.
Rev. B | Page 22 of 36
04433-034
DN
ADM1062
DP
DP DN BIAS DIODE
Rev. B | Page 23 of 36
04433-071
2N3906 PNP
DN
ADM1062
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 through a chopperstabilized amplifier that amplifies and rectifies the waveform to produce a dc voltage proportional to VBE. This voltage is measured by the ADC to produce a temperature output in 12-bit offset binary. To further reduce the effects of noise, digital filtering is performed by averaging the results of 16 measurement cycles. A remote temperature measurement takes nominally 600 ms. The results of remote temperature measurements are stored in 12-bit, offset binary format, as shown in Table 11. This format provides temperature readings with a resolution of 0.125C. Table 11. Temperature Data Format
Temperature 128C 125C 100C 75C 50C 25C 10C 0C +10.25C +25.5C +50.75C +75C +100C +125C +128C Digital Output (Hex) 0x400 0x418 0x4E0 0x5A8 0x670 0x738 0x7B0 0x800 0x852 0x8CC 0x996 0xA58 0XB20 0xBE8 0xC00 Digital Output (Binary) 010000000000 010000011000 010011100000 010110101000 011001110000 011100111000 011110110000 100000000000 100001010010 100011001100 100110010110 101001011000 101100100000 101111101000 110000000000
Rev. B | Page 24 of 36
DC-TO-DC1
VH 5V OUT 3V OUT 3.3V OUT 2.5V OUT 1.8V OUT 1.2V OUT 0.9V OUT POWRON RESET VX5 VP1 VP2 VP3 VP4 VX1 VX2 VX3 VX4 EN OUT 3.3V OUT
ADM1062
PDO1 PDO2 IN PDO3 PDO4 PDO5 PDO6 PDO7 PDO8 PDO9 PDO10 PWRGD SIGNAL VALID SYSTEM RESET IN
DC-TO-DC2
EN OUT 2.5V OUT
DC-TO-DC3
EN OUT 3.3V OUT IN 1.8V OUT
REFOUT
DAC1* DP
DN REFIN VCCP VDDCAP GND 3.3V OUT 10F 10F 10F IN *ONLY ONE MARGINING CIRCUIT SHOWN FOR CLARITY. DAC1 TO DAC6 ALLOW MARGINING FOR UP TO SIX VOLTAGE RAILS. TEMPERATURE DIODE 3.3V OUT 2.5V OUT MICROPROCESSOR EN OUT TRIM
LDO
EN OUT 0.9V OUT
1.2V OUT
DC-TO-DC4
Rev. B | Page 25 of 36
04433-068
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 ADM1062 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 ADM1062 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 Option 1. 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 Option 3, restoring the ADM1062 to its original configuration. The topology of the ADM1062 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 at www.analog.com. A flow diagram for download at power-up and subsequent configuration updates is shown in Figure 38.
Rev. B | Page 26 of 36
ADM1062
SMBus
EEPROM
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 6, starting at Address 0xF800, hold the configuration data for the applications on the ADM1062 (such as the SFDs and PDOs). These EEPROM addresses are the same as the RAM register addresses, prefixed by F8. Page 7 is reserved. Page 8 to Page 15 are for customer use. Data can be downloaded from the EEPROM to the RAM in one of the following ways: At power-up, when Page 0 to Page 6 are downloaded By setting Bit 0 of the UDOWNLD register (0xD8), which performs a user download of Page 0 to Page 6
INTERNAL REGISTERS
The ADM1062 contains a large number of data registers. The principal registers are the address pointer register and the configuration registers.
Configuration Registers
The configuration registers provide control and configuration for various operating parameters of the ADM1062.
EEPROM
The ADM1062 has two 512-byte cells of nonvolatile EEPROM from Register Address 0xF800 to Register Address 0xFBFF. The EEPROM is used for permanent storage of data that is not lost when the ADM1062 is powered down. One EEPROM cell contains the configuration data of the device; the other 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.
04433-035
E E P R O M L D
R A M L D
U P D
LATCH B
Rev. B | Page 27 of 36
ADM1062
The device also has several identification registers (read-only) that can be read across the SMBus. Table 13 lists these registers with their values and functions.
Table 13. Identification Register Values and Functions
Name MANID REVID MARK1 MARK2 Address 0xF4 0xF5 0xF6 0xF7 Value 0x41 0x02 0x00 0x00 Function Manufacturer ID for Analog Devices Silicon revision Software brand Software brand
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 R/W bit is a 0, the master writes to the slave device. If the R/W bit is a 1, the master reads from the slave device.
Step 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 can flow in only one direction, as defined by the R/W 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.
Step 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 address (MSB first) plus an R/W 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.
1 SCL 0 START BY MASTER FRAME 1 SLAVE ADDRESS SCL (CONTINUED) SDA (CONTINUED) 1 9 0 1 0 1 A1 A0 R/W ACK. BY SLAVE D7 D6 9 1
Step 3
When all data bytes have been read or written, stop conditions are established. In write mode, the master pulls the data line high during the 10th clock pulse to assert a stop condition. In read mode, the master device 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 period before the 10th clock pulse and then high during the 10th clock pulse to assert a stop condition.
SDA
D5
D4
D3
D2
D1
D0 ACK. BY SLAVE
D7
D6
D5
D4
D3
D2
D1
D0 ACK. BY SLAVE
D7
D6
D5
D4
D3
D2
D1
D0
04433-036
ACK. BY SLAVE
STOP BY MASTER
Rev. B | Page 28 of 36
ADM1062
1 SCL 0 START BY MASTER 1 FRAME 1 SLAVE ADDRESS 0 1 0 1 A1 A0 R/W ACK. BY SLAVE 9 1 FRAME 2 DATA BYTE D7 D6 D5 D4 D3 D2 D1 D0 ACK. BY MASTER 9 9 1 9
SDA
D7
D6
D5
D4
D3
D2
D1
D0 ACK. BY MASTER
D7
D6
D5
D4
D3
D2
D1
D0 NO ACK.
04433-037
STOP BY MASTER
tR
SCL
tF
t HD; STA
t HI G H
t SU; STA
t SU; STO
SDA
t BUF
P S S P
Rev. B | Page 29 of 36
ADM1062
SMBus PROTOCOLS FOR RAM AND EEPROM
The ADM1062 contains volatile registers (RAM) and nonvolatile registers (EEPROM). User RAM occupies Address 0x00 to Address 0xDF; 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. 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.
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. The master sends a command code telling the slave device to erase the page. The ADM1062 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 Write Byte/Word section). In addition, Bit 2 in the UPDCFG register (Address 0x90) must be set to 1.
1 S 2 SLAVE ADDRESS W 3 A 4 COMMAND BYTE (0xFE) 5 A 6 P
04433-040 04433-041
WRITE OPERATIONS
The SMBus specification defines several protocols for different types of read and write operations. The following abbreviations are used in Figure 42 to Figure 50:
As soon as the ADM1062 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 ADM1062 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: The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the write bit (low). 3. The addressed slave device asserts an ACK on SDA. 4. The master sends a command code. 5. The slave asserts an ACK on SDA. 6. The master sends a data byte. 7. The slave asserts an ACK on SDA. 8. The master sends a data byte or asserts a stop condition. 9. The slave asserts an ACK on SDA. 10. The master asserts a stop condition on SDA to end the transaction. 1. 2. In the ADM1062, the write byte/word protocol is used for three purposes:
Send Byte
In a send byte operation, the master device sends a single command byte to a slave device, as follows: 1. 2. 3. 4. 5. 6. The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the write bit (low). The addressed slave device asserts an acknowledge (ACK) on SDA. The master sends a command code. The slave asserts an ACK on SDA. The master asserts a stop condition on SDA, and the transaction ends.
In the ADM1062, 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 a block write starting at that address, as shown in Figure 42.
1 S 2 SLAVE ADDRESS W 3 A 4 RAM ADDRESS (0x00 TO 0xDF) 5 A 6
04433-039
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 44.
1 2 3 4 5 6 7 8
Rev. B | Page 30 of 36
ADM1062
To set up a 2-byte EEPROM address for a subsequent read, 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 45.
1 2 3 4 5 6 7 8
04433-042
7. 8. 9. 10.
1 S
The slave asserts an ACK on SDA. The master sends N data bytes. The slave asserts an ACK on SDA after each data byte. The master asserts a stop condition on SDA to end the transaction.
2 3 4 5 6 7 8 9 10
04433-044
EEPROM EEPROM SLAVE ADDRESS ADDRESS S ADDRESS W A A A P HIGH BYTE LOW BYTE (0xF8 TO 0xFB) (0x00 TO 0xFF)
SLAVE W A COMMAND 0xFC A BYTE A DATA A DATA A DATA A P ADDRESS (BLOCK WRITE) COUNT 1 2 N
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 46.
1 2 3 4 5 6 7 8 9 10
04433-043
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.
EEPROM EEPROM SLAVE ADDRESS ADDRESS P S ADDRESS W A A HIGH BYTE LOW BYTE A DATA A (0xF8 TO 0xFB) (0x00 TO 0xFF)
Note that the ADM1062 features a clock extend function for writes to EEPROM. Programming an EEPROM byte takes approximately 250 s, which limits the SMBus clock for repeated or block write operations. The ADM1062 pulls SCL low and extends the clock pulse when it cannot accept any more data.
READ OPERATIONS
The ADM1062 uses the following SMBus read protocols.
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 ADM1062, a send byte operation sets a RAM address, and a write byte/word operation sets an EEPROM address, as follows: 1. 2. 3. 4. The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the write bit (low). The addressed slave device asserts an ACK on SDA. The master sends a command code that tells the slave device to expect a block write. The ADM1062 command code for a block write is 0xFC (1111 1100). The slave asserts an ACK on SDA. The master sends a data byte that tells the slave device how many data bytes are being sent. The SMBus specification allows a maximum of 32 data bytes in a block write.
Receive Byte
In a receive byte operation, the master device receives a single byte from a slave device, as follows: 1. 2. 3. 4. 5. 6. The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the read bit (high). The addressed slave device asserts an ACK on SDA. The master receives a data byte. The master asserts a NACK on SDA. The master asserts a stop condition on SDA, and the transaction ends.
5. 6.
In the ADM1062, 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 48.
1 S 2 SLAVE ADDRESS R 3 A 4 DATA 5 A 6 P
04433-045
Rev. B | Page 31 of 36
ADM1062
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 ADM1062, 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: 1. 2. 3. 4. The master device asserts a start condition on SDA. The master sends the 7-bit slave address followed by the write bit (low). The addressed slave device asserts an ACK on SDA. The master sends a command code that tells the slave device to expect a block read. The ADM1062 command code for a block read is 0xFD (1111 1101). The slave asserts an ACK on SDA. The master asserts a repeat start condition on SDA. The master sends the 7-bit slave address followed by the read bit (high). The slave asserts an ACK on SDA. The ADM1062 sends a byte-count data byte that tells the master how many data bytes to expect. The ADM1062 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. The master receives 32 data bytes. The master asserts an ACK on SDA after each data byte. The master asserts a stop condition on SDA to end the transaction.
2 3 4 5 6 7 8 9 10 11 12
Error Correction
The ADM1062 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 ADM1062 is correct. The PEC byte is an optional byte sent after the last data byte has been written to or read from the ADM1062. The protocol is the same as a block read for Step 1 to Step 12 and then proceeds as follows: 13. The ADM1062 issues a PEC byte to the master. The master checks the PEC byte and issues another block read if the PEC byte is incorrect. 14. A NACK is generated after the PEC byte to signal the end of the read. 15. The master asserts a stop condition on SDA to end the 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) = x8 + 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 50.
1 2 3 4 5 6 7 8 9 10 11 12 SLAVE SLAVE BYTE DATA COMMAND 0xFD A S ADDRESS W A (BLOCK READ) A S ADDRESS R A COUNT A 1
5. 6. 7. 8. 9.
13 14 15 A PEC A P
04433-047
DATA 32
SLAVE COMMAND 0xFD SLAVE BYTE DATA W A A S R A A A ADDRESS (BLOCK READ) ADDRESS COUNT 1
Figure 50. Block Read from the EEPROM or RAM with PEC
13 P
04433-046
DATA A 32
Rev. B | Page 32 of 36
PIN 1 INDICATOR
PIN 1 INDICATOR
TOP VIEW
5.75 BCS SQ
EXPOSED PAD
(BOTTOM VIEW)
21 20
12 MAX
SEATING PLANE
0.20 REF
COPLANARITY 0.08
Figure 51. 40-Lead Lead Frame Chip Scale Package [LFCSP_VQ] 6 mm 6 mm Body, Very Thin Quad (CP-40-1) Dimensions shown in millimeters
1.20 MAX
48 1
9.00 BSC SQ
37 36 PIN 1
0 MIN
0.15 0.05
SEATING PLANE
TOP VIEW
(PINS DOWN)
7.00 BSC SQ
12 13
25 24
VIEW A
ROTATED 90 CCW
COMPLIANT TO JEDEC STANDARDS MS-026ABC
VIEW A
Figure 52. 48-Lead Thin Plastic Quad Flat Package [TQFP] (SU-48) Dimensions shown in millimeters
Rev. B | Page 33 of 36
ADM1062
ORDERING GUIDE
Model ADM1062ACP ADM1062ACP-REEL7 ADM1062ACPZ 1 ADM1062ACPZ-REEL71 ADM1062ASU ADM1062ASU-REEL7 ADM1062ASUZ1 ADM1062ASUZ-REEL71 EVAL-ADM1062LFEBZ1 EVAL-ADM1062TQEBZ1
1
Temperature Range 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C 40C to +85C
Package Description 40-Lead LFCSP_VQ 40-Lead LFCSP_VQ 40-Lead LFCSP_VQ 40-Lead LFCSP_VQ 48-Lead TQFP 48-Lead TQFP 48-Lead TQFP 48-Lead TQFP Evaluation Kit (LFCSP Version) Evaluation Kit (TQFP Version)
Package Option CP-40-1 CP-40-1 CP-40-1 CP-40-1 SU-48 SU-48 SU-48 SU-48
Rev. B | Page 34 of 36
ADM1062 NOTES
Rev. B | Page 35 of 36
ADM1062 NOTES
20052008 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D04433-0-5/08(B)
Rev. B | Page 36 of 36