Max807lcpe Maxim
Max807lcpe Maxim
Max807lcpe Maxim
MAX807L/M/N
The MAX807 microprocessor (µP) supervisory circuit ♦ Precision 4.675V (MAX807L) or 4.425V
reduces the complexity and number of components (MAX807M), or 4.575V (MAX807N) Voltage
needed to monitor power-supply and battery-control func-
Monitoring
tions in µP systems. A 70µA supply current makes the
MAX807 ideal for use in portable equipment, while a 2ns ♦ 200ms Power OK / Reset Time Delay
chip-enable propagation delay and 250mA output current ♦ RESET and RESET Outputs
capability (20mA in battery-backup mode) make it suit-
able for larger, higher-performance equipment. ♦ Independent Watchdog Timer
The MAX807 comes in 16-pin DIP and SO packages, and ♦ 1µA Standby Current
provides the following functions:
♦ Power Switching:
1) µP reset. The active-low RESET output is asserted dur-
250mA in VCC Mode
ing power-up, power-down, and brownout conditions,
20mA in Battery-Backup Mode
and is guaranteed to be in the correct state for VCC
down to 1V. ♦ On-Board Gating of Chip-Enable Signals:
2) Active-high RESET output. 2ns CE Gate Propagation Delay
3) Manual-reset input. ♦ MaxCap™ and SuperCap™ Compatible
4) Two-stage power-fail warning. A separate low-line ♦ Voltage Monitor for Power-Fail
comparator compares VCC to a threshold 52mV above
the reset threshold. This low-line comparator is more ♦ Backup-Battery Monitor
accurate than those in previous µP supervisors. ♦ Guaranteed RESET Valid to VCC = 1V
5) Backup-battery switchover for CMOS RAM, real-time ♦ ±1.5% Low-line Threshold Accuracy 52mV above
clocks, µPs, or other low-power logic.
Reset Threshold
6) Write protection of CMOS RAM or EEPROM.
7) 2.275V threshold detector—provides for power-fail
warning and low-battery detection, or monitors a
power supply other than +5V.
8) BATT OK status flag indicates that the backup-battery __________________Pin Configuration
voltage is above 2.275V.
9) Watchdog-fault output—asserted if the watchdog input
has not been toggled within a preset timeout period.
TOP VIEW
________________________Applications PFI 1 16 OUT
Computers PFO 2 15 BATT OK
Controllers VCC 3 14 BATT
Intelligent Instruments WDI 4 MAX807 13 BATT ON
Critical µP Power Monitoring GND 5 12 CE IN
DIP/SO
Ordering Information and Typical Operating Circuit appear at end of data sheet.
SuperCap is a trademark of Baknor Industries. MaxCap is a trademark of The Carborundum Corp.
Input Voltages (with respect to GND) Continuous Power Dissipation (TA = +70°C)
VCC ..........................................................................-0.3V to 6V Plastic DIP (derate 10.53mW/°C above +70°C) ...........842mW
VBATT .......................................................................-0.3V to 6V Wide SO (derate 9.52mW/°C above +70°C).................762mW
All Other Inputs......................................-0.3V to (VOUT + 0.3V) CERDIP (derate 10.00mW/°C above +70°C) ................800mW
Input Current Operating Temperature Ranges
VCC Peak ...........................................................................1.0A MAX807_C_E .......................................................0°C to +70°C
VCC Continuous .............................................................500mA MAX807_E_E ....................................................-40°C to +85°C
IBATT Peak......................................................................250mA MAX807_MJE .................................................-55°C to +125°C
IBATT Continuous .............................................................50mA Storage Temperature Range .............................-65°C to +160°C
GND .................................................................................50mA Lead Temperature (soldering, 10sec) .............................+300°C
All Other Inputs ................................................................50mA
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.
ELECTRICAL CHARACTERISTICS
(V CC = 4.60V to 5.5V for the MAX807L, VCC = 4.50V to 5.5V for the MAX807N, VCC = 4.35V to 5.5V for the MAX807M,
VBATT = 2.8V, VPFI = 0V, TA = TMIN to TMAX. Typical values are tested with VCC = 5V and TA = +25°C, unless otherwise noted.)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Operating Voltage Range
0 5.5 V
VBATT, VCC (Note 1)
IOUT = 25mA VCC - 0.02
IOUT = 250mA,
VCC - 0.35 VCC - 0.22
VOUT in Normal Operating VCC = 4.5V MAX807C/E
V
Mode IOUT = 250mA,
VCC - 0.45
MAX807M
VCC = 3V, VBATT = 2.8V, IOUT = 100mA VCC - 0.25 VCC - 0.12
VCC = 4.5V, MAX807C/E 1.0 1.4
VCC to OUT On-Resistance IOUT = 250mA MAX807M 1.8 Ω
VCC = 3V, IOUT = 100mA 1.2 2.5
VBATT = 4.5V, IOUT = 20mA, VCC = 0V VBATT - 0.17
VOUT in Battery-Backup Mode VBATT = 2.8V, IOUT = 10mA, VCC = 0V VBATT - 0.25 VBATT - 0.12 V
VBATT = 2.0V, IOUT = 5mA, VCC = 0V VBATT - 0.20 VBATT - 0.08
VBATT = 4.5V, IOUT = 20mA 8.5
BATT to OUT On-Resistance VBATT = 2.8V, IOUT = 10mA 12 25 Ω
VBATT = 2.0V, IOUT = 5mA 16 40
Supply Current in Normal
70 110 µA
Operating Mode (excludes IOUT)
Supply Current in Battery- TA = +25°C 0.4 1
Backup Mode (excludes IOUT) VCC = 0V, VBATT = 2.8V MAX807C/E 5 µA
(Note 2) MAX807M 50
2 _______________________________________________________________________________________
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
ELECTRICAL CHARACTERISTICS (continued)
MAX807L/M/N
(V CC = 4.60V to 5.5V for the MAX807L, VCC = 4.50V to 5.5V for the MAX807N, VCC = 4.35V to 5.5V for the MAX807M,
VBATT = 2.8V, VPFI = 0V, TA = TMIN to TMAX. Typical values are tested with VCC = 5V and TA = +25°C, unless otherwise noted.)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
BATT ON Output Sink current 70
mA
Short-Circuit Current Source current, VCC = 0V, VBATT = 2.8V 5
RESET, LOW LINE, AND WATCHDOG TIMER
MAX807L 4.600 4.675 4.750
Reset Threshold VRST VCC rising and falling MAX807N 4.500 4.575 4.650 V
MAX807M 4.350 4.425 4.500
Reset Threshold Hysteresis 13 mV
LOW LINE to RESET
VLR VCC falling 30 52 70 mV
Threshold Voltage
MAX807L 4.73 4.81
LOW LINE Threshold,
VLL MAX807N 4.63 4.71 V
VCC Rising
MAX807M 4.48 4.56
VCC to RESET Delay VCC falling at 1mV/µs 26 µs
VCC to LOW LINE Delay VCC falling at 1mV/µs 24 µs
RESET Active Timeout Period tRP VCC rising 140 200 280 ms
Watchdog Timeout Period tWD 1.12 1.6 2.24 sec
Minimum Watchdog Input
VIL = 0.8V, VIH = 0.75 x VCC 100 ns
Pulse Width
VCC = 1V,
0.3
ISINK = 50µA, MAX807_C
VBATT = 0V, VCC falling VCC = 1.2V,
RESET Output Voltage 0.3 V
MAX807_E/M
ISINK = 3.2mA, VCC = 4.25V 0.1 0.4
ISOURCE = 0.1mA VCC - 1.5 VCC - 0.1
RESET Output Output sink current, VCC = 4.25V 60
ISC mA
Short-Circuit Current Output source current 1.6
ISINK = 3.2mA 0.4
RESET Output Voltage V
ISOURCE = 5mA VCC - 1.5
RESET Output Output sink current 60
ISC mA
Short-Circuit Current Output source current, VCC = 4.25V 15
ISINK = 3.2mA, VCC = 4.25V 0.4
LOW LINE Output Voltage V
ISOURCE = 5mA VCC - 1.5
LOW LINE Output Output sink current, VCC = 4.25V 28
ISC mA
Short-Circuit Current Output source current 20
ISINK = 3.2mA 0.4
WDO Output Voltage V
ISOURCE = 5mA VCC - 1.5
WDO Output Output sink current 35
ISC mA
Short-Circuit Current Output source current 20
WDI Threshold Voltage VIH 0.75 x VCC
V
(Note 4) VIL 0.8
VIH Reset deasserted, WDI = 0V -50 -10
WDI Input Current µA
Reset deasserted, WDI = VCC 16 50
_______________________________________________________________________________________ 3
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
ELECTRICAL CHARACTERISTICS (continued)
MAX807L/M/N
(V CC = 4.60V to 5.5V for the MAX807L, VCC = 4.50V to 5.5V for the MAX807N, VCC = 4.35V to 5.5V for the MAX807M,
VBATT = 2.8V, VPFI = 0V, TA = TMIN to TMAX. Typical values are tested with VCC = 5V and TA = +25°C, unless otherwise noted.)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
VPFI falling 2.20 2.265 2.33
PFI Input Threshold VPFT V
VPFI rising 2.22 2.285 2.35
PFI Hysteresis 20 mV
PFI Leakage Current ±0.005 ±40 nA
PFI to PFO Delay (Note 5) VOD = 30mV, VPFI falling 14 µs
CHIP-ENABLE GATING
CE IN Leakage Current Disabled mode, MR = 0V ±0.00002 ±1 µA
CE IN to CE OUT Resistance
Enabled mode, VCC = VRST (max) 75 150 Ω
(Note 6)
CE OUT Short-Circuit Current VCC = 5V, disabled mode,
17 mA
(RESET active) CE OUT = 0V, MR = 0V
CE IN to CE OUT VCC = 5V, CLOAD = 50pF,
2 8 ns
Propagation Delay (Note 7) 50Ω source impedance driver
VCC = 5V,
3.5
CE OUT Output Voltage High IOUT = 2mA
Disabled mode, MR = 0V V
(RESET active) VCC = 0V,
VBATT - 0.1 VBATT
IOUT = 10µA
RESET to CE OUT Delay VCC falling 28 µs
MANUAL RESET INPUT
MR Minimum Pulse Input 1 µs
MR-to-RESET Propagation
170 ns
Delay
VIH 2.4
MR Threshold V
VIL 0.8
MR Pull-Up Current MR = 0V 50 100 200 µA
BATT OK COMPARATOR
BATT OK Threshold VBOK 2.200 2.265 2.350 V
BATT OK Hysteresis 20 mV
LOGIC OUTPUTS
Output Voltage VOL ISINK = 3.2mA 0.4
V
(PFO, BATT OK) VOH ISOURCE = 5mA VCC - 1.5
Output sink current 35
Output Short-Circuit Current ISC mA
Output source current 20
Note 1: Either VCC or VBATT can go to 0V, if the other is greater than 2.0V.
Note 2: The supply current drawn by the MAX807 from the battery (excluding IOUT) typically goes to 15µA when (VBATT - 0.1V)
< VCC < VBATT. In most applications, this is a brief period as VCC falls through this region (see Typical Operating Characteristics).
Note 3: “+”= battery discharging current, “-”= battery charging current.
Note 4: WDI is internally connected to a voltage divider between VCC and GND. If unconnected, WDI is driven to 1.8V (typical),
disabling the watchdog function.
Note 5: Overdrive (VOD) is measured from center of hysteresis band.
Note 6: The chip-enable resistance is tested with V CE IN = VCC/2, and I CE IN = 1mA.
Note 7: The chip-enable propagation delay is measured from the 50% point at CE IN to the 50% point at CE OUT.
4 _______________________________________________________________________________________
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
__________________________________________Typical Operating Characteristics
MAX807L/M/N
(VCC = 5V, VBATT = 2.8V, PFI = 0V, no load, TA = +25°C, unless otherwise noted.)
VCC SUPPLY CURRENT vs. TEMPERATURE BATTERY SUPPLY CURRENT vs. CHIP-ENABLE PROPAGATION DELAY
(NORMAL OPERATING MODE) TEMPERATURE (BATTERY-BACKUP MODE) vs. TEMPERATURE
80 3.0 6
MAX807-02
MAX807-01
MAX807-03
78
BATTERY SUPPLY CURRENT (µA)
2.5 5
VCC SUPPLY CURRENT (µA)
MAX807-06
VCC = 0V IOUT = 250mA
1.5
BATT-to-OUT ON-RESISTANCE (Ω)
25 1.4
PFI THRESHOLD (V)
2.300
1.3
20 VBATT = 2.0V
1.2 2.280
1.1 2.260
15
VBATT = 2.8V 1.0
2.240
10 0.9
VBATT = 4.5V 2.220
0.8
5 0.7 2.200
-60 -40 -20 0 20 40 60 80 100 120 140 -60 -40 -20 0 20 40 60 80 100 120 140 -60 -40 -20 0 20 40 60 80 100 120 140
TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C)
260 70
RESET TIMEOUT PERIOD (ms)
4.65
MAX807L
60
RESET THRESHOLD (V)
240
4.60
50
220
4.55 MAX807N 40
200
30
4.50
180
20
4.45 160 10
MAX807M
4.40 140 0
-60 -40 -20 0 20 40 60 80 100 120 140 -60 -40 -20 0 20 40 60 80 100 120 140 -60 -40 -20 0 20 40 60 80 100 120 140
TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C)
_______________________________________________________________________________________ 5
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
____________________________Typical Operating Characteristics (continued)
MAX807L/M/N
(VCC = 5V, VBATT = 2.8V, PFI = 0V, no load, TA = +25°C, unless otherwise noted.)
LOW LINE THRESHOLD LOW LINE COMPARATOR PROPAGATION RESET COMPARATOR PROPAGATION
vs. TEMPERATURE (VCC RISING) DELAY vs. TEMPERATURE (VCC FALLING) DELAY vs. TEMPERATURE (VCC FALLING)
4.80 40 40
MAX807-10
MAX807-11
MAX807-12
LOW LINE COMPARATOR PROP. DELAY (µs)
4.70 30 30
4.60 20 20
4.55 15 15
4.45 5 5
4.40 0 0
-60 -40 -20 0 20 40 60 80 100 120 140 -60 -40 -20 0 20 40 60 80 100 120 140 -60 -40 -20 0 20 40 60 80 100 120 140
TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C)
MAX807-15
VCC = 0V
14
PROPAGATION DELAY (ns)
BATTERY CURRENT (µA)
12 6
BATT-to-OUT (mV)
10
8 4 100
4 2
2
50Ω DRIVER SLOPE = 12Ω
0 0 10
2.5 2.6 2.7 2.8 2.9 3.0 0 50 100 1 10 100
VCC (V) CLOAD (pF) IOUT (mA)
MAX807-17
MAXIMUM TRANSIENT DURATION (µs)
RESET OCCURS
VCC-VOUT (mV)
100 100
SLOPE = 1.0Ω
10 10
1 1
1 10 100 1000 1 10 100 1000
IOUT (mA) RESET COMPARATOR OVERDRIVE (mV)
6 _______________________________________________________________________________________
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
______________________________________________________________Pin Description
MAX807L/M/N
PIN NAME FUNCTION
1 PFI Power-Fail Input. When PFI is less than VPFT (2.265V), PFO goes low. Connect to ground when unused.
Power-Fail Output. This CMOS-logic output goes low when PFI is less than VPFT (2.265V). Valid for
2 PFO
VCC ≥ 4V. PFO swings between VCC and GND.
3 VCC Input Supply Voltage, nominally +5V. Bypass with a 0.1µF capacitor to GND.
Watchdog Input. If WDI remains high or low longer than the the watchdog timeout period (1.6sec
4 WDI
typical), WDO goes low. Leave unconnected to disable the watchdog function.
5 GND Ground
Manual-Reset Input. A logic low on MR asserts reset. Reset remains asserted as long as MR remains low
and for 200ms after MR returns high. MR is an active-low input with an internal pull-up to VCC. It can be
6 MR
driven using TTL or CMOS logic, or shorted to ground with a switch. Connect to VCC, or leave uncon-
nected if not used.
Low-Line Comparator Output. This CMOS-logic output goes low when VCC falls to 52mV above the reset
7 LOW LINE threshold. Use this output to generate an NMI to initiate an orderly shutdown routine when VCC is falling.
LOW LINE swings between VCC and GND.
Active-High Reset Output. RESET is the inverse of RESET. It is a CMOS output that sources and sinks
8 RESET
current. RESET swings between VCC and GND.
Active-Low Reset Output. RESET is triggered and stays low when VCC is below the reset threshold or
when MR is low. It remains low 200ms after VCC rises above the reset threshold or MR returns high.
9 RESET
RESET has a strong pull-down but a relatively weak pull-up, and can be wire-OR connected to logic
gates. Valid for VCC ≥ 1V. RESET swings between VCC and GND.
Watchdog Output. This CMOS-logic output goes low if WDI remains high or low longer than the watch-
dog timeout period (tWD), and remains low until the next transition of WDI. WDO remains high if WDI is
10 WDO
unconnected. WDO is high during reset. WDO swings between VCC and GND. Connect WDO to MR to
generate resets during watchdog faults.
Chip-Enable Output. Output to the chip-enable gating circuit. CE OUT is pulled up to the higher of VCC
11 CE OUT
or VBATT, when the chip-enable gate is disabled.
12 CE IN Chip-Enable Input
Battery On Output. CMOS-logic output/external bypass switch driver. High when OUT is connected to
BATT and low when OUT is connected to VCC. Connect the base of a PNP transistor or gate of a PMOS
13 BATT ON
transistor to BATT ON for IOUT requirements exceeding 250mA. BATT ON swings between the higher of
VCC and VBATT, and GND.
Backup-Battery Input. When VCC falls below the reset threshold and VBATT, OUT switches from VCC to
BATT. VBATT may exceed VCC. The battery can be removed while the MAX807 is powered-up, provided
14 BATT
BATT is bypassed with a 0.1µF capacitor to GND. If no battery is used, connect BATT to ground, and
connect VCC and OUT together.
Battery OK Signal Output. High in normal operating mode when VBATT exceeds VBOK (2.265V). Valid for
15 BATT OK
VCC ≥ 4V.
Output Supply Voltage to CMOS RAM. When VCC exceeds the reset threshold or VCC > VBATT, OUT is
16 OUT connected to VCC. When VCC falls below the reset threshold and VBATT, OUT connects to BATT. Bypass
OUT with a 0.1µF capacitor to GND.
_______________________________________________________________________________________ 7
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
_______________Detailed Description RESET and RESET Outputs
MAX807L/M/N
VCC
OUT
BATT
BATTERY-BACKUP
COMPARATOR P
BATT ON
RESET N
COMPARATOR
LOW LINE
LOW-LINE BATT OK
COMPARATOR
PFO
WATCHDOG
TRANSITION WDI
BATTERY-OK DETECTOR
VCC
COMPARATOR
50kΩ
GND
POWER-FAIL MR
PFI COMPARATOR RESET
STATE
MACHINE RESET
OSCILLATOR WDO
2.275V
THE HIGHER
OF VCC OR VBATT
P
MAX807
P
CE IN CE OUT
N
8 _______________________________________________________________________________________
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
MAX807L/M/N
VRST VLL VRST + VLR VRST
VCC VCC
SHOWN FOR VCC = 0V to 5V, VBATT = 2.8V, CE IN = GND SHOWN FOR VCC = 5V to 0V, VBATT = 2.8V, CE IN = GND
Figure 2a. Timing Diagram, VCC Rising Figure 2b. Timing Diagram, VCC Falling
_______________________________________________________________________________________ 9
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
Chip-Enable Signal Gating
MAX807L/M/N
1µs MIN
MR The MAX807 provides internal gating of chip-enable
(CE) signals to prevent erroneous data from corrupting
170ns the CMOS RAM in the event of a power failure. During
RESET normal operation, the CE gate is enabled and passes
all CE transitions. When reset is asserted, this path
becomes disabled, preventing erroneous data from
CE IN corrupting the CMOS RAM. The MAX807 uses a series
0V transmission gate from the Chip-Enable Input (CE IN) to
CE OUT
the Chip-Enable Output (CE OUT) (Figure 1).
28µs TYP The 8ns max chip-enable propagation from CE IN to CE
OUT enables the MAX807 to be used with most µPs.
Figure 4. Manual-Reset Timing Diagram
Watchdog Output Chip-Enable Input
WDO remains high if there is a transition or pulse at CE IN is high impedance (disabled mode) while RESET
WDI during the watchdog timeout period. WDO goes is asserted. During a power-down sequence when VCC
low if no transition occurs at WDI during the watchdog passes the reset threshold, the CE transmission gate
timeout period. The watchdog function is disabled and disables and CE IN becomes high impedance 28µs
WDO is a logic high when V CC is below the reset after reset is asserted (Figure 7). During a power-up
threshold or WDI is an open circuit. To generate a sys- sequence, CE IN remains high impedance (regardless
tem reset on every watchdog fault, simply diode-OR of CE IN activity) until reset is deasserted following the
connect WDO to MR (Figure 6). When a watchdog fault reset-timeout period.
occurs in this mode, WDO goes low, which pulls MR In the high-impedance mode, the leakage currents into
low, causing a reset pulse to be issued. As soon as this input are ±1µA max over temperature. In the low-
reset is asserted, the watchdog timer clears and WDO impedance mode, the impedance of CE IN appears as
returns high. With WDO connected to MR, a continuous a 75Ω resistor in series with the load at CE OUT.
high or low on WDI will cause 200ms reset pulses to be
The propagation delay through the CE transmission
issued every 1.6sec.
gate depends on both the source impedance of the
drive to CE IN and the capacitive loading on CE OUT
VRST
VCC
4.7k
VCC
MAX807
WDO
tRP RESET TO µP
RESET
MR
WDO
VCC
tWD WDO
∼50µs
WDI
RESET tRP tWD tRP
WDI
WDO CONNECTED TO µP INTERRUPT
Figure 5. Watchdog Timing Relationship Figure 6. Generating a Reset on Each Watchdog Fault
10 ______________________________________________________________________________________
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
MAX807L/M/N
VRST MAX
VCC
RESET
THRESHOLD VCC
CE IN
MAX807
CE OUT CE IN CE OUT
28µs
26µs 26µs 50pF
50Ω DRIVER CLOAD
RESET
GND
RESET
Figure 7. Reset and Chip-Enable Timing Figure 8. CE Propagation Delay Test Circuit
Low-Line Comparator
The low-line comparator monitors VCC with a threshold
voltage typically 52mV above the reset threshold, with
13mV of hysteresis. Use LOW LINE to provide a non-
Figure 9. Using LOW LINE to Provide a Power-Fail Warning to
maskable interrupt (NMI) to the µP when power begins
the µP
to fall, to initiate an orderly software shutdown routine.
In most battery-operated portable systems, reserve worst-case shutdown time, the worst-case load current,
energy in the battery provides ample time to complete and the minimum low-line to reset threshold (VLR(min)),
the shutdown routine once the low-line warning is calculate the amount of capacitance required to allow the
encountered, and before reset asserts. If the system shutdown routine to complete before reset is asserted:
must contend with a more rapid VCC fall time—such as
CHOLD = (ILOAD x tSHDN) / VLR (min)
when the main battery is disconnected, a DC-DC con-
verter shuts down, or a high-side switch is opened dur- where tSHDN is the time required for the system to com-
ing normal operation—use capacitance on the VCC line plete the shutdown routine, and includes the VCC to
to provide time to execute the shutdown routine (Figure low-line propagation delay; and where ILOAD is the cur-
9). First calculate the worst-case time required for the rent being drained from the capacitor, VLR is the low-
system to perform its shutdown routine. Then, with the line to reset threshold.
______________________________________________________________________________________ 11
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
MAX807L/M/N
VIN
VCC VCC
R1 R1
PFI
MAX807 PFO MAX807
PFI PFO
R2
R2
MR
GND GND
VIN
VCC VCC
PFO PFO
VIN VIN
VL VTRIP 0V VTRIP VH
1 1 VCC R1 + R2
VTRIP = R2 (VPFT + VPFH) ( R1 + R2 ) – R1 VTRIP = VPFT ( R2 )
WHERE VPFT = 2.265V
1 1 VCC VPFH = 20mV R1 + R2
VL = R2 (VPFT) ( +
R1 R2 ) –
R1 NOTE: VTRIP, VL ARE NEGATIVE
VH = (VPFT + VPFH)
R2( )
a) b)
Figure 10. Using the Power-Fail Comparator to Monitor an Additional Power Supply: a) VIN is Negative, b) VIN is Positive
Power-Fail Comparator
FROM
REGULATED µP POWER
PFI is the noninverting input to an uncommitted com-
SUPPLY VCC OUT POWER TO
parator. If PFI is less than VPFT (2.265V), PFO goes low.
0.1µF 0.1µF CMOS RAM The power-fail comparator is intended to monitor the
MAX807 preregulated input of the power supply, providing an
BATT early power-fail warning so software can conduct an
µP orderly shutdown. It can also be used to monitor sup-
2.8V
plies other than 5V. Set the power-fail threshold with a
resistor divider, as shown in Figure 10.
RESET RESET
LOW LINE NMI Power-Fail Input
WDI I/O LINE PFI is the input to the power-fail comparator. The typical
GND
a) comparator delay is 14µs from VIL to VOL (power failing),
and 32µs from VIH to VOH (power being restored). If
unused, connect this input to ground.
µP POWER
VCC OUT Power-Fail Output
POWER TO
0.1µF 0.1µF CMOS RAM The Power-Fail Output (PFO) goes low when PFI goes
VOLTAGE MAX807 below VPFT. It typically sinks 3.2mA with a saturation
REGULATOR BATT voltage of 0.1V. With PFI above VPFT, PFO is actively
µP pulled to VCC. Connecting PFI through a voltage divider
2.8V
to a preregulated supply allows PFO to generate an
NMI as the preregulated power begins to fall (Figure
RESET RESET 11b). If the preregulated supply is inaccessible, use
PFI PFO NMI LOW LINE to generate the NMI (Figure 11a). The LOW
WDI I/O LINE
GND
LINE threshold is typically 52mV above the reset
threshold (see Low-Line Comparator section).
b)
Figure 11. a) If the preregulated supply is inaccessible, LOW
LINE generates the NMI for the µP. b) Use PFO to generate the
µP NMI if the preregulated supply is accessible.
12 ______________________________________________________________________________________
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
MAX807L/M/N
Table 1. Input and Output Status in Battery-Backup Mode
PIN NAME FUNCTION
1 PFI The power-fail comparator remains active in battery-backup mode for VCC ≥ 4V.
2 PFO The power-fail comparator remains active in battery-backup mode for VCC ≥ 4V. Below 4V, PFO is forced low.
3 VCC Battery switchover comparator monitors VCC for active switchover.
4 WDI WDI is ignored and goes high impedance.
5 GND Ground—0V reference for all signals.
6 MR MR is ignored.
7 LOW LINE Logic low.
8 RESET Logic high; the open-circuit output voltage is equal to VCC.
9 RESET Logic low.
10 WDO Logic high. The open-circuit output voltage is equal to VCC.
11 CE OUT Logic high. The open-circuit output voltage is equal to VBATT.
12 CE IN High impedance.
13 BATT ON Logic high. The open-circuit output voltage is equal to VBATT.
14 BATT Supply current is 1µA maximum for VBATT ≤ 2.8V.
15 BATT OK Logic high when VBATT exceeds 2.285V. Valid for VCC ≥ 4V. Below 4V, BATT OK is forced low.
16 OUT OUT is connected to BATT through two internal PMOS switches in series.
Backup-Battery Input
The BATT input is similar to VCC, except the PMOS
switch is much smaller. This input is designed to con-
MAX807 duct up to 20mA to OUT during battery backup. The
on-resistance of the PMOS switch is approximately
P
VCC 13Ω. Figure 12 shows the two series pass elements
between the BATT input and OUT that facilitates UL
approval. VBATT can exceed VCC during normal opera-
CONTROL OUT tion without causing a reset.
CIRCUITRY
Output Supply Voltage
0.1µF
The output supply (OUT) transfers power from VCC or
BATT to the µP, RAM, and other external circuitry. At
BATT the maximum source current of 250mA, VOUT will typi-
P P
cally be 260mV below VCC. Decouple this terminal with
a 0.1µF capacitor.
BATT ON Output
Figure 12. VCC and BATT-to-OUT Switch The battery on (BATT ON) output indicates the status of
the internal battery switchover comparator, which con-
Battery-Backup Mode trols the internal VCC and BATT switches. For VCC
Battery backup preserves the contents of RAM in the greater than V BATT (ignoring the small hysteresis
event of a brownout or power failure. With a backup effect), BATT ON typically sinks 3.2mA at 0.4V. In bat-
battery installed at BATT, the MAX807 automatically tery-backup mode, this output sources approximately
switches RAM to backup power when VCC falls. Two 5mA. Use BATT ON to indicate battery switchover sta-
conditions are required for switchover to battery-back- tus, or to supply gate or base drive for an external pass
up mode: 1) VCC must be below the reset threshold; 2) transistor for higher current applications (see Typical
VCC must be below VBATT. Table 1 lists the status of Operating Circuit).
inputs and outputs during battery-backup mode.
______________________________________________________________________________________ 13
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
BATT OK Output SuperCap (e.g., order of 0.47F) and a simple charging
MAX807L/M/N
The BATT OK comparator monitors the backup battery circuit as a backup source (Figure 13). Since VBATT can
voltage, comparing it with a 2.265V reference (VCC ≥ exceed VCC while VCC is above the reset threshold,
4V). BATT OK remains high as long as the backup bat- there are no special precautions when using these µP
tery voltage remains above 2.265V, signaling that the supervisors with a SuperCap.
backup battery has sufficient voltage to maintain the
memory of static RAM. When the battery voltage drops Alternative Chip-Enable Gating
below 2.265V, the BATT OK output drops low, signaling Using memory devices with CE and CE inputs allows
that the backup battery needs to be changed. the MAX807 CE loop to be bypassed. To do this, con-
nect CE IN to ground, pull up CE OUT to OUT, and
__________Applications Information connect CE OUT to the CE input of each memory
The MAX807 is not short-circuit protected. Shorting device (Figure 14). The CE input of each part then con-
OUT to ground, other than power-up transients such as nects directly to the chip-select logic, which does not
charging a decoupling capacitor, may destroy the have to be gated by the MAX807.
device. If long leads connect to the IC’s inputs, ensure Adding Hysteresis to the
that these lines are free from ringing and other condi- Power-Fail Comparator
tions that would forward bias the IC’s protection diodes. The power-fail comparator has a typical input hystere-
There are two distinct modes of operation: sis of 20mV. This is sufficient for most applications
1) Normal Operating Mode, with all circuitry powered where a power-supply line is being monitored through
up. Typical supply current from VCC is 70µA, while an external voltage divider (Figure 10).
only leakage currents flow from the battery. Figure 15 shows how to add hysteresis to the power-fail
2) Battery-Backup Mode, where VCC is below VBATT comparator. Select the ratio of R1 and R2 such that PFI
and VRST. The supply current from the battery is typ- sees 2.265V when VIN falls to the desired trip point
ically less than 1µA. (VTRIP). Resistor R3 adds hysteresis. It will typically be
an order of magnitude greater than R1 or R2. The cur-
Using SuperCaps™ or rent through R1 and R2 should be at least 1µA to
MaxCaps™ with the MAX807 ensure that the 25nA (max) PFI input current does not
BATT has the same operating voltage range as VCC, and shift the trip point. R3 should be larger than 10kΩ to
the battery-switchover threshold voltage is typically prevent it from loading down the PFO pin. Capacitor C1
VBATT when VCC is decreasing or VBATT + 0.06V when adds additional noise rejection.
V CC is increasing. This hysteresis allows use of a
Rp*
CE
+5V RAM 1
OUT CE
VCC CE IN CE OUT
1N4148 CE
RAM 2
CE
BATT OUT
MAX807 CE
0.47F RAM 3
CE
MAX807
GND CE
RAM 4
GND CE
*MAXIMUM Rp VALUE DEPENDS ON
THE NUMBER OF RAMS.
MINIMUM Rp VALUE IS 1kΩ ACTIVE-HIGH CE
LINES FROM LOGIC
14 ______________________________________________________________________________________
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
Backup-Battery Replacement
MAX807L/M/N
The backup battery may be disconnected while VCC is
above the reset threshold, provided BATT is bypassed START
with a 0.1µF capacitor to ground. No precautions are
necessary to avoid spurious reset pulses.
SET
Negative-Going VCC Transients WDI
While issuing resets to the µP during power-up, power- LOW
down, and brownout conditions, these supervisors are
relatively immune to short-duration negative-going VCC SUBROUTINE
transients (glitches). It is usually undesirable to reset OR PROGRAM LOOP,
the µP when VCC experiences only small glitches. SET WDI
HIGH
The Typical Operating Characteristics show Maximum
Transient Duration vs. Reset Comparator Overdrive, for
which reset pulses are not generated. The graph was
produced using negative-going VCC pulses, starting at RETURN
5V and ending below the reset threshold by the magni-
tude indicated (reset comparator overdrive). The graph
END
shows the maximum pulse width that a negative-going
V CC transient may typically have without causing a
reset pulse to be issued. As the amplitude of the tran- Figure 16. Watchdog Flow Diagram
sient increases (i.e., goes farther below the reset
threshold), the maximum allowable pulse width A 0.1µF bypass capacitor mounted close to the VCC
decreases. pin provides additional transient immunity.
Typically, a VCC transient that goes 40mV below the
Watchdog Software Considerations
reset threshold and lasts for 3µs or less will not cause a
To help the watchdog timer keep a closer watch on soft-
reset pulse to be issued.
ware execution, you can use the method of setting and
resetting the watchdog input at different points in the
VIN program, rather than “pulsing” the watchdog input high-
+5V low-high or low-high-low. This technique avoids a “stuck”
R1
loop where the watchdog timer continues to be reset
VCC within the loop, keeping the watchdog from timing out.
PFI Figure 16 shows an example flow diagram where the
C1*
I/O driving the watchdog input is set high at the begin-
ning of the program, set low at the beginning of every
R3
MAX807 subroutine or loop, then set high again when the pro-
R2
gram returns to the beginning. If the program should
PFO “hang” in any subroutine, the I/O is continually set low
GND and the watchdog timer is allowed to time out, causing
TO µP a reset or interrupt to be issued.
*OPTIONAL
______________________________________________________________________________________ 15
Full-Featured µP Supervisory Circuit with
±1.5% Reset Accuracy
__________Typical Operating Circuit ______________Ordering Information
MAX807L/M/N
GND
*MaxCap™
___________________Chip Information
TRANSISTOR COUNT: 984
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.
16 __________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 (408) 737-7600
© 1995 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.