Datasheet

MAX791
close to SWT as possible. The sum of PC board leak-
age + SWT capacitor leakage must be small compared
to ±100nA.
Watchdog Software Considerations
A way to help the watchdog timer keep a closer watch
on software execution involves setting and resetting the
watchdog input at different points in the program,
rather than “pulsing” the watchdog input high-low-high
or low-high-low. This technique avoids a “stuck” loop
where the watchdog timer continues to be reset within
the loop, keeping the watchdog from timing out.
Figure 17 shows an example flow diagram where the
I/O driving the watchdog input is set high at the begin-
ning of the program, set low at the beginning of every
subroutine or loop, then set high again when the pro-
gram returns to the beginning. If the program should
“hang” in any subroutine, the I/O is continually set low
and the watchdog timer is allowed to time out, causing
a reset or interrupt to be issued.
Maximum V
CC
Fall Time
The V
CC
fall time is limited by the propagation delay of
the battery switchover comparator and should not
exceed 0.03V/µs. A standard rule of thumb for filter
capacitance on most regulators is on the order of
100µF per amp of current. When the power supply is
shut off or the main battery is disconnected, the associ-
ated initial V
CC
fall rate is just the inverse or 1A / 100µF
= 0.01V/µs. The V
CC
fall rate decreases with time as
V
CC
falls exponentially, which more than satisfies the
maximum fall-time requirement.
Microprocessor Supervisory Circuit
16 ______________________________________________________________________________________
100
0
10 1000 10,000
40
20
80
60
MAX791-16
RESET COMPARATOR OVERDRIVE (mV)
(Reset Threshold Voltage - V
CC
)
MAXIMUM TRANSIENT DURATION (µs)
100
V
CC
= +5V
T
A
= +25°C
0.1µF CAPACITOR
FROM V
OUT
TO GND
Figure 16. Maximum Transient Duration Without Causing a
Reset Pulse vs. Reset Comparator Overdrive
MAX791
V
CC
GND
PFI
R2
R1
+5V
PFO
PFO
+5V
0V
NOTE: V
TRIP
IS NEGATIVE
0V
V
TRIP
V-
5 - 1.25
=
1.25 - V
TRIP
R1 R2
V-
Figure 15. Monitoring a Negative Voltage