For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
General Description
The MAX6900, I2C-bus-compatible real-time clock
(RTC) in a 6-pin TDFN package contains a real-time
clock/calendar and 31-byte 8-bit wide of static ran-
dom access memory (SRAM). The real-time clock/cal-
endar provides seconds, minutes, hours, day, date,
month, and year information. The end of the month date
is automatically adjusted for months with fewer than 31
days, including corrections for leap year up to the year
2100. The clock operates in either the 24hr or 12hr for-
mat with an AM/PM indicator.
Applications
Portable Instruments
Point-of-Sale Equipment
Intelligent Instruments
Battery-Powered Products
Features
Real-Time Clock Counts Seconds, Minutes,
Hours, Date, Month, Day, and Year
Leap Year Compensation Valid up to Year 2100
Fast (400kHz) I2C-Bus-Compatible Interface from
2.0V to 5.5V
31 8 SRAM for Scratchpad Data Storage
Uses Standard 32.768kHz, 12.5pF Load, Watch
Crystal
Ultra-Low 225nA (typ) Timekeeping Current
Single-Byte or Multiple-Byte (Burst Mode) Data
Transfer for Read or Write of Clock Registers or
SRAM
6-Pin 3mm x 3mm x 0.8mm TDFN Surface-Mount
Package
No External Crystal Bias Resistors or Capacitors
Required
MAX6900
I2C-Compatible RTC in a TDFN
________________________________________________________________ Maxim Integrated Products 1
μC
RPU RPU
0.01μF
CRYSTAL
X1
SCL
SDA
52
3
4
1
6
X2
GND
RPU = tr/Cbus
VCC
VCC
VCC
VCC
MAX6900
19-1942; Rev 3; 6/03
Typical Operating Circuit
X1
GNDX2
1 6 SDA
5 SCL
VCC
MAX6900
TDFN
TOP VIEW
2
34
Pin Configuration
Ordering Information
PART
TEMP RANGE
PIN-
PACKAGE
TOP
MARK
MAX6900ETT-T
-40°C to +85°C
6 TDFN AEU
Related Real-Time Clock Products
PART SERIAL BUS SRAM ALARM
FUNCTION
OUTPUT
FREQUENCY
MAX6900 I2C compatible 31 8 6 TDFN
MAX6901 3-wire 31 8 Polled 32kHz 8 TDFN
MAX6902 SPI™ compatible 31 8 Polled 8 TDFN
SPI is a trademark of Motorola, Inc.
MAX6900
I2C-Compatible RTC in a TDFN
2 _______________________________________________________________________________________
ABSOLUTE MAXIMUM RATINGS
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
VCC to GND..............................................................-0.3V to +6V
All Other Pins to GND ................................-0.3V to (VCC + 0.3V)
Input Current
All Pins ............................................................................20mA
Output Current
All Outputs .......................................................................20mA
Rate of Rise, VCC ............................................................100V/µs
Continuous Power Dissipation (TA= +70°C)
6-Pin TDFN (derate 24.4mW/°C above +70°C) .......1951.0mW
Operating Temperature Range ...............................TMIN to TMAX
MAX6900 ETT-T .......................TMIN = -40°C, TMAX = +85°C
Junction Temperature .....................................................+150°C
Storage Temperature Range ............................ -65°C to +150°C
ESD Protection (all pins, Human Body model) ..................2000V
Lead Temperature (soldering, 10s) ...…………………….+300°C
DC ELECTRICAL CHARACTERISTICS
(VCC = +2.0V to +5.5V, TA= TMIN to TMAX, unless otherwise noted. Typical values are at VCC = +3.3V, TA= +25°C.) (Note 1)
AC ELECTRICAL CHARACTERISTICS
(VCC = +2.0V to +5.5V, TA= TMIN to TMAX, unless otherwise noted. Typical values are at VCC = +3.3V, TA= +25°C.) (Notes 1, 6)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Operating Voltage Range VCC 2 5.5 V
VCC = +2.0V 30
Active Supply Current (Note 2) ICC VCC = +5.0V 110 µA
VCC = +2.0V 0.225 0.630
Timekeeping Supply Current
(Note 3) ITK VCC = +5.0V 1.2 1.7 µA
2-WIRE DIGITAL INPUTS SCL, SDA
Input High Voltage VIH 0.7 x VCC V
Input Low Voltage VIL 0.3 x
VCC V
Input Hysteresis (Note 5) VHYS 0.05 x
VCC V
Input Leakage Current (Note 4) 0 < VIN < VCC -10 10 nA
Input Capacitance (Note 5) 10 pF
2-WIRE DIGITAL OUTPUT SDA
Output Low Voltage VOL ISINK = 4mA 0.4 V
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
OSCILLATOR
X1 to Ground Capacitance 25 pF
X2 to Ground Capacitance 25 pF
FAST I2C-BUS-COMPATIBLE TIMING
SCL Clock Frequency fSCL 0 400 kHz
Bus Free Time Between STOP
and START Condition (Note 4) tBUF 1.3 µs
MAX6900
I2C-Compatible RTC in a TDFN
_______________________________________________________________________________________ 3
AC ELECTRICAL CHARACTERISTICS (continued)
(VCC = +2.0V to +5.5V, TA= TMIN to TMAX, unless otherwise noted. Typical values are at VCC = +3.3V, TA= +25°C.) (Notes 1, 6)
PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS
Hold Time After (Repeated)
START Condition (After this
Period, the First Clock Is
Generated)
tHD:STA 0.6 µs
Repeated START Condition
Setup Time tSU:STA 0.6 µs
STOP Condition Setup Time tSU:STO 0.6 µs
Data Hold Time (Note 7) tHD:DAT 0 0.9 µs
Data Setup Time tSU:DAT 100 ns
SCL Low Period tLOW 1.3 µs
SCL High Period tHIGH 0.6 µs
Minimum SCL/SDA Rise Time
(Note 8) tr20 +
0.1CBns
Maximum SCL/SDA Rise Time
(Note 8) tr300 ns
Minimum SCL/SDA Fall Time
(Receiving) (Notes 8, 9) tf20 +
0.1CBns
Maximum SCL/SDA Fall Time
(Receiving) (Notes 8, 9) tf300 ns
Minimum SDA Fall Time
(Transmitting) (Notes 8, 9) tf20 +
0.1CBns
Maximum SDA Fall Time
(Transmitting) (Notes 8, 9) tf250 ns
Pulse Width of Spike Suppressed tSP 50 ns
Capacitive Load for Each
Bus Line CB400 pF
Note 1: All parameters are 100% tested at TA= +25°C. Limits over temperature are guaranteed by design and not production tested.
Note 2: ICC is specified with SCL = 400kHz and SDA = 400kHz.
Note 3: ITK is specified with SCL = Logic High (4.7kpullup resistor) and SDA = Logic High (4.7kpullup resistor);
I2C-compatible bus inactive.
Note 4: MAX6900 I/O pins do not obstruct the SDA and SCL lines if VCC is switched off.
Note 5: Guaranteed by design. Not subject to production testing.
Note 6: All values referred to VIH min and VIL max levels.
Note 7: The MAX6900 internally provides a hold time of at least 300ns for the SDA signal (referred to the VIH min of the SCL signal)
in order to bridge the undefined region of the falling edge of SCL.
Note 8: CB= total capacitance of one bus line in pF.
Note 9: The maximum tffor the SDA and SCL bus lines is specified at 300ns. The maximum fall time for the SDA output stage tfis
specified at 250ns. This allows series protection resistors to be connected between the SDA/SCL pins and the SDA/SCL
bus lines without exceeding the maximum specified tf.
Detailed Description
The MAX6900 contains eight timekeeping registers,
burst address registers, a control register, an on-chip
32.768kHz oscillator circuit, and a serial 2-wire, I2C-
compatible interface. There are also 31 bytes, 8 bits
wide of SRAM on board. Time and calendar data are
stored in the registers in a binary-coded decimal (BCD)
format. Figure 1 shows an I2C-bus-compatible timing
diagram. Figure 2 shows the MAX6900 functional dia-
gram.
Real-Time Clock
The RTC provides seconds, minutes, hours, day, date,
month, and year information. The end of the month is
automatically adjusted for months with fewer than 31
MAX6900
I2C-Compatible RTC in a TDFN
4 _______________________________________________________________________________________
Typical Operating Characteristics
(TA = +25°C, unless otherwise noted.)
0
0.3
0.4
0.1
0.2
0.6
0.5
1.0
0.7
0.8
0.9
1.1
1.4
1.5
1.2
1.3
1.6
1.0 2.0 2.5 3.01.5 3.5 4.0 4.5 5.55.0 6.0
TIMEKEEPING CURRENT vs. VCC
MAX6900 toc01
VCC (V)
TIMEKEEPING CURRENT (µA)
Pin Description
PIN NAME FUNCTION
1V
CC Power Supply
2 X1 32.768kHz External Crystal
3 X2 32.768kHz External Crystal
4 GND Ground
5 SCL I2C-Bus-Compatible Clock Input
6 SDA I2C-Bus-Compatible Data
Input/Output
PAD Ground
Figure 1. Detailed I2C-Bus Timing Diagrams
PROTOCOL
START
CONDITION
(S)
ACKNOWLEDGE
(A)
STOP
CONDITION
(P)
BIT 7
MSB
(A7)
BIT 0
LSB
(R/W)
BIT 6
(A6)
SCL
tSU:STA
tHD:STA tHD:DAT tHD:DAT tSU:STO
1/fSCL
tHIGH
tLOW
tBUF
trtf
SDA
days, including corrections for leap year up to the year
2100.
Crystal Oscillator
The MAX6900 uses an external, standard 12.5pF load
watch crystal. No other external components are
required for this timekeeping oscillator. Power-up oscil-
lator start-time is dependent mainly upon applied VCC
and ambient temperature. The MAX6900, because of
its low timekeeping current, exhibits a typical startup
time between 5s to 10s.
I2C-Compatible Interface
Interfacing the MAX6900 with a microprocessor or
other I2C master is made easier by using the serial, I2C-
bus-compatible or other I2C master interface. Only 2
wires are required to communicate with the clock and
SRAM: SCL (serial clock) and SDA (data line). Data is
transferred to and from the MAX6900 over the I/O data
line, SDA. The MAX6900 uses 7-bit slave ID address-
ing. The MAX6900 does not respond to general call
address commands.
Applications Information
I2C-Bus-Compatible Interface
The I2C-bus-compatible serial interface allows bidirec-
tional, 2-wire communication between multiple ICs. The
two lines are SDA and SCL. Connect both lines to a
positive supply through individual pullup resistors. A
device on the I2C-compatible bus that generates a
message is called a transmitter and a device that
receives the message is a receiver. The device that
controls the message is the master and the devices
that are controlled by the master are called slaves
(Figure 3). The word message refers to data in the form
of three 8-bit bytes for a Single Read or Write. The first
byte is the Slave ID byte, the second byte is the
Address/Command byte, and the third is the data.
Data transfer can only be initiated when the bus is not
busy (both SDA and SCL are high). A high-to-low tran-
sition of SDA while SCL is high is defined as the Start
(S) condition; low-to-high transition of the data line
while SCL is high is defined as the Stop (P) condition
(Figure 4).
MAX6900
I2C-Compatible RTC in a TDFN
_______________________________________________________________________________________ 5
Figure 2. Functional Diagram
OSCILLATOR
32.768kHz
CONTROL
LOGIC
ADDRESS
REGISTER
31 X 8
SRAM
I2C BUS
INTERFACE
DIVIDER SECONDS
MINUTES
HOURS
DATE
MONTH
DAY
YEAR
CONTROL
CENTURY
CLOCK
BURST
1Hz
X1
X2
VCC
GND
SCL
SDA
MAX6900
I2C-Compatible RTC in a TDFN
6 _______________________________________________________________________________________
After the Start condition occurs, 1 bit of data is trans-
ferred for each clock pulse. The data on SDA must
remain stable during the high portion of the clock pulse
as changes in data during this time are interpreted as a
control signal (Figure 5). Any time a start condition
occurs, the Slave ID must follow immediately, regard-
less of completion of the previous data transfer.
Before any data is transmitted on the I2C-bus-compati-
ble serial interface, the device that is expected to
respond is addressed first. The first byte sent after the
start (S) procedure is the Address byte or 7-bit Slave
ID. The MAX6900 acts as a slave transmitter/receiver.
Therefore, SCL is only an input clock signal and SDA is
a bidirectional data line. The Slave Address for the
MAX6900 is shown in Figure 6.
DATA LINE
STABLE;
DATA VALID
CHANGE
OF DATA
ALLOWED
SDA
SCL
Figure 5. I2C Bus Bit Transfer
RD/W
BIT 0BIT 7
0000101
Figure 6. I2C Bus Slave Address or 7-Bit Slave ID
SDA
SCL
SLAVE
RECEIVER
SLAVE
TRANSMITTER/
RECEIVER
MASTER
TRANSMITTER
MASTER
TRANSMITTER/
RECEIVER
MASTER
TRANSMITTER/
RECEIVER
Figure 3. I2C Bus System Configuration
START CONDITION STOP CONDITION
P
S
SDA
SCL
SDA
SCL
Figure 4. I2C Bus Start and Stop Conditions
MAX6900
I2C-Compatible RTC in a TDFN
_______________________________________________________________________________________ 7
An unlimited number of data bytes between the start
and stop conditions can be sent between the transmit-
ter and receiver. Each 8-bit byte is followed by an
acknowledge bit. Also, a master receiver must gener-
ate an acknowledge after each byte it receives that has
been clocked out of the slave transmitter.
The device that acknowledges must pull down the SDA
line during the acknowledge clock pulse (Figure 7), so
that the SDA line is stable low during the high period of
the acknowledge clock pulse (setup and hold times
must also be met). A master receiver must signal an
end of data to the transmitter by not generating an
acknowledge on the last byte that has been clocked
out of the slave. In this case, the transmitter must leave
SDA high to enable the master to generate a stop con-
dition. Any time a stop condition is received before the
current byte of data transfer is complete, the last incom-
plete byte is ignored.
The second byte of data sent after the start condition is
the Address/Command byte (Figure 8). Each data
transfer is initiated by an Address/Command byte. The
MSB (bit 7) must be a logic 1. When the MSB is zero,
Writes to the MAX6900 are disabled. Bit 6 specifies
clock/calendar data if logic 0 or RAM data if logic 1
(Tables 1 and 2). Bits 1 through 5 specify the designat-
ed registers to be input or output. The LSB (bit 0) spec-
ifies a Write operation (input) if logic 0 or Read
operation (output) if logic 1. The Command byte is
always input starting with the MSB (bit 7).
Reading from the Timekeeping
Registers
The timekeeping registers (Seconds, Minutes, Hours,
Date, Month, Day, Year, and Century) read either with a
Single Read or a Burst Read. Since the clock runs con-
tinuously and a Read takes a finite amount of time, it is
possible that the clock counters could change during a
Read operation, thereby reporting inaccurate timekeep-
ing data. In the MAX6900, the clock counter data is
buffered by a latch. Clock counter data is latched by the
I2C-bus-compatible read command (on the falling edge
of SCL when the Slave Acknowledge bit is sent after the
Address/Command byte has been sent by the master to
read a timekeeping register). Collision-detection circuitry
ensures that this does not happen coincident with a sec-
onds counter update to ensure accurate time data is
being read. This avoids time data changes during a
Read operation. The clock counters continue to count
and keep accurate time during the Read operation.
When using a Single Read to read each of the time-
keeping registers individually, perform error checking
D0D6D7
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
SCL FROM
MASTER
START
CONDITION
CLOCK PULSE FOR
ACKNOWLEDGMENT
ACKNOWLEDGE CLK9
CLK1 CLK2 CLK8
8921
NOT ACKNOWLEDGE
S
Figure 7. I2C Bus Acknowledge
Figure 8. Address/Command Byte
/CLK
RAM
/W
A2 A1A3A4A51
A2 A1
RD
A0A3A4A5A7 A6
MAX6900
I2C-Compatible RTC in a TDFN
8 _______________________________________________________________________________________
FUNCTION A7 A6 A5 A4 A3 A2 A1 A0 VALUE D7 D6 D5 D4 D3 D2 D1 D0
CLOCK
SEC 1000000RD 00-59 710 SEC 1 SEC
/W *POR STATE 00000000
MIN 1000001RD 00-59 010 MIN 1 MIN
/W *POR STATE 00000000
HR 1000010RD 00-23 12/24 10
HR
/W 01-12 1/0
0A/P
0/1
10
HR 1 HR
*POR STATE 0 0 0 0 0 0 0 0
DATE 1000011RD
01-28/29
01-30
01-31
0 0 10 DATE 1 DATE
/W *POR STATE 0 0 000001
MONTH 1000100RD 01-12 0 0 0 10M 1 MONTH
/W *POR STATE 0 0 0 00001
DAY 1000101RD 01-07 0 0 0 0 0 WEEK DAY
/W *POR STATE 00000 001
YEAR 1000110RD 00-99 10 YEAR 1 YEAR
/W *POR STATE 0 1 1 1 0000
CONTROL 1000111RD WP 0 0 0 0 0 0 0
/W *POR STATE 0 0 0 0 0 0 0 0
CENTURY 1001001RD 00-99 1000 YEAR 100 YEAR
/W *POR STATE 0 0 0 1 1001
RESERVED 1 0 0 1 0 1 1 RD 0 0 0 0 0 0 0 0
/W *POR STATE 0 0 0 0 0 1 1 1
CLOCK
BURST 1011111RD
/W
Table 1. Register Address Definition
MAX6900
I2C-Compatible RTC in a TDFN
_______________________________________________________________________________________ 9
FUNCTION A7 A6 A5 A4 A3 A2 A1 A0 VALUE D7 D6 D5 D4 D3 D2 D1 D0
CLOCK
RAM
RAM 0 1100000RD RAM DATA 0 xx xx x xx x
/W
RAM 30 1111110RD RAM DATA 30 xx xx x xx x
/W
RAM BURST 1111111RD
/W
Table 1. Register Address Definition (continued)
Table 2. Hex Register Address Definition
HEX REGISTER ADDRESS/DESCRIPTION
WRITE
ADDRESS/
COMMAND
BYTE
(HEX)
READ
ADDRESS/
COMMAND
BYTE
(HEX)
DESCRIPTION POR
CONTENTS
80 81 Seconds 00
82 83 Minutes 00
84 85 Hours 00
86 87 Date 01
88 89 Month 01
8A 8B Day 01
8C 8D Year 70
8E 8F Control 00
92 93 Century 19
96 97 Reserved 07
BE BF Clock Burst N/A
C0 C1 RAM 0 Indeterminate
C2 C3 RAM 1 Indeterminate
C4 C5 RAM 2 Indeterminate
C6 C7 RAM 3 Indeterminate
C8 C9 RAM 4 Indeterminate
CA CB RAM 5 Indeterminate
CC CD RAM 6 Indeterminate
CE CF RAM 7 Indeterminate
Note: POR STATE defines power-on reset state of register contents.
MAX6900
I2C-Compatible RTC in a TDFN
10 ______________________________________________________________________________________
HEX REGISTER ADDRESS/DESCRIPTION
WRITE
ADDRESS/
COMMAND
BYTE
(HEX)
READ
ADDRESS/
COMMAND
BYTE
(HEX)
DESCRIPTION POR
CONTENTS
D0 D1 RAM 8 Indeterminate
D2 D3 RAM 9 Indeterminate
D4 D5 RAM 10 Indeterminate
D6 D7 RAM 11 Indeterminate
D8 D9 RAM 12 Indeterminate
DA DB RAM 13 Indeterminate
DC DD RAM 14 Indeterminate
DE DF RAM 15 Indeterminate
E0 E1 RAM 16 Indeterminate
E2 E3 RAM 17 Indeterminate
E4 E5 RAM 18 Indeterminate
E6 E7 RAM 19 Indeterminate
E8 E9 RAM 20 Indeterminate
EA EB RAM 21 Indeterminate
EC ED RAM 22 Indeterminate
EE EF RAM 23 Indeterminate
F0 F1 RAM 24 Indeterminate
F2 F3 RAM 25 Indeterminate
F4 F5 RAM 26 Indeterminate
F6 F7 RAM 27 Indeterminate
F8 F9 RAM 28 Indeterminate
FA FB RAM 29 Indeterminate
FC FD RAM 30 Indeterminate
FE FF RAM Burst N/A
Table 2. Hex Register Address Definition (continued)
on the receiving end. The potential for errors occurs
when the seconds counter increments before all the
other registers are read out. For example, suppose a
carry of 13:59:59 to 14:00:00 occurs during Single
Read operations of the timekeeping registers. The net
data could become 14:59:59, which is erroneous real-
time data. To prevent this with Single Read operations,
read the Seconds register first (initial seconds) and
store this value for future comparison. When the
remaining timekeeping registers have been read out,
read the Seconds register again (final seconds). If the
initial seconds value is 59, check that the final seconds
value is still 59; if not, repeat the entire Single Read
process for the timekeeping registers. A comparison of
the initial seconds value with the final seconds value
can indicate if there was a bus delay problem in read-
ing the timekeeping data (difference should always be
1s or less). Using a 100kHz bus speed, sequential
Single Reads take under 2.5ms to read all seven of the
timekeeping registers plus a second read of the
Seconds register.
The most accurate way to read the timekeeping regis-
ters is a Burst Read. In the Burst Read mode, the main
timekeeping registers (Seconds, Minutes, Hours, Date,
Month, Day, Year) and the Control register are read
sequentially. All of the main timekeeping registers and
the Control register must be read out as a group of
eight registers, with 8 bytes each, for proper execution
MAX6900
I2C-Compatible RTC in a TDFN
______________________________________________________________________________________ 11
Table 3. Data Transfer Summary
BIT 7…………….……………… BIT 0 ACK BIT BIT 7…………….…………………BIT ACK BIT
8_BIT DATA AS
BIT 7…….…….…………BIT 0 ACK BIT
7-BIT SLAVE ID 0 AS 1 ADDR. 0ASR
ADDRESS/COMMAND BYTE
S P
SINGLE WRITE
SINGLE READ
BURST WRITE
BURST READ
BIT 7…………….……….BIT 0 ACK BIT BIT 7………….…………BIT 0 ACK BITBIT 7…………….……………BIT 0 ACK BIT
8_BIT DATA /AM
BIT 7…….…………BIT 0 ACK BIT
7-BIT SLAVE ID 0AS 1 1
ADDR. AS S
R7-BIT SLAVE ID 1AS
ADDRESS/COMMAND BYTE
S P
FIRST 8_BIT DATA
BIT 7…………….…………BIT 0 ACK BIT BIT 7…………….…………BIT 0 ACK BIT
BIT 7…………….………BIT 0 ACK BIT BIT 7…………….……………BIT 0 ACK BIT
ADDRESS/COMMAND BYTE
AS7-BIT SLAVE ID 0 AS 0111111 AS LAST 8_BIT DATA AS PS
BIT 7……….……………BIT 0 ACK BIT
BIT 7……….…………………BIT 0 ACK BIT
LAST 8_BIT DATA /AM
SLAVE ID: 1010000
ADDR: 5-BIT RAM OR REGISTER ADDRESS
R: RAM/REGISTER SELECTION BIT. R = 0 WHEN REGISTER IS SELECTED, R = 1 WHEN RAM IS SELECTED
S: 2-WIRE BUS START CONDITION BY MASTER
P: 2-WIRE BUS STOP CONDITION BY MASTER
AS: ACKNOWLEDGE BY SLAVE
AM: ACKNOWLEDGE BY MASTER
/AM: NO ACKNOWLEDGE BY MASTER
BIT 7…………….………… BIT 0 ACK BIT
7-BIT SLAVE ID 0 AS 1 11111 1 AS 7-BIT SLAVE ID 1 AS FIRST 8_BIT DATA AM
BIT 7…………….…………… BIT 0 ACK BIT
ADDRESS/COMMAND BYTE
S
S
P
MAX6900
I2C-Compatible RTC in a TDFN
12 ______________________________________________________________________________________
of the Burst Read function. The seven timekeeping reg-
isters are latched upon the receipt of the Burst Read
command. The worst-case error that can occur
between the actual time and the read time is 1s,
assuming the entire Burst Read is done in less than 1s.
Writing to the Timekeeping
Registers
The time and date may be set by writing to the timekeep-
ing registers (Seconds, Minutes, Hours, Date, Month,
Day, Year, and Century). To avoid changing the current
time by an incomplete Write operation, the current time
value is buffered from being written directly to the clock
counters. Current time data is loaded into this buffer at
the falling edge of SCL, on the Slave Acknowledge bit,
before the data input byte or bytes are sent to the
MAX6900. The clock counters continue to count. The
new data replaces the current contents of this input
buffer. The time update data is loaded into the clock
counters by the Stop bit at the end of the I2C- bus-com-
patible Write operation. Collision-detection circuitry
ensures that this does not happen coincident with a sec-
onds counter update to ensure accurate time data is
being written. This avoids time data changes during a
Write operation. An incomplete Write operation aborts
the time update procedure and the contents of the input
buffer are discarded. The clock counters reflect the new
time data beginning with the first 1s clock cycle after the
Stop bit.
When using single Write operations to write to each of
the timekeeping registers, error checking is needed. If
the Seconds register is the one to be updated, update it
first and then read it back and store its value as the ini-
tial seconds. Update the remaining timekeeping regis-
ters and then read the Seconds register again (final
seconds). If initial seconds was 59, ensure that it is still
59. If initial seconds was not 59, ensure that final sec-
onds is within 1s of initial seconds. If the Seconds regis-
ter is not to be written to, then read the Seconds register
first and save it as initial seconds. Write to the required
timekeeping registers and then read the Seconds regis-
ter again (final seconds). If initial seconds was 59,
ensure it is still 59. If initial seconds was not 59, ensure
that final seconds is within 1s of initial seconds.
The burst write mode is the most accurate way to write to
the timekeeping registers, although both single Writes
and Burst Writes are possible. In Burst Write, the main
timekeeping registers (Seconds, Minutes, Hours, Date,
Month, Day, Year) and the control register are written to
sequentially. All the main timekeeping registers and the
Control register must be written to as a group of eight
registers, with 8 bytes each, for proper execution of the
burst write function. All seven timekeeping registers are
simultaneously loaded into the clock counters by the
Stop bit at the end of the I2C-bus-compatible Write oper-
ation. The worst-case error that can occur between the
actual time and the write time update is 1s, assuming the
entire Burst Write is done in less than 1s. Note: After
writing to any time or date register, no read or write
operations are allowed for 2.5ms.
Write Protect Bit
Bit 7 of the Control register is the Write Protect bit. The
lower 7 bits (bits 0 to 6) are forced to zero and always
read a zero when read. Before any Write operation to
the clock or RAM, bit 7 must be zero. When high, the
Write Protect bit prevents a Write operation to any other
register.
AM-PM/12Hr-24Hr Mode
Bit 7 of the Hours register is defined as the 12hr or 24hr
Mode Select bit. When high, the 12hr mode is selected.
In the 12hr mode, bit 5 is the AM/PM bit with logic high
being PM. In the 24hr mode, bit 5 is the second 10hr
bit (20hr to 23hr).
Clock Burst Mode
Addressing the Clock Burst register (BEh for write, or
BFh for read) specifies burst mode operation. In this
mode, the first eight clock/calendar registers can be
consecutively read or written starting with bit 7 of
Address/Command 81h (Read) or 80h (Write). If the
Write Protect bit is set high when a write clock/calendar
burst mode is specified, no data transfer occurs to any
of the eight clock/calendar registers or the Control reg-
ister. When writing to the clock registers in the burst
mode, the first eight registers must be written in order
for the data to be transferred.
RAM
The static RAM is 31 bytes addressed consecutively in
the RAM address space. Even Address/Commands
(C0hFCh) are used for Writes, and odd Address/
Commands (C1hFDh) are used for Reads. The con-
tents of the RAM are static and remain valid for VCC
down to 2V.
RAM Burst Mode
Addressing the RAM Burst register (FEh for Write, or
FFh for Read) specifies burst mode operation. In this
mode, the 31 RAM locations can be consecutively read
or written starting with bit 7 of Address/Command C1h
(Read) or C0h (Write). When writing to RAM in burst
mode, it is not necessary to write all 31 bytes for the
data to transfer. Each byte that is written to is trans-
ferred to RAM. If the Write Protect bit is set high when a
MAX6900
I2C-Compatible RTC in a TDFN
______________________________________________________________________________________ 13
PARAMETER SYMBOL MIN TYP MAX UNITS
Frequency f 32.768 kHz
Equivalent Series Resistance (ESR) Rs40 60 k
Parallel Load Capacitance CL11.2 12.5 13.7 pF
Q Factor Q 40,000 60,000
Table 4. Quartz Crystal Parameters
MANUFACTURER MANUFACTURER
PART NO.
TEMP.
RANGE CL (pF) +25°C FREQUENCY
TOLERANCE (ppm)
Abracon Corporation ABS25-32.768-12.5-B- -40°C to +85°C 12.5 ±20
Caliber Electronics AWS2A-32.768KHz -20°C to +70°C 12.5 ±20
ECS INC International ECS-.327-12.5-17 -10°C to +60°C 12.5 ±20
Fox Electronics FSM327 -40°C to +85°C 12.5 ±20
M-tron SX2010/SX2020 -20°C to +75°C 12.5 ±20
Raltron RSE-32.768-12.5-C-T -10°C to +60°C 12.5 ±20
SaRonix 32S12A -40°C to +85°C 12.5 ±20
Table 5. Crystal Manufacturers
RAM burst mode is specified, no data transfer occurs
to any of the RAM locations. Burst writes of data greater
than 31 bytes could cause erroneous data in the
MAX6900.
Power-On Reset (POR)
The MAX6900 contains an integral POR circuit that
ensures all registers are reset to a known state on
power-up. Once VCC rises above 1.6V (typ), the POR
circuit releases the registers for normal operation.
When VCC drops to less than 1.6V (typ), the MAX6900
resets all register contents to the POR defaults.
Oscillator Startup
The MAX6900 oscillator typically takes 5s to 10s to
begin oscillating. To ensure the oscillator is operating
correctly, the software should validate proper time-
keeping. This is accomplished by reading the Seconds
register. Any reading of 1s or more from the POR is a
validation of proper startup.
Reserved Register
This is reserved for factory testing ONLY. Do not write
to this register. If inadvertent Writes are done to this
register, cycle power on the MAX6900.
Crystal Selection
Connect a 32.768kHz watch crystal directly to the
MAX6900 through pin 2 and pin 3 (X1, X2). Use a crys-
tal with a specified load capacitance (CL) of 12.5pF.
See Table 4 for a list of crystal parameters.
Table 5 lists some crystal manufacturers and part num-
bers for their surface-mount 32.768kHz watch crystals
that require 12.5pF. In addition, these manufacturers
offer other package options depending upon the spe-
cific application considerations.
Frequency Stability Overtemperature
Timekeeping accuracy of the MAX6900 is dependent
on the frequency stability of the external crystal. To
Rf
Rd
Cd
25pF
Cg
25pF
EXTERNAL
CRYSTAL
X1 X2
MAX6900
Figure 9. Oscillator Functional Schematic
MAX6900
14 ______________________________________________________________________________________
determine frequency stability, use the parabolic curve
in Figure 10 and the following equations:
f = f k (T0- T )2
where:
f= change in frequency from +20°C.
f = nominal crystal frequency.
k = parabolic curvature constant (-0.035
±0.005ppm/°C2for 32.768kHz watch crystals).
T0= turnover temperature
(+25°C ±5°C for 32.768kHz watch crystals).
T = temperature of interest (°C).
For example: What is the worst-case change in oscilla-
tor frequency from +25°C to +45°C ambient?
f(worst case) = 32,768 (-0.04 / 1 10e6)
(20 -45)2= -0.8192Hz
After 1 month, that translates to:
Assuming ±20ppm initial crystal tolerance (±53s initial
accuracy); total worst-case timekeeping error at the
end of 1 month = 66.96s - 53s = -119.96s or about 2
minutes (assumes negligible parasitic layout capaci-
tance).
Power-Supply Considerations
For most applications, a 0.1µF capacitor from VCC to
GND provides adequate bypassing for the MAX6900.
Because the MAX6900s supply current is well under
1µA, a series resistor can be added to the supply to
reject extremely harsh noise.
PC Board Layout Considerations
When designing the PC board, keep the crystal as
close to the X1 and X2 pins of the MAX6900 as possi-
ble (Figure 11). Keep the trace lengths short and small
to avoid introducing excessive capacitive loading and
preventing unwanted noise pickup. Place a guard ring
around the crystal and tie the ring to ground to help iso-
late the crystal from unwanted noise pickup. Keep all
signals away from the crystal and the X1 and X2 pins to
prevent noise coupling. Finally, an additional local
ground plane on an adjacent PC board layer can be
added under the crystal to shield it from unwanted
pickup from traces on other layers of the board. This
plane should be isolated from the regular PC board
ground plane and tied to the GND pin of the MAX6900.
This plane needs to be no larger than the perimeter of
the guard ring. Ensure that this ground plane does not
contribute to significant capacitance between ground
and the traces that run from X1 and X2 to the crystal.
Chip Information
TRANSISTOR COUNT: 19,307
PROCESS: CMOS
t31days 24 hr
day 60 min
hr
60 s
min
-0.8192Hz
32768Hz 66.96s
=
()
×
×
×
×
=
TYPICAL TEMPERATURE CHARACTERISITICS
(k = -0.035ppm/°C2, TO = +25°C)
f (ppm)
TEMPERATURE (°C)
-250
-200
-150
-100
-50
0
-50-40-30-20-10 0 10202530405060708090
Figure 10. Typical Temperature Curve for 32.768kHz Watch Crystal
I2C-Compatible RTC in a TDFN
MAX6900
I2C-Compatible RTC in a TDFN
______________________________________________________________________________________ 15
**
****
**
**
LAYER 2 LOCAL GROUND PLANE
CONNECT ONLY TO PIN 4
GROUND PLANE VIA
*
*
*
;
*
;
;
*
*
;;
MAX6900
;;
;;
SM WATCH CRYSTAL
GROUND PLANE
VIA CONNECTION
*
LAYER 1 TRACE
;
0.1µF
SM CAP
*
*
GUARD RING
GROUND PLANE
VIA CONNECTION
GROUND PLANE
VIA CONNECTION
VCC PLANE
VIA CONNECTION
*
Figure 11. Recommended Board Layout
6, 8, &10L, QFN THIN.EPS
PROPRIETARY INFORMATION
TITLE:
APPROVAL DOCUMENT CONTROL NO. REV.
2
1
PACKAGE OUTLINE, 6, 8 & 10L,
TDFN, EXPOSED PAD, 3x3x0.80 mm
21-0137 D
L
CL
C
SEMICONDUCTOR
DALLAS
A2
A
PIN 1
INDEX
AREA
D
E
A1
D2
b
E2 [(N/2)-1] x e
REF.
e
k
1N1
L
e
L
A
L
PIN 1 ID
C0.35
DETAIL A
e
NUMBER OF LEADS SHOWN ARE FOR REFERENCE ONLY
Package Information
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information
go to www.maxim-ic.com/packages.)
MAX6900
I2C-Compatible RTC in a TDFN
16 ______________________________________________________________________________________
I2C-Compatible RTC in a TDFN
MAX6900
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 17
© 2003 Maxim Integrated Products Printed USA is a registered trademark of Maxim Integrated Products.
DOCUMENT CONTROL NO.APPROVAL
TITLE:
PROPRIETARY INFORMATION
REV.
2
2
COMMON DIMENSIONS
SYMBOL MIN. MAX.
A0.70 0.80
D2.90 3.10
E2.90 3.10
A1 0.00 0.05
L0.20 0.40
PKG. CODE
6
N
T633-1 1.500.10
D2
2.300.10
E2
0.95 BSC
e
MO229 / WEEA
JEDEC SPEC
0.400.05
b
1.90 REF
[(N/2)-1] x e
1.500.10 MO229 / WEEC 1.95 REF0.300.05
0.65 BSC
2.300.10T833-1 8
PACKAGE VARIATIONS
21-0137
0.250.05 2.00 REFMO229 / WEED-30.50 BSC1.500.10 2.300.1010T1033-1
0.25 MIN.
k
A2 0.20 REF.
D
SEMICONDUCTOR
DALLAS
PACKAGE OUTLINE, 6, 8 & 10L,
TDFN, EXPOSED PAD, 3x3x0.80 mm
Package Information (continued)
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information
go to www.maxim-ic.com/packages.)