MAX791
Watchdog-Pulse Output
As described in the preceding section, WDPO can be
used as the clock input to an external D flip-flop. Upon
the absence of a watchdog edge or pulse at WDI at the
end of a watchdog-timeout period, WDPO will pulse low
for 1ms. The falling edge of WDPO precedes WDO by
70ns. Since WDO is high when WDPO goes low, the
flip-flop’s Q output remains high as WDO goes low
(Figure 5). If the watchdog timer is not reset by a transi-
tion at WDI, WDO remains low and WDPO clocks a
logic low to the Q output, causing the MAX791 to latch
in reset. If the watchdog timer is reset by a transition at
WDI, WDO goes high and the flip-flop’s Q output
remains high. Thus, a system shutdown is only caused
by two successive watchdog faults.
The internal pull-up resistors associated with WDO and
WDPO connect to V
OUT
. Therefore, do not connect
these outputs directly to CMOS logic that is powered
from V
CC
since, in the absence of V
CC
(i.e., battery
mode), excessive current will flow from WDO or
WDPO through the protection diode(s) of the CMOS-
logic inputs to ground.
Selecting an Alternative Watchdog-
Timeout Period
SWT input controls the watchdog-timeout period.
Connecting SWT to V
OUT
selects the internal 1.6s watch-
dog-timeout period. Select an alternative timeout period
by connecting a capacitor between SWT and GND. Do
not leave SWT floating, and do not connect it to ground.
The following formula determines the watchdog-timeout
period:
Watchdog-timeout period = 2.1 x (capacitor value
in nF) ms
This formula is valid for capacitance values between
4.7nF and 100nF (see the Watchdog Timeout vs.
Timing Capacitor graph in the Typical Operating
Characteristics). SWT is internally connected to a
±100nA (typ) current source, which charges and dis-
charges the timing capacitor to create the oscillator fre-
quency that sets the watchdog-timeout period (see
Connecting a Timing Capacitor to SWT section).
Chip-Enable Signal Gating
The MAX791 provides internal gating of chip-enable
(CE) signals to prevent erroneous data from corrupting
the CMOS RAM in the event of a power failure. During
normal operation, the CE gate is enabled and passes
all CE transitions. When reset is asserted, this path
becomes disabled, preventing erroneous data from
corrupting the CMOS RAM. The MAX791 uses a series
transmission gate from the Chip-Enable Input (CE IN) to
CE OUT (Figure 1).
The 10ns max CE propagation from CE IN to CE OUT
Microprocessor Supervisory Circuit
10 ______________________________________________________________________________________
MAX791
CLOCK
V
CC
CD4013
V
CC
GND
V
OUT
MR
0.1µF
4.7k
*SETS Q HIGH ON POWER-UP
VBATT
RESET
WDI
WDPO
WDO
µP POWER
µP
RESET
TWO
CONSECUTIVE
WATCHDOG
FAULT
INDICATIONS
I/O
Q
D
Q
SET RESET V
SS
2
15
11
LOWLINE
NMI
INTERRUPT
10
16
1/6 74HC04
14
1
5
3
14
3
2
7
46
*1µF
+5V
1
9
4
REACTIVATE
+5V
3.6V
Figure 6. Two Consecutive Watchdog Faults Latch the System in Reset
enables the MAX791 to be used with most µPs.
Chip-Enable Input
CE IN is high impedance (disabled mode) while RESET
is asserted.
During a power-down sequence where V
CC
passes
4.65V, CE IN assumes a high-impedance state when
the voltage at CE IN goes high or 15µs after reset is
asserted, whichever occurs first (Figure 7).
During a power-up sequence, CE IN remains high
impedance, regardless of CE IN activity, until reset is
deasserted following the reset-timeout period.
In the high-impedance mode, the leakage currents into
this input are ±1µA max over temperature. In the low-
impedance mode, the impedance of CE IN appears as
a 75 resistor in series with the load at CE OUT.
The propagation delay through the CE transmission
gate depends on both the source impedance of the
drive to CE IN and the capacitive loading on CE OUT
(see the Chip-Enable Propagation Delay vs. CE OUT
Load Capacitance graph in the Typical Operating
Characteristics). The CE propagation delay is produc-
tion tested from the 50% point on CE IN to the 50%
point on CE OUT using a 50 driver and 50pF of load
capacitance (Figure 8). For minimum propagation
delay, minimize the capacitive load at CE OUT and use
a low output-impedance driver.
Chip-Enable Output
In the enabled mode, the impedance of CE OUT is
equivalent to 75 in series with the source driving CE
IN. In the disabled mode, the 75 transmission gate is
off and CE OUT is actively pulled to V
OUT
. This source
turns off when the transmission gate is enabled.
LOWLINE Output
The low-line comparator monitors V
CC
with a typical
threshold voltage 150mV above the reset threshold,
and has 15mV of hysteresis. LOWLINE typically sinks
3.2mA at 0.1V. For normal operation (V
CC
above the
LOWLINE threshold), LOWLINE is pulled to V
OUT
. If
access to the unregulated supply is unavailable, use
LOWLINE to provide a nonmaskable interrupt (NMI) to
the µP as V
CC
begins to fall (Figure 9a).
Power-Fail Comparator
The power-fail comparator is an uncommitted compara-
tor that has no effect on the other functions of the IC.
Common uses include monitoring supplies other than
5V (see the Typical Operating Circuit and the
Monitoring a Negative Voltage section) and early
power-fail detection when the unregulated power is
easily accessible (Figure 9b).
MAX791
Microprocessor Supervisory Circuit
______________________________________________________________________________________ 11
V
CC
CE IN
RESET
THRESHOLD
CE OUT
RESET
RESET
100µs
15µs
100µs
Figure 7. Reset and Chip-Enable Timing
MAX791
CE IN
C
LOAD
CE OUT
GND
+5V
50 DRIVER
V
CC
Figure 8. CE Propagation Delay Test Circuit
MAX791
Power-Fail Input
PFI is the input to the power-fail comparator. PFI has a
guaranteed input leakage of ±25nA max over tempera-
ture. The typical comparator delay is 15µs from V
IL
to
V
OL
(power failing), and 55µs from V
IH
to V
OH
(power
being restored). If unused, connect this input to
ground.
Power-Fail Output
The Power-Fail Output (PFO) goes low when PFI goes
below 1.25V. It typically sinks 3.2mA with a saturation
voltage of 0.1V. With PFI above 1.25V, PFO is actively
pulled to V
OUT
. Connecting PFI through a voltage-
divider to an unregulated supply allows PFO to gener-
ate an NMI as the unregulated power begins to fall
(Figure 9b). If the unregulated supply is inaccessible,
use LOWLINE to generate the NMI. The LOWLINE
threshold is typically 150mV above the reset threshold
(see LOWLINE Output section).
Battery-Backup Mode
The MAX791 requires two conditions to switch to bat-
tery-backup mode: 1) V
CC
must be below the reset
threshold; 2) V
CC
must be below VBATT. Table 1 lists
the status of the inputs and outputs in battery-backup
mode.
Microprocessor Supervisory Circuit
12 ______________________________________________________________________________________
Table 1. Input and Output States in
Battery-Backup Mode
* V
CC
must be below the reset threshold to enter battery-
backup mode.
Logic high. The open-circuit output
voltage is equal to V
OUT
.
W
D
P
O
16
Logic low*
R
E
S
E
T
15
Logic high. The open-circuit output
voltage is equal to V
OUT
.
W
D
O
14
High impedance
C
E
IN
13
Logic high. The open-circuit output
voltage is equal to V
OUT
.
C
E
OUT
12
WDI is ignored, and goes high
impedance.
WDI11
Logic low*
L
O
W
L
I
N
E
10
M
R
is ignored.
M
R
9
SWT is ignored.SWT8
The power-fail comparator remains
active in the battery-backup mode for
V
CC
VBATT - 1.2V typ.
PFI7
The power-fail comparator remains
active in the battery-backup mode for
V
CC
VBATT - 1.2V typ. Below this
voltage,
P
F
O
is forced low.
P
F
O
6
Logic high. The open-circuit output is
equal to V
OUT
.
BATT ON5
GND—0V reference for all signals.GND4
Battery-switchover comparator
monitors V
CC
for active switchover.
V
CC
3
V
OUT
is connected to VBATT through
an internal PMOS switch.
V
OUT
2
Supply current is 1µA maximum.VBATT1
STATUSNAMEPIN
MAX791
V
OUT
V
CC
FROM
REGULATED
SUPPLY
POWER TO
CMOS RAM
VBATT
RESET
LOWLINE
WDI
GND
RESET
NMI
I/O LINE
µP
µP POWER
2
0.1µF
0.1µF
3.0V
1
3
4
a)
b)
15
10
11
MAX791
V
OUT
V
CC
PFI
POWER TO
CMOS RAM
VBATT
RESET
PFO
WDI
GND
VOLTAGE
REGULATOR
RESET
NMI
I/O LINE
µP
µP POWER
2
0.1µF
0.1
µF
3.0V
1
3
7
4
15
6
11
Figure 9. a) If the unregulated supply is inaccessible,
LOWLINE generates the NMI for the µP. b) Use PFO to gener-
ate the µP NMI if the unregulated supply is inaccessible.

MAX791ESE+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Supervisory Circuits MPU Supervisor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet