DS1238S-10 ,MicroManagerapplicationsRVT - Reset Voltage Threshold Pin-for-pin compatible with MAX691OSCIN - Oscillator In ..
DS1238S-5 ,MicroManagerapplications.CEOChip enable input.CEIWatchdog Status. Indicates that a watchdog timeout has occurre ..
DS1239-10 ,MicroManager ChipapplicationsPF - Power Fail (Active Low) Supplies necessary control for low-powerWC/SC - Wake-Up C ..
DS1239S-10 ,MicroManager ChipFEATURES PIN ASSIGNMENT Provides necessary control for start up andVBAT 1 16 PSOshutdown of power ..
DS1239S-5 ,MicroManager ChipapplicationsPSI - Power Supply Control Input Standard 16-pin DIP or space-saving 16-pinIN - Early ..
DS1243Y ,64K NV SRAM with Phantom ClockFEATURES PIN CONFIGURATION Real-Time Clock Keeps Track of Hundredths TOP VIEW of Seconds, Secon ..
DTA144TM , -100mA / -50V Digital transistors (with built-in resistor)
DTA144TT1 ,Bias Resistor Transistor2P POWER DISSIPATION (mW)D,DTA144TT1INFORMATION FOR USING THE SC–59 SURFACE MOUNT PACKAGEMINIMUM RE ..
DTA144WE ,Bias Resistor TransistorDTA114EET1 SeriesPreferred DevicesBias Resistor TransistorsPNP Silicon Surface Mount Transistorswit ..
DTA144WET1 ,Bias Resistor Transistordevice and its external resistor bias network. The Bias ResistorTransistor (BRT) contains a single ..
DTA144WF , DTA/DTC SERIES
DTA144WS , DTA/DTC SERIES
DS1238S-10-DS1238S-5
MicroManager
FEATURESHolds microprocessor in check during power
transientsHalts and restarts an out-of-controlmicroprocessorWarns microprocessor of an impending power
failureConverts CMOS SRAM into nonvolatile
memoryUnconditionally write-protects memory when
power supply is out of toleranceDelays write protection until completion of
the current memory cycleConsumes less than 200 nA of battery currentControls external power switch for high
current applicationsDebounces pushbutton resetAccurate 10% power supply monitoringOptional 5% power supply monitoringdesignated DS1238-5Provides orderly shutdown in microprocessor
applicationsPin-for-pin compatible with MAX691Standard 16-pin DIP or space-saving 16-pinSOICOptional industrial temperature range -40°C
to +85°C
PIN ASSIGNMENT
PIN DESCRIPTIONVBAT - +3-Volt Battery Input
VCCO - Switched SRAM Supply Output
VCC - +5-Volt Power Supply Input
GND - Ground
PF - Power-Fail
RVT - Reset Voltage ThresholdOSCIN - Oscillator In
OSCSEL- Oscillator Select
IN - Early Warning Input
NMI - Non-Maskable Interrupt - Strobe Input
CEO - Chip Enable Output
CEI - Chip Enable Input
WDS - Watchdog Status
RST - Reset Output (active low)
RST- Reset Output (active high)
DESCRIPTIONThe DS1238 MicroManager provides all the necessary functions for power supply monitoring, reset
control, and memory backup in microprocessor-based systems. A precise internal voltage reference and
comparator circuit monitor power supply status. When an out-of-tolerance condition occurs, themicroprocessor reset and power-fail outputs are forced active, and static RAM control unconditionally
DS123816-Pin SOIC (300-mil)
See Mech. Drawings Section
VBAT
VCCO
VCC
RST
RST
WDS
GNDCEI
RVT
OSCIN
CEO
NMI
OSCSELIN
16-Pin DIP (300-mil)
See Mech. Drawings Section
VBAT
VCCO
VCC
RST
RST
WDS
GNDCEI
RVT
OSCIN
CEO
NMI
OSCSELIN
DS1238
debounce circuit connected to the RST pin. An internal watchdog timer can also force the reset outputs to
the active state if the strobe input is not driven low prior to watchdog timeout. Oscillator control pins
OSCSEL and OSCIN provide either external or internal clock timing for both the reset pulse width and
the watchdog timeout period. The Watchdog Status and Reset Voltage Threshold are provided via WDS
and RVT, respectively. A block diagram of the DS1238 is shown in Figure 1.
PIN DESCRIPTION
POWER MONITORThe DS1238 employs a band gap voltage reference and a precision comparator to monitor the 5-volt
supply (VCC) in microprocessor-based systems. When an out-of-tolerance condition occurs, the RVT,
RST, and RST outputs are driven to the active state. The VCC trip point (VCCTP) is set for 10% operation
so that the RVT, RST and RST outputs will become active as VCC falls below 4.5 volts (4.37 typical).
The VCCTP for the 5% operation option (DS1238-5) is set for 4.75 volts (4.62 typical). The RST and RST
signals are excellent for microprocessor reset control, as processing is stopped at the last possible moment
of in-tolerance VCC. On power up, RVT will become inactive as soon as VCC rises above VCCTP. However,
the RST and RST signals remain active for a minimum of 50 ms (100 ms typical) after VCCTP is reachedto allow the power supply and microprocessor to stabilize.
DS1238
DS1238 FUNCTIONAL BLOCK DIAGRAM Figure 1
WATCHDOG TIMERThe DS1238 provides a watchdog timer function which forces the WDS, RST, and RST signals to the
active state when the strobe input (ST) is not stimulated for a predetermined time period. This time period
is described below in Table 1. The watchdog timeout period begins as soon as RST and RST are inactive.
If a high-to-low transition occurs at the ST input prior to timeout, the watchdog timer is reset and begins
to time out again. The ST input timing is shown in Figure 2. In order to guarantee that the watchdog timer
does not time out, a high-to-low transition on ST must occur at or less than the minimum timeout of the
watchdog as described in the AC Electrical Characteristics. If the watchdog timer is allowed to time out,
DS1238
Table 1. The WDS pin will remain low until one of three operations occurs. The first is to strobe the ST
pin with a falling edge, which will both set the WDS as well as the watchdog timer count. The second is
to leave the ST pin open, which disables the watchdog. Lastly, the WDS pin is active low whenever VCC
falls below VCCTP and activates the RVT signal. The ST input can be derived from microprocessor
address, data, or control signals, as well as microcontroller port pins. Under normal operating conditions,
these signals would routinely reset the watchdog timer prior to time out. The watchdog is disabled by
leaving the ST input open, or as soon as VCC falls to VCCTP.
NON-MASKABLE INTERRUPTThe DS1238 generates a non-maskable interrupt (NMI) for early warning of a power failure to the
microprocessor. A precision comparator monitors the voltage level at the IN pin relative to an on-chip
reference generated by an internal band gap. The IN pin is a high impedance input allowing for a user-defined sense point. An external resistor voltage divider network (Figure 5) is used to interface with high
voltage signals. This sense point may be derived from the regulated 5-volt supply, or from a higher DC
voltage level closer to the main system power input. Since the IN trip point VTP is 1.27 volts, the proper
values for R1 and R2 can be determined by the equation as shown in Figure 5. Proper operation of the
DS1238 requires that the voltage at the IN pin be limited to VIH. Therefore, the maximum allowablevoltage at the supply being monitored (VMAX) can also be derived as shown in Figure 5. A simple
approach to solving this equation is to select a value for R2 of high enough value to keep power
consumption low and solve for R1. The flexibility of the IN input pin allows for detection of power loss
at the earliest point in a power supply system, maximizing the amount of time for microprocessor
shutdown between NMI and RST or RST.
When the supply being monitored decays to the voltage sense point, the DS1238 will force the NMI
output to an active state. Noise is removed from the NMI power-fail detection circuitry using built-intime domain hysteresis. That is, the monitored supply is sampled periodically at a rate determined by an
internal ring oscillator running at approximately 30kHz (33 μs/cycle). Three consecutive samplings of
out-of-tolerance supply (below VSENSE) must occur at the IN pin to active NMI. Therefore, the supply
must be below the voltage sense point for approximately 100 μs or the comparator will reset. In this way,
power supply noise is removed from the monitoring function preventing false trips. During a power-up,
any IN pin levels below VTP detected by the comparator are disabled from reaching the NMII pin until
VCC rises to VCCTP. As a result, any potential active NMI will not be initiated until VCC reaches VCCTP.
Removal of an active low level on the NMI pin is controlled by the subsequent rise of the IN pin above
VTP. The initiation and removal of the NMI signal during power up depends on the relative voltage
relationship between VCC and the IN pin voltage. Note that a fast-slewing power supply may cause the
NMI to be virtually nonexistent on power up. This is of no consequence, however, since an RST will be
active. The NMI voltage will follow VCC down until VCC decays to VBAT. Once VCC decays to VBAT, the
NMI pin will enter a tri-state mode.
INPUT TIMING Figure 2
DS1238
OSCILLATOR CONTROLS Table 1
Note that the OSCIN and OSCSEL pins are tri-stated when VCC is below VBAT.
POWER MONITOR, WATCHDOG TIMER, AND PUSHBUTTON RESET Figure 3
PUSHBUTTON RESET TIMING Figure 4
DS1238
NON-MASKABLE INTERRUPT Figure 5
VSENSE = R2
MAXVOLTAGE = 1.27
NMI FROM IN INPUT Figure 6
DS1238
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 (VCC) or from an
external battery (VBAT), 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 VCC or to within
0.7 volts of VBAT. The output voltage diode drop from VBAT (0.7 V) is necessary to prevent charging of
the battery in violation of UL standards. Write protection occurs as VCC falls below VCCTP as specified. If
CEI is low at the time power-fail detection occurs, CEO is held in its present state until CEI is returnedhigh, or the period tCE 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 VCC fail detection, CEO will
be unconditionally disabled within tCF. 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 VCCO, RST, RST, and CEO. The WDS output will be driven active low. The PF pin is notdisabled by the freshness mode and will continue to source power from the VBAT pin whenever VCC is
below VBAT. The freshness seal will be disconnected and normal operation will begin when VCC is cycled
and reapplied to a level above VBAT.
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 VCCO 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 VCC to battery on power-down, and from battery to VCC on
power-p. The DS1336 is designed to use the PF output to switch between VBAT and VCC. It provides
better leakage and switchover performance than currently available discrete components. The transition
threshold for PF is set to the external battery voltage VBAT, 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.