DS1321
4 of 13
BATTERY VOLTAGE MONITORING
The DS1321 automatically performs periodic battery voltage monitoring at a factory-programmed time
interval of 24 hours. Such monitoring begins within tREC after VCCI rises above VCCTP and is suspended
when power failure occurs.
After each 24-hour period (tBTCN) has elapsed, the DS1321 connects VBAT to an internal 1 MΩ test
resistor (RINT) for one second (tBTPW). During this one second, if VBAT falls below the factory-
programmed battery voltage trip point (VBTP), the battery warning output
is asserted. While
is
active, battery testing will be performed with period tBTCW to detect battery removal and replacement.
Once asserted,
remains active until the battery is physically removed and replaced by a fresh cell.
The battery is still retested after each VCC power-up, however, even if
was active on power-down. If
the battery is found to be higher than VBTP during such testing,
is deasserted and regular 24-hour
testing resumes.
has an open-drain output driver.
Battery replacement following
activation is normally done with VCCI nominal so that SRAM data is
not lost. During battery replacement, the minimum time duration between old battery detachment and
new battery attachment (tBDBA) must be met or
will not deactivate following attachment of the new
battery. Should
not deactivate for this reason, the new battery can be detached for tBDBA and then re-
attached to clear
.
NOTE: The DS1321 cannot constantly monitor an attached battery because such monitoring would
drastically reduce the life of the battery. As a result, the DS1321 only tests the battery for one second out
of every 24 hours and does not monitor the battery in any way between tests. If a good battery (one that
has not been previously flagged with
) is removed between battery tests, the DS1321 may not
immediately sense the removal and may not activate
until the next scheduled battery test. If a battery
is then reattached to the DS1321, the battery may not be tested until the next scheduled test.
NOTE: Battery monitoring is only a useful technique when testing can be done regularly over the entire
life of a lithium battery. Because the DS1321 only performs battery monitoring when VCC is nominal,
systems which are powered-down for excessively long periods can completely drain their lithium cells
without receiving any advanced warning. To prevent such an occurrence, systems using the DS1321
battery monitoring feature should be powered-up periodically (at least once every few months) in order to
perform battery testing. Furthermore, anytime
is activated on the first battery test after a power-up,
data integrity should be checked via checksum or other technique.
POWER MONITORING
The DS1321 automatically detects out-of-tolerance power supply conditions and warns a processor-based
system of impending power failure. When VCCI falls below the trip point level defined by the TOL pin
(VCCTP), the VCCI comparator activates the reset signal
. Reset occurs in the range of 4.75 to 4.5 volts
(5% tolerance) when the TOL pin is connected to GND or in the range of 4.5 to 4.25 volts (10%
tolerance) when TOL is connected to VCCO.
also serves as a power-on reset during power-up. After VCCI exceeds VCCTP,
will be held active
for 200 ms nominal (tRPU). This reset period is sufficiently long to prevent system operation during
power-on transients and to allow tREC to expire.
has an open-drain output driver.