The MAX5961 0 to 16V, quad, hot-swap controller provides complete protection for systems with up to four
distinct supply voltages. The device allows the safe
insertion and removal of circuit cards into live backplanes. The MAX5961 is an advanced hot-swap controller that monitors voltage and current with an internal
10-bit ADC. The device provides two levels of overcurrent circuit-breaker protection; a fast-trip threshold for a
fast turn-off, and a lower slow-trip threshold for a
delayed turn-off. The maximum overcurrent circuitbreaker threshold range is set independently for each
channel with a trilevel input (ILIM_) or by programming
though an I2C interface.
The internal 10-bit ADC is multiplexed to monitor the
output voltage and current of each hot-swap channel.
The total time to cycle through all the eight measurements is 100µs (typ). Each 10-bit value is stored in an
internal circular buffer so that 50 past samples of each
signal can be read back through the I2C interface at
any time or after a fault condition.
The MAX5961 can be configured as four independent
hot-swap controllers, hot-swap controllers operating in
pairs, or as a group of four hot-swap controllers.
The device also includes five digital comparators per
hot-swap channel to implement overcurrent warning,
two levels of overvoltage detection, and two levels of
undervoltage detection. The limits for overcurrent, overvoltage, and undervoltage are user-programmable.
When any of the measured values violates the programmable limits, an external ALERT signal is asserted. In
addition to the ALERT signal, depending on the selected operating mode, the MAX5961 can deassert a
power-good signal and/or turn-off the external MOSFET.
The MAX5961 is available in a 48-pin thin QFN package and operates over the -40°C to +85°C extended
temperature range.
Applications
PCI Express®Hot Plug
Servers
Disk Drives
Storage Systems
ASICs
Features
o Four Independent Hot-Swap Controllers Protect
from 0 to 16V (Provided IN ≥ 2.7V)
o 10-Bit ADC Monitors Voltage and Current of Each
Channel
o Circular Buffer Stores 5ms of Current and Voltage
Measurements
o Four Independent Internal Charge Pumps
Generate n-Channel MOSFET Gate Drives
o Internal 500mA Gate Pulldown Current for Fast
Shutdown
o VariableSpeed/BiLevel™ Circuit-Breaker Protection
o Alert Output Indicates Undervoltage Warning,
Undervoltage Critical, Overvoltage Warning,
Overvoltage Critical, and Overcurrent Warning for
Each Channel
o Independent Power-Good Outputs
o Autoretry or Latched Fault Management
o 400kHz I
(VIN= 2.7V to 16V, TA = -40°C to +85°C, unless otherwise noted. Typical values are at VIN= 3.3V and TA= +25°C.) (Note 1)
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.
IN, SENSE_, MON_, GATE_ to AGND ....................-0.3V to +30V
PG_, ON_, FAULT_, SDA, SCL, ALERT,
REG, DREG, POL, RETRY, HWEN .........................-0.3V to +6V
DREG to REG ........................................................-0.3V to +0.3V
ILIM_, MODE, PROT, A0, A1 ....................-0.3V to (V
REG
+ 0.3V)
GATE_ to MON_ (same channel) .............................-0.3V to +6V
SENSE_ to MON_ (same channel) ...........................-0.3V to +6V
GND1, GND2, GND3, GND4, DGND to AGND.....-0.3V to +0.3V
SDA, ALERT Current ...........................................-20mA to 50mA
GATE_, MON_, GND_ Current ..........................................500mA
Input/Output Current (all other pins) ...................................20mA
31GATE4Channel 4 Gate-Drive Output. Connect to gate of an external n-channel MOSFET.
32GND4
33GND2
34GATE2Channel 2 Gate-Drive Output. Connect to gate of an external n-channel MOSFET.
35MON2Channel 2 Voltage Monitoring Input
36SENSE2
37ILIM4
38ILIM3
39ILIM2
40ILIM1
41INPower-Supply Input. Connect to a voltage from 2.7V to 16V. Bypass to AGND with a 1µF capacitor.
42AGNDAnalog Ground. Connect all GND_ and DGND to AGND externally using a star connection.
43REG
44A1Three-State I2C Address Input 1
45A0Three-State I2C Address Input 0
46PROT
47MODE
48HWEN
—EPExposed Pad. EP is internally grounded. Connect externally to AGND.
Channel 4 Current-Sense Input. Connect SENSE4 to the source of an external MOSFET and to one end of
R
Channel 4 Gate Discharge Current Ground Return. Connect all GND_ and DGND to AGND externally
using a star connection.
Channel 2 Gate Discharge Current Ground Return. Connect all GND_ and DGND to AGND externally
using a star connection.
Channel 2 Current-Sense Input. Connect SENSE2 to the source of an external MOSFET and to one end of
R
Channel 4 Three-State Current-Sense Range Selection Input. Set the circuit-breaker threshold range by
connecting to DGND, DREG, or leave unconnected (see Table 7b).
Channel 3 Three-State Current-Sense Range Selection Input. Set the circuit-breaker threshold range by
connecting to DGND, DREG, or leave unconnected (see Table 7b).
Channel 2 Three-State Current-Sense Range Selection Input. Set the circuit-breaker threshold range by
connecting to DGND, DREG, or leave unconnected (see Table 7b).
Channel 1 Three-State Current-Sense Range Selection Input. Set the circuit-breaker threshold range by
connecting to DGND, DREG, or leave unconnected (see Table 7b).
Internal Regulator Output. Bypass to ground with a 1µF capacitor. Connect only to DREG and logic-input
pullup resistors. Do not use to power external circuitry.
Protection Behavior Input. Three-state input sets one of three different response options for undervoltage
and overvoltage events (see Table 29).
Hot-Swap Three-State Mode Select Input. Connect MODE to DGND, DREG, or leave it unconnected to
operate the hot-swap channels independently, in pairs, or as a group of four, respectively (see Table 2).
Hardware Enable Input. Connect to DREG or DGND. State is read upon power-up as V
UVLO threshold and sets Chx_EN2 bits with this value. After UVLO, this input becomes inactive until
power is cycled.
The MAX5961 0 to 16V, quad, hot-swap controller provides complete protection for multisupply systems. The
device allows the safe insertion and removal of circuit
cards into live backplanes. The MAX5961 is an
advanced hot-swap controller that monitors voltage and
current with an internal 10-bit ADC. The device provides
two levels of overcurrent circuit-breaker protection; a
fast-trip threshold for a fast turn-off and a lower slow-trip
threshold for a delayed turn-off. The maximum overcurrent circuit-breaker threshold range is set independently
for each channel with a three-state input (ILIM_) or by
programming though an I2C interface.
The internal 10-bit ADC is multiplexed to monitor the
output voltage and current of each hot-swap channel.
The total time to cycle through all the eight measure-
ments is 100µs (typ). Each 10-bit value is stored in an
internal circular buffer so that 50 past samples of each
signal can be read back through the I2C interface at
any time or after a fault condition.
The MAX5961 can be configured as four independent
hot-swap controllers, hot-swap controllers operating in
pairs, or as a group of four hot-swap controllers.
The device also includes five digital comparators per
hot-swap channel to implement overcurrent warning,
two levels of overvoltage detection, and two levels of
undervoltage detection. The limits for overcurrent, overvoltage, and undervoltage are user-programmable.
When any of the measured values violates the programmable limits, an external ALERT signal is asserted. In
addition to the ALERT signal, depending on the selected operating mode, the MAX5961 can deassert a
power-good signal and/or turn-off the external MOSFET.
Table 1a. Register Address Map (Channel Specific)
REGISTERDESCRIPTION
adc_chx_cs_h
adc_chx_cs_l
adc_chx_mon_h
adc_chx_mon_l
min_chx_cs_h
min_chx_cs_l
max_chx_cs_h
max_chx_cs_l
min_chx_mon_h
min_chx_mon_l
max_chx_mon_h
max_chx_mon_l
High 8 bits ([9:2]) of latest
current-signal ADC result
Low 2 bits ([1:0]) of latest
current-signal ADC result
High 8 bits ([9:2]) of latest
voltage-signal ADC result
Low 2 bits ([1:0]) of latest
voltage-signal ADC result
High 8 bits ([9:2]) of currentsignal minimum value
Low 2 bits ([1:0]) of currentsignal minimum value
High 8 bits ([9:2]) of currentsignal maximum value
Low 2 bits ([1:0]) of currentsignal maximum value
High 8 bits ([9:2]) of voltagesignal minimum value
Low 2 bits ([1:0]) of voltagesignal minimum value
High 8 bits ([9:2]) of voltagesignal maximum value
Low 2 bits ([1:0]) of voltagesignal maximum value
Depending on the state of the MODE input, the fourchannel MAX5961 can operate as four independent
hot-swap controllers, two pairs of controllers, or with all
four controllers grouped together (see Tables 2 and 4a).
REGISTERDESCRIPTION
mon_rangeMON_ input range selection0x300x0017, 18
cbuf_chx_storeSelective enabling of individual blocks in the circular buffer0x310xFF42
ifast2slow
status0Slow-trip and fast-trip comparators status register0x5FCx0050
status1PROT, MODE, and ON_ inputs status register0x60—2, 4a, 4b, 29
sense_rangeILIM_ inputs status register0x61—6, 7a, 7b
status3RETRY, POL, ALERT, and PG_ status register0x62—30
fault0Status register for undervoltage detection (warning or critical)0x630x0047
fault1Status register for overvoltage detection (warning or critical)0x640x0048
fault2Status register for overcurrent detection (warning)0x650x0049
pgdlyDelay setting between MON_ measurement and PG_ assertion0x660x0031a, 31b
fokeyLoad register with 0xA5 to enable force-on function0x670x0046
fosetRegister that enables force-on function for a channel0x680x0045
chxenChannel enable bits0x69—3
dgl_iOC deglitch enable bits0x6A0x0038
dgl_uvUV deglitch enable bits0x6B0x0039
dgl_ovOV deglitch enable bits0x6C0x0040
cbufrd_hibyonlyCircular buffers readout mode: 8 bit or 10 bit0x6D0x0043
cbuf_dly_stop
peak_log_rstReset control bits for peak-detection registers0x730x0036
peak_log_holdHold control bits for peak-detection registers0x740x0037
Current threshold ratio setting for the fast comparator vs. slow
comparator
Circular buffer stop-delay. Number of samples recorded to the
circular buffer after channel shutdown.
ADDRESS
(HEX CODE)
0x5E0xFF5a, 5b
0x720x1944
RESET
VALUE
TABLE
MODE INPUT
STATUS
Low10Independent
High01Paired
Unconnected00Grouped
MODE [1]MODE [0]FUNCTIONDESCRIPTION
Each channel operates as an independent hot-swap controller. A fault
shutdown in one channel does not affect operation of other channels.
Channels 1 and 3 operate together as one pair while channels 2 and 4
operate as another pair. A fault shutdown in one channel of a pair shuts
down both channels in the pair.
All channels operate as a group. A fault shutdown in one channel shuts
down all four channels.
Depending on the configuration of the Chx_EN1 and
Chx_EN2 bits, when VINis above the V
UVLO
threshold
and the ON_ input reaches its internal threshold, the
MAX5961 turns on the external n-channel MOSFET for
the corresponding channel, allowing power to flow to
the load. The channel is enabled depending on the output of a majority function. Chx_EN1, Chx_EN2, and ON_
are the inputs to the majority function and the channel is
enabled when two or more of these inputs are 1.
Channel enabled = (Chx_EN1 x Chx_EN2) +
(Chx_EN1 x ON_) + (Chx_EN2 x ON_)
The inputs ON_ and Chx_EN2 can be set externally; the
initial state of the Chx_EN2 bits in register chxen is set
by the state of the HWEN input when IN rises above
V
UVLO
. The ON_ inputs connect to internal precision
analog comparators with a 0.6V threshold. Whenever
V
ON_
is above 0.6V, the corresponding ON_ bit in register status1[3:0] is set to 1. The inputs Chx_EN1 and
Chx_EN2 can be set using the I
2
C interface; the
Chx_EN1 bits have a default value of 0. This makes it
possible to enable or disable each of the MAX5961
channels independently with or without using the I
Figure 1 shows the detailed logic operation of the hotswap enable signals Chx_EN1, Chx_EN2, and ON_, as
well as the effect of various fault conditions.
An input undervoltage threshold control for enabling the
hot-swap channel can be implemented by placing a
resistive divider between the drain of the hot-swap FET
and ground, with the midpoint connected to ON_. The
turn-on threshold voltage for the channel is then:
VEN= 0.6V x (R1 + R2)/R2
The maximum rating for the ON_ pin is 6V; do not
exceed this value.
Table 4b. status1 Register Format
Figure 1. Channel On-Off Control Logic Functional Schematic
Description:
Register Title:status1
Register Address:0x60
RRRRRRRR
Channel grouping (three-state MODE input), fault-detection behavior (three-state PROT input), and
ON_ inputs status register
When all conditions for channel turn-on are met, the
external n-channel MOSFET switch is fully enhanced
with a typical gate-to-source voltage of 5.5V to ensure a
low drain-to-source resistance. The charge pump at
each GATE_ driver sources 5µA to control the outputvoltage turn-on slew rate. An external capacitor can be
added from GATE_ to GND_ to further reduce the voltage slew rate. Placing a 1kΩ resistor in series with this
capacitance will prevent the added capacitance from
increasing the gate turn-off time; see the
Typical
Application Circuit
. Total inrush current is the load current summed with the product of the gate voltage slew
rate dv/dt and the load capacitance.
To determine the output dv/dt during startup, divide the
GATE_ pullup current I
G(UP)
by the gate-to-ground
capacitance. The voltage at the source of the external FET
follows the gate voltage, so the load dv/dt is the same as
the gate dv/dt. Inrush current is the product of the dv/dt
and the load capacitance. The time to start up tSUis the
hot-swap voltage VS_ divided by the output dv/dt.
Be sure to choose an external MOSFET that can handle
the power dissipated during startup. The inrush current
is roughly constant during startup, and the voltage drop
across the FET (drain to source) decreases linearly as
the load capacitance charges. The resulting power dissi-
pation is therefore roughly equivalent to a single pulse of
magnitude (VS_ x I_
INRUSH
)/2 and duration tSU. Refer to
the thermal resistance charts in the MOSFET data sheet
to determine the junction temperature rise during startup,
and ensure that this does not exceed the maximum junction temperature for worst-case ambient conditions.
Circuit-Breaker Protection
As the channel is turned on and during normal operation, two analog comparators are used to detect an
overcurrent condition by sensing the voltage across an
external resistor connected between SENSE_ and
MON_. If the voltage across the sense resistor is less
than the slow-trip and fast-trip circuit-breaker thresholds, the GATE_ output remains high. If either of the
thresholds are exceeded due to an overcurrent condition, the gate of the MOSFET is pulled down to MON_
by an internal 500mA current source.
The higher of the two comparator thresholds, the fasttrip, is set by an internal 8-bit DAC (see Table 8), within
one of three configurable full-scale current-sense
ranges: 25mV, 50mV, or 100mV (see Tables 7a and
7b). The 8-bit fast-trip threshold DAC can be programmed from 40% to 100% of the selected full-scale
current-sense range. The slow-trip threshold follows the
fast-trip threshold as one of four programmable ratios,
set by the ifast2slow register (see Tables 5a and 5b).
Table 5a. ifast2slow Register Format
Table 5b. Setting Fast-Trip to Slow-Trip Threshold Ratio
Description:Fast-trip to slow-trip threshold ratio setting bits
The fast-trip threshold is always higher than the slow-trip
threshold, and the fast-trip comparator responds very
quickly to protect the system against sudden, severe
overcurrent events. The slower response of the slow-trip
comparator varies depending upon the amount of overdrive beyond the slow-trip threshold. If the overdrive is
small and short-lived, the comparator will not shut down
the affected channel. As the overcurrent event increases in magnitude, the response time of the slow-trip comparator decreases. This scheme provides good
rejection of noise and spurious overcurrent transients
near the slow-trip threshold while aggressively protecting the system against larger overcurrent events that
occur as a result of a load fault (see Figure 2).
Setting Circuit-Breaker Thresholds
To select and set the MAX5961 slow-trip and fast-trip
comparator thresholds, use the following procedure.
1) Select one of four ratios between the fast-trip threshold and the slow-trip threshold: 200%, 175%, 150%,
or 125%. A system that experiences brief but large
transient load currents should use a higher ratio,
whereas a system that operates continuously at
higher average load currents might benefit from a
smaller ratio to ensure adequate protection. The
ratio is set by writing to the ifast2slow register. (The
default setting on power-up is 200%.)
2) Determine the slow-trip threshold V
TH,ST
based on
the anticipated maximum continuous load current
during normal operation, and the value of the current-sense resistor. The slow-trip threshold should
include some margin (possibly 20%) above the maximum load current to prevent spurious circuit-breaker shutdown and to accommodate passive
component tolerances:
V
TH,ST
= R
SENSE_
x I
LOAD,MAX
x 120%
3) Calculate the necessary fast-trip threshold V
TH,FT
based on the ratio set in step 1:
V
TH,FT
= V
TH,ST
x (ifast2slow ratio)
4) Select one of the three maximum current-sense
ranges: 25mV, 50mV, or 100mV. The current-sense
range is initially set upon power-up by the state of
the associated ILIM_ input, but can be altered at any
time by writing to the status2 register. For maximum
accuracy and best measurement resolution, select
the lowest current-sense range that is larger than the
V
TH,FT
value calculated in step 3.
5) Program the fast-trip and slow-trip thresholds by
writing an 8-bit value to the
dac_chx
register. This 8-
bit value is determined from the desired V
TH,ST
value that was calculated in step 2, the threshold
ratio from step 1, and the current-sense range from
step 4:
DAC = V
TH,ST
x 255 x (ifast2slow ratio)/(ILIM_ current
sense range)
The MAX5961 provides a great deal of system flexibility
because the current-sense range, DAC setting, and
threshold ratio can be changed “on the fly” for systems
that must protect a wide range of interchangeable load
devices, or for systems that control the allocation of
power to smart loads. Table 6 shows the specified
ranges for the fast-trip and slow-trip thresholds for all
combinations of current-sense range and threshold
ratio. The fast-trip DAC can be programmed to values
below 0x66 (40% of the current-sense range), but
accuracy is not specified for operation below 40%.
MAX5961 fig02
[(V
SENSE_
- V
MON_
) - V
TH,ST
] (V)
TURN-OFF TIME (ms)
986723 451
0.2
0.4
0.6
0.8
1.0
1.2
1.4
1.6
1.8
2.0
0
0
25mV SENSE RANGE;
DAC = 191, V
TH,ST
= 9.36mV
Figure 2. Slow-Comparator Turn-Off Time vs. Overdrive
The four current-sense signals are sampled by the
internal 10-bit ADC, and the most recent results are
stored in registers for retrieval through the I
2
C interface.
The current conversion values are 10 bits wide, with the
8 high-order bits written to one 8-bit register and the 2
low-order bits written to the next higher 8-bit register
address (Tables 9 and 10). This allows use of just the
high-order byte in applications where 10-bit precision is
not required. This split 8-bit/2-bit storage scheme is
used throughout the MAX5961 for all 10-bit ADC conversion results and 10-bit digital comparator thresholds.
Once the PG_ output is asserted (see the
Digital Voltage
Monitoring and Power-Good Outputs
section), the most
recent current samples are continuously compared to
the programmable overcurrent warning register values.
If the measured current value exceeds the warning level,
the ALERT output is asserted. The MAX5961 response
to the overcurrent digital comparator is not altered by
the setting of the PROT input (Tables 11 and 12).
Table 8. dac_chx Register Format
Table 9. ADC Current Conversion Results Register Format (High-Order Bits)
Table 10. ADC Current Conversion Results Register Format (Low-Order Bits)
Description:Fast-comparator threshold DAC setting
Register Titles:dac_ch1dac_ch2dac_ch3dac_ch4
Register Addresses:0x5A0x5B0x5C0x5D
R/WR/WR/WR/WR/WR/WR/WR/W
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
Description:Most recent current conversion result, high-order bits [9:2]
All current measurement values from the ADC are continuously compared with the contents of minimum- and
maximum-value registers, and if the most recent measurement exceeds the stored maximum or is less than
the stored minimum, the corresponding register is
updated with the new value. These “peak detection”
registers are read/write accessible through the I
2
C
interface (Tables 13–16). The minimum-value registers
are reset to 0x3FF, and the maximum-value registers
are reset to 0x000. These reset values are loaded upon
startup of a channel or at any time as commanded by
register peak_log_rst (Table 36).
Table 11. Overcurrent Warning Threshold Register Format (High-Order Bits)
Table 12. Overcurrent Warning Threshold Register Format (Low-Order Bits)
Table 13. ADC Minimum Current Conversion Register Format (High-Order Bits)
The voltage at the load (MON_ inputs) is sampled by
the internal ADC. The MON_ full-scale voltage for each
channel can be set to 16V, 8V, 4V, or 2V by writing to
register mon_range. The default range is 16V (Tables
17 and 18).
The most recent voltage conversion results can be read
from the adc_chx_mon_h and adc_chx_mon_l registers
(see Tables 19 and 20).
Table 17. ADC Voltage Monitor Settings Register Format
Table 19. ADC Voltage Conversion Result Register Format (High-Order Bits)
Table 20. ADC Voltage Conversion Result Register Format (Low-Order Bits)
Table 18. ADC Full-Scale Voltage Setting
Description:ADC voltage monitor full-scale range settings (for MON_ inputs)
If PG_ is asserted and the voltage is outside the warning limits, the ALERT output is asserted low. Depending
on the status of the prot[] bits in register status1[7:6],
the MAX5961 can also deassert the PG_ output or turn
off the external MOSFET when the voltage is outside the
critical limits (see Figure 4). Table 29 shows the behavior for the three possible states of the PROT input. Note
that the PROT input does not affect the MAX5961
response to the UV or OV warning digital comparators;
it only determines the system response to the critical
digital comparators (see Tables 4a, 4b, and 29).
In a typical application, the UV1 and OV1 thresholds
would be set closer to the nominal output voltage, and
the UV2 and OV2 thresholds would be set further from
nominal (see Figure 4). This provides a “progressive”
response to a voltage excursion. However, the thresholds can be configured in any arrangement or combination as desired to suit a given application.
Table 29. PROT Input and prot[] Bits
Figure 4. Graphical Representation of Typical UV and OV Thresholds Configuration
PROT INPUT
STATE
Unconnected00Assert ALERTAssert ALERT
High01Assert ALERTAssert ALERT, clear PG_
Low10Assert ALERTAssert ALERT, clear PG_, and shutdown channel(s)
prot[1]prot[0]
UV/OV WARNING
ACTION
UV/OV CRITICAL ACTION
OV2 "CRITICAL" THRESHOLD
OV1 "WARNING" THRESHOLD
UV1 "WARNING" THRESHOLD
UV2 "CRITICAL" THRESHOLD
MAX5961
0 to 16V, Quad, Hot-Swap Controller
with 10-Bit Current and Voltage Monitor
The PG_ output for a given channel is asserted when
the voltage at MON_ is between the undervoltage and
overvoltage critical limits. The status of the power-good
signals is maintained in register status3[3:0]. A value of
1 in any of the pg[] bits indicates a power-good condition, regardless of the POL setting, which only affects
the PG_ output polarity. The open-drain PG_ output can
be configured for active-high or active-low status indication by the state of the POL input (see Table 30).
The POL input sets the value of bit 5 of the status3 register, which is a read-only bit; the state of the POL input
can be changed at any time during operation and the
polarity of the PG_ outputs will change accordingly.
The assertion of the PG_ output is delayed by a userselectable time delay of 50ms, 100ms, 200ms, or
400ms (see Tables 31a and 31b).
Table 30. status3 Register Format
Table 31a. Power-Good Assertion Delay-Time Register Format
Table 31b. Power-Good Assertion Delay
Description:Power-good status register; RETRY, POL, and alert bits
All voltage measurement values are compared with the
contents of minimum- and maximum-value registers,
and if the most recent measurement exceeds the
stored maximum or is less than the stored minimum, the
corresponding register is updated with the new value.
These peak detection registers are read/write accessible through the I
2
C interface (see Tables 32–35). The
minimum-value registers are reset to 0x3FF, and the
maximum-value registers are reset to 0x000. These
reset values are loaded upon startup of a channel or at
any time as commanded by register peak_log_rst (see
Table 36).
Table 32. ADC Minimum Voltage Conversion Register Format (High-Order Bits)
Table 33. ADC Minimum Voltage Conversion Register Format (Low-Order Bits)
Table 34. ADC Maximum Voltage Conversion Register Format (High-Order Bits)
Description:Minimum voltage conversion result, high-order bits [9:2]
The voltage and current minimum- and maximum-value
records in register locations 0x10 through 0x2F can be
reset by writing a 1 to the appropriate location in register peak_log_rst (see Table 36). The minimum-value
registers are reset to 0x3FF, and the maximum-value
registers are reset to 0x000.
As long as a bit in register peak_log_rst is 1, the corresponding peak-detection registers are disabled and
are “cleared” to their power-up reset values. The voltage and current minimum- and maximum-detection
register contents for each signal can be “held” by setting bits in register peak_log_hold (see Table 37).
Writing a 1 to a location in register peak_log_hold locks
the register contents for the corresponding signal and
stops the min/max detection and logging; writing a 0
enables the detection and logging. Note that the peakdetection registers cannot be cleared while they are
held by register peak_log_hold.
The combination of these two control registers allows
the user to monitor voltage and current peak-to-peak
values during a particular time period.
Table 35. ADC Maximum Voltage Conversion Register Format (Low-Order Bits)
Table 36. Peak-Detection Reset-Control Register Format
Table 37. Peak-Detection Hold-Control Register Format
Description:Maximum voltage conversion result, low-order bits [1:0]
The five digital comparators per hot-swap channel
(undervoltage/overvoltage warning and critical, overcurrent warning) all have a user-selectable deglitching
feature that requires two consecutive positive compares before the MAX5961 takes action as determined
by the particular compare and the setting of the PROT
input.
The deglitching function is enabled or disabled per
comparator by registers dgl_i, dgl_uv, and dgl_ov
(Tables 38, 39, and 40). Writing a 1 to the appropriate
bit location in these registers enables the deglitch function for the corresponding digital comparator.
Table 38. OC Warning Comparators Deglitch Enable Register Format
Table 39. UV Warning and Critical Comparators Deglitch Enable Register Format
Table 40. OV Warning and Critical Comparators Deglitch Enable Register Format
Description:Deglitch enable register for overcurrent warning digital comparators
Register Title:dgl_i
Register Address:0x6A
R/WR/WR/WR/WR/WR/WR/WR/W
Ch4_dgl_iCh3_dgl_iCh2_dgl_iCh1_dgl_i0x00
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
Description:Deglitch enable register for undervoltage warning and critical digital comparators
The MAX5961 features eight 10-bit circular buffers (in
volatile memory) that contain a history of the 50 mostrecent voltage and current digital conversion results for
each hot-swap channel. These circular buffers can be
read back through the I
2
C interface. The recording of
new data to the buffer for a given signal is stopped
under any of the following conditions:
• The corresponding channel is shut down because of
a fault condition
• A read of the circular buffer base address is per-
formed through the I2C interface
• The corresponding channel is turned off by a combination of the Chx_EN1, Chx_EN2, or ON_ signals
The buffers allow the user to recall the voltage and current waveforms for analysis and troubleshooting. The
buffer contents are accessed through the I
2
C interface
at eight fixed addresses in the MAX5961 register
address space (see Table 41).
Each of the eight buffers can also be stopped under
user control by register cbuf_chx_store (see Table 42).
The contents of a buffer can be retrieved as a block
read of either 50 10-bit values (spanning 2 bytes each)
or of 50 high-order bytes, depending on the per-signal
bit settings of register cbufrd_hibyonly (see Table 43).
Table 41. Circular Buffer Read Addresses
Table 42. Circular Buffer Control Register Format
Table 43. Circular Buffer Resolution Register Format
ADDRESSNAMEDESCRIPTION
0x80cbuf_ba_ch1_vBase address for channel 1 voltage buffer block read
0x81cbuf_ba_ch1_iBase address for channel 1 current buffer block read
0x82cbuf_ba_ch2_vBase address for channel 2 voltage buffer block read
0x83cbuf_ba_ch2_iBase address for channel 2 current buffer block read
0x84cbuf_ba_ch3_vBase address for channel 3 voltage buffer block read
0x85cbuf_ba_ch3_iBase address for channel 3 current buffer block read
0x86cbuf_ba_ch4_vBase address for channel 4 voltage buffer block read
0x87cbuf_ba_ch4_iBase address for channel 4 current buffer block read
If the circular buffer contents are retrieved as 10-bit
data, the first byte read-out is the high-order 8 bits of
the 10-bit sample, and the second byte read-out contains the two least-significant bits (LSBs) of the sample.
This is repeated for each of the 50 samples in the
buffer. Thus, 2 bytes must be read for each 10-bit sample retrieved. Conversely, if the buffer contents are
retrieved as 8-bit data, then each byte read-out contains the 8 MSB of each successive sample. It is important to remember that in 10-bit mode, 100 bytes must
be read to extract the entire buffer contents, but in 8-bit
mode, only 50 bytes must be read.
The circular buffer system has a user-programmable
“stop delay” that specifies a certain number of sample
cycles to continue recording to the buffer after a shutdown occurs. This delay value is stored in register
cbuf_dly_stop[5:0] (see Table 44).
The default (reset) value of the buffer stop-delay is 25
samples, which means that an equal number of samples are stored in the buffer preceding and following
the moment of the shutdown event. The buffer stop
delay is analogous to an oscilloscope trigger delay,
because it allows the MAX5961 to record what happened both immediately before and after a shutdown.
In other words, when the contents of a circular buffer
are read-out of the MAX5961, the shutdown event will
by default be located in the middle of the recorded
data. The balance of data before and after an event
can be altered by writing a different value (between 0
and 50) to the buffer stop-delay register.
Autoretry or Latched-Off
Fault Management
In the event of an overcurrent, undervoltage, or overvoltage condition that results in the shutdown of one or more
channels, the MAX5961 device can be configured to
either latch off or automatically restart the affected channel. The MAX5961 stays off if the RETRY input is set low
(latched-off), and will autoretry if the RETRY input is high.
The RETRY input is read once during initialization and sets
the value of bit 6 of the status3 register (see Table 30).
The autoretry feature has a fixed 200ms timeout delay
between fault shutdown and the autorestart attempt. Be
aware that if the MAX5961 is configured for autoretry
operation, the startup event will occur every 200ms if a
short circuit occurs. A short circuit during startup causes the output current to increase rapidly as the MOSFET is enhanced, until the slow-trip threshold is
reached and the gate is pulled low again. Be sure to
evaluate the MOSFET junction temperature rise for this
repeated-stress condition if autoretry is used.
To restart a channel that has been shut down in latchedoff operation (RETRY low), the user must either cycle
power to the IN pin, or toggle one or more of the ON_
input, Chx_EN1 bit, or the Chx_EN2 bit for the affected
channel.
Force-On Function
When the force-on bit for a channel is set to 1 in register foset[3:0] (see Table 45), the channel is enabled
regardless of the ON_ pin voltage or the Chx_EN1 and
Chx_EN2 bits in register chxen. In forced-on operation,
all functions operate normally with the notable exception that the channel will not shut down due to any fault
conditions that may arise.
There is a force-on key register, fokey, that must be set
to 0xA5 for the force-on function to become active (see
Table 46). If this register contains any value other than
0xA5, writing 1 to the force-on bits in register
foset
will
have no effect. This provides protection against accidental force-on operation that might otherwise be
caused by an erroneous I2C write.
Table 44. Circular Buffer Stop-Delay Register Format
Description:
Register Title:cbuf_dly_stop
Register Address:0x72
RRR/WR/WR/WR/WR/WR/W
000x19
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
Circular buffer stop-delay: any integer number between 0 and 50 samples that are to be recorded to
a buffer after a shutdown event, before the buffer stops storing new data.
RESET
VALUE
MAX5961
0 to 16V, Quad, Hot-Swap Controller
with 10-Bit Current and Voltage Monitor
The MAX5961 provides detailed information about any
fault conditions that have occurred. Independent
FAULT_ outputs specifically indicate circuit-breaker
shutdown events, while an ALERT output is asserted
whenever a problem has occurred that requires attention or interaction.
Fault Dependency
If a fault event occurs (digital UV warning/critical, digital
OV warning/critical, or digital overcurrent warning) the
fault is logged by setting a corresponding bit in registers fault0, fault1, or fault2 (see Tables 47, 48, and 49).
Likewise, circuit-breaker shutdown events are logged in
register status0[7:0] (see Table 50).
Table 45. Force-On Control Register Format
Table 46. Force-On Key Register Format
Table 47. Undervoltage Status Register Format
Description:Force-on control register
Register Title:foset
Register Address:0x68
RRRRR/WR/WR/WR/W
0000ch4_foch3_foch2_foch1_fo0x00
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
Description:Force-on key register (must contain 0xA5 to unlock force-on feature)
These fault register bits latch upon a fault condition, and
must be reset manually by writing a zero to the register,
or by restarting the affected channel as described in the
Autoretry or Latched-Off Fault Management
section.
FAULT_ Outputs
When an overcurrent event (fast-trip or slow-trip) causes
the MAX5961 to shut down the affected channel(s), a corresponding open-drain FAULT_ output is asserted low.
Note that the FAULT_ outputs are not asserted for shutdowns caused by critical undervoltage or overvoltage.
The FAULT_ output is cleared when the channel is dis-
abled by pulling ON_ low or by clearing the Chx_EN1
or Chx_EN2 bits in register chxen.
ALERT
Output
The ALERT output is an open-drain output that is asserted low any time that a fault or other condition requiring
attention has occurred. The state of the ALERT output is
also indicated by bit 4 of the status3 register.
ALERT is the NOR of registers 0x5F, 0x63, 0x64, and 0x65,
so when the ALERT output goes low, the system microcontroller (µC) should query these registers through the I2C
interface to determine the cause of the ALERT assertion.
Table 48. Overvoltage Status Register Format
Table 49. Overcurrent Warning Status Register Format
Table 50. Circuit-Breaker Event Logging Register Format
The MAX5961 features an I2C-compatible serial interface
consisting of a serial-data line (SDA) and a serial-clock
line (SCL). SDA and SCL allow bidirectional communication between the MAX5961 and the master device at
clock rates from 100kHz to 400kHz. The I2C bus can
have several devices (e.g., more than one MAX5961, or
other I
2
C devices in addition to the MAX5961) attached
simultaneously. The A0 and A1 inputs set one of nine
possible I
2
C addresses (see Table 51).
The 2-wire communication is fully compatible with existing 2-wire serial-interface systems; Figure 5 shows the
interface timing diagram. The MAX5961 is a
transmit/receive slave-only device, relying upon a mas-
ter device to generate a clock signal. The master
device (typically a µC) initiates data transfer on the bus
and generates SCL to permit that transfer.
A master device communicates to the MAX5961 by
transmitting the proper address followed by command
and/or data words. Each transmit sequence is framed
by a START (S) or REPEATED START (SR) condition
and a STOP (P) condition. Each word transmitted over
the bus is 8 bits long and is always followed by an
acknowledge pulse.
SCL is a logic input, while SDA is a logic-input/opendrain output. SCL and SDA both require external pullup
resistors to generate the logic-high voltage. Use 4.7kΩ
for most applications.
Each clock pulse transfers one data bit. The data on
SDA must remain stable while SCL is high (see Figure
6), otherwise the MAX5961 registers a START or STOP
condition (see Figure 7) 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 (see Figure 7) by transitioning SDA from high to low while SCL is high. The
master device issues a STOP condition (see Figure 7)
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 8).
Early STOP Conditions
The MAX5961 recognizes a STOP condition at any point
during transmission except if a STOP condition occurs
in the same high pulse as a START condition. This condition is not a legal I
2
C format. At least one clock pulse
must separate any START and STOP condition.
REPEATED START Conditions
A REPEATED START condition may indicate a change
of data direction on the bus. Such a change occurs
when a command word is required to initiate a read
operation (see Figure 8). SR may also be used when
the bus master is writing to several I2C devices and
does not want to relinquish control of the bus. The
MAX5961 serial interface supports continuous write
operations with or without an SR condition separating
them. Continuous read operations require SR conditions because of the change in direction of data flow.
Figure 6. Bit Transfer
Figure 7. START and STOP Conditions
SDA
SDA
SCL
DATA LINE STABLE,
DATA VALID
SCL
CHANGE OF
DATA ALLOWED
START
CONDITION
PS
STOP
CONDITION
MAX5961
0 to 16V, Quad, Hot-Swap Controller
with 10-Bit Current and Voltage Monitor
SLAVE ADDRESS–
EQUIVALENT TO CHIPSELECT LINE OF A 3WIRE INTERFACE.
RECEIVE BYTE FORMAT
ADDRESS
7 BITS
SLAVE ADDRESS–
EQUIVALENT TO CHIPSELECT LINE OF A 3WIRE INTERFACE.
BLOCK WRITE FORMAT
SADDRESSWR
SLAVE ADDRESS–
EQUIVALENT TO CHIPSELECT LINE OF A 3WIRE INTERFACE.
WR
00
WR
10
7 BITS8 BITS8 BITS8 BITS8 BITS
ACK
DATA
ACKP
8 BITS
DATA BYTE–PRESETS THE
INTERNAL ADDRESS POINTER.
ACK
DATA
ACKP
8 BITS
DATA BYTE–READS DATA FROM
THE REGISTER COMMANDED BY
THE LAST READ BYTE OR WRITE
BYTE TRANSMISSION. ALSO
DEPENDENT ON A SEND BYTE.
ACK COMMAND ACK
0
COMMAND BYTE–
PREPARES DEVICE
FOR BLOCK
OPERATION.
BYTE
COUNT= N
8 BITS
WRITE WORD FORMAT
SADDRESS WR
7 BITS8 BITS8 BITS8 BITS
SLAVE ADDRESS–
EQUIVALENT TO CHIPSELECT LINE OF A 3WIRE INTERFACE.
WRITE BYTE FORMAT
SADDRESSWRACKCOMMANDACKD ATAACKP
7 BITS8 BITS8 BITS
SLAVE ADDRESS–
EQUIVALENT TO CHIPSELECT LINE OF A 3WIRE INTERFACE.
DATA BYTE
ACK
1
DATA BYTE–DATA GOES INTO THE REGISTER SET BY THE
COMMAND BYTE.
ACKACKACKACKCOMMANDDATADATAP
COMMAND BYTE–
MSB OF THE
EEPROM
REGISTER BEING
WRITTEN.
ACK
COMMAND BYTE–
SELECTS REGISTER
BEING WRITTEN.
DATA BYTE
...
DATA BYTE–FIRST BYTE IS THE LSB OF
THE EEPROM ADDRESS. SECOND
BYTE IS THE ACTUAL DATA.
DATA BYTE–DATA GOES INTO THE
REGISTER SET BY THE COMMAND
BYTE IF THE COMMAND IS BELOW
50h. IF THE COMMAND IS 80h,
81h, or 82h, THE DATA BYTE
PRESETS THE LSB OF AN EEPROM
ADDRESS.
DATA BYTE
ACK
ACKP
N
BLOCK READ FORMAT
SADDRESS WR
7 BITS8 BITS7 BITS10h8 BITS8 BITS8 BITS
SLAVE ADDRESS–
EQUIVALENT TO CHIPSELECT LINE OF A 3WIRE INTERFACE.
S = START CONDITION.
P = STOP CONDITION.
ACK COMMAND ACKSRADDRESS WRACK
10
COMMAND BYTE–
PREPARES DEVICE
FOR BLOCK
OPERATION.
SHADED = SLAVE TRANSMISSION.
SR = REPEATED START CONDITION.
SLAVE ADDRESS–
EQUIVALENT TO CHIPSELECT LINE OF A 3WIRE INTERFACE.
BYTE
COUNT= 16
DATA BYTE–DATA GOES INTO THE REGISTER SET BY THE
COMMAND BYTE.
The acknowledge bit (ACK) is the 9th bit attached to
any 8-bit data word. The receiving device always generates an ACK. The MAX5961 generates an ACK when
receiving an address or data by pulling SDA low during
the 9th clock period (see Figure 9). When transmitting
data, such as when the master device reads data back
from the MAX5961, the MAX5961 waits for the master
device to generate an ACK. Monitoring ACK allows for
the 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 should reattempt communication at a later time. The MAX5961 generates a not acknowledge (NACK) after the slave
address during a software reboot or when receiving an
illegal memory address.
Send Byte
The send byte protocol allows the master device to
send one byte of data to the slave device (see Figure
8). 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 an
address that is not allowed. If the master sends a STOP
condition, the internal address pointer does not
change. The send byte procedure follows:
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 data byte.
5) The addressed slave asserts an ACK on SDA.
6) The master sends a STOP condition.
Write Byte
The write byte/word protocol allows the master device
to write a single byte in the register bank or to write to a
series of sequential register addresses. The write byte
procedure follows:
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 command code.
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 addressed slave increments its internal
address pointer.
9) The master sends a STOP condition or repeats
steps 6, 7, and 8.
To write a single byte to the register bank, only the 8-bit
command code and a single 8-bit data byte are sent.
The data byte is written to the register bank if the command code is valid.
The slave generates a NACK at step 5 if the command
code is invalid. The command code must be in the
range of 0x00 to 0x74. The internal address pointer
returns to 0x00 after incrementing from the highest register address.
Figure 9. Acknowledge
START
CONDITION
CLOCK PULSE FOR ACKNOWLEDGE
SCL
SDA BY
TRANSMITTER
S
SDA BY
RECEIVER
1
2
89
MAX5961
0 to 16V, Quad, Hot-Swap Controller
with 10-Bit Current and Voltage Monitor
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.
42
____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600
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.
42
____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600
The receive byte protocol allows the master device to
read the register content of the MAX5961 (see Figure
8). The EEPROM or register address must be preset
with a send byte protocol first. Once the read is complete, the internal pointer increases by one. Repeating
the receive byte protocol reads the contents 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 slave increments its internal address pointer.
6) The master asserts an ACK on SDA and repeats
steps 4 and 5 or asserts a NACK and generates a
STOP condition.
The internal address pointer returns to 0x00 after incrementing from the highest register address.
Address Pointers
Use the send byte protocol to set the register address
pointers before read and write operations. For the configuration registers, valid address pointers range from
0x00 to 0x74, and the circular buffer addresses are
0x80 to 0x87. Register addresses outside this range
result in a NACK being issued from the MAX5961.
Circular Buffer Read
The circular buffer read operation is similar to the
receive byte operation. The read operation is triggered
after any one of the circular buffer base addresses is
loaded. During a circular buffer read, although all is
transparent from the external world, internally the
autoincrement function in the I2C controller is disabled.
Thus, it is possible to read one of the circular buffer
blocks with a burst read without changing the virtual
internal address corresponding to the base address.
Once the master issues a NACK, the circular reading
stops, and the default functions of the I2C slave bus
controller are restored.
In 8-bit read mode, every I
2
C read operation shifts out
a single sample from the circular buffer. In 10-bit mode,
two subsequent I2C read operations shift out a single
10-bit sample from the circular buffer, with the highorder byte read first, followed by a byte containing the
right-shifted 2 LSBs. Once the master issues a NACK,
the read circular buffer operation terminates and normal I2C operation returns.
The data in the circular buffers is read back with the
next-to-oldest sample first, followed by progressively
more recent samples until the most recent sample is
retrieved, followed finally by the oldest sample (see
Table 52).
Chip Information
PROCESS: BiCMOS
Table 52. Circular Buffer Readout Sequence
Package Information
For the latest package outline information, go to
www.maxim-ic.com/packages
.
PACKAGE TYPEPACKAGE CODEDOCUMENT NO.
48 TQFNT4877-6
21-0144
READ-OUT ORDER1st OUT2nd OUT…48th OUT49th OUT50th OUT
Chronological Number12…48490
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.