English
Language : 

BQ4802YDWRG4 Datasheet, PDF (14/26 Pages) Texas Instruments – PARALLEL REAL-TIME CLOCK WITH CPU SUPERVISOR
bq4802Y
bq4802LY
SLUS464C – AUGUST 2000 – REVISED JUNE 2002
VPFD. RTC operation and storage data are sustained by a
valid backup energy source. When VCC is above VPFD, the
power source is VCC. Write-protection continues for tCSR
time after VCC rises above VPFD.
An external CMOS static RAM is battery-backed using the
VOUT and chip enable output pins from the bq4802Y/
bq4802LY. As the voltage input VCC slews down during a
power failure, the chip enable output, CEOUT, is forced
inactive independent of the chip enable input CEIN.
This activity unconditionally write-protects the external
SRAM as VCC falls below VPFD. If a memory access is in
progress to the external SRAM during power-fail
detection, that memory cycle continues to completion
before the memory is write-protected. If the memory cycle
is not terminated within time tWPT, the chip enable output
is unconditionally driven high, write-protecting the
controlled SRAM.
As the supply continues to fall past VPFD, an internal
switching device forces VOUT to the external backup
energy source. CEOUT is held high by the VOUT energy
source.
During power up, VOUT is switched back to the main supply
as VCC rises above the backup cell input voltage sourcing
VOUT. If VPFD < VBC on the bq4802Y/bq4802LY the switch
to the main supply occurs at VPFD. CEOUT is held inactive
for time tCER (200-ms maximum) after the power supply
has reached VPFD, independent of the CEIN input, to allow
for processor stabilization.
During power-valid operation, the CEIN input is passed
through to the CEOUT output with a propagation delay of
less than 12 ns. Figure 2 shows the hardware hookup for
the external RAM, battery, and crystal.
A primary backup energy source input is provided on the
bq4802Y/bq4802LY. The BC input accepts a 3-V primary
battery, typically some type of lithium chemistry. Since the
bq4802Y/bq4802LY provides for reverse battery charging
protection, no diode or current limiting resistor is needed
in series with the cell. To prevent battery drain when there
is no valid data to retain, VOUT and CEOUT are internally
isolated from BC by the initial connection of a battery.
Following the first application of VCC above VPFD, this
isolation is broken, and the backup cell provides power to
VOUT and CEOUT for the external SRAM. The crystal
should be located as close to X1 and X2 as possible and
meet the specifications in the crystal specifications section
of the electrical characteristics tables. With the specified
crystal, the bq4802Y/bq4802LY RTC is accurate to within
one minute per month at room temperature. In the absence
of a crystal, a 32.768-kHz waveform can be fed into X1 with
X2 grounded. The power source and crystal are integrated
into the SNAPHAT modules.
14
www.ti.com
Power-On Reset
The bq4802Y/bq4802LY provides a power-on reset, which
pulls the RST pin low on power down and remains low on
power up for tRST after VCC passes VPFD. With valid
battery voltage on BC, RST remains valid for VCC = VSS.
Push-Button Reset
The bq4802Y/bq4802LY also provides a push-button
override to the reset when the device is not already in a
reset cycle. When the RST pin is released after being
pulled low for 1 µs then the RST stays low for 200 ms
(typical).
WATCHDOG TIMER
The watchdog monitors microprocessor activity through
the watchdog input (WDI). To use the watchdog function,
connect WDI to a bus line or a microprocessor I/O line. If
WDI remains high or low for longer than the watchdog
time-out period (1.5 seconds default), the bq4802Y/
bq4802LY asserts WDO and RST.
Watchdog Input
The bq4802Y/bq4802LY resets the watchdog timer if a
change of state (high-to-low, low-to-high, or a minimum
100 ns pulse) occurs at the watchdog input (WDI) during
the watchdog period. The watchdog time-out is set by
WD0 – WD2 in register B. The bq4802Y/bq4802LY
maintains the watchdog time-out programming through
power cycles. The default state (no valid battery power) of
WD0 – WD2 is 000 or 1.5 s on power up. Table 3 shows
the programmable watchdog time-out rates. The
watchdog time-out period immediately after a reset is
equal to the programmed watchdog time-out.
To disable the watchdog function, leave WDI floating. An
internal resistor network (100-kΩ equivalent impedance at
WDI) biases WDI to approximately 1.6 V. Internal
comparators detect this level and disable the watchdog
timer. When VCC is below the power-fail threshold, the
bq4802Y/bq4802LY disables the watchdog function and
disconnects WDI from its internal resistor network, thus
making it high impedance.
Watchdog Output
The watchdog output (WDO) remains high if there is a
transition or pulse at WDI during the watchdog timeout
period. The bq4802Y/bq4802LY disables the watchdog
function and WDO is a logic high when VCC is below the
power fail threshold, battery-backup mode is enabled, or
WDI is an open circuit. In watchdog mode, if no transition
occurs at WDI during the watchdog time-out period, the
bq4802Y/bq4802LY asserts RST for the reset time-out
period t1. WDO goes low and remains low until the next
transition at WDI. If WDI is held high or low indefinitely,
RST generates pulses (t1 seconds wide) every t3
seconds. Figure 11 shows the watchdog timing.