Rainbow Electronics MAX16066 User Manual

19-4717; Rev 0; 7/09
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
General Description
The MAX16065/MAX16066 flash-configurable system managers monitor and sequence multiple system volt­ages. The MAX16065/MAX16066 can also accurately monitor (±2.5%) one current channel using a dedicated high-side current-sense amplifier. The MAX16065 man­ages up to twelve system voltages simultaneously, and the MAX16066 manages up to eight supply voltages. These devices integrate a selectable differential or sin­gle-ended analog-to-digital converter (ADC) and con­figurable outputs for sequencing power supplies. Device configuration information, including overvoltage and undervoltage limits, timing settings, and the sequenc­ing order is stored in nonvolatile flash memory. During a fault condition, fault flags and channel voltages can be automatically stored in the nonvolatile flash memory for later read-back.
The internal 1% accurate 10-bit ADC measures each input and compares the result to one overvoltage, one undervoltage, and one early warning limit that can be configured as either undervoltage or overvoltage. A fault signal asserts when a monitored voltage falls outside the set limits. Up to three independent fault output signals are configurable to assert under various fault conditions.
Because the MAX16065/MAX16066 support a power­supply voltage of up to 14V, they can be powered directly from the 12V intermediate bus in many systems.
The integrated sequencer provides precise control over the power-up and power-down order of up to twelve (MAX16065) or up to eight (MAX16066) power supplies. Eight outputs (EN_OUT1–EN_OUT8) are configurable with charge-pump outputs to directly drive external n-channel MOSFETs.
SMBus is a trademark of Intel Corp.
Features
S Operate from 2.8V to 14V
S ±2.5% Current-Monitoring Accuracy
S 1% Accurate 10-Bit ADC Monitors 12/8 Voltage
Inputs
S Single-Ended or Differential ADC for System
Voltage/Current Monitoring
S Integrated High-Side Current-Sense Amplifier
S 12/8 Monitored Inputs with Overvoltage/
Undervoltage/Early Warning Limit
S Nonvolatile Fault Event Logger
S Power-Up and Power-Down Sequencing
Capability
S Independent Secondary Sequence Block
S 12/8 Outputs for Sequencing/Power-Good
Indicators
S Two Programmable Fault Outputs and One Reset
Output
S Eight General-Purpose Inputs/Outputs
Configurable as:
Dedicated Fault Outputs Watchdog Timer Function Manual Reset
Margin Enable
S SMBus (with Timeout) or JTAG Interface
S Flash Configurable Time Delays and Thresholds
S -40NC to +85NC Operating Temperature Range
Applications
Networking Equipment
Telecom Equipment (Base Stations, Access)
Storage/Raid Systems
Servers
Ordering Information
PART TEMP RANGE PIN-PACKAGE
MAX16065ETM+ MAX16066ETL+
+Denotes a lead(Pb)-free/RoHS-compliant package. *EP = Exposed pad.
Pin Configuration and Typical Operating Circuits appear at end of data sheet.
-40NC to +85NC
-40NC to +85NC
48 TQFN-EP* 40 TQFN-EP*
MAX16065/MAX16066
_______________________________________________________________ Maxim Integrated Products 1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
ABSOLUTE MAXIMUM RATINGS
VCC, CSP, CSM to GND ........................................-0.3V to +15V
CSP to CSM .......................................................... -0.7V to +0.7V
MON_, GPIO_, SCL, SDA, A0, RESET, EN_OUT9–EN_OUT12 to
GND (programmed as open-drain outputs) ........-0.3V to +6V
EN, TCK, TMS, TDI to GND ....................................-0.3V to +4V
DBP, ABP to GND ...-0.3V to the lower of +3V and (VCC + 0.3V) EN_OUT1–EN_OUT8 to GND (programmed as open-drain
outputs) ............................................................-0.3V to +15V
TDO, EN_OUT_, GPIO_, RESET (programmed as push-pull
outputs)............................................... -0.3V to (V
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
DBP
+ 0.3V)
ELECTRICAL CHARACTERISTICS
(VCC = 2.8V to 14V, TA = -40NC to +85NC, unless otherwise specified. Typical values are at ABP = DBP = VCC = 3.3V, TA = +25NC.) (Note 1)
MAX16065/MAX16066
Operating Voltage Range V
Undervoltage Lockout (Rising) V
Undervoltage Lockout Hysteresis V
Minimum Flash Operating Voltage
Supply Current I
ABP Regulator Voltage V DBP Regulator Voltage V Boot Time t Flash Writing Time 8-byte word 122 ms Internal Timing Accuracy (Note 3) -8 +8 %
EN Input Voltage
EN Input Current I Input Voltage Range 0 5.5 V
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
CC
UVLO
UVLO_HYS
V
flash
CC
ABP
DBP
BOOT
V
TH_EN_R
V
TH_EN_F
EN
Reset output asserted low 1.2 (Note 2) 2.8 14
Minimum voltage on VCC to ensure the device is flash configurable
Minimum voltage on VCC to ensure flash erase and write operations
No load on output pins 4.5 7 During flash writing cycle 10 14 C
= 1μF, no load, VCC = 5V 2.85 3 3.15 V
ABP
C
= 1μF, no load, VCC = 5V 2.8 3 3.1 V
ABP
VCC > V
EN voltage rising 1.41 EN voltage falling 1.365 1.39 1.415
UVLO
Continuous Power Dissipation (TA = +70NC)
48-Pin TQFN (derate 27.8mW/NC above +70NC) .......2222mW
Operating Temperature Range .......................... -40NC to +85NC
V
2.7 V
100 mV
2.7 V
mA
200 350 μs
V
-0.5 +0.5 μA
2 ______________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
ELECTRICAL CHARACTERISTICS (continued)
(VCC = 2.8V to 14V, TA = -40NC to +85NC, unless otherwise specified. Typical values are at ABP = DBP = VCC = 3.3V, TA = +25NC.) (Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
ADC DC ACCURACY
Resolution 10 Bits
Gain Error ADC
Offset Error ADC Integral Nonlinearity ADC Differential Nonlinearity ADC ADC Total Monitoring Cycle Time t
ADC IN_ Ranges
CURRENT SENSE
CSP Input-Voltage Range V
Input Bias Current
CSP Total Unadjusted Error CSP
Overcurrent Differential Threshold
V
Fault Threshold
SENSE
Hysteresis
Secondary Overcurrent Threshold Timeout
V
Ranges
SENSE
ADC Current Measurement Accuracy
Gain Accuracy
Common-Mode Rejection Ratio CMRR Power-Supply Rejection Ratio PSRR
CYCLE
I
I
CSM
OVC
OVC
OVC
CSP
CSP
GAIN
TA = +25°C 0.35 TA = -40°C to +85°C 0.70
OFF
INL
DNL
No MON_ fault detected 40 50 μs 1 LSB = 5.43mV 5.56
1 LSB = 1.36mV 1.39
3 14 V
14 25
V
= V
CSP
(Note 4) 2 %FSR
ERR
V
TH
HYS
DEL
SNSVCSP
SNS
CSP
V
CSM
r73h[6:5] = ‘00’ 0 r73h[6:5] = ‘01’ 3 4 5 r73h[6:5] = ‘10’ 12 16 20 r73h[6:5] = ‘11’ 50 64 60 Gain = 6 232 Gain = 12 116 Gain = 24 58 Gain = 48 29 V
SENSE
V
SENSE
V
SENSE
V
SENSE
V
SENSE
gain = 6
CSM
Gain = 48 21.5 25 30.5 Gain = 24 46 51 56
­Gain = 12 94 101 108 Gain = 6 190 202 210
= 150mV (gain = 6 only) -2.5 = 50mV, gain = 12 -4 = 25mV, gain = 24 = 10mV, gain = 48
= 20mV to 100mV, V
> 4V 80 dB
CSP
= 5V,
-1.5 +1.5 %
3 5
0.5 % OVC
Q0.2 Q0.2 Q0.5
Q1
80 dB
1 LSB 1 LSB 1 LSB
+2.5
+4
%
V1 LSB = 2.72mV 2.78
μA
mV
TH
ms
mV
%
MAX16065/MAX16066
_______________________________________________________________________________________ 3
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
ELECTRICAL CHARACTERISTICS (continued)
(VCC = 2.8V to 14V, TA = -40NC to +85NC, unless otherwise specified. Typical values are at ABP = DBP = VCC = 3.3V, TA = +25NC.) (Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
OUTPUTS (EN_OUT_, RESET, GPIO_)
I
= 2mA 0.4
SINK
I
Output-Voltage Low V
Maximum Output Sink Current
Output-Voltage High (Push-Pull) I
Output Leakage (Open Drain)
OUT_ Overdrive (Charge Pump) (EN_OUT1–EN_OUT8 Only)
OUT_ Pullup Current (Charge Pump)
MAX16065/MAX16066
SMBus INTERFACE
Logic-Input Low Voltage V Logic-Input High Voltage V Input Leakage Current IN = GND or V Output Sink Current V Input Capacitance C SMBus Timeout t
INPUTS (A0, GPIO_)
Input Logic-Low V Input Logic-High V WDI Pulse Width t
MR Pulse Width MR to RESET Delay MR Glitch Rejection
SMBus TIMING
Serial Clock Frequency f
Bus Free Time Between STOP and START Condition
START Condition Setup Time t START Condition Hold Time t STOP Condition Setup Time t Clock Low Period t Clock High Period t Data Setup Time t
OL
I
CH_UP
IL
IH
OL
IN
TIMEOUT
IL
IH
WDI
t
MR
SCL
t
BUF
SU:STA
HD:STA
SU:STO
LOW
HIGH
SU:DAT
= 10mA, GPIO_ only 0.7
SINK
VCC = 1.2V, I Total current into EN_OUT_, RESET,
GPIO_, VCC = 3.3V
SOURCE
EN_OUT1–EN_OUT8 = 13.2V 5
I
GATE_
During power up, V
Input voltage falling 0.8 V Input voltage rising 2.0 V
I
SINK
SCL time low for reset 25 35 ms
= 100μA 2.4 V
= 1μA 10 11 13 V
= 3mA 0.4 V
= 100μA (RESET only)
SINK
= 1V 2.5 4 μA
GATE
CC
-1 +1 μA
5 pF
2.0 V
100 ns
1 μs
0.5 μs
100 ns
1.3 μs
0.6 μs
0.6 μs
0.6 μs
1.3 μs
0.6 μs
100 ns
0.3
30 mA
1
0.8 V
400 kHz
V
μA
4 ______________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
ELECTRICAL CHARACTERISTICS
(VCC = 2.8V to 14V, TA = -40NC to +85NC, unless otherwise specified. Typical values are at ABP = DBP = VCC = 3.3V, TA = +25NC.) (Note 1)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Output Fall Time t Data Hold Time t Pulse Width of Spike Suppressed t
JTAG INTERFACE
TDI, TMS, TCK Logic-Low Input Voltage
TDI, TMS, TCK Logic-High Input Voltage
TDO Logic-Output Low Voltage V TDO Logic-Output High Voltage V TDI, TMS Pullup Resistors R I/O Capacitance C TCK Clock Period t TCK High/Low Time t2, t TCK to TMS, TDI Setup Time t TCK to TMS, TDI Hold Time t TCK to TDO Delay t TCK to TDO High-Z Delay t
OF
HD:DAT
V
V
SP
IL
IH
OL
OH
PU
I/O
1
4
5
6
7
C
= 10pF to 400pF 250 ns
BUS
From 50% SCL falling to SDA change 0.3 0.9 μs
30 ns
Input voltage falling 0.8 V
Input voltage rising 2 V
I
= 3mA 0.4 V
SINK
I
SOURCE
Pullup to DBP 40 50 60
3
= 200μA 2.4 V
5 pF
50 500 ns 15 ns 10 ns
1000 ns
500 ns 500 ns
MAX16065/MAX16066
Note 1: Specifications are guaranteed for the stated global conditions, unless otherwise noted. 100% production tested at TA =
+25NC and TA = +85NC. Specifications at TA = -40NC are guaranteed by design.
Note 2: For V
supply rail.
Note 3: Applies to RESET, fault, autoretry, sequence delays, and watchdog timeout. Note 4: Total unadjusted error is a combination of gain, offset, and quantization error.
of 3.6V or lower, connect VCC, DBP, and ABP together. For higher supply applications, connect only VCC to the
CC
_______________________________________________________________________________________ 5
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
SDA
t
BUF
SCL
t
HD:STA
t
SU:DAT
t
t
t
LOW
t
HIGH
t
R
HD:DAT
t
F
SU:STA
t
HD:STA
t
SU:STO
START
CONDITION
MAX16065/MAX16066
Figure 1. SMBus Timing Diagram
t
2
TCK
TDI, TMS
t
6
t
7
t
4
REPEATED START
CONDITION
t
1
t
5
STOP
CONDITION
t
3
START
CONDITION
TDO
Figure 2. JTAG Timing Diagram
6 ______________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
VCC SUPPLY CURRENT
vs. V
CC
SUPPLY VOLTAGE
MAX16065 toc01
VCC (V)
I
CC
(mA)
12108642
1
2
3
4
5
6
0
0 14
TA = +85NC
TA = +25NC
TA = -40NC
FOR LOW-VOLTAGE APPLICATIONS V
CC
< 3.6V CONNECT ABP AND
DBP TO V
CC
ABP AND DBP REGULATORS ACTIVE
ABP AND DBP CONNECTED TO V
CC
Managers with Nonvolatile Fault Registers
Typical Operating Characteristics
(Typical values are at VCC = 3.3V, T
= +25°C, unless otherwise noted.)
A
MAX16065/MAX16066
TRANSIENT DURATION
vs. THRESHOLD OVERDRIVE (EN)
160
140
120
100
80
60
TRANSIENT DURATION (µs)
40
20
0
1 100
10
EN OVERDRIVE (mV)
NORMALIZED MON_ THRESHOLD
1.2
1.0
0.8
0.6
0.4
NORMALIZED MON_ THRESHOLD
0.2
0
-40 80
NORMALIZED TIMING ACCURACY
0.986
0.984
MAX16065 toc04
0.982
0.980
0.978
0.976
NORMALIZED SLOT DELAY
0.974
0.972
-40
vs. TEMPERATURE
5.6V RANGE, HALF SCALE, PUV THRESHOLD
TEMPERATURE (NC)
vs. TEMPERATURE
TEMPERATURE (NC)
NORMALIZED EN THRESHOLD
vs. TEMPERATURE
1.006
1.004
MAX16065 toc02
1.002
1.000
0.998
0.996
NORMALIZED EN THRESHOLD
0.994
6040200-20
0.992
-40 TEMPERATURE (NC)
MAX16065 toc03
806040200-20
MON_ DEGLITCH
vs. TRANSIENT DURATION
120
806040200-20
MAX16065 toc05
TRANSIENT DURATION (µs)
100
80
60
40
20
0
2
4 8 16
DEGLITCH VALUE
MAX16065 toc06
MR TO RESET PROPAGATION DELAY
2.0
1.8
1.6
1.4
1.2
1.0
DELAY (µs)
0.8
0.6
0.4
0.2
0
-40
vs. TEMPERATURE
MAX
MIN
TEMPERATURE (NC)
806020 400-20
MAX16065 toc07
OUTPUT VOLTAGE vs. SINK CURRENT
(OUT = LOW)
0.45
0.40
0.35
0.30
0.25
(V)
OUT
V
0.20
0.15
0.10
0.05
0
0 20
EN_OUT_
GPIO_
I
(mA)
OUT
MAX16065 toc08
RESET
15105
OUTPUT-VOLTAGE HIGH vs. SOURCE
CURRENT (CHARGE-PUMP OUTPUT)
12
10
8
(V)
6
OUT
V
4
2
0
0 4
I
(µA)
OUT
_______________________________________________________________________________________ 7
MAX16065 toc09
321
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Typical Operating Characteristics (continued)
(Typical values are at VCC = 3.3V, T
= +25°C, unless otherwise noted.)
A
OUTPUT-VOLTAGE HIGH vs. SOURCE
CURRENT (PUSH-PULL OUTPUT)
3.4
3.3
3.2
3.1
3.0
(V)
2.9
OUT
V
2.8 EN_OUT_
2.7
2.6
2.5
2.4
RESET
0 1500
GPIO_
1000500
I
(µA)
OUT
MAX16065 toc10
INTEGRAL NONLINEARITY vs. CODE
1.0
0.8
0.6
0.4
0.2
0
INL (LSB)
-0.2
-0.4
-0.6
-0.8
-1.0 0 1024
MAX16065/MAX16066
NORMALIZED CURRENT-SENSE
ACCURACY vs. TEMPERATURE
1.05
1.03
200mV
1.01
0.99
100mV
0.97
NORMALIZED CURRENT-SENSE OUTPUT
0.95
TEMPERATURE (NC)
25mV
6040200-20-40 80
MAX16065 toc13
ERROR (mV)
-0.2
-0.4
-0.6
-0.8
-1.0
CURRENT-SENSE ACCURACY
1.0
0.8
0.6
0.4
0.2
0
0 30
CODE (LSB)
vs. CSP-CSM VOLTAGE
CSP-CSM VOLTAGE (mV)
DIFFERENTIAL NONLINEARITY vs. CODE
1.0
0.8
MAX16065 toc11
0.6
0.4
0.2
0
DNL (LSB)
-0.2
-0.4
-0.6
-0.8
896768512 640256 384128
-1.0 0 1024
CODE (LSB)
MAX16065 toc12
896768512 640256 384128
CURRENT-SENSE TRANSIENT DURATION
vs. CSP-CSM OVERDRIVE
1.8
1.6
MAX16065 toc14
1.4
1.2
1.0
0.8
0.6
TRANSIENT DURATION (Fs)
0.4
0.2
252015105
0
0 100
CSP-CSM OVERDRIVE (mV)
80604020
MAX16065 toc15
RESET OUTPUT CURRENT
FET TURN-ON WITH CHARGE PUMP
EN_OUT
I
LOAD
V
LOAD
20ms/div
MAX16065 toc16
SEQUENCING MODE
20ms/div
MAX16065 toc17
18
16
14
12
10
8
6
OUTPUT CURRENT (mA)
4
2
0
vs. SUPPLY VOLTAGE
ABP AND DBP CONNECTED TO V
ABP AND DBP
REGULATORS ACTIVE
0 14
SUPPLY VOLTAGE (V)
8 ______________________________________________________________________________________
V
CC
RESET
MAX16065 toc18
= 0.3V
12106 842
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Pin Description
MAX16065/MAX16066
PIN
MAX16065 MAX16066
1–6, 43–46 1–5, 36–40
47, 48
7 6 CSP
8 7 CSM
9 8 RESET Configurable Reset Output 10 9 TMS JTAG Test Mode Select 11 10 TDI JTAG Test Data Input 12 11 TCK JTAG Test Clock 13 12 TDO JTAG Test Data Output 14 13 SDA SMBus Serial-Data Open-Drain Input/Output 15 14 A0 Four-State SMBus Address. Address sampled upon POR. 16 15 SCL SMBus Serial-Clock Input
17, 42 16, 35 GND Ground
20–25 17–22
18, 19
26–29
NAME FUNCTION
MON1– MON10
MON11,
MON12
GPIO1–
GPIO6
GPIO7,
GPIO8
EN_OUT12–
EN_OUT9
Monitor Voltage Inputs. Set monitor voltage range through configuration registers. Measured value written to ADC register can be read back through the SMBus or JTAG interface.
Monitor Voltage Inputs. Set monitor voltage range through configuration registers. Measured value written to ADC register can be read back through the SMBus or JTAG interface.
Current-Sense Amplifier Positive Input. Connect CSP to the source side of the external sense resistor.
Current-Sense Amplifier Negative Input. Connect CSM to the load side of the external sense resistor.
General-Purpose Input/Outputs. GPIO_s can be configured to act as a TTL input, a push-pull, open-drain, or high-impedance output or a pulldown circuit during a fault event.
General-Purpose Input/Outputs. GPIO_s can be configured to act as a TTL input, a push-pull, open-drain, or high-impedance output or a pulldown circuit during a fault event or reverse sequencing.
Outputs. Set EN_OUT_ with active-high/active-low logic and with push-pull or open-drain configuration. EN_OUT_ can be asserted by a combination of IN_ voltages configurable through the flash.
30–37 23–30
38 31 EN
39 32 DBP
40 33 V
41 34 ABP
EP
_______________________________________________________________________________________ 9
EN_OUT1–
EN_OUT8
CC
Outputs. Set EN_OUT_ with active-high/active-low logic and with push-pull or open-drain configuration. EN_OUT_ can be asserted by a combination of IN_ voltages configurable through the flash. EN_OUT1–EN_OUT8 can be configured with a charge-pump output (+10V above GND) that can drive an external n-channel MOSFET.
Analog Enable Input. All outputs deassert when VEN is below the enable threshold.
Digital Bypass. All push-pull outputs are referenced to DBP. Bypass DBP with a 1FF capacitor to GND.
Device Power Supply. Connect VCC to a voltage from 2.8V to 14V. Bypass VCC with a 10FF capacitor to GND.
Analog Bypass. Bypass ABP with a 1FF ceramic capacitor to GND.
Exposed Pad. Internally connected to GND. Connect to ground, but do not use as the main ground connection.
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Functional Diagram
V
CC
MAX16065
EN
MAX16065/MAX16066
CSP
CSM
MON1– MON12
1.4V
VOLTAGE SCALING
AND MUX
A
V
V
CSTH
REF
10-BIT ADC
(SAR)
ADC
REGISTERS
ABP DBP
DIGITAL
COMPARATORS
DECODE
LOGIC
WATCHDOG
TIMER
PRIMARY
SEQUENCE
BLOCK
SECONDARY
SEQUENCE
BLOCK
OVERC
RESET
ANYFAULT
FAULT1
FAULT2
MR
MARGIN
WDI
WDO
GPIO1–GPIO8
RESET
G P I O
C O N T R O L
GPIO1
GPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
GPIO8
EN_OUT1– EN_OUT12
RAM
REGISTERS
SMBus INTERFACE
AO
SCL SDA
FLASH
MEMORY
GND
TDO TDI TCK TMS
JTAG
INTERFACE
10 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Detailed Description
The MAX16065 manages up to twelve system power supplies and the MAX16066 can manage up to eight system power supplies. After boot-up, if EN is high and the software enable bit is set to ‘1,’ a power-up sequence begins based on the configuration stored in flash and the EN_OUT_s are controlled accordingly. When the power-up sequence is successfully completed, the monitoring phase begins. An internal multiplexer cycles through each MON_ input. At each multiplexer stop, the 10-bit ADC converts the monitored analog voltage to a digital result and stores the result in a register. Each time a conversion cycle (50Fs, max) completes, internal logic circuitry compares the conversion results to the over­voltage and undervoltage thresholds stored in memory. When a result violates a programmed threshold, the conversion can be configured to generate a fault. GPIO_ can be programmed to assert on combinations of faults. Additionally, faults can be configured to shut off the sys­tem and trigger the nonvolatile fault logger, which writes all fault information automatically to the flash and write­protects the data to prevent accidental erasure.
The MAX16065/MAX16066 contain both SMBus and JTAG serial interfaces for accessing registers and flash. Use only one interface at any given time. For more infor­mation on how to access the internal memory through these interfaces, see the SMBus-Compatible Interface and JTAG Serial Interface sections. The memory map is divided into three pages with access controlled by special SMBus and JTAG commands.
The factory-default values at POR (power-on reset) for all RAM registers are ‘0’s. POR occurs when VCC reaches the undervoltage-lockout threshold (UVLO) of 2.8V (max). At POR, the device begins a boot-up sequence. During the boot-up sequence, all monitored inputs are masked from initiating faults and flash contents are copied to the respective register locations. During boot-up, the MAX16065/MAX16066 are not accessible through the serial interface. The boot-up sequence takes up to 150Fs, after which the device is ready for normal opera­tion. RESET is asserted low up to the boot-up phase and remains asserted for its programmed timeout period once sequencing is completed and all monitored channels are within their respective thresholds. Up to the boot-up phase, the GPIO_s and EN_OUT_s are high impedance.
Apply 2.8V to 14V to VCC to power the MAX16065/ MAX16066. Bypass VCC to ground with a 10FF capaci­tor. Two internal voltage regulators, ABP and DBP, supply power to the analog and digital circuitry within the device. For operation at 3.6V or lower, disable the regulators by connecting ABP and DBP to VCC.
ABP is a 3.0V (typ) voltage regulator that powers the inter­nal analog circuitry. Bypass ABP to GND with a 1FF ceram­ic capacitor installed as close to the device as possible.
DBP is an internal 3.0V (typ) voltage regulator. DBP powers flash and digital circuitry. All push-pull outputs refer to DBP. DBP supplies the input voltage to the inter­nal charge pump when the programmable outputs are configured as charge-pump outputs. Bypass the DBP output to GND with a 1FF ceramic capacitor installed as close as possible to the device.
Do not power external circuitry from ABP or DBP.
To sequence a system of power supplies safely, the output voltage of a power supply must be good before the next power supply may turn on. Connect EN_OUT_ outputs to the enable input of an external power supply and connect MON_ inputs to the output of the power supply for voltage monitoring. More than one MON_ can be used if the power supply has multiple outputs.
Sequence Order
The MAX16065/MAX16066 provide a system of ordered slots to sequence multiple power supplies. To determine the sequence order, assign each EN_OUT_ to a slot ranging from Slot 1 to Slot 12. EN_OUT_(s) assigned to Slot 1 are turned on first, followed by outputs assigned to Slot 2, and so on through Slot 12. Multiple EN_OUT_s assigned to the same slot turn on at the same time.
Each slot includes a built-in configurable sequence delay (registers r77h to r7Dh) ranging from 20Fs to 1.6s. During a reverse sequence, slots are turned off in reverse order starting from Slot 12. The MAX16065/MAX16066 can be configured to power-down in simultaneous mode or in reverse sequence mode as set in r75h[0]. See Tables 5 and 6 for the EN_OUT_ slot assignment bits, and Tables 3 and 4 for the sequence delays.
During power-up or power-down sequencing, the cur­rent sequencer state can be found in r21h[4:0].
Power
Sequencing
MAX16065/MAX16066
______________________________________________________________________________________ 11
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 1. Current Sequencer Slot
REGISTER
ADDRESS
21h
MAX16065/MAX16066
BIT RANGE DESCRIPTION
Current Sequencer State: 00000 = Slot 0 00001 = Slot 1 00010 = Slot 2 00011 = Slot 3 00100 = Slot 4 00101 = Slot 5 00110 = Slot 6 00111 = Slot 7
[4:0]
[7:5] Reserved
01000 = Slot 8 01001 = Slot 9 01010 = Slot 10 01011 = Slot 11 01100 = Slot 12 01101 = Secondary sequence monitoring mode 01110 = Primary sequence fault 01111 = Primary sequence monitoring mode 10000 = Secondary sequence fault 10001 to 11111 = Reserved
Multiple Sequencing Groups
The MAX16065/MAX16066 sequencing slots can be split into two groups: the primary sequence and the sec­ondary sequence. The last slot of the primary sequence is selected using register bits r7Dh[7:4]. The second­ary sequence begins at the slot after the one speci­fied in register bits 7Dh[7:4]. The primary sequence is controlled by the EN input and the software enable bit in r73h[0]. Outputs assigned to slots in the primary sequence turn on, and monitoring begins for inputs assigned to these slots. RESET deasserts after the pri­mary sequence and timeout period completes.
To initiate secondary sequencing and monitoring, set the software enable 73h[1] bit to 1. Additionally, if GPIO_ is configured as EN2 then both the software enable 2 and EN2 must be high. Outputs assigned to slots in the secondary sequence turn on, and monitoring begins for inputs assigned to these slots. If a GPIO_ is configured as the RESET2 output, it deasserts after the secondary sequence and timeout period completes.
If a critical fault occurs in the primary sequence group, both sequence groups automatically shut down. If a critical fault occurs in the secondary sequence group, then just the outputs assigned to slots in the second­ary sequence turn off. The failing slot in secondary sequence is stored in r1Dh.
Multiple sequencing groups can be used to conserve power by powering down secondary systems when not in use.
Enable and Enable2
To initiate sequencing/tracking and enable monitoring, the voltage at EN must be above 1.4V and the software enable bit in r73h[0] must be set to ‘1.’ To power down and disable monitoring, either pull EN below 1.35V or set the Software Enable bit to ‘0.’ See Table 2 for the software enable bit configurations. Connect EN to ABP if not used.
If a fault condition occurs during the power-up cycle, the EN_OUT_ outputs are powered down immediately, regardless of the state of EN. In the monitoring state, if EN falls below the threshold, the sequencing state machine begins the power-down sequence. If EN rises above the threshold during the power-down sequence, the sequence state machine continues the power-down sequence until all the channels are powered off and then the device immediately begins the power-up sequence. When in the monitoring state, a register bit, ENRESET, is set to a ‘1’ when EN falls below the undervoltage threshold. This register bit latches and must be cleared through software. This bit indicates if RESET asserted low due to EN going under the threshold. The POR state of ENRESET is ‘0’. The bit is only set on a falling edge
12 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
of the EN comparator output or the software enable bit. If operating in latch-on fault mode, toggle EN or toggle the Software Enable bit to clear the latch condition and restart the device once the fault condition has been removed.
To initiate secondary sequencing and monitoring set the software enable r73h[1] bit to 1. Additionally, if GPIO_ is configured as EN2 then both the software enable 2 bit and EN2 must be high. To power-down and disable monitor­ing, either drive EN2 low or set the Software Enable2 bit to ‘0.’ See Table 2 for the software enable bit configurations.
When a fault condition occurs during the power-up cycle, the EN_OUT_ outputs are powered down immediately, independent of the state of EN2. Drive EN2 low to begin the secondary power-down sequence. When EN2 is driv-
Table 2. Software Enable Configurations
REGISTER
ADDRESS
73h 273h
FLASH
ADDRESS
BIT RANGE DESCRIPTION
[0] Software enable 1 (primary sequence) [1] Software enable 2 (secondary sequence) [2] 1 = Margin mode enabled
Early warning threshold select
[3]
[4]
0 = Early warning is undervoltage 1 = Early warning is overvoltage
Independent watchdog mode enable 1 = Watchdog timer is independent of sequencer 0 = Watchdog timer boots after sequence completes
en high during the power-down sequence, the sequence state machine continues the power-down sequence until the secondary channels are powered off and then the device immediately begins the power-up sequence.
Monitoring Inputs While Sequencing
An enabled MON_ input can be assigned to a slot ranging from Slot 1 to Slot 12. EN_OUT_s are always asserted at the beginning of a slot. The supply volt­ages connected to the MON_ inputs must exceed the undervoltage threshold before the programmed timeout period expires otherwise a fault condition will occur. The undervoltage threshold checking cannot be disabled during power-up and power-down. See Tables 5 and 6 for the MON_ slot assignment bits. The programmed
MAX16065/MAX16066
Table 3. Slot Delay Register
REGISTER
ADDRESS
77h 277h
78h 278h
79h 279h
7Ah 27Ah
7Bh 27Bh
7Ch 27Ch
7Dh 27Dh
FLASH
ADDRESS
______________________________________________________________________________________ 13
BIT RANGE DESCRIPTION
[3:0] Sequence Slot 0 Delay [7:4] Sequence Slot 1 Delay [3:0] Sequence Slot 2 Delay [7:4] Sequence Slot 3 Delay [3:0] Sequence Slot 4 Delay [7:4] Sequence Slot 5 Delay [3:0] Sequence Slot 6 Delay [7:4] Sequence Slot 7 Delay [3:0] Sequence Slot 8 Delay [7:4] Sequence Slot 9 Delay [3:0] Sequence Slot 10 Delay [7:4] Sequence Slot 11 Delay [3:0] Sequence Slot 12 Delay [7:4] Grouped Sequence Split Location, Final Slot of Primary Sequence
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 4. Power-Up/Power-Down Slot Delays
CODE VALUE
0000 0001 0010 1ms 0011 2ms 0100 3ms 0101 4ms 0110 6ms 0111 8ms 1000 10ms 1001 12ms 1010 25ms 1011 100ms 1100 200ms 1101 400ms 1110 800ms
MAX16065/MAX16066
1111 1.6s
25Fs
500Fs
sequence delay is then counted before moving to the next slot.
Slot 0 does not monitor any MON_ input and does not control any EN_OUT_. Slot 0 waits for the Software Enable bit r73h[0] to be a logic-high and for the voltage on EN to rise above 1.4V before initiating the power-up sequence and counting its own sequence delay.
Any MON_ input that suffers a fault that occurs during power-up sequencing causes all the EN_OUT_s to turn off and the sequencer to shut down regardless of the state of the critical fault enables (see the Faults section for more information). If a MON_ input is less critical to system operation, it can be configured as “monitoring only” (see Table 6) for either the primary or secondary sequence. Monitoring for MON_ inputs assigned as “monitoring only” begins after sequencing is complete for that group, and can trigger a critical fault only if specifically configured to do so using the critical fault enables.
Power-Up
On power-up, when EN is high and the Software Enable bit is 1, the MAX16065/MAX16066 begin sequencing with Slot 0. After the sequencing delay for Slot 0 expires, the sequencer advances to Slot 1, and all EN_OUT_s assigned to the slot assert. All MON_ inputs assigned to Slot 1 are monitored and when the voltage rises above the UV fault threshold, the sequence delay counter is started.
When the t assigned to the slot are above the fault UV threshold, a fault asserts. EN_OUT_ outputs are disabled and the MAX16065/MAX16066 return to the power-off state. When the sequence delay expires, the MAX16065/ MAX16066 proceed to the next slot.
After the voltages on all MON_ inputs assigned to the last slot exceed the UV fault threshold and the slot delay expires, the MAX16065/MAX16066 start the reset time­out counter. After the reset timeout, RESET deasserts. r75h[4:1] sets the t
Power-down starts when EN is pulled low or the Software Enable bit is set to ‘0.’ Power down EN_OUT_s simul­taneously or in reverse-sequence mode by setting the Reverse Sequence bit (r75h[0]) appropriately.
When the MAX16065/MAX16066 are fully powered up (including secondary sequence group, if enabled) and EN or the Software Enable bit is set to ‘0’, the EN_OUT_s assigned to Slot 12 deassert, the MAX16065/MAX16066 wait for the Slot 12 sequence delay and then proceed to the previous slot (Slot 11), and so on until the EN_OUT_s assigned to Slot 1 turn off. When simultaneous power­down is selected (r75h[0] set to ‘0’), all EN_OUT_s turn off at the same time.
counter expires before all MON_ inputs
FAULT
delay. See Table 7 for details.
FAULT
Power-Down
Reverse-Sequence Mode
14 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
MAX16065/MAX16066
BOTH ARE ASSIGNED TO SLOT 1
BOTH ARE ASSIGNED TO SLOT 2
EN_OUT1
MON4
EN_OUT2
MON3
MON5
RESET
SLOT 0
SLOT1-SLOT2
DELAY
UV/OV
MONITORING BEGINS
WHEN MON4 REACHES UV THRESHOLD
SLOT 1
t
FAULT
SLOT1-SLOT2
MON4 MUST
REACH UV
THRESHOLD BY THIS
TIME
DELAY
UV
OV
SLOT 2
FINAL SLOT
(PRIMARY
SEQUENCE)
RESET
TIMEOUT
EN
Figure 3. Delay and Reset Timing
Table 5. MON_ and EN_OUT_ Assignment Registers
REGISTER
ADDRESS
7Eh 27Eh
7Fh 27Fh
80h 280h
81h 281h
82h 282h
83h 283h
FLASH
ADDRESS
BIT RANGE DESCRIPTION
[3:0] MON1 [7:4] MON2 [3:0] MON3 [7:4] MON4 [3:0] MON5 [7:4] MON6 [3:0] MON7 [7:4] MON8 [3:0] MON9 [7:4] MON10 [3:0] MON11 [7:4] MON12
______________________________________________________________________________________ 15
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 5. MON_ and EN_OUT_ Assignment Registers (continued)
REGISTER
ADDRESS
84h 284h
85h 285h
86h 286h
87h 287h
88h 288h
89h 289h
FLASH
ADDRESS
BIT RANGE DESCRIPTION
[3:0] EN_OUT1 [7:4] EN_OUT2 [3:0] EN_OUT3 [7:4] EN_OUT4 [3:0] EN_OUT5 [7:4] EN_OUT6 [3:0] EN_OUT7 [7:4] EN_OUT8 [3:0] EN_OUT9 [7:4] EN_OUT10 [3:0] EN_OUT11 [7:4] EN_OUT12
MAX16065/MAX16066
Table 6. MON_ and EN_OUT_ Slot Assignment Codes
SLOT ASSIGNMENT
CODE MON_ DESCRIPTION
0000 Not assigned 0001 Slot 1 0010 Slot 2 0011 Slot 3 0100 Slot 4 0101 Slot 5 0110 Slot 6 0111 Slot 7 1000 Slot 8 1001 Slot 9 1010 Slot 10 1011 Slot 11 1100 Slot 12 1101 Monitoring only, primary sequence 1110 Monitoring only, secondary sequence 1111 Not assigned
General-purpose input (EN_OUT9–EN_OUT12 only)
General-purpose output (EN_OUT9–EN_OUT12 only)
OUT_ DESCRIPTION
Not assigned
Slot 1 Slot 2 Slot 3 Slot 4 Slot 5 Slot 6 Slot 7 Slot 8
Slot 9 Slot 10 Slot 11 Slot 12
Not assigned
16 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 7. t
Delay Settings
FAULT
CODE DELAY
0000 0001 0010 0011 0100 0101 1ms 0110 1.5ms 0111 2.5ms 1000 4ms 1001 6ms 1010 10ms 1011 15ms 1100 25ms 1101 40ms 1110 60ms 1111 100ms
120Fs 150Fs 250Fs 380Fs 600Fs
MAX16065/MAX16066
To power down the secondary sequence group, drive EN2 low or set r75h[1] to ‘0’. The secondary reverse power-down sequence will start at Slot 12 and end at the primary sequence monitoring mode state at which point only the slots assigned to the primary sequence are active.
Voltage/Current Monitoring
The MAX16065/MAX16066 feature an internal 10-bit ADC that monitors the MON_ voltage inputs. An internal multiplexer cycles through each of the enabled inputs, taking less than 40Fs for a complete monitoring cycle. Each acquisition takes approximately 3.2Fs. At each multiplexer stop, the 10-bit ADC converts the analog input to a digital result and stores the result in a regis­ter. ADC conversion results are stored in registers r00h to r1Ah (see Table 10). Use the SMBus or JTAG serial interface to read ADC conversion results.
The MAX16065 provides twelve inputs, MON1MON12, for voltage monitoring. The MAX16066 provides eight inputs, MON1MON8, for voltage monitoring. Each input
voltage range is programmable in registers r43h to r45h (see Table 9). When MON_ configuration registers are set to ’11,’ MON_ voltages are not monitored, and the multiplexer does not stop at these inputs, decreasing the total cycle time. These inputs cannot be configured to trigger fault conditions.
The three programmable thresholds for each monitored voltage include an overvoltage, an undervoltage, and a secondary warning threshold that can be set in r73h[3] to be either an undervoltage or overvoltage threshold. See the Faults section for more information on setting overvoltage and undervoltage thresholds. All voltage thresholds are 8 bits wide. The 8 MSBs of the 10-bit ADC conversion result are compared to these overvoltage and undervoltage thresholds.
For any undervoltage or overvoltage condition to be monitored and any faults detected, the MON_ input must be assigned to a sequence order or set to monitoring mode as described in the Sequencing section.
Inputs that are not enabled are not converted by the ADC; they contain the last value acquired before that channel was disabled.
The ADC conversion result registers are reset to 00h at boot-up. These registers are not reset when a reboot command is executed.
Configure the MAX16065/MAX16066 for differential mode in r46h (Table 9). The possible differential pairs
______________________________________________________________________________________ 17
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
are MON1/MON2, MON3/MON4, MON5/MON6, MON7/ MON8, MON9/MON10, MON11/MON12 with the first input always being at a higher voltage than the second. Use differential voltage sensing to eliminate voltage off­sets or measure supply current. See Figure 4. In differ­ential mode, the odd-numbered MON_ input measures the absolute voltage with respect to GND while the result of the even input is the difference between the odd and even inputs. See Figure 4 for the typical differential mea­surement circuit.
Internal Current-Sense Amplifier
The current-sense inputs, CSP/CSM, and a current­sense amplifier facilitate power monitoring (see Figure
5). The voltage on CSP relative to GND is also monitored by the ADC when the current-sense amplifier is enabled with r47h[0]. The conversion results are located in regis­ters r19h and r1Ah (see Table 10). There are two select­able voltage ranges for CSP set by r47h[1], see Table
8. Although the voltage can be monitored over SMBus
MAX16065/MAX16066
or JTAG, this voltage has no threshold comparators and cannot trigger any faults. Regarding the current-sense amplifier, there are four selectable ranges and the ADC output for a current-sense conversion is:
X
where X r18h, V
= (V
ADC
is the 8-bit decimal ADC result in register
ADC
is V
SENSE
CSP
x AV)/1.4V x (28 - 1)
SENSE
- V
and AV is the current-
CSM,
sense voltage gain set by r47h[3:2].
In addition, there are two programmable current-sense trip thresholds: primary overcurrent and secondary over­current. For fast fault detection, the primary overcurrent threshold is implemented with an analog comparator connected to the internal OVERC signal. The OVERC signal can be output on one of the GPIO_s. See the General-Purpose Inputs/Outputs section for configur­ing the GPIO_ to output the OVERC signal. The primary threshold is set by:
ITH = V
where ITH is the current threshold to be set, V threshold set by r47h[3:2], and R
CSTH/RSENSE
SENSE
is the
CSTH
is the value of
the sense resistor. See Table 8 for a description of r47h. OVERC depends only on the primary overcurrent thresh­old. The secondary overcurrent threshold is implement­ed through ADC conversions and digital comparison set by r6Ch. The secondary overcurrent threshold includes programmable time delay options located in r73h[6:5]. Primary and secondary current-sense faults are enabled/ disabled through r47h[0].
General-Purpose Inputs/Outputs
GPIO1GPIO8 are programmable general-purpose inputs/outputs. GPIO1–GPIO8 are configurable as a manual reset input, a watchdog timer input and output, logic inputs/outputs, fault-dependent outputs. When pro­grammed as outputs, GPIO_s are open drain or push­pull. See Tables 12 and 13 for more detailed information on configuring GPIO1GPIO8.
R
ODD
MAX16065 MAX16066
MON
S
ODD
LOAD
MON
EVEN
MON
POWER
SUPPLY
MON
POWER
SUPPLY
Figure 4. Differential Measurement Connections Figure 5. Current-Sense Amplifier
18 _____________________________________________________________________________________
EVEN
I
LOAD
R
SENSE
V
MON
LOAD
CS+
CS-
OVERC
*ADJUSTABLE BY r47h[1:0]
-
+
MAX16065
-
+
+
-
TO ADC MUX
*A
V
*V
CSTH
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 8. Overcurrent Primary Threshold and Current-Sense Control
REGISTER ADDRESS
47h 247h
73h 273h [6:5]
FLASH
ADDRESS
BIT
RANGE
[0]
[1]
[3:2]
DESCRIPTION
1 = Current sense is enabled 0 = Current sense is disabled
1 = CSP full-scale range is 14V 0 = CSP full-scale range is 7V
Overcurrent Primary Threshold and Current-Sense Gain Setting: 00 = 200mV threshold, AV = 6V/V 01 = 100mV threshold, AV = 12V/V 10 = 50mV threshold, AV = 24V/V 11 = 25mV threshold, AV = 48V/V
Overcurrent Secondary Threshold Deglitch: 00 = No delay 01 = 4ms 10 = 15ms 11 = 60ms
MAX16065/MAX16066
Table 9. ADC Configuration Registers
REGISTER ADDRESS
43h 243h
FLASH
ADDRESS
BIT RANGE DESCRIPTION
[1:0]
[3:2]
[5:4]
[7:6]
ADC1 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC2 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC3 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC4 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
______________________________________________________________________________________ 19
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 9. ADC Configuration Registers (continued)
REGISTER ADDRESS
44h 244h
MAX16065/MAX16066
45h 245h
FLASH
ADDRESS
BIT RANGE DESCRIPTION
ADC5 Full-Scale Range: 00 = 5.6V
[1:0]
[3:2]
[5:4]
[7:6]
[1:0]
[3:2]
[5:4]
[7:6]
01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC6 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC7 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC8 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC9 Full-Scale Range 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC10 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC11 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
ADC12 Full-Scale Range: 00 = 5.6V 01 = 2.8V 10 = 1.4V 11 = Channel not converted
20 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 9. ADC Configuration Registers (continued)
REGISTER ADDRESS
46h 246h
FLASH
ADDRESS
BIT RANGE DESCRIPTION
Differential Conversion ADC1–ADC2:
[0]
[1]
[2]
[3]
[4]
[5]
0 = Disabled 1 = Enabled
Differential Conversion ADC3–ADC4: 0 = Disabled 1 = Enabled
Differential Conversion ADC5–ADC6: 0 = Disabled 1 = Enabled
Differential Conversion ADC7–ADC8: 0 = Disabled 1 = Enabled
Differential Conversion ADC9–ADC10: 0 = Disabled 1 = Enabled
Differential Conversion ADC11–ADC12: 0 = Disabled 1 = Enabled
MAX16065/MAX16066
Table 10. ADC Conversion Results (Read Only)
REGISTER ADDRESS BIT RANGE DESCRIPTION
00h [7:0] ADC1 result (MSB) bits 9–2 01h [7:6] ADC1 result (LSB) bits 1–0 02h [7:0] ADC2 result (MSB) bits 9–2 03h [7:6] ADC2 result (LSB) bits 1–0 04h [7:0] ADC3 result (MSB) bits 9–2 05h [7:6] ADC3 result (LSB) bits 1–0 06h [7:0] ADC4 result (MSB) bits 9–2 07h [7:6] ADC4 result (LSB) bits 1–0 08h [7:0] ADC5 result (MSB) bits 9–2 09h [7:6] ADC5 result (LSB) bits 1–0 0Ah [7:0] ADC6 result (MSB) bits 9–2
0Bh [7:6] ADC6 result (LSB) bits 1–0 0Ch [7:0] ADC7 result (MSB) bits 9–2 0Dh [7:6] ADC7 result (LSB) bits 1–0 0Eh [7:0] ADC8 result (MSB) bits 9–2
0Fh [7:6] ADC8 result (LSB) bits 1–0
10h [7:0] ADC9 result (MSB) bits 9–2
11h [7:6] ADC9 result (LSB) bits 1–0
12h [7:0] ADC10 result (MSB) bits 9–2
13h [7:6] ADC10 result (LSB) bits 1–0
14h [7:0] ADC11 result (MSB) bits 9–2
15h [7:6] ADC11 result (LSB) bits 1–0
16h [7:0] ADC12 result (MSB) bits 9–2
17h [7:6] ADC12 result (LSB) bits 1–0
18h [7:0] Current-sense ADC result
19h [7:0] CSP ADC output (MSB) bits 9–2 1Ah [7:6] CSP ADC output (LSB) bits 1–0
______________________________________________________________________________________ 21
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
When GPIO1GPIO8 are configured as general-pur­pose inputs/outputs, read values from the GPIO_ ports through r1Eh and write values to GPIO_s through r3Eh. Note that r3Eh has a corresponding flash register, which programs the default state of a general-purpose output. See Table 11 for more information on reading and writing to the GPIO_.
Table 11. GPIO_ State Registers
REGISTER ADDRESS
MAX16065/MAX16066
1Eh
3Eh 23Eh
FLASH
ADDRESS
BIT RANGE DESCRIPTION
[0] GPIO1 input state [1] GPIO2 input state [2] GPIO3 input state [3] GPIO4 input state [4] GPIO5 input state [5] GPIO6 input state [6] GPIO7 input state [7] GPIO8 input state [0] GPIO1 output state [1] GPIO2 output state [2] GPIO3 output state [3] GPIO4 output state [4] GPIO5 output state [5] GPIO6 output state [6] GPIO7 output state [7] GPIO8 output state
Fault1 and Fault2
GPIO1GPIO8 are configurable as dedicated fault out­puts, Fault1 or Fault2. Fault outputs can assert on one or more overvoltage, undervoltage, or early warning condi­tions for selected inputs, as well as the secondary over­current comparator. Fault1 and Fault2 dependencies are set using registers r36h to r3Ah. See Table 14. When a fault output depends on more than one MON_, the fault output asserts when one or more MON_ exceeds a programmed threshold voltage. These fault outputs act independently of the critical fault system, described in the Critical Faults section.
Table 12. GPIO_ Configuration Registers
REGISTER ADDRESS
3Fh 23Fh
40h 240h
22 _____________________________________________________________________________________
FLASH
ADDRESS
BIT RANGE DESCRIPTION
[2:0] GPIO1 configuration [5:3] GPIO2 configuration [7:6] GPIO3 configuration (LSB)
[0] GPIO3 configuration (MSB) [3:1] GPIO4 configuration [6:4] GPIO5 configuration
[7] GPIO6 configuration (LSB)
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 12. GPIO_ Configuration Registers (continued)
REGISTER ADDRESS
41h 241h
42h 242h
Table 13. GPIO_ Function Configuration Bits
GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 GPIO6 GPIO7 GPIO8
000 Logic input
001 Logic output
010 Fault2 output
011 Fault1 output
100
101
110
111 WDI input
ANY_FAULT
output
OVERC
output
MR input
FLASH
ADDRESS
Logic input
Logic
output
Fault2 output
Fault1 output
RESET2
output
OVERC
output
WDO
output
BIT RANGE DESCRIPTION
[1:0] GPIO6 configuration (MSB) [4:2] GPIO7 configuration [7:5] GPIO8 configuration
Output Configuration for GPIO1:
[0]
[1]
[2]
[3]
[4]
[5]
[6]
[7]
Logic input Logic input Logic input
Logic output Logic output Logic output
Fault2 output Fault2 output Fault2 output
FAULTPU
output
ANY_FAULT
output
OVERC
output
MR input WDO output MR input
0 = Push-pull 1 = Open drain
Output Configuration for GPIO2: 0 = Push-pull 1 = Open drain
Output Configuration for GPIO3: 0 = Push-pull 1 = Open drain
Output Configuration for GPIO4: 0 = Push-pull 1 = Open drain
Output Configuration for GPIO5: 0 = Push-pull 1 = Open drain
Output Configuration for GPIO6: 0 = Push-pull 1 = Open drain
Output Configuration for GPIO7: 0 = Push-pull 1 = Open drain
Output Configuration for GPIO8: 0 = Push-pull 1 = Open drain
Fault1 output Fault1 output
ANY_FAULT
output
OVERC
output
EXTFAULT
input/output
ANY_FAULT
output
OVERC
output
EN2 input
Logic
input
Logic
output
Fault2
output
Fault1
output
RESET2
output
OVERC
output
WDO
output
MARGIN
input
Logic input Logic input
Logic output
Fault2 output
Fault1 output
ANY_FAULT
output
OVERC
output
MR input WDO output
EN2 input
Logic
output
Fault2 output
FAULTP
output
RESET2
output
OVERC
output
EXTFAULT
input/output
MAX16065/MAX16066
______________________________________________________________________________________ 23
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
ANY_FAULT
Table 14. Fault1 and Fault2 Dependencies
REGISTER
ADDRESS
36h 236h
MAX16065/MAX16066
37h 237h
38h 238h
FLASH
ADDRESS
BIT
RANGE
0 1 = Fault1 depends on MON1 1 1 = Fault1 depends on MON2 2 1 = Fault1 depends on MON3 3 1 = Fault1 depends on MON4 4 1 = Fault1 depends on MON5 5 1 = Fault1 depends on MON6 6 1 = Fault1 depends on MON7 7 1 = Fault1 depends on MON8 0 1 = Fault1 depends on MON9 1 1 = Fault1 depends on MON10 2 1 = Fault1 depends on MON11 3 1 = Fault1 depends on MON12
4
5
6
7
[0] 1 = Fault2 depends on MON1 [1] 1 = Fault2 depends on MON2 [2] 1 = Fault2 depends on MON3 [3] 1 = Fault2 depends on MON4 [4] 1 = Fault2 depends on MON5 [5] 1 = Fault2 depends on MON6 [6] 1 = Fault2 depends on MON7 [7] 1 = Fault2 depends on MON8
1 = Fault1 depends on the overvoltage thresholds of the inputs selected by r36h and r37h[3:0]
1 = Fault1 depends on the undervoltage thresholds of the inputs selected by r36h and r37h[3:0]
1 = Fault1 depends on the early warning thresholds of the inputs selected by r36h and r37h[3:0]
0 = Fault1 is an active-low digital output 1 = Fault1 is an active-high digital output
Second Enable (EN2)
GPIO5 and GPIO7 are configurable as the enable input for the secondary sequence. See the Multiple Sequencing Groups section for more details.
DESCRIPTION
24 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 14. Fault1 and Fault2 Dependencies (continued)
MAX16065/MAX16066
REGISTER
ADDRESS
39h 239h
3Ah 23Ah
GPIO1 to GPIO8 are configurable to assert low when the voltage across CSP and CSM exceed the primary overcurrent threshold. See the Internal Current-Sense Amplifier section for more details.
GPIO3 and GPIO8 are configurable to indicate a fault during power-up or power-down on the secondary sequence. This output asserts low when a MON_ input exceeds the overvoltage or undervoltage threshold. The sequencer will still enter the fault state and turn off all the EN_OUT_ outputs assigned to the secondary sequence.
GPIO1, GPIO3, GPIO5, and GPIO7 are configurable to act as an active-low manual reset input, MR. Drive MR low to assert RESET. RESET remains asserted for the selected reset timeout period after MR transitions from low to high. See the RESET2 Output section for more information on selecting a reset timeout period.
FLASH
ADDRESS
Overcurrent Comparator (OVERC)
Fault-On Power-Up (FAULTPU)
BIT
RANGE
[0] 1 = Fault2 depends on MON9 [1] 1 = Fault2 depends on MON10 [2] 1 = Fault2 depends on MON11 [3] 1 = Fault2 depends on MON12
[4]
[5]
[6]
[7]
[0] 1 = Fault1 depends on secondary overcurrent comparator [1] 1 = Fault2 depends on secondary overcurrent comparator
[7:2] Reserved
Manual Reset (MR)
1 = Fault2 depends on the overvoltage thresholds of the inputs selected by r38h and r39h[3:0]
1 = Fault2 depends on the undervoltage thresholds of the inputs selected by r38h and r39h[3:0]
1 = Fault2 depends on the early warning thresholds of the inputs selected by r38h and r39h[3:0]
0 = Fault2 is an active-low digital output 1 = Fault2 is an active-high digital output
RESET2 Output
GPIO2, GPIO6, and GPIO8 are configurable to act as a reset indicator related to the secondary sequence. RESET2 asserts during power-up/power-down and deas­serts following the reset timeout period once the power­up of the secondary sequence is complete. The second­ary power-up sequence is completed when any MON_ inputs assigned to Slot 12 exceed the undervoltage thresholds and Slot 12 sequence delay expires. When
DESCRIPTION
no MON_ inputs are assigned to Slot 12, the power-up sequence is complete after the slot sequence delay expires. RESET2 shares configuration bits with RESET with the exception of polarity (active-high or active-low) and output type (push-pull or open drain), see Table 23.
During normal monitoring, RESET2 can be configured to assert when any combination of MON_ inputs violates configurable combinations of thresholds: undervoltage, overvoltage, or early warning. Select the combination of thresholds using r3Bh[1:0], and select the combination of MON_ inputs using 3Ch[7:1] and 3Dh[4:0]. Note that MON_ inputs in the secondary sequence configured as critical faults will always cause RESET2 to assert regard­less of these configuration bits.
RESET2 can be configured as push-pull or open drain using the appropriate GPIO_ configuration bit in r42h (see Table 12), and is always active-low. Select the reset timeout for RESET and RESET2 by loading a value from Table 5 into r3Bh[7:4]. RESET and RESET2 can be forced to assert by writing a ‘1’ into r3Ch[0]. RESET2 remains asserted for the reset timeout period after a ‘0’ is written into r3Ch[0].
Watchdog Input (WDI) and Output (WDO)
GPIO2, GPIO4, GPIO6, and GPIO8 are configurable as the watchdog timer output, WDO. GPIO1 is configurable as WDI. See Table 24 for configuration details. WDO is an active-low output. See the Watchdog Timer section for more information about the operation of the watchdog timer.
______________________________________________________________________________________ 25
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
External Fault (EXTFAULT)
GPIO4 and GPIO8 are configurable as the external fault input/output. When configured as push-pull, EXTFAULT signals that a critical fault has occurred on one or more monitored voltages or current. When configured as open-drain, EXTFAULT can be asserted low by an exter­nal circuit to trigger a critical fault. This signal can be used to cascade multiple MAX16065/MAX16066s.
Two configuration bits determine the behavior of the MAX16065/MAX16066 when EXTFAULT is pulled low by some other device. Register bit r72h[5], if set to a ‘1’, causes the sequencer state machine to enter the fault state, deasserting all the outputs, when EXTFAULT is pulled low. When this happens, the flag bit r1Ch[5] gets set to indicate the cause of the fault. If register bit r6Dh[2] is set in addition to r72h[5], EXTFAULT going low triggers a nonvolatile fault log operation.
Faults
The MAX16065/MAX16066 monitor the input (MON_)
MAX16065/MAX16066
channels and compare the results with an overvoltage threshold, an undervoltage threshold, and a selectable overvoltage or undervoltage early warning threshold. Based on these conditions, the MAX16065/MAX16066 assert various fault outputs and save specific informa­tion about the channel conditions and voltages into the nonvolatile flash. Once a critical fault event occurs, the failing channel condition, ADC conversions at the time of the fault, or both can be saved by configuring the event logger. The event logger records a single failure in the internal flash and sets a lock bit that protects the stored fault data from accidental erasure on a subsequent power-up.
tiplexer. Only the upper 8 bits of a conversion result are compared with the programmed fault thresholds.
The general-purpose inputs/outputs (GPIO1 to GPIO8) can be configured as ANY_FAULT outputs or dedicated Fault1 and Fault2 outputs to indicate fault conditions. These fault outputs are not masked by the critical fault enable bits shown in Table 18. See the General-Purpose Inputs/Outputs section for more information on configur­ing GPIO_s as fault outputs.
Deglitch
Fault conditions are detected at the end of each conver­sion. When the voltage on an input falls outside a moni­tored threshold for one acquisition, the input multiplexer remains on that channel and performs several succes­sive conversions. To trigger a fault, the input must stay outside the threshold for a certain number of acquisitions as determined by the deglitch setting in r73h[6:5] and r74h[6:5] (see Table 16).
Fault Flags
Fault flags indicate the fault status of a particular input. The fault flag of any monitored input in the device can be read at any time from registers r1Bh and r1Ch, as shown in Table 17. Clear a fault flag by writing a ‘1’ to the appro­priate bit in the flag register. Unlike the fault signals sent to the fault outputs, these bits are masked by the critical fault enable bits (see Table 18). The fault flag is only set when the matching enable bit in the critical fault enable register is also set.
If a GPIO_ is configured as an open-drain EXTFAULT input/output, and EXTFAULT is pulled low by an external circuit, bit r1Ch[5] is set.
If a fault occurs during the secondary sequence group, the slot number where the failure occurred is stored in r1Dh.
The SMBus Alert bit is set if the MAX16065/MAX16066 have asserted the SMBus Alert output. Clear by writing a ‘1’. See the SMBALERT section for more details.
26 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 15. Fault Threshold Registers
MAX16065/MAX16066
REGISTER
ADDRESS
48h 248h [7:0] MON1 secondary threshold 49h 249h [7:0] MON1 overvoltage threshold 4Ah 24Ah [7:0] MON1 undervoltage threshold 4Bh 24Bh [7:0] MON2 secondary threshold 4Ch 24Ch [7:0] MON2 overvoltage threshold 4Dh 24Dh [7:0] MON2 undervoltage threshold 4Eh 24Eh [7:0] MON3 secondary threshold 4Fh 24Fh [7:0] MON3 overvoltage threshold 50h 250h [7:0] MON3 undervoltage threshold 51h 251h [7:0] MON4 secondary threshold 52h 252h [7:0] MON4 overvoltage threshold 53h 253h [7:0] MON4 undervoltage threshold 54h 254h [7:0] MON5 secondary threshold 55h 255h [7:0] MON5 overvoltage threshold 56h 256h [7:0] MON5 undervoltage threshold 57h 257h [7:0] MON6 secondary threshold 58h 258h [7:0] MON6 overvoltage threshold 59h 259h [7:0] MON6 undervoltage threshold 5Ah 25Ah [7:0] MON7 secondary threshold 5Bh 25Bh [7:0] MON7 overvoltage threshold 5Ch 25Ch [7:0] MON7 undervoltage threshold 5Dh 25Dh [7:0] MON8 secondary threshold 5Eh 25Eh [7:0] MON8 overvoltage threshold 5Fh 25Fh [7:0] MON8 undervoltage threshold 60h 260h [7:0] MON9 secondary threshold 61h 261h [7:0] MON9 overvoltage threshold 62h 262h [7:0] MON9 undervoltage threshold 63h 263h [7:0] MON10 secondary threshold 64h 264h [7:0] MON10 overvoltage threshold 65h 265h [7:0] MON10 undervoltage threshold 66h 266h [7:0] MON11 secondary threshold 67h 267h [7:0] MON11 overvoltage threshold 68h 268h [7:0] MON11 undervoltage threshold 69h 269h [7:0] MON12 secondary threshold 6Ah 26Ah [7:0] MON12 overvoltage threshold 6Bh 26Bh [7:0] MON12 undervoltage threshold 6Ch 26Ch [7:0] Secondary overcurrent threshold
FLASH
ADDRESS
BIT RANGE DESCRIPTION
______________________________________________________________________________________ 27
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 16. Deglitch Configuration
REGISTER ADDRESS
73h 273h [6:5]
74h 274h [6:5]
During normal operation, a fault condition can be con­figured to shut down all the EN_OUT_s and store fault information in the flash memory by setting the appropri-
MAX16065/MAX16066
ate critical fault enable bits. During power-up and pow­er-down, all sequenced MON_ inputs are considered critical. Faults during power-up and power-down always cause the EN_OUT_s to turn off and can store fault infor­mation in the flash memory, depending on the contents of r6Dh[1:0]. Set the appropriate critical fault enable bits in registers r6Eh to r72h (see Table 18) for a fault condi­tion to trigger a critical fault.
Logged fault information is stored in flash registers r200h to r20Fh (see Table 19). After fault information is logged, the flash is locked and must be unlocked to enable a new fault log to be stored. Write a ‘0’ to r8Ch[1] to unlock the FAULT flash. Fault information can be configured to store ADC conversion results and/or fault flags in regis­ters. Select the critical fault configuration in r6Dh[1:0].
FLASH
ADDRESS
BIT RANGE DESCRIPTION
Critical Faults
Overcurrent Comparator Deglitch Time: 00 = No deglitch 01 = 4ms 10 = 15ms 11 = 60ms
Voltage Comparator Deglitch Configuration: 00 = 2 cycles 01 = 4 cycles 10 = 8 cycles 11 = 16 cycles
Set r6Dh[1:0] to ‘11’ to turn off the fault logger. All stored ADC results are 8 bits wide.
Power-Up/Power-Down Faults
All EN_OUT_s deassert when an overvoltage or under­voltage fault is detected during power-up/power-down and the MAX16065/MAX16066 return to the power­off condition. Fault information can be stored to flash depending on r6D[1:0], see Table 18. GPIO3 and GPIO8 can be configured as power-up fault outputs (ANY_FAULT).
Autoretry/Latch Mode
The MAX16065/MAX16066 can be configured for one of two fault management methods: autoretry or latch­on fault. Set r74h[4:3] to ‘00’ to select the latch-on-fault mode. In this configuration, EN_OUT_s deassert after a critical fault event. The device does not reinitiate the power-up sequence until EN is toggled or the Software Enable bit is toggled. See the Enable section for more information on setting the software enable bit.
Table 17. Fault Flags
REGISTER
ADDRESS
1Bh
28 _____________________________________________________________________________________
BIT RANGE DESCRIPTION
[0] MON1 [1] MON2 [2] MON3 [3] MON4 [4] MON5 [5] MON6 [6] MON7 [7] MON8
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 17. Fault Flags (continued)
REGISTER
ADDRESS
1Ch
1Dh
Table 18. Critical Fault Configuration
BIT RANGE DESCRIPTION
[0] MON9 [1] MON10 [2] MON11 [3] MON12 [4] Overcurrent [5] External fault (EXTFAULT)
[6] SMB alert [4:0] Slot where failure occurred during secondary sequence [7:5] Reserved
MAX16065/MAX16066
REGISTER
ADDRESS
6Dh 26Dh
6Eh 26Eh
6Fh 26Fh
FLASH
ADDRESS
BIT
RANGE
Fault Information to Log: 00 = Save failed line flags and ADC values in flash
[1:0]
[2] 1 = Fault log triggered when EXTFAULT is pulled low externally
[7:3] Not used
[0] 1 = Fault log triggered when MON1 is below its undervoltage threshold
[1] 1 = Fault log triggered when MON2 is below its undervoltage threshold
[2] 1 = Fault log triggered when MON3 is below its undervoltage threshold
[3] 1 = Fault log triggered when MON4 is below its undervoltage threshold
[4] 1 = Fault log triggered when MON5 is below its undervoltage threshold
[5] 1 = Fault log triggered when MON6 is below its undervoltage threshold
[6] 1 = Fault log triggered when MON7 is below its undervoltage threshold
[7] 1 = Fault log triggered when MON8 is below its undervoltage threshold
[0] 1 = Fault log triggered when MON9 is below its undervoltage threshold
[1] 1 = Fault log triggered when MON10 is below its undervoltage threshold
[2] 1 = Fault log triggered when MON11 is below its undervoltage threshold
[3] 1 = Fault log triggered when MON12 is below its undervoltage threshold
[4] 1 = Fault log triggered when MON1 is above its overvoltage threshold
[5] 1 = Fault log triggered when MON2 is above its overvoltage threshold
[6] 1 = Fault log triggered when MON3 is above its overvoltage threshold
[7] 1 = Fault log triggered when MON4 is above its overvoltage threshold
01 = Save only failed line flags in flash 10 = Save only ADC values in flash 11 = Do not save anything
DESCRIPTION
______________________________________________________________________________________ 29
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 18. Critical Fault Configuration (continued)
REGISTER
ADDRESS
70h 270h
71h 271h
MAX16065/MAX16066
72h 272h
FLASH
ADDRESS
BIT
RANGE
[0] 1 = Fault log triggered when MON5 is above its overvoltage threshold
[1] 1 = Fault log triggered when MON6 is above its overvoltage threshold
[2] 1 = Fault log triggered when MON7 is above its overvoltage threshold
[3] 1 = Fault log triggered when MON8 is above its overvoltage threshold
[4] 1 = Fault log triggered when MON9 is above its overvoltage threshold
[5] 1 = Fault log triggered when MON10 is above its overvoltage threshold
[6] 1 = Fault log triggered when MON11 is above its overvoltage threshold
[7] 1 = Fault log triggered when MON12 is above its overvoltage threshold
[0] 1 = Fault log triggered when MON1 is above/below the early threshold warning
[1] 1 = Fault log triggered when MON2 is above/below the early threshold warning
[2] 1 = Fault log triggered when MON3 is above/below the early threshold warning
[3] 1 = Fault log triggered when MON4 is above/below the early threshold warning
[4] 1 = Fault log triggered when MON5 is above/below the early threshold warning
[5] 1 = Fault log triggered when MON6 is above/below the early threshold warning
[6] 1 = Fault log triggered when MON7 is above/below the early threshold warning
[7] 1 = Fault log triggered when MON8 is above/below the early threshold warning
[0] 1 = Fault log triggered when MON9 is above/below the early threshold warning
[1] 1 = Fault log triggered when MON10 is above/below the early threshold warning
[2] 1 = Fault log triggered when MON11 is above/below the early threshold warning
[3] 1 = Fault log triggered when MON12 is above/below the early threshold warning
[4] 1 = Fault log triggered when overcurrent early threshold is exceeded
1 = EXTFAULT pulled low externally causes sequencer to enter fault state, turning off
[5]
[7:6] Reserved
all EN_OUT_s 0 = EXTFAULT pulled low externally does not cause sequencer to enter fault state
DESCRIPTION
Table 19. Nonvolatile Fault Log Registers
FLASH ADDRESS BIT RANGE DESCRIPTION
200h
201h
30 _____________________________________________________________________________________
[4:0] Sequencer state where the fault has happened (see Table 1 for state codes) [7:5] Not used
[0] Fault log triggered on MON1 [1] Fault log triggered on MON2 [2] Fault log triggered on MON3 [3] Fault log triggered on MON4 [4] Fault log triggered on MON5 [5] Fault log triggered on MON6 [6] Fault log triggered on MON7 [7] Fault log triggered on MON8
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 19. Nonvolatile Fault Log Registers (continued)
FLASH ADDRESS BIT RANGE DESCRIPTION
[0] Fault log triggered on MON9 [1] Fault log triggered on MON10 [2] Fault log triggered on MON11
202h
203h [7:0] MON1 ADC output bits 9–2 204h [7:0] MON2 ADC output bits 9–2 205h [7:0] MON3 ADC output bits 9–2 206h [7:0] MON4 ADC output bits 9–2 207h [7:0] MON5 ADC output bits 9–2 208h [7:0] MON6 ADC output bits 9–2 209h [7:0] MON7 ADC output bits 9–2 20Ah [7:0] MON8 ADC output bits 9–2 20Bh [7:0] MON9 ADC output bits 9–2 20Ch [7:0] MON10 ADC output bits 9–2 20Dh [7:0] MON11 ADC output bits 9–2 20Eh [7:0] MON12 ADC output bits 9–2 20Fh [7:0] Current-sense ADC output bits 9–2
[3] Fault log triggered on MON12 [4] Fault log triggered on overcurrent [5] Fault log triggered on EXTFAULT
[7:6] Not used
MAX16065/MAX16066
Table 20. Autoretry Configuration
REGISTER
ADDRESS
74h 274h
FLASH
ADDRESS
______________________________________________________________________________________ 31
BIT RANGE DESCRIPTION
[2:0]
[4:3]
Retry Delay: 000 = 20ms 001 = 40ms 010 = 80ms 011 = 150ms 100 = 280ms 101 = 540ms 110 = 1s 111 = 2s
Autoretry/Latch Mode: 00 = Latch 01 = Retry 1 time 10 = Retry 3 times 11 = Always retry
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Set r74h[4:3] to a value other than ‘00’ to select autoretry mode (see Table 20). In this configuration, the device shuts down after a critical fault event then restarts following a configurable delay. Use r74h[2:0] to select an autoretry delay from 20ms to 1.6s. See Table 20 for more information on setting the autoretry delay.
When fault information is stored in flash (see the Critical Faults section) and autoretry mode is selected, set an autoretry delay greater than the time required for the storing operation. When fault information is stored in flash and latch-on-fault mode is chosen, toggle EN or reset the software enable bit only after the completion of the storing operation. When saving information about the failed lines only, ensure a delay of at least 150ms before the restart procedure. Otherwise, ensure a minimum 280ms timeout, to ensure that ADC conversions are com­pleted and values are stored correctly in flash.
Programmable Ouputs
MAX16065/MAX16066
(EN_OUT1–EN_OUT12)
charge-pump mode. Selectable output configurations include: active-low or active-high, open drain or push­pull. EN_OUT1–EN_OUT8 can act as charge-pump outputs, EN_OUT9–EN_OUT12 can be configured as general-purpose inputs or general-purpose outputs. Use registers r30h to r33h to configure outputs. See Table 21 for detailed information on configuring EN_OUT1– EN_OUT12.
In charge-pump configuration, EN_OUT1–EN_OUT8 act as high-voltage charge-pump outputs to drive up to eight external n-channel MOSFETs. During sequencing, an EN_ OUT_ output set to the charge-pump configuration outputs 11V relative to GND. See the Sequencing section for more detailed information on power-supply sequencing.
In open-drain output configuration, connect an exter­nal pullup resistor from the output to an external voltage up to 5.5V (EN_OUT9–EN_OUT12) or 14V (EN_OUT1– EN_OUT8). Choose the pullup resistor depending on the number of devices connected to the open-drain output and the allowable current consumption. The open-drain output configuration allows wire-ORed connection.
In push-pull configuration, the MAX16065/MAX16066’s programmable outputs are referenced to V
DBP
.
Table 21. EN_OUT1–EN_OUT12 Configuration
REGISTER ADDRESS FLASH ADDRESS BIT RANGE DESCRIPTION
EN_OUT1 Configuration: 00 = Active-low, open drain
[1:0]
[3:2]
30h 230h
[5:4]
[7:6]
01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT2 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT3 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT4 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
32 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 21. EN_OUT1–EN_OUT12 Configuration (continued)
REGISTER ADDRESS FLASH ADDRESS BIT RANGE DESCRIPTION
EN_OUT5 Configuration: 00 = Active-low, open drain
[1:0]
[3:2]
31h 231h
[5:4]
[7:6]
[1:0]
[3:2]
32h (MAX16065 Only) 232h
[5:4]
[7:6]
01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT6 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT7 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT8 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT9 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT10 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT11 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
EN_OUT12 Configuration: 00 = Active-low, open drain 01 = Active-high, open drain 10 = Active-low, push-pull 11 = Active-high, push-pull
MAX16065/MAX16066
______________________________________________________________________________________ 33
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 21. EN_OUT1–EN_OUT12 Configuration (continued)
REGISTER ADDRESS FLASH ADDRESS BIT RANGE DESCRIPTION
EN_OUT1 Charge-Pump Output Configuration:
[0]
[1]
[2]
[3]
33h 233h
[4]
MAX16065/MAX16066
[5]
[6]
[7]
0 = Charge-pump output disabled 1 = Charge-pump output enabled (active-high)
EN_OUT2 Charge-Pump Output Configuration: 0 = Charge-pump output disabled 1 = Charge-pump output enabled (active-high)
EN_OUT3 Charge-Pump Output Configuration: 0 = Charge-pump output disabled 1 = Charge-pump output enabled (active-high)
EN_OUT4 Charge-Pump Output Configuration: 0 = Charge-pump output disabled 1 = Charge-pump output enabled (active-high)
EN_OUT5 Charge-Pump Output Configuration: 0 = Charge-pump output disabled 1 = Charge-pump output enabled (active-high)
EN_OUT6 Charge-Pump Output Configuration: 0 = Charge-pump output disabled 1 = Charge-pump output enabled (active-high)
EN_OUT7 Charge-Pump Output Configuration: 0 = Charge-pump output disabled 1 = Charge-pump output enabled (active-high)
EN_OUT8 Charge-Pump Output Configuration: 0 = Charge-pump output disabled 1 = Charge-pump output enabled (active-high)
EN_OUT_s as GPIO_ (MAX16065 Only)
EN_OUT9 to EN_OUT12 can be configured as GPIO_ by setting the sequencing slot assignments in r88h and r89h to ‘1101’ and ‘1110’, see Tables 5 and 6. If an EN_OUT_ is configured as a general-purpose input, the state of the pin can be read from r1Fh (see Table 22). If an EN_OUT_ is configured as a general-purpose output, it is controlled by r34h.
EN_OUT_ State During Power-Up
When VCC is ramped from 0 to the operating supply volt­age, the EN_OUT_ output is high impedance until VCC reaches UVLO and then EN_OUT_ goes into the config­ured deasserted state after the boot-up relay. See Figures 6 and 7. Configure RESET as an active-low push-pull or open-drain output pulled up to VCC through a 10kI resistor for Figures 6 and 7.
Reset Output
34 _____________________________________________________________________________________
sequence is complete when any MON_ inputs assigned to the final slot exceed the undervoltage thresholds and final sequence delay expires. When no MON_ inputs are assigned to the final slot, the power-up sequence is complete after the slot sequence delay expires.
During normal monitoring, RESET can be configured to assert when any combination of MON_ inputs violates configurable combinations of thresholds: undervoltage, overvoltage, or early warning. Select the combination of thresholds using r3Bh[1:0], and select the combination of MON_ inputs using r3Ch[7:1] and r3Dh[4:0]. Note that MON_ inputs configured as critical faults will always cause RESET to assert regardless of these configuration bits.
RESET can be configured as push-pull or open drain using r3Bh[3], and active-high or active-low using r3Bh[2]. Select the reset timeout by loading a value from Table 23 into r3Bh[7:4]. RESET can be forced to assert by writing a ‘1’ into r3Ch[0]. RESET remains asserted for the reset timeout period after a ‘0’ is written into r3Ch[0]. See Table 23. The current state of RESET can be checked by reading r20h[0].
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 22. EN_OUT_ GPIO_ State Registers
MAX16065/MAX16066
REGISTER
ADDRESS
1Fh
34h 234h
FLASH
ADDRESS
MAX16065 fig06
BIT RANGE DESCRIPTION
[0] EN_OUT9 input state [1] EN_OUT10 input state [2] EN_OUT11 input state [3] EN_OUT12 input state [0] 1 = Assert EN_OUT9 [1] 1 = Assert EN_OUT10 [2] 1 = Assert EN_OUT11 [3] 1 = Assert EN_OUT12
V
CC
2V/div
0V
RESET 2V/div 0V
EN_OUT_ 2V/div
0V
HIGH-Z
UVLO
ASSERTED
LOW
MAX16065 fig07
V
CC
2V/div
0V
RESET 2V/div 0V
EN_OUT_ 2V/div 0V
20ms/div
Figure 6. RESET and EN_OUT_ During Power-Up, EN_OUT_ in
Open-Drain Active-Low Configuration
Watchdog Timer
______________________________________________________________________________________ 35
10ms/div
Figure 7. RESET and EN_OUT_ During Power-Up, EN_OUT_ in
Push-Pull Active-High Configuration
Dependent Watchdog Timer Operation
Use the watchdog timer to monitor FP activity in two modes. Flexible timeout architecture provides an adjust­able watchdog startup delay of up to 300s, allowing com­plicated systems to complete lengthy boot-up routines. An adjustable watchdog timeout allows the supervisor to provide quick alerts when processor activity fails. After each reset event (VCC drops below UVLO then returns above UVLO, software reboot, manual reset (MR), EN input going low then high, or watchdog reset) and once sequencing is complete, the watchdog startup delay provides an extended time for the system to power up and fully initialize all FP and system components before assuming responsibility for routine watchdog updates. Set r76h[6:4] to a value other than ‘000’ to enable the watchdog startup delay. Set r76h[6:4] to ‘000’ to disable the watchdog startup delay.
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 23. Reset Output Configuration
REGISTER
ADDRESS
3Bh 23Bh
MAX16065/MAX16066
3Ch 23Ch
3Dh 23Dh
FLASH
ADDRESS
BIT RANGE DESCRIPTION
Reset Output Depends On: 00 = Undervoltage threshold violations
[1:0]
[2]
[3]
[7:4]
[0]
[1] 1 = RESET depends on MON1 [2] 1 = RESET depends on MON2 [3] 1 = RESET depends on MON3 [4] 1 = RESET depends on MON4 [5] 1 = RESET depends on MON5 [6] 1 = RESET depends on MON6 [7] 1 = RESET depends on MON7 [0] 1 = RESET depends on MON8 [1] 1 = RESET depends on MON9 [2] 1 = RESET depends on MON10 [3] 1 = RESET depends on MON11 [4] 1 = RESET depends on MON12
[7:5] Reserved
01 = Early warning threshold violations 10 = Overvoltage threshold violations 11 = Undervoltage or overvoltage threshold violations
0 = Active-low 1 = Active-high
0 = Push-pull 1 = Open drain
Reset Timeout Period: 0000 = 25Fs 0001 = 1.5ms 0010 = 2.5ms 0011 = 4ms 0100 = 6ms 0101 = 10ms 0110 = 15ms 0111 = 25ms 1000 = 40ms 1001 = 60ms 1010 = 100ms 1011 = 150ms 1100 = 250ms 1101 = 400ms 1110 = 600ms 1111 = 1s
Reset Soft Trigger: 0 = Normal RESET behavior 1 = Force RESET to assert
36 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
The normal watchdog timeout period, t the first transition on WDI before the conclusion of the long startup watchdog period, t
WDI_STARTUP
and 8). During the normal operating mode, WDO asserts if the FP does not toggle WDI with a valid transition (high-to-low or low-to-high) within the standard timeout period, t
. WDO remains asserted until WDI is toggled
WDI
or RESET is asserted (Figure 9).
While EN is low, the watchdog timer is in reset. The watchdog timer does not begin counting until the power­on mode is reached and RESET is deasserted. The watchdog timer is reset and WDO deasserts any time RESET is asserted (Figure 10). The watchdog timer will be held in reset while RESET is asserted.
LAST MON_
, begins after
WDI
(Figures 7
V
TH
The watchdog can be configured to control the RESET output as well as the WDO output. RESET asserts for the reset timeout, tRP, when the watchdog timer expires and the Watchdog Reset Output Enable bit (r76h[7]) is set to ‘1.’ When RESET is asserted, the watchdog timer is cleared and WDO is deasserted, therefore, WDO pulses low for a short time (approximately 1Fs) when the watchdog timer expires. RESET is not affected by the watchdog timer when the Watchdog Reset Output Enable bit (r76h[7]) is set to ‘0.’ If a RESET is asserted by the watchdog timeout, the WDRESET bit is set to ‘1.’ A connected processor can check this bit to see the reset was due to a watchdog timeout. See Table 24 for more information on configuring watchdog functionality.
< t
WDI
MAX16065/MAX16066
WDI
RESET
Figure 8. Normal Watchdog Startup Sequence
V
CC
WDI
WDO
0V
V
CC
0V
< t
< t
WDI
WDI
< t
WDI
t
WDI_STARTUP
< t
WDI
t
RP
> t
WDI
t
WDI
< t
< t
WDI
WDI
< t
WDI
Figure 9. Watchdog Timer Operation
______________________________________________________________________________________ 37
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
V
CC
< t
WDI
V
RESET
V
WDO
WDI
0V
CC
0V
CC
0V
t
WDI
1µs
t
RP
Figure 10. Watchdog Startup Sequence with Watchdog Reset Enable Bit Set to ‘1’
Table 24. Watchdog Configuration
< t
WDI_STARTUP
< t
WDI
REGISTER ADDRESS
MAX16065/MAX16066
73h 273h [4]
FLASH
ADDRESS
BIT RANGE DESCRIPTION
1 = Independent mode 0 = Dependent mode
[7]
1 = Watchdog affects RESET output 0 = Watchdog does not affect RESET output
Watchdog Startup Delay: 000 = No initial timeout 001 = 30s 010 = 40s
[6:4]
011 = 80s 100 = 120s 101 = 160s 110 = 220s 111 = 300s
Watchdog Timeout: 0000 = Watchdog disabled
76h 276h
0001 = 1ms 0010 = 2ms 0011 = 4ms 0100 = 8ms 0101 = 14ms 0110 = 27ms
[3:0]
0111 = 50ms 1000 = 100ms 1001 = 200ms 1010 = 400ms 1011 = 750ms 1100 = 1.4s 1101 = 2.7s 1110 = 5s 1111 = 10s
38 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 25. Memory Lock Bits
MAX16065/MAX16066
REGISTER
ADDRESS
8Ch 28Ch
Independent Watchdog Timer Operation
There will be a startup delay if r76h[6:4] is set to a value different than ‘000.’ If r76h[6:4] is set to ‘000,’ there will not be a startup delay. See Table 24 for delay times.
In independent mode, if the Watchdog Reset Output Enable bit r76h[7] is set to ‘1,’ when the watchdog timer expires, WDO asserts then RESET asserts. WDO will then deassert. WDO will be low for approximately 1Fs. If the Watchdog Reset Output Enable bit (r76h[7]) is set to ‘0,’ when the WDT expires, WDO asserts but RESET is not affected.
FLASH ADDRESS BIT RANGE DESCRIPTION
0
1
2
3
User-Defined Register
Register r8Ah provides storage space for a user-defined configuration or firmware version number. Note that this register controls the contents of the JTAG USERCODE register bits 7:0. The user-defined register is stored at r28Ah in the flash memory.
Configuration Register Lock: 1 = Locked 0 = Unlocked
Flash Fault Register Lock: 1 = Locked 0 = Unlocked
Flash Configuration Lock: 1 = Locked 0 = Unlocked
User Flash Lock: 1 = Locked 0 = Unlocked
Memory Lock Bits
Register r8Ch contains the lock bits for the configuration registers, configuration flash, user flash and fault register lock. See Table 25 for details.
SMBus-Compatible Interface
The MAX16065/MAX16066 feature an SMBus­compatible, 2-wire serial interface consisting of a serial data line (SDA) and a serial clock line (SCL). SDA and SCL facilitate bidirectional communication between the MAX16065/MAX16066 and the master device at clock rates up to 400kHz. Figure 1 shows the 2-wire interface timing diagram. The MAX16065/MAX16066 are transmit/ receive slave-only devices, relying upon a master device to generate a clock signal. The master device (typically a microcontroller) initiates a data transfer on the bus and generates SCL to permit that transfer.
A master device communicates to the MAX16065/ MAX16066 by transmitting the proper address followed by a command and/or data words. The slave address input, A0, is capable of detecting four different states, allowing multiple identical devices to share the same serial bus. The slave address is described further in the Slave Address section. Each transmit sequence is framed by a START (S) or REPEATED START (SR) con­dition and a STOP (P) condition. Each word transmitted
______________________________________________________________________________________ 39
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
SDA
SCL
DATA LINE STABLE,
DATA VALID
Figure 11. Bit Transfer
CHANGE OF
DATA ALLOWED
over the bus is 8 bits long and is always followed by an acknowledge pulse. SCL is a logic input, while SDA is an open-drain input/output. SCL and SDA both require external pullup resistors to generate the logic-high volt-
MAX16065/MAX16066
age. Use 4.7kI for most applications.
Bit Transfer
Each clock pulse transfers one data bit. The data on SDA must remain stable while SCL is high (Figure 11); otherwise the MAX16065/MAX16066 register a START or STOP condition (Figure 12) from the master. SDA and SCL idle high when the bus is not busy.
START and STOP Conditions
Both SCL and SDA idle high when the bus is not busy. A master device signals the beginning of a transmission with a START condition by transitioning SDA from high to low while SCL is high. The master device issues a STOP condition by transitioning SDA from low to high while SCL is high. A STOP condition frees the bus for another transmission. The bus remains active if a REPEATED START condition is generated, such as in the block read protocol (see Figure 1).
Early STOP Conditions
The MAX16065/MAX16066 recognize a STOP condition at any point during transmission except if a STOP condi­tion occurs in the same high pulse as a START condition. This condition is not a legal SMBus format; at least one clock pulse must separate any START and STOP condition.
REPEATED START Conditions
A REPEATED START can be sent instead of a STOP condition to maintain control of the bus during a read operation. The START and REPEATED START conditions are functionally identical.
SDA
SCL
START
CONDITION
Figure 12. START and STOP Conditions
PS
STOP
CONDITION
Acknowledge
The acknowledge bit (ACK) is the 9th bit attached to any 8-bit data word. The receiving device always generates an ACK. The MAX16065/MAX16066 generate an ACK when receiving an address or data by pulling SDA low during the 9th clock period (Figure 14). When transmit­ting data, such as when the master device reads data back from the MAX16065/MAX16066, the device waits for the master device to generate an ACK. Monitoring ACK allows for detection of unsuccessful data transfers. An unsuccessful data transfer occurs if the receiving device is busy or if a system fault has occurred. In the event of an unsuccessful data transfer, the bus master can reattempt communication at a later time. The MAX16065/MAX16066 generate a NACK after the command byte received dur­ing a software reboot, while writing to the flash, or when receiving an illegal memory address.
Slave Address
Use the slave address input, A0, to allow multiple identi­cal devices to share the same serial bus. Connect A0 to GND, DBP (or an external supply voltage greater than 2V), SCL, or SDA to set the device address on the bus. See Table 27 for a listing of all possible 7-bit addresses.
The slave address can also be set to a custom value by loading the address into register r8Bh[6:0]. See Table
26. If r8Bh[6:0] is loaded with 00h, the address is set by input A0. Do not set the address to 09h or 7Fh to avoid address conflicts. The slave address setting takes effect immediately after writing to the register.
Packet Error Checking (PEC)
The MAX16065/MAX16066 feature a PEC mode that is useful for improving the reliability of the communication bus by detecting bit errors. By enabling PEC, an extra
40 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 26. SMBus Settings Register
REGISTER ADDRESS
8Bh 28Bh
Table 27. Setting the SMBus Slave Address
R = Read/Write select bit.
Table 28. Command codes
COMMAND
CODE
A5h Block write A6h Block read A7h Reboot flash in register file A8h Trigger emergency save to flash A9h Flash page access ON AAh Flash page access OFF ABh User flash access ON (must be in flash page already) ACh User flash access OFF (return to flash page)
FLASH ADDRESS BIT RANGE DESCRIPTION
[6:0]
[7] 1 = Enable PEC (packet error check).
SLAVE ADDRESSES
A0 SLAVE ADDRESS
0 1010 000R 1 1010 001R
SCL 1010 010R
SDA 1010 011R
SMBus Slave Address Register. Set to 00h to use A0 pin address setting.
ACTION
MAX16065/MAX16066
The CRC-8 byte is calculated using the polynomial
C = X8 + X2 + X + 1
Command Codes
The MAX16065/MAX16066 use eight command codes for block read, block write, and other commands. See Table 28 for a list of command codes.
To initiate a software reboot, send A7h using the send byte format. A software-initiated reboot is functionally the same
______________________________________________________________________________________ 41
as a hardware-initiated power-on reset. During boot-up, flash configuration data in the range of 230h to 28Ch is copied to r30h to r8Ch registers in the default page.
Send command code A8h to trigger a fault store to flash. Configure the Critical Fault Log Control register (6Dh) to store ADC conversion results and/or fault flags.
While in the flash page, send command code A9h to access the flash page (addresses from 200h to 28Fh). Once command code A9h has been sent, all addresses are recognized as flash addresses only. Send command code AAh to return to the default page (addresses from 000h to 0FFh). Send command code ABh to access the user flash-page (addresses from 300h to 3A4h and 3ADh to 3FFh), and send command code ACh to return to the flash page.
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Restrictions When Writing to Flash
Flash must be written to 8 bytes at a time. The initial address must be aligned to 8-byte boundaries—the 3 LSBs of the initial address must be ‘000’. Write the 8 bytes using a single block-write command or using 8 successive Write Byte commands.
Send Byte
The send byte protocol allows the master device to send one byte of data to the slave device (see Figure
14). The send byte presets a register pointer address for a subsequent read or write. The slave sends a NACK instead of an ACK if the master tries to send a memory address or command code that is not allowed. If the master sends A5h or A6h, the data is ACK, because this could be the start of the write block or read block. If the master sends a STOP condition before the slave asserts an ACK, the internal address pointer does not change. If the master sends A7h, this signifies a software reboot. The send byte procedure is the following:
MAX16065/MAX16066
1) The master sends a START condition.
2) The master sends the 7-bit slave address and a write bit (low).
3) The addressed slave asserts an ACK on SDA.
4) The master sends an 8-bit memory address or com­mand code.
5) The addressed slave asserts an ACK (or NACK) on SDA.
6) The master sends a STOP condition.
Receive Byte
The receive byte protocol allows the master device to read the register content of the MAX16065/MAX16066 (see Figure 14). The flash or register address must be preset with a send byte or write word protocol first. Once the read is complete, the internal pointer increases by one. Repeating the receive byte protocol reads the con­tents of the next address. The receive byte procedure follows:
1) The master sends a START condition.
2) The master sends the 7-bit slave address and a read bit (high).
3) The addressed slave asserts an ACK on SDA.
4) The slave sends 8 data bits.
5 The master asserts a NACK on SDA.
6) The master generates a STOP condition.
Write Byte
The write byte protocol (see Figure 14) allows the mas­ter device to write a single byte in the default page, extended page, or flash page, depending on which
CLOCK PULSE FOR ACKNOWLEDGE
SCL
SDA BY
TRANSMITTER
S
SDA BY
RECEIVER
Figure 13. Acknowledge
42 _____________________________________________________________________________________
1
2
8 9
NACK
ACK
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
page is currently selected. The write byte procedure is the following:
1) The master sends a START condition.
2) The master sends the 7-bit slave address and a write bit (low).
3) The addressed slave asserts an ACK on SDA.
4) The master sends an 8-bit memory address.
5) The addressed slave asserts an ACK on SDA.
6) The master sends an 8-bit data byte.
7) The addressed slave asserts an ACK on SDA.
8) The master sends a STOP condition.
To write a single byte, only the 8-bit memory address and a single 8-bit data byte are sent. The data byte is written to the addressed location if the memory address is valid. The slave asserts a NACK at step 5 if the mem­ory address is not valid.
When PEC is enabled, the Write Byte protocol becomes:
1) The master sends a START condition.
2) The master sends the 7-bit slave ID plus a write
bit (low).
3) The addressed slave asserts an ACK on the data line.
4) The master sends an 8-bit command code.
5) The active slave asserts an ACK on the data line.
6) The master sends an 8-bit data byte.
7) The slave asserts an ACK on the data line.
8) The master sends an 8-bit PEC byte.
9) The slave asserts an ACK on the data line (if PEC is
good, otherwise NACK).
10) The master generates a STOP condition.
Read Byte
The read byte protocol (see Figure 14) allows the master device to read a single byte located in the default page, extended page, or flash page depending on which page is currently selected. The read byte procedure is the following:
1) The master sends a START condition.
2) The master sends the 7-bit slave address and a
write bit (low).
3) The addressed slave asserts an ACK on SDA.
4) The master sends an 8-bit memory address.
5) The addressed slave asserts an ACK on SDA.
6) The master sends a REPEATED START condition.
7) The master sends the 7-bit slave address and a read bit (high).
8) The addressed slave asserts an ACK on SDA.
9) The slave sends an 8-bit data byte.
10) The master asserts a NACK on SDA.
11) The master sends a STOP condition.
If the memory address is not valid, it is NACKed by the slave at step 5 and the address pointer is not modified.
When PEC is enabled, the Read Byte protocol becomes:
1) The master sends a START condition.
2) The master sends the 7-bit slave ID plus a write bit (low).
3) The addressed slave asserts an ACK on the data line.
4) The master sends 8 data bits.
5) The active slave asserts an ACK on the data line.
6) The master sends a REPEATED START condition.
7) The master sends the 7-bit slave ID plus a read bit (high).
8) The addressed slave asserts an ACK on the data line.
9) The slave sends 8 data bits.
10) The master asserts an ACK on the data line.
11) The slave sends an 8-bit PEC byte.
12) The master asserts a NACK on the data line.
13) The master generates a STOP condition.
Block Write
The block write protocol (see Figure 14) allows the mas­ter device to write a block of data (1 byte to 16 bytes) to memory. Preload the destination address by a previous send byte command; otherwise the block write com­mand begins to write at the current address pointer. After the last byte is written, the address pointer remains preset to the next valid address. If the number of bytes to be written causes the address pointer to exceed 8Fh for configuration registers or configuration flash or FFh for user flash, the address pointer stays at 8Fh or FFh, respectively, overwriting this memory address with the remaining bytes of data. The slave generates a NACK at step 5 if the command code is invalid or if the device is busy, and the address pointer is not altered.
MAX16065/MAX16066
______________________________________________________________________________________ 43
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
The block write procedure is the following:
1) The master sends a START condition.
2) The master sends the 7-bit slave address and a write bit (low).
3) The addressed slave asserts an ACK on SDA.
4) The master sends the 8-bit command code for a block write (94h).
5) The addressed slave asserts an ACK on SDA.
6) The master sends the 8-bit byte count (1 byte to 16 bytes), n.
7) The addressed slave asserts an ACK on SDA.
8) The master sends 8 bits of data.
9) The addressed slave asserts an ACK on SDA.
10) Repeat steps 8 and 9 n - 1 times.
11) The master sends a STOP condition.
When PEC is enabled, the Block Write protocol becomes:
MAX16065/MAX16066
1) The master sends a START condition.
2) The master sends the 7-bit slave ID plus a write bit (low).
3) The addressed slave asserts an ACK on the data line.
4) The master sends 8 bits of the block write command code.
5) The slave asserts an ACK on the data line.
6) The master sends an 8-bit byte count (min 1, max
16) N.
7) The slave asserts an ACK on the data line.
8) The master sends 8 bits of data.
9) The slave asserts an ACK on the data line.
10) Repeat 8 and 9 n - 1 times.
11) The master sends an 8-bit PEC byte.
12) The slave asserts an ACK on the data line (if PEC is good, otherwise NACK).
13) The master generates a STOP condition.
Block Read
The block read protocol (see Figure 14) allows the master device to read a block of up to 16 bytes from memory. Read fewer than 16 bytes of data by issuing an early STOP condition from the master, or by generat­ing a NACK with the master. The destination address should be preloaded by a previous send byte command; otherwise the block read command begins to read at the current address pointer. If the number of bytes to be read causes the address pointer to exceed 8Fh for
the configuration register or configuration flash or FFh in user flash, the address pointer stays at 8Fh or FFh, respectively. The block read procedure is the following:
1) The master sends a START condition.
2) The master sends the 7-bit slave address and a write bit (low).
3) The addressed slave asserts an ACK on SDA.
4) The master sends 8 bits of the block read command (95h).
5) The slave asserts an ACK on SDA, unless busy.
6) The master generates a REPEATED START condition.
7) The master sends the 7-bit slave address and a read bit (high).
8) The slave asserts an ACK on SDA.
9) The slave sends the 8-bit byte count (16).
10) The master asserts an ACK on SDA.
11) The slave sends 8 bits of data.
12) The master asserts an ACK on SDA.
13) Repeat steps 11 and 12 up to fifteen times.
14) The master asserts a NACK on SDA.
15) The master sends a STOP condition.
When PEC is enabled, the Block Read protocol becomes:
1) The master sends a START condition.
2) The master sends the 7-bit slave ID plus a write
bit (low).
3) The addressed slave asserts an ACK on the data line.
4) The master sends 8 bits of the block read command
code.
5) The slave asserts an ACK on the data line unless
busy.
6) The master sends a REPEATED START condition.
7) The master sends the 7-bit slave ID plus a read
bit (high).
8) The slave asserts an ACK on the data line.
9) The slave sends an 8-bit byte count (16).
10) The master asserts an ACK on the data line.
11) The slave sends 8 bits of data.
12) The master asserts an ACK on the data line.
13) Repeat 11 and 12 up to 15 times.
14) The slave sends an 8-bit PEC byte.
15) The master asserts a NACK on the data line.
16) The master generates a STOP condition.
44 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
SMBALERT
The MAX16065/MAX16066 support the SMBus alert protocol. To enable the SMBus alert output, set r35h[1:0] according to Table 29, which configures a Fault1, Fault2, or Any_Fault output to act as the SMBus alert. This output is open-drain and uses the wired-OR configura­tion with other devices on the SMBus. During a fault, the MAX16065/MAX16066 assert ALERT low, signaling the master that an interrupt has occurred. The master responds by sending the ARA (Alert Response Address) protocol on the SMBus. This protocol is a read byte with 09h as the slave address. The slave acknowledges the ARA (09h) address and sends its own SMBus address to the master. The slave then deasserts ALERT. The master can then query the slave and determine the cause of the fault. By checking r1C[6], the master can confirm that the MAX16065/MAX16066 triggered the SMBus alert. The master must send the ARA before clearing r1Ch[6]. Clear r1Ch[6] by writing a ‘1.’
JTAG Serial Interface
The MAX16065/MAX16066 feature a JTAG port that complies with a subset of the IEEE 1149.1 specification. Either the SMBus or the JTAG interface can be used to access internal memory; however, only one interface is allowed to run at a time. The MAX16065/MAX16066 do not support IEEE 1149.1 boundary-scan functionality. The MAX16065/MAX16066 contain extra JTAG instruc­tions and registers not included in the JTAG specifica­tion that provide access to internal memory. The extra instructions include LOAD ADDRESS, WRITE, READ, REBOOT, SAVE.
The TAP controller is a finite state machine that responds to the logic level at TMS on the rising edge of TCK. See Figure 16 for a diagram of the finite state machine. The possible states are described in the following:
Test-Logic-Reset: At power-up, the TAP controller is in the test-logic-reset state. The instruction register contains the IDCODE instruction. All system logic of the device operates normally. This state can be reached from any state by driving TMS high for five clock cycles.
Run-Test/Idle: The run-test/idle state is used between scan operations or during specific tests. The instruction register and test data registers remain idle.
Select-DR-Scan: All test data registers retain their previ­ous state. With TMS low, a rising edge of TCK moves the controller into the capture-DR state and initiates a scan sequence. TMS high during a rising edge on TCK moves the controller to the select-IR-scan state.
Capture-DR: Data can be parallel-loaded into the test data registers selected by the current instruction. If the instruction does not call for a parallel load or the selected test data register does not allow parallel loads, the test data register remains at its current value. On the rising edge of TCK, the controller goes to the shift-DR state if TMS is low or it goes to the exit1-DR state if TMS is high.
Shift-DR: The test data register selected by the current instruction connects between TDI and TDO and shifts data one stage toward its serial output on each rising edge of TCK while TMS is low. On the rising edge of TCK, the controller goes to the exit1-DR state if TMS is high.
Exit1-DR: While in this state, a rising edge on TCK puts the controller in the update-DR state. A rising edge on TCK with TMS low puts the controller in the pause-DR state.
Test Access Port (TAP)
Controller State Machine
MAX16065/MAX16066
Table 29. SMBus Alert Configuration
REGISTER
ADDRESS
35h 235h [1:0]
FLASH
ADDRESS
______________________________________________________________________________________ 45
BIT RANGE DESCRIPTION
SMBus Alert Configuration: 00 = Disabled 01 = Fault1 is SMBus ALERT 10 = Fault2 is SMBus ALERT 11 = Any_Fault is SMBus ALERT
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Send Byte Format
S
ADDRESS
R/W ACK COMMAND ACK P
7 bits 0 00 8 bits
Slave Address: Address of the slave on the serial interface bus.
Write Byte Format
ADDRESS
S
7 bits 0 0 0
Slave Address: Address of the slave on the serial interface bus.
Read Byte Format
SLAVE
S
ADDRESS
7 bits 0 0 0 0 18 bits
Slave Address: Address of the slave on the serial interface bus.
Block Write Format
ADDRESS
MAX16065/MAX16066
S
7 bits 0
Slave Address: Address of the slave on the serial interface bus.
Block Read Format
S
ADDRESS
7 bits
Slave Address: Address of the slave on the serial interface bus.
Write Byte Format with PEC
S ADDRESS COMMAND PEC P
7 BITS
Data Byte: Presets the internal address pointer or represents a command.
R/W ACK COMMAND ACK
8 bits
Command Byte: Sets the internal address pointer.
R/W
ACK COMMAND ACK
Command Byte: Sets the internal address pointer.
R/W
ACK COMMAND ACK
0
Command Byte: FAh
R/W R/W
ACK COMMAND ACK
Command Byte: FBh
ACK ACK ACK ACK
R/W
8 BITS
00 8 BITS 0
DATA ACK P
8 bits
Data Byte: Data is written to the locations set by the internal address pointer.
SLAVE
SR
ADDRESS
BYTE
COUNT = N
8 bits
0
ADDRESS
SR ACK
0
Slave Address: Address of the slave on the serial interface bus.
DATA
0
8 BITS
Receive Byte Format
S
0
R/W
ACK DATA BYTE
7 bits 1
ACK P
DATA BYTE 1 ACK
8 bits
0 0
Data Byte: Data is written to the locations set by the internal address pointer.
7 bits0 0
1
0
ADDRESS
R/W ACK DATA NACK P
7 bits 1 0
Slave Address: Address of the slave on the serial interface bus.
SMBALERT#
S ADDRESS R/W ACK DATA NACK P
8 bits
Data Byte: Data is written to the locations set by the internal address pointer.
DATA BYTE … ACK
BYTE
COUNT = N
0 0 0
8 bits
Data Byte: Data is read from the locations set by the internal address pointer.
Data Byte: Data is read from the location pointed to by the internal address pointer.
0001100 D.C. 8 bits
Alert Response Address: Only the device that interrupted the master responds to this address.
NACK P
DATA BYTE N ACK
0 08 bits
8 bits
ACK P
8 bits
DATA BYTE N ACK
8 bits
18 bits
0 1
Slave Address: Slave places its own address on the serial bus.
8 bits
ACK DATA BYTE N
0
8 bits
DATA BYTE … NACK
Slave to master
Master to slave
18 bits
Read Byte Format with PEC
S
ADDRESS COMMAND DATA PEC P
R/W R/W
ACK ACK ACK ACK ACK
7 BITS
Block Write with PEC
S
Block Read with PEC
S
S = START Condition P = STOP Condition Sr = REPEATED START Condition D.C. = Don’t Care
R/W
ADDRESS
7 BITS
R/W R/W
ADDRESS
7 BITS
8 BITS
0
0
ACK ACK ACK ACK ACK ACK
COMMAND
8 BITS
0
0
ACK ACK ACK ACK ACK ACK ACK
COMMAND
8 BITS
0
0
ACK = Acknowledge, SDA pulled low during rising edge of SCL. NACK = Not acknowledge, SDA left high during rising edge of SCL.
All data is clocked in/out of the device on rising edges of SCL.
SR
0
BYTE COUNT N
0
SR
8 BITS
ADDRESS
7 BITS
ADDRESS
7 BITS
8 BITS
0
1 0
DATA BYTE 1
0
8 BITS
BYTE COUNT N
1
00
0
DATA BYTE
0
8 BITS
DATA BYTE 1
8 BITS
0
= SDA transitions from high to low during period of SCL.
= SDA transitions from low to high during period of SCL.
8 BITS
DATA N
8 BITS
0 0 0
DATA BYTE
0
8 BITS
8 BITS
PEC
8 BITS
0 0
ACK
DATA N
8 BITS
P
Figure 14. SMBus Protocols
46 _____________________________________________________________________________________
PEC
8 BITS
NACK1P
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
MAX16065/MAX16066
REGISTERS
AND FLASH
MEMORY WRITE REGISTER
[LENGTH = 8 BITS]
MEMORY READ REGISTER
[LENGTH = 8 BITS]
MEMORY ADDRESS REGISTER
[LENGTH = 8 BITS]
USER CODE REGISTER
[LENGTH = 32 BITS]
IDENTIFICATION REGISTER
[LENGTH = 32 BITS]
BYPASS REGISTER
[LENGTH = 1 BIT]
V
DB
INSTRUCTION REGISTER
[LENGTH = 5 BITS]
R
PU
01100
01011
01010
01001
01000
00111
00110
00101
00100
00011
00000
11111
MUX 1
COMMAND
DECODER
01001
01010
01011
01100
01000
00111
SETFLSHADD
RSTFLSHADD
SETUSRFLSH
RSTUSRFLSH
SAVE
REBOOT
TDI
TMS
TCK
TEST ACCESS PORT
(TAP) CONTROLLER
Figure 15. JTAG Block Diagram
Pause-DR: Shifting of the test data registers halts while in this state. All test data registers retain their previous state. The controller remains in this state while TMS is low. A rising edge on TCK with TMS high puts the con­troller in the exit2-DR state.
Exit2-DR: A rising edge on TCK with TMS high while in this state puts the controller in the update-DR state. A rising edge on TCK with TMS low enters the shift-DR state.
Update-DR: A falling edge on TCK while in the update­DR state latches the data from the shift register path of the test data registers into a set of output latches. This prevents changes at the parallel output because of
______________________________________________________________________________________ 47
MUX 2
TDO
changes in the shift register. On the rising edge of TCK, the controller goes to the run-test/idle state if TMS is low or goes to the select-DR-scan state if TMS is high.
Select-IR-Scan: All test data registers retain the previ­ous states. The instruction register remains unchanged during this state. With TMS low, a rising edge on TCK moves the controller into the capture-IR state. TMS high during a rising edge on TCK puts the controller back into the test-logic-reset state.
Capture-IR: Use the capture-IR state to load the shift register in the instruction register with a fixed value. This value is loaded on the rising edge of TCK. If TMS is high on the rising edge of TCK, the controller enters the
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
exit1-IR state. If TMS is low on the rising edge of TCK, the controller enters the shift-IR state.
Shift-IR: In this state, the shift register in the instruction register connects between TDI and TDO and shifts data one stage for every rising edge of TCK toward the TDO serial output while TMS is low. The parallel outputs of the instruction register as well as all test data registers remain at the previous states. A rising edge on TCK with TMS high moves the controller to the exit1-IR state. A rising edge on TCK with TMS low keeps the controller in the shift-IR state while moving data one stage through the instruction shift register.
Exit1-IR: A rising edge on TCK with TMS low puts the controller in the pause-IR state. If TMS is high on the rising edge of TCK, the controller enters the update-IR state.
Pause-IR: Shifting of the instruction shift register halts temporarily. With TMS high, a rising edge on TCK puts the controller in the exit2-IR state. The controller remains
MAX16065/MAX16066
in the pause-IR state if TMS is low during a rising edge on TCK.
Exit2-IR: A rising edge on TCK with TMS high puts the controller in the update-IR state. The controller loops back to shift-IR if TMS is low during a rising edge of TCK in this state.
Update-IR: The instruction code that has been shifted into the instruction shift register latches to the parallel outputs of the instruction register on the falling edge of TCK as the controller enters this state. Once latched, this instruction becomes the current instruction. A rising edge on TCK with TMS low puts the controller in the run­test/idle state. With TMS high, the controller enters the select-DR-scan state.
Instruction Register
The instruction register contains a shift register as well as a latched 5-bit wide parallel output. When the TAP controller enters the shift-IR state, the instruction shift register connects between TDI and TDO. While in the shift-IR state, a rising edge on TCK with TMS low shifts the data one stage toward the serial output at TDO. A rising edge on TCK in the exit1-IR state or the exit2-IR state with TMS high moves the controller to the update-IR state. The falling edge of that same TCK latches the data in the instruction shift register to the instruction register parallel output. Table 30 shows the instructions sup­ported by the MAX16065/MAX16066 and the respective operational binary codes.
BYPASS: When the BYPASS instruction is latched into the instruction register, TDI connects to TDO through the 1-bit bypass test data register. This allows data to pass from TDI to TDO without affecting the device’s operation.
IDCODE: When the IDCODE instruction is latched into the parallel instruction register, the identification data register is selected. The device identification code is loaded into the identification data register on the rising edge of TCK following entry into the capture-DR state. Shift-DR can be used to shift the identification code out serially through TDO. During test-logic-reset, the IDCODE instruction is forced into the instruction register. The iden­tification code always has a ‘1’ in the LSB position. The next 11 bits identify the manufacturer’s JEDEC number and number of continuation bytes followed by 16 bits for the device and 4 bits for the version. See Table 31.
USERCODE: When the USERCODE instruction latches into the parallel instruction register, the user-code data register is selected. The device user-code loads into the user-code data register on the rising edge of TCK fol­lowing entry into the capture-DR state. Shift-DR can be used to shift the user-code out serially through TDO. See Table 32. This instruction can be used to help identify multiple MAX16065/MAX16066 devices connected in a JTAG chain.
LOAD ADDRESS: This is an extension to the standard IEEE 1149.1 instruction set to support access to the memory in the MAX16065/MAX16066. When the LOAD ADDRESS instruction latches into the instruction register, TDI connects to TDO through the 8-bit memory address test data register during the shift-DR state.
READ DATA: This is an extension to the standard IEEE
1149.1 instruction set to support access to the memory
in the MAX16065/MAX16066. When the READ instruction latches into the instruction register, TDI connects to TDO through the 8-bit memory read test data register during the shift-DR state.
WRITE DATA: This is an extension to the standard IEEE
1149.1 instruction set to support access to the memory
in the MAX16065/MAX16066. When the WRITE instruc­tion latches into the instruction register, TDI connects to TDO through the 8-bit memory write test data register during the shift-DR state.
REBOOT: This is an extension to the standard IEEE
1149.1 instruction set to initiate a software-controlled
reset to the MAX16065/MAX16066. When the REBOOT instruction latches into the instruction register, the MAX16065/MAX16066 resets and immediately begins the boot-up sequence.
48 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
TEST-LOGIC-RESET
1
0
0
RUN-TEST/IDLE
1
SELECT-DR-SCAN SELECT-IR-SCAN
1
CAPTURE-DR
SHIFT-DR SHIFT-IR
EXIT1-DR EXIT1-IR
PAUSE-DR PAUSE-IR
0
EXIT2-DR EXIT2-IR
UPDATE-DR
1
1 1
0
1
0
0
1
1
0
0
1
0
1
0
CAPTURE-IR
UPDATE-IR
1
0
0
0
1
1
0
0
1
1
0
MAX16065/MAX16066
Figure 16. Tap Controller State Diagram
Table 30. JTAG Instruction Set
INSTRUCTION CODE NOTES
BYPASS 0x1F Mandatory instruction code IDCODE 0x00 Load manufacturer ID code/part number USERCODE 0x03 Load user code LOAD ADDRESS 0x04 Load address register content READ DATA 0x05 Read data pointed by current address WRITE DATA 0x06 Write data pointed by current address REBOOT 0x07 Reboot FLASH data content into register file SAVE 0x08 Trigger emergency save to flash SETFLSHADD 0x09 Flash page access ON RSTFLSHADD 0x0A Flash page access OFF SETUSRFLSH 0x0B User flash access ON (must be in flash page already) RSTUSRFLSH 0x0C User flash access OFF (return to flash page)
Table 31. 32-Bit Identification Code
MSB LSB
Version (4 bits) Part number (16 bits) Manufacturer (11 bits) Fixed value (1 bit)
0001 1000000000000001 00011001011 1
______________________________________________________________________________________ 49
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Table 32. 32-Bit User-Code Data
MSB LSB
Don’t Care SMBus slave id User ID (r8A[7:0]) 00000000000000000 See Table 27
SAVE: This is an extension to the standard IEEE 1149.1 instruction set that triggers a fault log. The current ADC conversion results along with fault information are saved to flash depending on the configuration of the Critical Fault Log Control register (r6Dh).
SETFLSHADD: This is an extension to the standard IEEE
1149.1 instruction set that allows access to the flash page. Flash registers include ADC conversion results, DACOUT enables, and GPIO_ input/output data. Use this page to access registers 200h to 2FFh
RSTFLSHADD: This is an extension to the standard IEEE 1149.1 instruction set. Use RSTFLSHADD to return to the default page and disable access to the flash page.
MAX16065/MAX16066
SETUSRFLSH: This is an extension to the standard IEEE
1149.1 instruction set that allows access to the user flash page. When on the configuration flash page, send the SETUSRFLSH command, all addresses are recognized as flash addresses only. Use this page to access regis­ters 300h to 3FFh.
RSTUSRFLSH: This is an extension to the standard IEEE
1149.1 instruction set. Use RSTUSRFLSH to return to the configuration flash page and disable access to the user flash.
Restrictions When Writing to Flash
Flash must be written to 8 bytes at a time. The initial address must be aligned to 8-byte boundaries—the 3 LSBs of the initial address must be ‘000’. Write the 8 bytes using eight successive Write Data commands.
Applications Information
Unprogrammed Device Behavior
When the flash has not been programmed using the JTAG or SMBus interface, the default configuration of the EN_OUT_ outputs is open-drain active-low. This means that the EN_OUT_ outputs are high impedance. When it is necessary to hold an EN_OUT_ high or low to prevent premature startup of a power supply before the flash is programmed, connect a resistor from EN_OUT_ to ground or the supply voltage. Avoid connecting a resistor to ground when the output is to be configured as open-drain with a separate pullup resistor.
Device Behavior at Power-Up
When VCC is ramped from 0, the RESET output is high impedance until VCC reaches 1.4V, at which point RESET goes low. All other outputs are high impedance until VCC reaches 2.7V, when the flash contents are copied into register memory. This takes 150Fs (max), after which the outputs assume their programmed states.
Programming the
MAX16065/MAX16066 in Circuit
The MAX16065/MAX16066 can be programmed in the application circuit by taking into account the following points during circuit design:
U The MAX16065/MAX16066 needs to be powered from
an intermediate voltage bus or auxiliary voltage sup­ply so programming can occur even when the board’s power supplies are off. This could also be achieved by using ORing diodes so that power can be provided through the programming connector.
U The SMBus or JTAG bus lines should not connect
through a bus multiplexer powered from a voltage rail controlled by the MAX16065/MAX16066. If the device needs to be controlled by an on-board FP, consider connecting the FP to one bus (such as SMBus) and use the other bus for in-circuit programming.
U An unprogrammed MAX16065/MAX16066’s EN_OUT_s
go high impedance. Ensure that this does not cause undesired circuit behavior. If necessary, connect pull­down resistors to prevent power supplies from turning on.
Maintaining Power
During a Fault Condition
Power to the MAX16065/MAX16066 must be maintained for a specific period of time to ensure a successful flash fault log operation during a fault that removes power to the circuit. Table 33 shows the amount of time required depends on the settings in the fault control register (r6Dh[1:0]).
Maintain power for shutdown during fault conditions in applications where the always-on power supply cannot be relied upon by placing a diode and a large capacitor between the voltage source, VIN, and VCC (Figure 17). The capacitor value depends on VIN and the time delay
50 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Table 33. Maximum Write Time
R6Dh[1:0]
VALUE
00
01 Save flags 77 10 Save ADC readings 153 11 Do not save anything
DESCRIPTION
Save flags and ADC readings
MAXIMUM
WRITE TIME
(ms)
244
V
IN
R
MON_ EN_OUT_
MAX16065 MAX16066
V
OUT
MAX16065/MAX16066
V
IN
C
Figure 17. Power Circuit for Shutdown During Fault Conditions
required, t
FAULT_SAVE
V
CC
MAX16065 MAX16066
GND
. Use the following formula to cal-
culate the capacitor size:
C = (t
FAULT_SAVE
where the capacitance is in Farads and t seconds, I
CC(MAX)
across the diode, and V a VIN of 14V, a diode drop of 0.7V, and a t
x I
CC(MAX)
is 14mA, V
UVLO
)/(VIN - V
DIODE
is the voltage drop
- V
DIODE
FAULT_SAVE
UVLO
)
is in
is 2.7V. For example, with
FAULT_SAVE
of 153ms, the minimum required capacitance is 202FF.
Driving High-Side MOSFET Switches
Up to eight of the programmable outputs (EN_OUT1– EN_OUT8) of the MAX16065/MAX16066 can be config­ured as charge-pump outputs to drive the gates of series­pass n-channel MOSFETS. When driving MOSFETs, these outputs act as simple power switches to turn on the voltage supply rails. Approximate the slew rate, SR, using the following formula:
SR = ICP/(C
GATE
+ C
EXT
)
where ICP is the 4FA (typ) charge-pump source current, C
is the gate capacitance of the MOSFET, and C
GATE
EXT
is the capacitance connected from the gate to ground. If more than eight series-pass MOSFETs are required for an application, additional series-pass p-channel MOSFETS can be connected to outputs configured as
Figure 18. Connection for a p-Channel Series-Pass MOSFET
active-low open drain (Figure 18). Connect a pullup resistor from the gate to the source of the MOSFET, and ensure the absolute maximum ratings of the MAX16065/ MAX16066 are not exceeded.
Configuring the Device
An evaluation kit and a graphical user interface (GUI) is available to create a custom configuration for the device. Refer to the MAX16065/MAX16066 Evaluation Kit for configuration.
Cascading Multiple MAX16065/MAX16066s
Multiple MAX16065/MAX16066s can be cascaded to increase the number of rails controlled for sequencing and monitoring. There are many ways to cascade the devices depending on the desired behavior. In general, there are several techniques:
U Configure a GPIO_ on each device to be EXTFAULT
(open drain). Externally wire them together with a single pullup resistor. Set register bits r72h[5] and r6Dh[2] to ‘1’ so that all faults will propagate between devices. If a critical fault occurs on one device, EXTFAULT will assert, triggering the nonvolatile fault logger in all cascaded devices and recording a snap­shot of all system voltages.
U Connect open-drain RESET outputs together to obtain
a master system reset signal.
nal. Since the internal timings of each cascaded device are not synchronized, EN_OUT_s placed in the same
______________________________________________________________________________________ 51
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
MAX16065/MAX16066
Figure 19. Graphical User Interface Screenshot
slot on different devices will not come up in the desired order even if the sequence delays are identical.
U Consider using an external FP to control the EN inputs
or the software enable bits of cascaded devices, monitoring the RESET outputs as a power-good signal.
U For a large number of voltage rails, the MAX16065/
MAX16066s can be cascaded hierarchically by using one master device’s EN_OUT_s to control the EN inputs of several slave devices.
Controlling Power Supplies Without
Using the Sequencer
A FP may control power supplies manually without involving the sequencing slot system by controlling EN_OUT_s configured as GPIO_. The output of a power supply controlled this way can be monitored using a MON_ input configured as “Monitoring Only(Primary
52 _____________________________________________________________________________________
Sequence)” or “Monitoring Only(Secondary Sequence)” (see the Monitoring Inputs while Sequencing section). To monitor the supply for critical faults, the FP will need to manually set the critical fault enable bit in r6Eh to r72h after turning on the EN_OUT_, and manually clear the critical fault enable bit before turning off the EN_OUT_.
Monitoring Current Using the
Differential Inputs
The MAX16065/MAX16066 can monitor up to seven currents using the dedicated current-sense amplifier as well as up to six pairs of inputs configured in differential mode. The accuracy of the differential pairs is limited by the voltage range and the 10-bit conversions. Each input pair uses an odd-numbered MON_ input in combination with an even-numbered MON_ input to monitor both the voltage from the odd-numbered MON_ to ground and the voltage difference between the two MON_ inputs.
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
This way a single pair of inputs can monitor the voltage and the current of a power-supply rail. The overvoltage threshold on the even-numbered MON_ inputs can be used as an overcurrent flag.
Figure 20 shows how to connect a current-sense resistor to a pair of MON_ inputs for monitoring both current and voltage.
For best accuracy, set the voltage range on the even­numbered MON_ to 1.4V. Since the ADC conversion results are 10 bits, the monitoring precision is 1.4/1024 = 1.4mV. For more accurate current measurements, use larger current-sense resistors. The application require­ments should determine the balance between accuracy and voltage drop across the current-sense resistor.
Layout and Bypassing
Bypass DBP and ABP each with a 1FF ceramic capacitor to GND. Bypass VCC with a 10FF capacitor to ground. Avoid routing digital return currents through a sensitive analog area, such as an analog supply input return path or ABP’s bypass capacitor ground connection. Use dedicated analog and digital ground planes. Connect the capacitors as close as possible to the device.
POWER
SUPPLY
MON
Figure 20. Current Monitoring Connection
ODD
R
S
MAX16065 MAX16066
MON
EVEN
I
LOAD
MAX16065/MAX16066
______________________________________________________________________________________ 53
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Register Map
FLASH
ADDRESS
ADC VALUES, FAULT REGISTERS, GPIO_s AS INPUT PORTS—NOT IN FLASH
000 R MON1 ADC output, MSBs — 001 R MON1 ADC output, LSBs — 002 R MON2 ADC output, MSBs — 003 R MON2 ADC output, LSBs — 004 R MON3 ADC output, MSBs — 005 R MON3 ADC output, LSBs — 006 R MON4 ADC output, MSBs — 007 R MON4 ADC output, LSBs — 008 R MON5 ADC output, MSBs — 009 R MON5 ADC output, LSBs — 00A R MON6 ADC output, MSBs — 00B R MON6 ADC output, LSBs
MAX16065/MAX16066
00C R MON7 ADC output, MSBs — 00D R MON7 ADC output, LSBs — 00E R MON8 ADC output, MSBs — 00F R MON8 ADC output, LSBs — 010 R MON9 ADC output, MSBs — 011 R MON9 ADC output, LSBs — 012 R MON10 ADC output, MSBs — 013 R MON10 ADC output, LSBs — 014 R MON11 ADC output, MSBs — 015 R MON11 ADC output, LSBs — 016 R MON12 ADC output, MSBs — 017 R MON12 ADC output, LSBs — 018 R Current-sense ADC output — 019 R CSP ADC output, MSBs — 01A R CSP ADC output, LSBs — 01B R/W Fault register—failed line flags — 01C R/W Fault register—failed line flags/overcurrent — 01D R Failing slot during secondary sequence — 01E R GPIO data in (read only) — 01F R EN_OUT_ as GPIO data in (read only) — 020 R/W Flash status/reset output monitor — 021 R Current state of the FSM
REGISTER
ADDRESS
READ/
WRITE
DESCRIPTION
54 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Register Map (continued)
MAX16065/MAX16066
FLASH
ADDRESS
GPIO AND OUTPUT DEPENDENCIES/CONFIGURATIONS
230 030 R/W OUT configuration 231 031 R/W OUT configuration 232 032 R/W OUT configuration 233 033 R/W Charge-pump configuration, bits 234 034 R/W EN_OUT_ as GPIO data out 235 035 R/W SMBALERT pin configuration 236 036 R/W Fault1 dependencies 237 037 R/W Fault1 dependencies 238 038 R/W Fault2 dependencies
239 039 R/W Fault2 dependencies 23A 03A R/W Fault1/Fault2 secondary overcurrent dependencies 23B 03B R/W RESET output configuration 23C 03C R/W RESET output dependencies 23D 03D R/W RESET output dependencies 23E 03E R/W GPIO data out
23F 03F R/W GPIO configuration
240 040 R/W GPIO configuration
241 041 R/W GPIO configuration
242 042 R/W GPIO push-pull/open drain
ADC—CONVERSIONS
243 043 R/W ADCs voltage ranges—MON_ monitoring
244 044 R/W ADCs voltage ranges—MON_ monitoring
245 045 R/W ADCs voltage ranges—MON_ monitoring
246 046 R/W Differential pairs enables
247 047 R/W Current-sense gain-setting (CSP, HV, or LV)
INPUT THRESHOLDS
248 048 R/W MON1 secondary selectable UV/OV
249 049 R/W MON1 primary OV 24A 04A R/W MON1 primary UV 24B 04B R/W MON2 secondary selectable UV/OV 24C 04C R/W MON2 primary OV 24D 04D R/W MON2 primary UV 24E 04E R/W MON3 secondary selectable UV/OV
24F 04F R/W MON3 primary OV
250 050 R/W MON3 primary UV
251 051 R/W MON4 secondary selectable UV/OV
252 052 R/W MON4 primary OV
253 053 R/W MON4 primary UV
REGISTER
ADDRESS
READ/
WRITE
DESCRIPTION
______________________________________________________________________________________ 55
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Register Map (continued)
FLASH
ADDRESS
254 054 R/W MON5 secondary selectable UV/OV 255 055 R/W MON5 primary OV 256 056 R/W MON5 primary UV 257 057 R/W MON6 secondary selectable UV/OV 258 058 R/W MON6 primary OV 259 059 R/W MON6 primary UV
25A 05A R/W MON7 secondary selectable UV/OV
25B 05B R/W MON7 primary OV 25C 05C R/W MON7 primary UV 25D 05D R/W MON8 secondary selectable UV/OV
25E 05E R/W MON8 primary OV
25F 05F R/W MON8 primary UV
260 060 R/W MON9 secondary selectable UV/OV
MAX16065/MAX16066
261 061 R/W MON9 primary OV
262 062 R/W MON9 primary UV
263 063 R/W MON10 secondary selectable UV/OV
264 064 R/W MON10 primary OV
265 065 R/W MON10 primary UV
266 066 R/W MON11 secondary selectable UV/OV
267 067 R/W MON11 primary OV
268 068 R/W MON11 primary UV
269 069 R/W MON12 secondary selectable UV/OV
26A 06A R/W MON12 primary OV
26B 06B R/W MON12 primary UV 26C 06C R/W Secondary overcurrent threshold
FAULT SETUP
26D 06D R/W
26E 06E R/W Faults causing store in flash
26F 06F R/W Faults causing store in flash
270 070 R/W Faults causing store in flash
271 071 R/W Faults causing store in flash
272 072 R/W Faults causing store in flash
TIMEOUTS
273 073 R/W
274 074 R/W ADC fault deglitch/autoretry configuration
275 075 R/W WDI toggle, power-up fault timer, reverse sequence
276 076 R/W Watchdog reset output enable, watchdog timers
277 077 R/W Sequence delay for Slot 0 and Slot 1
REGISTER
ADDRESS
READ/
WRITE
Save after EXTFAULT fault control
Overcurrent debounce, watchdog mode, secondary threshold type, software enables
DESCRIPTION
56 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Register Map (continued)
MAX16065/MAX16066
FLASH
ADDRESS
278 078 R/W Sequence delay for Slot 2 and Slot 3
279 079 R/W Sequence delay for Slot 4 and Slot 5 27A 07A R/W Sequence delay for Slot 6 and Slot 7 27B 07B R/W Sequence delay for Slot 8 and Slot 9 27C 07C R/W Sequence delay for Slot 10 and Slot 11 27D 07D R/W Primary sequence final slot, sequence delay for Slot 12
MISCELLANEOUS
27E 07E R/W MON1/MON2 slot assignment
27F 07F R/W MON3/MON4 slot assignment
280 080 R/W MON5/MON6 slot assignment
281 081 R/W MON7/MON8 slot assignment
282 082 R/W MON9/MON10 slot assignment
283 083 R/W MON11/MON12 slot assignment
284 084 R/W EN_OUT1/EN_OUT2 slot assignment
285 085 R/W EN_OUT3/EN_OUT4 slot assignment
286 086 R/W EN_OUT5/EN_OUT6 slot assignment
287 087 R/W EN_OUT7/EN_OUT8 slot assignment
288 088 R/W EN_OUT9/EN_OUT10 slot assignment
289 089 R/W EN_OUT11/EN_OUT12 slot assignment 28A 08A R/W Customer use (version) 28B 08B R/W PEC enable/SMBus address 28C 08C R/W Lock bits 28D 08D R Revision code
NONVOLATILE FAULT LOG
200
201
202
203
204
205
206
207
208
209 20A 20B 20C 20D
20E
20F
REGISTER
ADDRESS
R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W — R/W
READ/ WRITE
DESCRIPTION
Sequence state Fault flags, MON1–MON8 Fault flags, MON9–MON12, OC, EXTFAULT MON1 ADC output MON2 ADC output MON3 ADC output MON4 ADC output MON5 ADC output MON6 ADC output MON7 ADC output MON8 ADC output MON9 ADC output MON10 ADC output MON11ADC output MON12 ADC output Current-sense ADC output
______________________________________________________________________________________ 57
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Register Map (continued)
USER FLASH
300 39F R/W User flash 3A0 3AF Reserved 3B0 3FF R/W User flash
Typical Operating Circuits
V
SUPPLY
+3.3V
MAX16065/MAX16066
IN
DC-DC
GND
IN
DC-DC
GND
IN
DC-DC
OUT
OUT
OUT
GND
MON1
MON2–MON11
MON12
V
CC
MAX16065 MAX16066
GND
SCL
SDA
RESET
FAULT
WDI
WDO
AO
µC
RESET
INT
I/O
INT
58 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Typical Operating Circuits (continued)
V
SUPPLY
+3.3V
MAX16065/MAX16066
NOTE: MON MON
IN
DC-DC
IN
DC-DC
IN
DC-DC
= MON1, MON3, MON5, MON7, MON9, MON11
ODD
= MON2, MON4, MON6, MON8, MON10, MON12
EVEN
OUT
GND
OUT
GND
OUT
GND
LOAD
LOAD
LOAD
MON1
MON2
MON
MON
MON11
MON12
ODD
EVEN
V
CC
MAX16065 MAX16066
GND
SCL
SDA
RESET
FAULT
WDI
WDO
µC
RESET
INT
I/O
INT
AO
______________________________________________________________________________________ 59
12-Channel/8-Channel, Flash-Configurable System Managers with Nonvolatile Fault Registers
Pin Configurations
TOP VIEW
EN_OUT3
EN_OUT2
35
34 33 32 31 30 29 28 272625
36
EN_OUT1
MAX16065/MAX16066
DBP
V
ABP
GND
MON7
MON8
MON9
MON10
MON11
MON12
37
EN
38
39
40
CC
41
42
43
44
45
46
+
47
48
2
3
1
MON2
MON1
EN_OUT11
EN_OUT10
EN_OUT9
EN_OUT8
EN_OUT7
EN_OUT6
EN_OUT5
EN_OUT4
MAX16065
*EP
4 5 6 7 8 9 101112
CSP
CSM
MON6
MON5
MON4
MON3
THIN QFN
(7mm x 7mm)
RESET
TMS
GPIO6
EN_OUT12
TDI
TCK
GPIO5
24
GPIO4
23
22
GPIO3
21
GPIO2
GPIO1
20
GPIO8
19
18
GPIO7
17
GND
16
SCL
AO
15
SDA
14
13
TDO
TOP VIEW
MON7
MON8
MON9
MON10
MON1
DBP
V
ABP
GND
EN_OUT4
EN_OUT6
EN_OUT5
25
CSP
MON6
EN_OUT7
*EP
CSM
EN_OUT3
EN_OUT2
EN_OUT1
27282930 26 24 23 22
31
EN
32
33
CC
34
35
36
37
38
39
40
1 2
MON2
MAX16066
+
4 5 6 7
3
MON3
MON5
MON4
THIN QFN
(6mm x 6mm)
EN_OUT8
GPIO6
8 9 10
TMS
RESET
21
GPIO5
20
19
18
17
16
15
14
13
12
11
TDI
GPIO4
GPIO3
GPIO2
GPIO1
GND
SCL
AO
SDA
TDO
TCK
60 _____________________________________________________________________________________
12-Channel/8-Channel, Flash-Configurable System
Managers with Nonvolatile Fault Registers
Chip Information
PROCESS: BiCMOS
Package Information
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages.
PACKAGE TYPE PACKAGE CODE DOCUMENT NO.
48 TQFN-EP* T4877-6
40 TQFN-EP* T4066-5
21-0144
21-0141
MAX16065/MAX16066
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 61
©
2009 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products, Inc.
Loading...