MAX6917
I
2
C-Compatible RTC with Microprocessor
Supervisor, Alarm, and NV RAM Controller
______________________________________________________________________________________ 25
Chip-Enable Output
When the CE transmission gate is enabled, the imped-
ance seen at CE_OUT is equivalent to a 46 (typ)
resistor in series with the source driving CE_IN. In the
disabled mode, the transmission gate is off and an
active pullup connects CE_OUT to V
OUT
(see Figures
14, 16). This pullup turns off when the transmission
gate is enabled.
Test Configuration Register
This is a read-only register.
Data Valid Bit
DATA VALID has a POR setting of zero, indicating that
the data in the MAX6917 RTC is not guaranteed to be
valid (Table 1). A read of the status register sets the
DATA VALID bit to one, indicating valid data in the
MAX6917 RTC. In a system that uses a backup power
supply, the DATA VALID bit should be set to one by the
system software on first system power-up by reading the
status register. After that, any time the system recovers
from a reset condition caused by V
CC
< V
RST
, the DATA
VALID bit can be read to see if the data stored during
operation from the backup power supply is still valid (i.e.,
the backup power supply did not drop out). A one indi-
cates valid data and a zero indicates corrupted data.
Any time the internal supply to the MAX6917 (either
V
BATT
or V
CC
depending upon the operating conditions)
drops below 1.5V to 1.6V (typ), the DATA VALID bit is set
to zero even if it has recently been set by a read of the
status register.
V
CC
RESET
CE_OUT
CE_IN
2.0V
V
RST
t
RP
t
RP
V
BATT
V
CC
t
CED
t
RCE
t
RPD
V
RST
Figure 16. Chip-Enable Timing Diagram
MAX6917
I
2
C-Compatible RTC with Microprocessor
Supervisor, Alarm, and NV RAM Controller
26 ______________________________________________________________________________________
Battery Test
Battery-Test Normal Operation
In normal operation, the battery-test circuitry uses the
control register POR settings of INT/EXT TEST, which is
set to logic low as default (Table 1). In this mode, all bat-
tery-test load resistors and threshold settings are internal.
When V
CC
rises above V
RST
, the MAX6917 automatically
performs one power-on battery monitor test. Additionally,
a battery check is performed every time that a reset is
issued, either from a manual reset or a watchdog timeout.
After that, periodic battery voltage monitoring at the facto-
ry-programmed time interval of 24hr begins while V
CC
is
applied.
After each 24hr period (t
BTCN
) has elapsed, the
MAX6917 connects V
BATT
to an internal 0.91M (typ)
test resistor (R
SET+_Int
+ R
SET-_Int
) for 1s (t
BTPW
)
(Figure 17). During this 1s, if V
BATT
falls below the fac-
tory-programmed battery trip point V
BTP
, the open-
drain, battery-low output, BATT_LO, is asserted active
low and the BATT LO bit in the status register is set to
one. The BATT LO output can be register selected to
toggle at a 1Hz rate (0.5s on, 0.5s off) when active.
Once BATT LO is active, the 24hr tests stop until a
fresh battery is inserted and BATT LO is cleared by
writing any data to the battery test register at address
0x0D (Figure 18). Writing to this register performs a
battery test and provided that the fresh battery is not
low, deactivates the BATT LO output and resets BATT
LO in the status register. Normal 24hr testing resumes.
If a different load or BATT LO thresholds are desired for
testing the backup battery, then external program resis-
tors can be used in conjunction with the TRIP and TEST
inputs (see the Battery Test-Control Register and Other
Test Options section).
Battery replacement following BATT_LO activation
should be done with V
CC
nominal and not in battery-
backup mode so that SRAM data is not lost.
Alternatively, if SRAM data need not be saved, the bat-
tery can be replaced with the V
CC
supply removed. If a
battery is replaced in battery-backup mode, sufficient
time must be allowed for the voltage on the V
OUT
out-
put to decay to zero. This ensures that the freshness-
seal mode of operation has been reset and is active
when V
CC
is powered up again. If insufficient time is
allowed, then V
CC
must exceed V
BATT
during the sub-
sequent power-up to ensure that the MAX6917 has left
battery-backup mode (Figure 19).
The MAX6917 does not constantly monitor an attached
battery because such monitoring would drastically
reduce the life of the battery. As a result, the MAX6917
MAX6917
1.24V
V
CC
BATT_LO
CONTROL
LOGIC
R
SET+_INT
480k
R
SET-_INT
430k
V
OUT
INT/EXT
TEST = 0
(±5mA)
BATT
TEST
TEST
TRIP
VBATT
BATT_LO
R
SET+_EXT
R
LOAD_EXT
(OPTIONAL)
R
SET-_EXT
Q
EXT
INT/EXT
TEST
Figure 17. MAX6917 Battery Load and Test Circuit
MAX6917
I
2
C-Compatible RTC with Microprocessor
Supervisor, Alarm, and NV RAM Controller
______________________________________________________________________________________ 27
only tests the battery for 1s every 24hr. If a good bat-
tery (one that has not been previously flagged with
BATT_LO) is removed between battery tests, the
MAX6917 does not immediately sense the removal and
does not activate BATT_LO until the next-scheduled
battery test. For this reason, a software-commanded
battery test should be performed after a battery
replacement by writing any data to the battery-test reg-
ister at address 1Ah.
Battery monitoring is only a useful technique when test-
ing can be done regularly over the entire life of a lithium
battery. Because the MAX6917 only performs battery
monitoring when V
CC
is nominal, systems that are pow-
ered down for excessively long periods can completely
drain their lithium cells without receiving any advanced
warning. To prevent such an occurrence, systems
using the MAX6917 battery-monitoring feature should
be powered up periodically (at least every few months)
to perform battery testing. Furthermore, anytime
BATT_LO is activated on the first battery test after a
power-up, data integrity should be checked through a
checksum or other technique. Timekeeping data would
also be suspect and should be checked for accuracy
against an accurate known reference.
t
BTCN
t
BTPW
t
BL
ONCE THE BATTERY IS DETECTED AS LOW,
THE PERIODIC BATTERY TESTING CEASES.
A BATTERY CHECK CAN BE INITIATED BY
WRITING TO THE REGISTER 0x1A.
V
RST
V
CC
V
BATT
BATTERY-
TEST ACTIVE
BATT_LO
V
BTP
(BATTERY TEST POINT)
Figure 18. Battery-Test Timing Diagram
V
CC
V
BATT
0V
V
OUT
0V
V
RST
V
BATT
V
RST
V
RST
V
RST
EXIT FRESHNESS
SEAL MODE
FRESHNESS
SEAL RESET
V
BATT
CONNECTED TO V
OUT
V
CC
CONNECTED
TO V
OUT
V
BATT
CONNECTED
TO V
OUT
V
CC
CONNECTED
TO V
OUT
V
BATT
CONNECTED
TO V
OUT
V
BATT
FLOATING
V
BATT
FLOATING
BATTERY
ATTACH
BATTERY
DETACH
BATTERY
ATTACH
BATTERY
DETACH
Figure 19. Battery Switchover Diagram

MAX6917EO30+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
IC RTC I2C COMPAT 20-QSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union