MAX6917
I
2
C-Compatible RTC with Microprocessor
Supervisor, Alarm, and NV RAM Controller
10 ______________________________________________________________________________________
Pin Description
PIN NAME FUNCTION
1V
OUT
Supply Output for External SRAM or Other ICs Requiring Use of Backup-Battery Power. When V
CC
rises
above the reset threshold or above V
BATT
, V
OUT
is connected to V
CC
. When V
CC
falls below V
RESET
and
V
BATT
, V
BATT
is connected to V
OUT
. Connect a 0.1µF low-leakage bypass capacitor from V
OUT
to GND.
Leave open if not used.
2 TEST
External Battery Test. Active high for 1s during each battery test. Intended to drive an external MOSFET
or bipolar transistor for an external battery-test configuration. External test must be selected in the control
register to use TEST; otherwise, it remains low. Leave open if not used.
3 TRIP
External Trip Set. If a different battery-low threshold is desired other than the internal POR default of
V
BTP
, then connect R
SET+
between V
BATT
and TRIP and R
SET-
between TRIP and the drain or collector of
an external transistor whose base or gate is connected to TEST; Figure 17 (see the Battery Test section).
External test must be selected in the control register to use TRIP. Leave open if not used.
4
BATT_ON
Open-Drain Battery-On Indicator. BATT_ON is active low when the MAX6917 is powered from V
BATT
.
5 CE_IN Chip-Enable Input. The input to the chip-enable gating circuitry. Connect CE_IN to GND if unused.
6 MR
Manual-Reset Input. A logic low on MR asserts RESET. RESET remains asserted as long as MR is low
and for t
RP
after MR returns high. The active-low MR input has an internal pullup resistor. MR can be
driven from a TTL or CMOS-logic line or shorted to ground with a switch. Internal debouncing circuitry
ensures noise immunity. Leave MR open if unused.
7 WDI
Watchdog Input. If WDI remains either high or low for longer than the watchdog timeout period, the
internal watchdog timer runs out and RESET is asserted. The internal watchdog timer clears while RESET
is asserted or when WDI sees a rising or falling edge. The watchdog function can be disabled from the
control register. The timeout period is configurable in the control register for 200ms or 1.6s.
8 GND Ground
9 X1 32.768kHz Crystal-Oscillator Input
10 X2 32.768kHz Crystal-Oscillator Output
MAX6917
I
2
C-Compatible RTC with Microprocessor
Supervisor, Alarm, and NV RAM Controller
______________________________________________________________________________________ 11
Detailed Description
Functional Description
The MAX6917 contains eight 8-bit timekeeping registers,
seven 8-bit alarm threshold registers, one status register,
one control register, one alarm-configuration register, and
96 x 8 bits of SRAM. In addition to single-byte reads and
writes to registers and RAM, there is a burst timekeeping
register read/write command, a burst RAM read/write
command, and a battery-test command that allows soft-
ware-commanded testing of the backup battery at any
time. An I
2
C-bus-compatible interface allows serial com-
munication with a µP. When V
CC
is less than the reset
threshold, the serial interface is disabled to prevent erro-
neous data from being written to the MAX6917. A µP
supervisory section and an NVRAM controller are provid-
ed for ease of implementation with µP-based systems. A
crystal fail-detect circuit and a data-valid bit can be used
to guarantee RAM data integrity and valid timekeeping
data. Two reference frequencies outputs, 32.768kHz and
1Hz, are provided for external device clocking. Time and
calendar data are stored in a binary-coded decimal
(BCD) format. Figure 1 shows the functional diagram of
the MAX6917.
Real-Time Clock
The RTC provides seconds, minutes, hours, day, date,
month, and year information. The end of the months is
automatically adjusted for months with fewer than 31
days, including corrections for leap years through 2099.
Crystal Oscillator
The MAX6917 uses an external, standard 6pF load
watch crystal. No other external components are
required for this timekeeping oscillator. Power-up oscil-
lator start time is dependent mainly upon applied V
CC
and ambient temperature. The MAX6917, because of
its low timekeeping current, exhibits a typical startup
time of 1s to 2s.
I
2
C-Compatible Interface
The I
2
C bus allows bidirectional, 2-wire communication
between different ICs. The two lines are serial data line
(SDA) and serial clock line (SCL). Both lines must be
connected to a positive supply through individual
pullup resistors (see the Typical Application Circuit).
Data transfer can only be initiated when the bus is not
busy (both SDA and SCL are high). Figure 2 shows a
timing diagram for I
2
C communication.
Pin Description (continued)
PIN NAME FUNCTION
11 32KHZ 32.768kHz Output. Buffered push-pull output that is enabled from the FOUT configuration register.
12 1HZ 1Hz Output. Buffered push-pull output that is enabled from the FOUT configuration register.
13 SDA Open-Drain Data Input/Output. I
2
C bus serial data input/output connection.
14 SCL Serial Clock Input. I
2
C bus clock for input/output data transfers.
15 ALM
Open-Drain, Active-Low Alarm Output. ALM goes low when RTC time matches alarm thresholds set in
the alarm threshold registers. ALM stays low until cleared by reading or writing to the alarm configuration
register or to any of the alarm threshold registers.
16
CE_OUT
Chip-Enable Output. CE_OUT goes low only when CE_IN is low and RESET is not asserted. If CE_IN is
low when RESET is asserted, CE_OUT remains low for t
RCE
or until CE_IN goes high, whichever occurs
first. CE_OUT is pulled to V
OUT
.
17
BATT_LO
Open-Drain, Battery-Low Indicator. BATT_LO is active low when the V
BATT
input is tested below V
BTP
if
the internal trip is selected in the control register (POR default). If external trip is selected in the control
register, then BATT_LO is active low when TRIP is less than V
TRIP
.
18 RESET
Open-Drain, Active-Low Reset Output. RESET pulses low for t
RP
when triggered, and stays low
whenever V
CC
is below the reset threshold or when MR is logic low. RESET remains low for t
RP
after
either V
CC
rises above the reset threshold or MR goes from low to high.
19 V
CC
Main Supply Input. Connect a 0.1µF bypass capacitor from V
CC
to GND.
20 V
BATT
Backup-Battery Input. When V
CC
falls below the reset threshold and V
BATT
, V
OUT
switches from V
CC
to
V
BATT
. When V
CC
rises above V
BATT
or the reset threshold, V
OUT
reconnects to V
CC
. V
BATT
may exceed
V
CC
. Connect V
BATT
to GND if no backup-battery supply is used. Connect a 0.1µF low-leakage bypass
capacitor from V
BATT
to GND.
MAX6917
I
2
C-Compatible RTC with Microprocessor
Supervisor, Alarm, and NV RAM Controller
12 ______________________________________________________________________________________
WATCHDOG
TIMER
DEBOUNCE
CIRCUIT
RESET
LOGIC
RESET
CE
CONTROL
CE_OUT
OSCILLATOR
32.768kHz
CRYSTAL-
FAIL
DETECT
DIVIDERS
SECONDS
MINUTES
HOURS
DATE
MONTH
DAY
YEAR
CONTROL
CENTURY
ALARM
CONFIG
BATT
TEST
STATUS
CONFIG
ALARM
THRESHOLDS
FOUT
CONFIG
RAM
BURST
POWER
CONTROL
AND
MONITOR
CONTROL
LOGIC
INPUT-
SHIFT
REGISTERS
ADDRESS
REGISTER
96 x 8
RAM
DATA
VALID
LOGIC
ALARM
CONTROL
LOGIC
XTAL FAIL
CLOCK
BURST
MAX6917
WDI
MR
X1
X2
CE_IN
TEST
32KHZ
1HZ
TRIP
GND
V
BATT
V
OUT
V
CC
BATT_LO
BATT_ON
SCL
SDA
ALM
Figure 1. Functional 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