DS1238
7 of 14
MEMORY BACKUP
The DS1238 provides all of the necessary functions required to battery back a static RAM. First, an
internal switch is provided to supply SRAM power from the primary 5-volt supply (V
CC
) or from an
external battery (V
BAT
), whichever is greater. Second, the same power-fail detection described in the
power monitor section is used to hold the chip enable output (
CEO ) to within 0.3 volts of V
CC
or to within
0.7 volts of V
BAT
. The output voltage diode drop from V
BAT
(0.7 V) is necessary to prevent charging of
the battery in violation of UL standards. Write protection occurs as V
CC
falls below V
CCTP
as specified. If
CEI is low at the time power-fail detection occurs, CEO is held in its present state until CEI is returned
high, or the period t
CE
expires. This delay of write protection until the current memory cycle is completed
prevents the corruption of data. If
CEO is in an inactive state at the time of V
CC
fail detection, CEO will
be unconditionally disabled within t
CF
. During nominal supply conditions CEO will follow CEI with a
maximum propagation delay of 20 ns. Figure 7 shows a typical nonvolatile SRAM application.
FRESHNESS SEAL
In order to conserve battery capacity during storage and/or shipment of an end system, the DS1238
provides an internal freshness seal to electrically disconnect the battery. Figure 8 depicts the three pulses
below ground on the IN pin required to invoke the freshness seal. The freshness seal will result in the tri-
state of outputs V
CCO
, RST, RST , and CEO . The WDS output will be driven active low. The PF pin is not
disabled by the freshness mode and will continue to source power from the V
BAT
pin whenever V
CC
is
below V
BAT
. The freshness seal will be disconnected and normal operation will begin when V
CC
is cycled
and reapplied to a level above V
BAT
.
To prevent negative pulses associated with noise from setting the freshness mode in system applications,
a series diode and resistor can be used to shunt noise to ground. During manufacturing, the freshness seal
can still be set by holding TP2 at -3 volts while applying the 0 to -3-volt clock to TP1.
POWER SWITCHING
When larger operating currents are required in a battery-backed system, the internal switching devices of
the DS1238 may be too small to support the required load through V
CCO
with a reasonable voltage drop.
For these applications, the PF output is provided to gate external power switching devices. As shown in
Figure 9, power to the load is switched from V
CC
to battery on power-down, and from battery to V
CC
on
power-p. The DS1336 is designed to use the PF output to switch between V
BAT
and V
CC
. It provides
better leakage and switchover performance than currently available discrete components. The transition
threshold for PF is set to the external battery voltage V
BAT
, allowing a smooth transition between sources.
Any load applied to the PF pin by an external switch will be supplied by the battery. Therefore, if a
discrete switch is used, this load should be taken into consideration when sizing the battery.
DS1238
8 of 14
NONVOLATILE SRAM Figure 7
FRESHNESS SEAL Figure 8
Note: This series of pulses must be applied during normal +5 volt operation.
DS1238
9 of 14
POWER SWITCHING Figure 9
Note: If freshness on the DS1238 is not used, PF on the DS1336 may be tied to OUT1. This will free IN4, OUT4,
and V
BAT01
for system use.
TIMING DIAGRAMS
This section provides a description of the timing diagrams shown in Figure 10 and Figure 11. Figure 10
illustrates the relationship for power down. As V
CC
falls, the IN pin voltage drops below V
TP
. As a result,
the processor is notified of an impending power failure via an active
NMI . This gives the processor time
to save critical data in nonvolatile SRAM. As the power falls further, V
CC
crosses V
CCTP
, the power
monitor trip point. When V
CC
reaches V
CCTP
, and active RST and RST are given. At this time, CEO is
brought high to write-protect the RAM. When the V
CC
reaches V
BAT
, a power-fail is issued via the PF pin.
Figure 11 shows the power-up sequence. As V
CC
slews above V
BAT
, the PF pin is deactivated. An active
reset occurs as well as an
NMI . Although the NMI may be short due to slew rates, reset will be
maintained for the standard t
RPU
timeout period . At a later time, if the IN pin falls below V
TP
, a new NMI
will occur. If the processor does not issue an ST , a watchdog reset will also occur. The second NMI and
RST are provided to illustrate these possibilities.

DS1238-10+

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

Products related to this Datasheet