sp791 Exar Corporation, sp791 Datasheet - Page 10
![no-image](/images/manufacturer_photos/0/2/243/exar_corporation_sml.jpg)
sp791
Manufacturer Part Number
sp791
Description
Low Power Microprocessor Supervisory With Battery Switch-over
Manufacturer
Exar Corporation
Datasheet
1.SP791.pdf
(19 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
sp791CN
Manufacturer:
SIPEX
Quantity:
3 500
Part Number:
sp791CN
Manufacturer:
EXAR/SIPE
Quantity:
20 000
Company:
Part Number:
sp791CS
Manufacturer:
NS
Quantity:
14 716
Company:
Part Number:
sp791EN
Manufacturer:
SIPEX
Quantity:
1 000
Part Number:
sp791EN
Manufacturer:
SIPEX
Quantity:
20 000
Part Number:
sp791EN-L
Manufacturer:
SIPEX
Quantity:
20 000
SP791DS/08
WATCHDOG FUNCTION
The watchdog monitors
Watchdog Input (WDI). If the P becomes in-
active over a period of time, WDO and WDPO
are asserted.
To use the watchdog functon, connect WDI to a
bus line or P I/O line. If WDI remains high or
low for longer than the watchdog timeout
period (1.6sec nominal), WDPO and WDO are
asserted, indicating a software fault or idle
condition.
WATCHDOG INPUT
A change of logic state (minimum 100ns dura-
tion) at WDI during the watchdog period will
reset the watchdog timer. The watchdog default
timeout is 1.6sec. To select an alternative
timeout period, connect an external capacitor
from SWT to GND.
To disable the watchdog function, leave WDI
floating. An internal impedance network (100k
equivalent at WDI) biases WDI to approximately
1.6V. Internal comparators detect this level and
disable the watchdog timer. When Vcc is below
the reset threshold, the watchdog function is dis-
abled and WDI is disconnected from its internal
network, thus becoming high impedance.
WATCHDOG OUTPUT
WDO remains high if there is activity (transi-
tion or pulse) at WDI during the watchdog-
timeout period. The watchdog function is dis-
abled and WDO is a logic high when V
less than the reset threshold, or when WDI is an
open circuit. In watchdog mode, if no transi-
tion occurs at WDI during the watchdog-timeout
period, WDO goes low 70ns after the falling
edge of WDPO and remains low until the next
transition at WDI as shown on Figure 5. A flip-
flop can force the system into a hardware shut-
down if there are two successive watchdog
faults, shown on Figure 6. WDO has a 2 x TTL
output characteristic.
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 fall-
SP791 Low Power Microprocessor Supervisory with Battery Switch-Over
P activity via the
CC
is
10
ing edge of WDPO precedes WDO by 70ns.
Since WDO is high when WDPO goes low, the
Q output of the flip-flop remains high as WDO
goes low (Figure 6). If the watchdog timer is
not reset by a transition at WDI, WDO remains
low and WDPO clocks a logic low to the Q out-
put, causing the SP791 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 re-
mains 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
do not connect these outputs directly to CMOS
logic that is powered from V
sence of V
current will flow from WDO or WDPO through
the protection diode(s) of the CMOS-logic in-
puts to ground.
SELECTING AN ALTERNATIVE
WATCHDOG TIMEOUT PERIOD
SWT input controls the watchdog-timeout pe-
riod. Connecting SWT to V
ternal 1.6sec watchdog-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 watch-
dog-timeout period:
This formula is valid for capacitance values
between 4.7 nF and 100nF (see the Watchdog
Timeout vs. Timing Capacitor graph in the Typi-
cal Operating Characteristics).
CHIP-ENABLE SIGNAL GATING
The SP791 provides internal gating of chip-en-
able (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 dis-
abled, preventing erroneous data from corrupt-
ing the CMOS RAM. The SP791 uses a series
transmission gate from CE
Watchdog Timeout Period = 2.1 x
(capacitor value in nF) ms
CC
(i.e., battery mode), excessive
© Copyright 2000 Sipex Corporation
IN
OUT
CC
to CE
OUT
since, in the ab-
selects the in-
. Therefore,
OUT
.