Professional Documents
Culture Documents
7; 11/05
MAX791
The MAX791 microprocessor (µP) supervisory circuit ♦ Precision 4.65V Voltage Monitoring
reduces the complexity and number of components need- ♦ 200ms Power-OK / Reset Time Delay
ed to monitor power-supply and battery-control functions
in µP systems. The 50µA supply current makes the ♦ Independent Watchdog Timer—Preset or Adjustable
MAX791 ideal for use in portable equipment, while the 6ns ♦ 1µA Standby Current
chip-enable propagation delay and 250mA output capa- ♦ Power Switching
bility (25mA in battery-backup mode) make it suitable for 250mA Output in VCC Mode
larger, higher-performance equipment. 25mA Output in Battery-Backup Mode
The MAX791 comes in 16-pin DIP, TSSOP, and narrow SO ♦ On-Board Gating of Chip-Enable Signals
packages and provides the following functions: Memory Write-Cycle Completion
–————– 6ns CE Gate Propagation Delay
• µP reset. RESET output is asserted during power-up,
power-down, and brownout conditions, and is guaran- ♦ MaxCap or SuperCap Compatible
teed to be in the correct state for VCC down to 1V, ♦ Voltage Monitor for Power-Fail or Low-Battery Warning
even with no battery in the circuit.
♦ Backup-Battery Monitor
• Manual-reset input. –————–
♦ Guaranteed RESET Valid to VCC = 1V
• A 1.25V threshold detector provides for power-fail
warning and low-battery detection, or monitors a Ordering Information
power supply other than +5V.
PART TEMP RANGE PIN-PACKAGE
• Two-stage power-fail warning. A separate low-line
comparator compares V CC to a threshold 150mV MAX791CPE 0°C to +70°C 16 Plastic DIP
above the reset threshold. MAX791CSE 0°C to +70°C 16 Narrow SO
• Backup-battery switchover for CMOS RAM, real-time MAX791C/D 0°C to +70°C Dice*
clocks, µPs, or other low-power logic. MAX791CUE 0°C to +70°C 16 TSSOP
• Software monitoring of backup-battery voltage. MAX791EPE -40°C to +85°C 16 Plastic DIP
• A watchdog-fault output is asserted if the watchdog MAX791ESE -40°C to +85°C 16 Narrow SO
input has not been toggled within either a preset or
an adjustable timeout period. MAX791EJE -40°C to +85°C 16 CERDIP
• Write protection of CMOS RAM or EEPROM. MAX791EUE -40°C to +85°C 16 TSSOP
MAX791MJE -55°C to +125°C 16 CERDIP
• Pulsed watchdog
–——– output to give advance warning of
impending WDO assertion caused by watchdog timeout. * Dice are specified at TA = +25°C.
Devices in PDIP, SO and TSSOP packages are available in both
Applications leaded and lead-free packaging. Specify lead free by adding
Computers Critical µP Power Monitoring the + symbol at the end of the part number when ordering.
Controllers Intelligent Instruments Lead free not available for CERDIP package.
Portable/Battery-
Powered Equipment
Typical Operating Circuit
Pin Configuration +5V
0.1µF CMOS
0.1µF RAM
TOP VIEW
VBATT 1 16 WDPO VCC BATT SWT
0.47F* ON VOUT
VBATT
VOUT 2 15 RESET OTHER SYSTEM
RESET SOURCES
VCC 3 14 WDO CE OUT
GND 4 MAX791 13 CE IN MR
+12V CE IN ADDRESS
DECODE
BATT ON 5 12 CE OUT
A0–A15
PFI MAX791 µP
PFO 6 11 WDI
+12V SUPPLY WDI I/O
PFI 7 10 LOWLINE PFO
FAILURE LOWLINE NMI
SWT 8 9 MR GND RESET RESET
WDO INT
DIP/SO/TSSOP *MaxCap
MaxCap is a registered trademark of Cesiwid Inc. SuperCap is a registered trademark of Baknor Industries.
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
Microprocessor Supervisory Circuit
MAX791
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
(VCC = 4.75V to 5.5V, VBATT = 2.8V, TA = TMIN to TMAX, unless otherwise noted.)
2 _______________________________________________________________________________________
Microprocessor Supervisory Circuit
MAX791
(VCC = 4.75V to 5.5V, VBATT = 2.8V, TA = TMIN to TMAX, unless otherwise noted.)
_______________________________________________________________________________________ 3
Microprocessor Supervisory Circuit
(VCC = 4.75V to 5.5V, VBATT = 2.8V, TA = TMIN to TMAX, unless otherwise noted.)
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 MAX791 from the battery (excluding IOUT) typically goes to 10µA when
(VBATT - 1V) < VCC < VBATT. In most applications, this is a brief period as VCC falls through this region.
Note 3: "+" = battery-discharging current, "-" = battery-charging current.
Note 4: WDI is internally connected to a voltage-divider between VOUT and GND. If unconnected, WDI is driven to 1.6V (typ),
disabling the watchdog function.
Note 5: The chip-enable resistance is tested with VCC = 4.75V V –C—E– IN = V C—E– OUT = VCC / 2.
–—– –—–
Note 6: The chip-enable propagation delay is measured from the 50% point at CE IN to the 50% point at CE OUT.
4 _______________________________________________________________________________________
Microprocessor Supervisory Circuit
MAX791
(TA = +25°C, unless otherwise noted.)
VCC SUPPLY CURRENT vs. TEMPERATURE BATTERY-SUPPLY CURRENT vs. TEMPERATURE CHIP-ENABLE ON-RESISTANCE
(NORMAL OPERATING MODE) (BATTERY-BACKUP MODE) vs. TEMPERATURE
58 2.0 120
MAX791-03
MAX791-01
MAX791-02
VCC = +5V VCC = 0V VCC = +4.75V
VBATT = 2.8V VBATT = 2.8V VBATT = 2.8V
BATTERY SUPPLY CURRENT (µA)
54 PFI, CE IN = 0V NO LOAD CE IN = VCC/2
VCC SUPPLY CURRENT (µA)
1.5 100
CE ON-RESISTANCE (Ω)
50
1.0 80
46
0.5 60
42
38 0 40
-60 -30 0 30 60 90 120 150 -60 -30 0 30 60 90 120 150 -60 -30 0 30 60 90 120 150 180
TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C)
MAX791-05
MAX791-04
MAX791-05
VBATT-to-VOUT ON-RESISTANCE (Ω)
15 1.0 1.00
VBATT = 2.8V
0.9 0.75
10 0.8 0.50
VBATT = 4.5V
VCC = +5V,
0.7 0.25 VBATT = 0V,
VCC = +5V,
VCC = 0V VBATT = 0V NO LOAD ON PFO
5 0.6 0
-60 -30 0 30 60 90 120 150 -60 -30 0 30 60 90 120 150 -60 -30 0 30 60 90 120 150
TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C)
MAX791-09
MAX791-07
4.70
RESET THRESHOLD (V)
4.65
RESET DELAY (ms)
400 210
4.60 VCC = +5V, VBATT = 2.8V
4.55 300 SOURCING CURRENT 200
4.50
200 190
4.45
VCC = 0V, VBATT = 2.8V
4.40
VBATT = 0V, 100 SINKING CURRENT 180
4.35
POWER DOWN
4.30 0 170
-60 -30 0 30 60 90 120 150 -60 -30 0 30 60 90 120 150 -60 -30 0 30 60 90 120 150
TEMPERATURE (°C) TEMPERATURE (°C) TEMPERATURE (°C)
_______________________________________________________________________________________ 5
Microprocessor Supervisory Circuit
MAX791
MAX791-11
MAX791-12
MAX791-10
16 200 16
WATCHDOG TIMEOUT (ms)
150 12
8 100 8
VCC = +5V
CE IN = 0V TO 5V
4 50 4 DRIVER SOURCE
VBATT = 2.8V, VCC = +5V IMPEDANCE = 50Ω
IOUT = 0A VBATT = 2.8V
0 0 0
0 1 2 3 4 5 0 10 20 30 40 50 60 70 80 90 100 0 50 100 150 200 250 300
VCC (V) TIMING CAPACITOR (nF) CLOAD (pF)
MAX791-14
VBATT - VOUT (mV)
100
VCC - VOUT (mV)
100
10 10
6 _______________________________________________________________________________________
Microprocessor Supervisory Circuit
Pin Description
MAX791
PIN NAME FUNCTION
1 VBATT Backup-Battery Input. Connect to external battery or capacitor and charging circuit.
Output Supply Voltage. VOUT connects to VCC when VCC is greater than VBATT and VCC is above the reset
2 VOUT threshold. When VCC falls below VBATT and VCC is below the reset threshold, VOUT connects to VBATT.
Connect a 0.1µF capacitor from VOUT to GND.
3 VCC Input Supply Voltage—+5V input
4 GND Ground. 0V reference for all signals.
Battery-On Output. Goes high when VOUT switches to VBATT. Goes low when VOUT switches to VCC. Connect
5 BATT ON the base of a PNP through a current-limiting resistor to BATT ON for VOUT current requirements greater than
250mA.
–——–
–——– Power-Fail Output. This is the output of the power-fail comparator. PFO goes low when PFI is less than 1.25V.
6 PFO
This is an uncommitted comparator, and has no effect on any other internal circuitry.
Power-Fail
–——– Input. This is the noninverting input to the power-fail comparator. When PFI is less than 1.25V,
7 PFI
PFO goes low. Connect PFI to GND or VOUT when not used.
Set Watchdog-Timeout Input. Connect this input to VOUT to select the default 1.6s watchdog-timeout period.
8 SWT Connect a capacitor between this input and GND to select another watchdog-timeout period. Watchdog-timeout
period = 2.1 x (capacitor value in nF) ms.
–—– Manual-Reset
–————– Input. This input can –be tied to an external momentary pushbutton switch, or to a logic gate out-
9 MR —– –—–
put. RESET remains low as long as MR is held low and for 200ms after MR returns high.
–———— ——–
–——————– LOW LINE Output goes low when VCC falls to 150mV above the reset threshold. The output can be used to gen-
10 LOW LINE
erate an NMI if the unregulated supply is inaccessible.
Watchdog Input.
–——– WDI is a three-level
–——– input. If WDI remains either high or low for longer than the watchdog time-
out period, WDO goes low. WDO remains low until the next transition at WDI. Leaving WDI unconnected disables
11 WDI
the watchdog function. WDI connects to an internal voltage-divider between VOUT and GND, which sets it to mid-
supply when left unconnected.
–—– –—– –—–
–—– Chip-Enable Output. CE OUT goes low only when CE IN is low and VCC is above the reset threshold. If CE IN is
12 CE OUT –—– –—–
low when reset is asserted, CE OUT will stay low for 15µs or until CE IN goes high, whichever occurs first.
–—–
13 CE IN Chip-Enable Input. The input to chip-enable gating circuit. Connect to GND or VOUT if not used.
–——–
–——– –Watchdog
——– Output. WDO goes low if WDI remains either
–——– high or low longer than the watchdog-timeout
–——– period.
14 WDO WDO returns
–————– high on the next transition at WDI. WDO remains high if WDI is unconnected. WDO is also high
when RESET is asserted.
–————– –————–
–————– RESET Output goes low whenever VCC falls below the reset threshold. RESET will remain low for typically 200ms
15 RESET
after VCC crosses the reset threshold on power-up.
–———–
–———– Watchdog-Pulse Output.
16 WDPO –———– –——– Upon the absence of a transition at WDI, WDPO will pulse low for a minimum of 1ms.
WDPO precedes WDO by 70ns.
_______________________________________________________________________________________ 7
Microprocessor Supervisory Circuit
MAX791
25µs MIN
10 MR
150mV
LOWLINE
4.65V
7.5µs TYP
5 RESET
VCC 3 BATT ON
2 CE IN
VOUT 0V
1
CE OUT
VBATT 15µs TYP
CHIP-ENABLE
OUTPUT
CONTROL
9
MR RESET 15 MANUAL RESET
GENERATION RESET
MR
8 TIMEBASE FOR 16
SWT RESET AND WDPO
WATCHDOG
*
11 WATCHDOG
WATCHDOG 14 OTHER MAX791
WDI TRANSITION WDO RESET
TIMER
7 DETECTOR *
PFI SOURCES
6
PFO
4 GND
_______________Detailed Description high, and sets the Set Watchdog-Timeout (SWT) input
to VOUT - 0.6V, if it is not already connected to VOUT
Manual Reset Input (for internal timeouts). It also disables the chip-enable
Many µP-based products require manual-reset capabil- function, setting the Chip-Enable Output (CE OUT) to a
ity, allowing the operator or test technician to initiate a high state. The RESET output remains active as long as
reset. The Manual Reset Input (MR) can be connected MR is held low, and the reset-timeout period begins
directly to a switch, without an external pull-up resistor after MR returns high (Figure 2).
or debouncing network. It connects to a 1.25V com- Use this input as either a digital-logic input or a second
parator, and has a pull-up to VOUT as shown in Figure low-line comparator. Normal TTL/CMOS levels can be
1. The propagation delay from asserting MR to RESET wire-OR connected via pull-down diodes (Figure 3),
asserted is 4µs typ. Pulsing MR low for a minimum of and open-drain/collector outputs can be wire-ORed
15µs resets all the internal counters, sets the Watchdog directly.
Output (WDO) and Watchdog-Pulse Output (WDPO)
8 _______________________________________________________________________________________
Microprocessor Supervisory Circuit
MAX791
(1.6s nominal), WDPO and WDO are asserted, indicat-
15 ing a software fault condition (see Watchdog Output
RESET TO µP RESET
and Watchdog-Pulse Output sections).
MAX791
10k Watchdog Input
A change of state (high to low, low to high, or a mini-
mum 100ns pulse) at WDI during the watchdog period
resets the watchdog timer. The watchdog default time-
out is 1.6s. Select alternative timeout periods by con-
necting an external capacitor from SWT to GND (see
Figure Selecting an Alternative Watchdog Timeout Period sec-
–————– 4. Adding an External Pull-Down Resistor Ensures
RESET is Valid with VCC Down to GND tion).
To disable the watchdog function, leave WDI floating.
RESET Output An internal resistor network (100kΩ equivalent imped-
The MAX791’s RESET output ensures that the µP pow- ance at WDI) biases WDI to approximately 1.6V.
ers up in a known state, and prevents code-execution Internal comparators detect this level and disable the
errors during power-down or brownout conditions. watchdog timer. When VCC is below the reset thresh-
old, the watchdog function is disabled and WDI is dis-
The RESET output is active low, and typically sinks
connected from its internal resistor network, thus
3.2mA at 0.1V saturation voltage in its active state.
becoming high impedance.
When deasserted, RESET sources 1.6mA at typically
VOUT - 0.5V. When no backup battery is used, RESET Watchdog Output
output is guaranteed to be valid down to VCC = 1V, and WDO remains high if there is a transition or pulse at
an external 10kΩ pull-down resistor on RESET ensures WDI during the watchdog-timeout period. The watch-
that RESET will be valid with VCC down to GND (Figure dog function is disabled and WDO is a logic high when
4). As VCC goes below 1V, the gate drive to the RESET VCC is below the reset threshold, battery-backup mode
output switch reduces accordingly, increasing the is enabled, or WDI is an open circuit. In watchdog
rDS(ON) and the saturation voltage. The 10kΩ pull-down mode, if no transition occurs at WDI during the watch-
resistor ensures the parallel combination of switch plus dog-timeout period, WDO goes low 70ns after the
resistor is around 10kΩ and the output saturation volt- falling edge of WDPO and remains low until the next
age is below 0.4V while sinking 40µA. When using a transition at WDI (Figure 5). A flip-flop can force the
10kΩ external pull-down resistor, the high state for the system into a hardware shutdown if there are two suc-
RESET output with VCC = 4.75V is 4.5V typ. For battery cessive watchdog faults (Figure 6). WDO has a 2 x TTL
voltages ≥ 2V connected to VBATT, RESET remains output characteristic.
valid for VCC from 0V to 5.5V.
RESET will be asserted during the following conditions:
• VCC < 4.65V (typ).
100ns MIN
• MR < 1.25V (typ). 1.6s
• RESET remains asserted for 200ms (typ) after VCC
rises above 4.65V or after MR has exceeded WDI
1.25V.
The MAX791 battery-switchover comparator does not
affect RESET assertion. However, RESET is asserted in WDPO
battery-backup mode since VCC must be below the
reset threshold to enter this mode. 70ns
Watchdog Function WDO
_______________________________________________________________________________________ 9
Microprocessor Supervisory Circuit
MAX791
+5V
3
VCC
1 2
VBATT VOUT µP POWER
0.1µF
3.6V µP
MAX791
15
RESET RESET
11 I/O
WDI
10 NMI
LOWLINE
INTERRUPT
1/6 74HC04
16
WDPO 3 14
9 MR VCC 1
CLOCK Q
14 5
WDO D CD4013
GND Q 2
SET RESET VSS
4 6 4 7 TWO
*1µF CONSECUTIVE
+5V WATCHDOG
FAULT
INDICATIONS
REACTIVATE
4.7k
10 ______________________________________________________________________________________
Microprocessor Supervisory Circuit
MAX791
+5V
VCC
RESET
THRESHOLD VCC
CE IN
MAX791
CE OUT CE IN CE OUT
15µs
100µs 100µs
50Ω DRIVER CLOAD
RESET
GND
RESET
Figure 7. Reset and Chip-Enable Timing Figure 8. CE Propagation Delay Test Circuit
enables the MAX791 to be used with most µPs. a low output-impedance driver.
Chip-Enable Input Chip-Enable Output
CE IN is high impedance (disabled mode) while RESET In the enabled mode, the impedance of CE OUT is
is asserted. equivalent to 75Ω in series with the source driving CE
During a power-down sequence where V CC passes IN. In the disabled mode, the 75Ω transmission gate is
4.65V, CE IN assumes a high-impedance state when off and CE OUT is actively pulled to VOUT. This source
the voltage at CE IN goes high or 15µs after reset is turns off when the transmission gate is enabled.
asserted, whichever occurs first (Figure 7). LOWLINE Output
During a power-up sequence, CE IN remains high The low-line comparator monitors VCC with a typical
impedance, regardless of CE IN activity, until reset is threshold voltage 150mV above the reset threshold,
deasserted following the reset-timeout period. and has 15mV of hysteresis. LOWLINE typically sinks
In the high-impedance mode, the leakage currents into 3.2mA at 0.1V. For normal operation (VCC above the
this input are ±1µA max over temperature. In the low- LOWLINE threshold), LOWLINE is pulled to VOUT. If
impedance mode, the impedance of CE IN appears as access to the unregulated supply is unavailable, use
a 75Ω resistor in series with the load at CE OUT. LOWLINE to provide a nonmaskable interrupt (NMI) to
the µP as VCC begins to fall (Figure 9a).
The propagation delay through the CE transmission
gate depends on both the source impedance of the Power-Fail Comparator
drive to CE IN and the capacitive loading on CE OUT The power-fail comparator is an uncommitted compara-
(see the Chip-Enable Propagation Delay vs. CE OUT tor that has no effect on the other functions of the IC.
Load Capacitance graph in the Typical Operating Common uses include monitoring supplies other than
Characteristics). The CE propagation delay is produc- 5V (see the Typical Operating Circuit and the
tion tested from the 50% point on CE IN to the 50% Monitoring a Negative Voltage section) and early
point on CE OUT using a 50Ω driver and 50pF of load power-fail detection when the unregulated power is
capacitance (Figure 8). For minimum propagation easily accessible (Figure 9b).
delay, minimize the capacitive load at CE OUT and use
______________________________________________________________________________________ 11
Microprocessor Supervisory Circuit
MAX791
15 Battery-switchover comparator
RESET RESET 3 VCC
monitors VCC for active switchover.
LOWLINE 10 NMI
11 4 GND GND—0V reference for all signals.
WDI I/O LINE
GND
Logic high. The open-circuit output is
4 5 BATT ON
a) equal to VOUT.
12 ______________________________________________________________________________________
Microprocessor Supervisory Circuit
MAX791
RESET
THRESHOLD
VBATT 1
200ms TYP
VCC
2
VOUT
RESET
0.1µF
VCC 3
CE IN
CE OUT
MAX791
Figure 10. VCC and VBATT-to-VOUT Switch Figure 11. Backup-Battery Monitor Timing Diagram
Battery On Output reverse leakage of this input is less than 1µA over tem-
The Battery On (BATT ON) output indicates the status perature and supply voltage.
of the internal V CC /battery-switchover comparator, Output Supply Voltage
which controls the internal VCC and VBATT switches.
The Output Supply Voltage (VOUT) is internally connect-
For VCC greater than VBATT (ignoring the small hys-
ed to the substrate of the IC and supplies all the current
teresis effect), BATT ON typically sinks 3.2mA at 0.1V
to the external system and internal circuitry. All open-
saturation voltage. In battery-backup mode, this termi-
circuit outputs will, for example, assume the VOUT volt-
nal sources approximately 10µA from VOUT. Use BATT
age in their high states rather than the VCC voltage. At
ON to indicate battery-switchover status or to supply
the maximum source current of 250mA, VOUT will typi-
base drive to an external pass transistor for higher-cur-
cally be 200mV below VCC. Decouple this terminal with
rent applications (see Typical Operating Circuit).
a 0.1µF capacitor.
Input Supply Voltage
Low-Battery Monitor
The Input Supply Voltage (VCC) should be a regulated
The MAX791 low-battery voltage function monitors
+5V. VCC connects to VOUT via a parallel diode and a
VBATT. Low-battery detection of 2.0V ±0.15V is moni-
large PMOS switch. The switch carries the entire cur-
tored only during the reset-timeout period (200ms) that
rent load for currents less than 250mA. The parallel
occurs either after a normal power-up sequence or
diode carries any current in excess of 250mA. Both the
after the MR reset input has been returned to its high
switch and the diode have impedances less than 1Ω
state. If the battery voltage is below 2.0V, the second
each (Figure 10). The maximum continuous current is
CE pulse is inhibited after reset timeout. If the battery
250mA, but power-on transients may reach a maximum
voltage is above 2.0V, all CE pulses are allowed
of 1A.
through the CE gate after the reset timeout period. To
Backup-Battery Input use this function, after the 200ms reset delay, write 00
The Backup-Battery Input (VBATT) is similar to VCC, (HEX) to a location using the first CE pulse, and write
except the PMOS switch and parallel diode are much FF (HEX) to the same location using the second CE
smaller. Accordingly, the on-resistances of the diode pulse following RESET going inactive on power-up. The
and the switch are each approximately 10Ω. contents of the memory then indicates a good battery
Continuous current should be limited to 25mA and peak (FF) or a low battery (00) (Figure 11).
currents (only during power-up) limited to 250mA. The
______________________________________________________________________________________ 13
Microprocessor Supervisory Circuit
14 ______________________________________________________________________________________
Microprocessor Supervisory Circuit
MAX791
VIN
+5V
Rp*
CE R1
RAM 1 VCC
VOUT CE
PFI
CE IN CE OUT
CE
C1*
RAM 2
CE R3
MAX791
R2
CE
RAM 3
CE PFO
MAX791
GND
CE TO µP
GND RAM 4 *OPTIONAL
CE
+5V
PFO
0V
*MAXIMUM Rp VALUE DEPENDS ON
THE NUMBER OF RAMs. 0V VL VTRIP VH
MINIMUM Rp VALUE IS 1kΩ VIN
ACTIVE-HIGH CE
LINES FROM LOGIC R1 + R2
VTRIP = 1.25
R2
Figure 13. Alternate CE Gating Figure 14. Adding Hysteresis to the Power-Fail Comparator
Monitoring a Negative Voltage going VCC pulses, starting at 5V and ending below the
The power-fail comparator can be used to monitor a reset threshold by the magnitude indicated (reset com-
negative supply voltage using Figure 15’s circuit. When parator overdrive). The graph shows the maximum
the negative supply is valid, PFO is low. When the neg- pulse width that a negative-going VCC transient may
ative supply voltage drops, PFO goes high. This cir- typically have without causing a reset pulse to be
cuit’s accuracy is affected by the PFI threshold toler- issued. As the amplitude of the transient increases (i.e.,
ance, the VCC voltage, and resistors R1 and R2. goes farther below the reset threshold), the maximum
allowable pulse width decreases. Typically, a VCC tran-
Backup-Battery Replacement sient that goes 100mV below the reset threshold and
The backup battery may be disconnected while VCC is lasts for 40µs or less will not cause a reset pulse to be
above the reset threshold. No precautions are neces- issued.
sary to avoid spurious reset pulses. A 100nF bypass capacitor mounted close to the VCC
Negative-Going VCC Transients pin provides additional transient immunity.
While issuing resets to the µP during power-up, power- Connecting a Timing Capacitor to SWT
down, and brownout conditions, these supervisors are SWT is internally connected to a ±100nA current
relatively immune to short-duration negative-going VCC source. When a capacitor is connected from SWT to
transients (glitches). It is usually undesirable to reset ground (to select an alternative watchdog-timeout peri-
the µP when VCC experiences only small glitches. od), the current source charges and discharges the
Figure 16 shows maximum transient duration vs. reset timing capacitor to create the oscillator that controls the
comparator overdrive, for which reset pulses are not watchdog-timeout period. To prevent timing errors or
generated. The graph was produced using negative- oscillator start-up problems, minimize external current
leakage sources at this pin, and locate the capacitor as
______________________________________________________________________________________ 15
Microprocessor Supervisory Circuit
MAX791
+5V
R1
VCC
100
MAX791-16
VCC = +5V
MAX791 60
R2
GND 40
V- 20
+5V
PFO
0
0V 10 100 1000 10,000
VTRIP 0V RESET COMPARATOR OVERDRIVE (mV)
V-
5 - 1.25 = 1.25 - VTRIP (Reset Threshold Voltage - VCC)
R1 R2
Figure 15. Monitoring a Negative Voltage Figure 16. Maximum Transient Duration Without Causing a
Reset Pulse vs. Reset Comparator Overdrive
close to SWT as possible. The sum of PC board leak- gram returns to the beginning. If the program should
age + SWT capacitor leakage must be small compared “hang” in any subroutine, the I/O is continually set low
to ±100nA. and the watchdog timer is allowed to time out, causing
a reset or interrupt to be issued.
Watchdog Software Considerations
A way to help the watchdog timer keep a closer watch Maximum VCC Fall Time
on software execution involves setting and resetting the The VCC fall time is limited by the propagation delay of
watchdog input at different points in the program, the battery switchover comparator and should not
rather than “pulsing” the watchdog input high-low-high exceed 0.03V/µs. A standard rule of thumb for filter
or low-high-low. This technique avoids a “stuck” loop capacitance on most regulators is on the order of
where the watchdog timer continues to be reset within 100µF per amp of current. When the power supply is
the loop, keeping the watchdog from timing out. shut off or the main battery is disconnected, the associ-
Figure 17 shows an example flow diagram where the ated initial VCC fall rate is just the inverse or 1A / 100µF
I/O driving the watchdog input is set high at the begin- = 0.01V/µs. The VCC fall rate decreases with time as
ning of the program, set low at the beginning of every VCC falls exponentially, which more than satisfies the
subroutine or loop, then set high again when the pro- maximum fall-time requirement.
16 ______________________________________________________________________________________
Microprocessor Supervisory Circuit
Chip Topography
MAX791
START
VOUT VBATT WDPO
SET RESET
VCC
WDI
LOW
WDO
SUBROUTINE CE IN
OR PROGRAM LOOP, 0.11"
GND CE
SET WDI OUT (2.794mm)
HIGH
BATT ON
RETURN
PFO
WDI
END
PFI SWT MR LOWLINE
0.07"
(1.778mm)
Figure 17. Watchdog Flow Diagram
______________________________________________________________________________________ 17
Microprocessor Supervisory Circuit
Package Information
MAX791
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information,
go to www.maxim-ic.com/packages.)
INCHES MILLIMETERS
E DIM
MIN MAX MIN MAX
E1 A – 0.200 – 5.08
D
A1 0.015 – 0.38 –
A3 A2 0.125 0.175 3.18 4.45
A3 0.055 0.080 1.40 2.03
A A2
B 0.016 0.022 0.41 0.56
B1 0.045 0.065 1.14 1.65
C 0.008 0.012 0.20 0.30
L A1 D1 0.005 0.080 0.13 2.03
0° - 15°
E 0.300 0.325 7.62 8.26
C E1 0.240 0.310 6.10 7.87
e e 0.100 – 2.54 –
B1 eA
B eA 0.300 – 7.62 –
eB eB – 0.400 – 10.16
L 0.115 0.150 2.92 3.81
D1
INCHES MILLIMETERS
Plastic DIP DIM PINS
MIN MAX MIN MAX
PLASTIC D 8 0.348 0.390 8.84 9.91
DUAL-IN-LINE D 14 0.735 0.765 18.67 19.43
D 16 0.745 0.765 18.92 19.43
PACKAGE D 18 0.885 0.915 22.48 23.24
(0.300 in.) D 20 1.015 1.045 25.78 26.54
D 24 1.14 1.265 28.96 32.13
INCHES MILLIMETERS
DIM
MIN MAX MIN MAX
A 0.053 0.069 1.35 1.75
D A1 0.004 0.010 0.10 0.25
B 0.014 0.019 0.35 0.49
0°-8° C 0.007 0.010 0.19 0.25
A
E 0.150 0.157 3.80 4.00
0.101mm
0.004in.
e 0.050 1.27
e H 0.228 0.244 5.80 6.20
B A1 C L L 0.016 0.050 0.40 1.27
INCHES MILLIMETERS
SO DIM PINS
MIN MAX MIN MAX
E H
SMALL OUTLINE D 8 0.189 0.197 4.80 5.00
D 14 0.337 0.344 8.55 8.75
PACKAGE
D 16 0.386 0.394 9.80 10.00
(0.150 in.)
21-0041A
18 ______________________________________________________________________________________
Microprocessor Supervisory Circuit
MAX791
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information,
go to www.maxim-ic.com/packages.)
INCHES MILLIMETERS
DIM
MIN MAX MIN MAX
E1 A – 0.200 – 5.08
B 0.014 0.023 0.36 0.58
D E
A B1 0.038 0.065 0.97 1.65
C 0.008 0.015 0.20 0.38
E 0.220 0.310 5.59 7.87
E1 0.290 0.320 7.37 8.13
e 0.100 2.54
L 0.125 0.200 3.18 5.08
Q 0°-15°
L1 0.150 – 3.81 –
L L1 Q 0.015 0.070 0.38 1.78
e C
B1 S – 0.098 – 2.49
S1 0.005 – 0.13 –
B
S1 S INCHES MILLIMETERS
DIM PINS
MIN MAX MIN MAX
CERDIP
D 8 – 0.405 – 10.29
CERAMIC DUAL-IN-LINE D 14 – 0.785 – 19.94
PACKAGE D 16 – 0.840 – 21.34
D 18 – 0.960 – 24.38
(0.300 in.)
D 20 – 1.060 – 26.92
D 24 – 1.280 – 32.51
TSSOP4.40mm.EPS
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.
19 ____________________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 (408) 737-7600
© 2005 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products, Inc.