MAX696/MAX697
Microprocessor Supervisory Circuits
10 ______________________________________________________________________________________
CE
Gating and
RAM Write Protection
The MAX697 uses two pins to control the CE or WRITE
inputs of CMOS RAMs. When LLIN is > 1.3V, CE OUT is
a buffered replica of CE IN, with a 50ns propagation
delay. If LLIN input falls below 1.3V (1.2V min, 1.4V
max), an internal gate forces CE OUT high, indepen-
dent of CE IN. The CE output is also forced high when
VCC is less than VBATT. (See Figure 4.)
CE OUT typically drives the CE, CS, or WRITE input of
battery backed up CMOS RAM. This ensures the
integrity of the data in memory by preventing write
operations when VCC is at an invalid level. Similar pro-
tection of EEPROMs can be achieved by using the CE
OUT to drive the STORE or WRITE inputs of an EEP-
ROM, EAROM, or NOVRAM.
If the 50ns typical propagation delay of CE OUT is too
long, connect CE IN to GND and use the resulting CE
OUT to control a high-speed external logic gate. A sec-
ond alternative is to AND the LOW LINE output with the
CE or WR signal. An external logic gate and the RESET
output of the MAX696/MAX697 can also be used for
CMOS RAM write protection.
1.25V Comparator and Power-Fail Warning
The power-fail input (PFI) is compared to an internal
1.3V reference. The power-fail output (PFO) goes low
when the voltage at PFI is less than 1.3V. Typically PFI
is driven bay an external voltage-divider that senses
either the unregulated DC input to the system’s VCC
regulator or the regulated output. The voltage-divider
ration can be chosen so the voltage at PFI falls below
1.3V several milliseconds before the LLIN falls below
1.3V. PFO is normally used to interrupt the micro-
processor so that data can be stored in RAM before
LLIN falls below 1.3V and the RESET output goes low.
The power-fail detector can also monitor the backup
battery to warn of a low-battery condition. To conserve
battery power, the power-fail detector comparator is
turned off and PFO is forced low when VCC is lower
than the VBATT input voltage.
Watchdog Timer and Oscillator
The watchdog circuit monitors the activity of the micro-
processor. If the microprocessor does not toggle the
watchdog input (WDI) within the selected timeout period,
a 50ms RESET pulse is generated. Since many systems
cannot service the watchdog timer immediately after a
reset, the MAX696/MAX697 have a longer timeout period
after a reset is issued. The normal timeout period