D ts e t
aa h e
R c e t r lc r nc
o h se Ee to is
Ma u a t r dCo o e t
n fc u e
mp n n s
R c e tr b a d d c mp n ns ae
o h se rn e
o oet r
ma ua trd u ig ete dewaes
n fcue sn i r i/ fr
h
p rh s d f m te oiia s p l r
uc a e r
o h r n l u pi s
g
e
o R c e tr waes rce td f m
r o h se
fr e rae r
o
te oiia I. Al rce t n ae
h
r nl P
g
l e rai s r
o
d n wi tea p o a o teOC
o e t h p rv l f h
h
M.
P r aetse u igoiia fcoy
at r e td sn r n la tr
s
g
ts p o rmso R c e tr e eo e
e t rga
r o h se d v lp d
ts s lt n t g aa te p o u t
e t oui s o u rne
o
rd c
me t o e c e teOC d t s e t
es r x e d h
M aa h e.
Qu l yOv riw
ai
t
e ve
• IO- 0 1
S 90
•A 92 cr ct n
S 1 0 et ai
i
o
• Qu l e Ma ua trr Ls (
ai d
n fcues it QML MI- R -
) LP F
385
53
•C a sQ Mitr
ls
lay
i
•C a sVS a eL v l
ls
p c ee
• Qu l e S p l r Ls o D sr uos( L )
ai d u pi s it f it b tr QS D
e
i
•R c e trsacic l u pir oD A a d
o h se i
r ia s p l t L n
t
e
me t aln u t a dD A sa d r s
es lid sr n L tn ad .
y
R c e tr lcrnc , L i c mmi e t
o h se Ee t is L C s o
o
tdo
t
s p ligp o u t ta s t f c so r x e t-
u pyn rd cs h t ai y u tme e p ca
s
t n fr u lya daee u loto eoiial
i s o q ai n r q a t h s r n l
o
t
g
y
s p l db id sr ma ua trr.
u pi
e yn ut
y n fcues
T eoiia ma ua trr d ts e t c o a yn ti d c me t e e t tep r r n e
h r n l n fcue’ aa h e a c mp n ig hs o u n r cs h ef ma c
g
s
o
a ds e ic t n o teR c e tr n fcue v rino ti d vc . o h se Ee t n
n p c ai s f h o h se ma ua trd eso f hs e ie R c e tr lcr -
o
o
isg aa te tep r r n eo i s mio d co p o u t t teoiia OE s e ic -
c u rne s h ef ma c ft e c n u tr rd cs o h r n l M p c a
o
s
g
t n .T pc lv le aefr eee c p r o e o l. eti mii m o ma i m rt g
i s ‘y ia’ au s r o rfrn e up s s ny C r n nmu
o
a
r xmu ai s
n
ma b b s do p o u t h rceiain d sg , i lt n o s mpetsig
y e a e n rd c c aa tr t , e in smuai , r a l e t .
z o
o
n
© 2 1 R cetr l t n s LC Al i t R sre 0 1 2 1
0 3 ohs E cr i , L . lRg s eevd 7 1 0 3
e e oc
h
T l r m r, l s v iw wrcl . m
o e n oe p ae it w . e c o
a
e
s
o ec
DS1339
I
2
C Serial Real-Time Clock
www.maxim-ic.com
GENERAL DESCRIPTION
The DS1339 serial real-time clock (RTC) is a low-
power clock/date device with two programmable time-
of-day alarms and a programmable square-wave
output. Address and data are transferred serially
through an I
2
C bus. The clock/date provides seconds,
minutes, hours, day, date, month, and year
information. The date at the end of the month is
automatically adjusted for months with fewer than 31
days, including corrections for leap year. The clock
operates in either the 24-hour or 12-hour format with
AM/PM indicator. The DS1339 has a built-in power-
sense circuit that detects power failures and
automatically switches to the backup supply,
maintaining time, date, and alarm operation.
FEATURES
Real-Time Clock (RTC) Counts Seconds, Minutes,
Hours, Day, Date, Month, and Year with Leap-
Year Compensation Valid Up to 2100
Available in a Surface-Mount Package with an
Integrated Crystal (DS1339C)
I
2
C Serial Interface
Two Time-of-Day Alarms
Programmable Square-Wave Output
Oscillator Stop Flag
Automatic Power-Fail Detect and Switch Circuitry
Trickle-Charge Capability
Underwriters Laboratory (UL) Recognized
Pin Configurations appear at end of data sheet.
APPLICATIONS
Handhelds (GPS, POS Terminals)
Consumer Electronics (Set-Top Box, Digital
Recording, Network Appliance)
Office Equipment (Fax/Printers, Copier)
Medical (Glucometer, Medicine Dispenser)
Telecommunications (Routers, Switches, Servers)
Other (Utility Meter, Vending Machine, Thermostat,
Modem
)
ORDERING INFORMATION
PART
DS1339C-2
DS1339C-2#
DS1339C-3
DS1339C-3#
DS1339C-33
DS1339C-33#
DS1339U-2
DS1339U-2+
DS1339U-3
DS1339U-3+
DS1339U-33
DS1339U-33+
TEMP RANGE
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
VOLTAGE (V)
2.0
2.0
3.0
3.0
3.3
3.3
2.0
2.0
3.0
3.0
3.3
3.3
PIN-PACKAGE
16 SO (300 mils)
16 SO (300 mils)
16 SO (300 mils)
16 SO (300 mils)
16 SO (300 mils)
16 SO (300 mils)
8
µSOP
8
µSOP
8
µSOP
8
µSOP
8
µSOP
8
µSOP
TOP MARK†
DS1339C-2
DS1339C-2
DS1339C-3
DS1339C-3
DS1339C-33
DS1339C-33
1339 rr-2
1339 rr-2
1339 rr-3
1339 rr-3
1339 rr-33
1339 rr-33
+
Denotes a lead-free/RoHS-compliant device.
# Denotes a RoHS-compliant device that may include lead that is exempt under the RoHS requirements. The lead finish is JESD97 category
e3, and is compatible with both lead-based and lead-free soldering processes.
†
A “+” anywhere on the top mark indicates a lead-free device. A “#” denotes a RoHS-compliant device. rr
=
second line, revision code
1 of 19
REV: 092006
DS1339 I
2
C Serial Real-Time Clock
ABSOLUTE MAXIMUM RATINGS
Voltage Range on Any Pin Relative to Ground………………………………………………………………-0.3V to +6.0V
Operating Temperature Range (Noncondensing)………………………………………………………….-40°C to +85°C
Storage Temperature Range………………………………………………………………………………..-55°C to +125°C
Soldering Temperature Range………….See precautions in the
Handling, PC Board Layout, and Assembly
section.
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 the absolute maximum rating conditions for extended periods may affect device reliability.
RECOMMENDED DC OPERATING CONDITIONS
(T
A
= -40°C to +85°C) (Note 1)
PARAMETER
Supply Voltage
Backup Supply Voltage
Pullup Resistor Voltage (SQW/INT,
SDA, SCL), V
CC
= 0V
Logic 1
Logic 0
SYMBOL
V
CC
V
BACKUP
V
PU
V
IH
V
IL
DS1339-2
Power-Fail Voltage
V
PF
DS1339-3
DS1339-33
0.7 x
V
CC
-0.3
1.58
2.45
2.70
1.70
2.59
2.85
CONDITIONS
DS1339-2
DS1339-3
DS1339-33
MIN
1.8
2.7
2.97
1.3
TYP
2.0
3.0
3.3
3.0
MAX
2.2
3.3
5.5
3.7
5.5
V
CC
+
0.3
+0.3 x
V
CC
1.80
2.70
2.97
V
V
V
V
V
V
UNITS
DC ELECTRICAL CHARACTERISTICS
(V
CC
= MIN to MAX, T
A
= -40°C to +85°C.) (Note 1)
PARAMETER
Input Leakage
I/O Leakage
Logic 0 Out
V
OL
= 0.4V; V
CC
> V
CC
MIN (-3, -33);
V
CC
≥
2.0V (-2)
Logic 0 Out
V
OL
= 0.2 (V
CC
);
1.8V < V
CC
< 2.0V (DS1339-2)
Logic 0 Out
V
OL
= 0.2 (V
CC
);
1.3V < V
CC
< 1.8V (DS1339-2)
V
CC
Active Current
V
CC
Standby Current (Note 5)
SYMBOL
I
LI
I
LO
I
OL
CONDITIONS
(Note 2)
(Note 3)
(Note 3)
MIN
TYP
MAX
1
1
3
UNITS
µA
µA
mA
I
OL
(Note 3)
3
mA
I
OL
I
CCA
I
CCS
(Note 3)
(Note 4)
V
CC
≤
3.63V
3.63V < V
CC
≤
5.5V
80
250
450
150
200
µA
µA
µA
2 of 19
DS1339 I
2
C Serial Real-Time Clock
DC ELECTRICAL CHARACTERISTICS (continued)
(V
CC
= MIN to MAX, T
A
= -40°C to +85°C.) (Note 1)
PARAMETER
Trickle-Charger Resistor Register
10h = A5h, V
CC
= Typ, V
BACKUP
= 0V
Trickle-Charger Resistor Register
10h = A6h, V
CC
= Typ, V
BACKUP
= 0V
Trickle-Charger Resistor Register
10h = A7h, V
CC
= Typ, V
BACKUP
= 0V
V
BACKUP
Leakage Current
SYMBOL
R1
R2
R3
I
BKLKG
CONDITIONS
(Note 6)
MIN
TYP
250
2000
4000
25
100
MAX
UNITS
Ω
Ω
Ω
nA
DC ELECTRICAL CHARACTERISTICS
(V
CC
= 0V, T
A
= -40°C to +85°C.)
(Note 1)
PARAMETER
V
BACKUP
Current
EOSC
= 0, SQW Off
V
BACKUP
Current
EOSC
= 0, SQW On
V
BACKUP
Current
EOSC
= 1
SYMBOL
I
BKOSC
I
BKSQW
I
BKDR
CONDITIONS
(Note 7)
(Note 7)
(Note 7)
MIN
TYP
400
600
10
MAX
700
1000
100
UNITS
nA
nA
nA
3 of 19
DS1339 I
2
C Serial Real-Time Clock
AC ELECTRICAL CHARACTERISTICS
(V
CC
= MIN to MAX, T
A
= -40°C to +85°C.) (Note 13)
PARAMETER
SCL Clock Frequency
Bus Free Time Between a STOP
and START Condition
Hold Time (Repeated) START
Condition (Note 8)
LOW Period of SCL Clock
HIGH Period of SCL Clock
Setup Time for a Repeated
START Condition
Data Hold Time (Notes 9, 10)
Data Setup Time (Note 11)
Rise Time of Both SDA and SCL
Signals (Note 12)
Fall Time of Both SDA and SCL
Signals (Note 12)
Setup Time for STOP Condition
Capacitive Load for Each Bus
Line (Note 12)
I/O Capacitance (SDA, SCL)
Oscillator Stop Flag (OSF) Delay
SYMBOL
f
SCL
t
BUF
t
HD:STA
t
LOW
t
HIGH
t
SU:STA
t
HD:DAT
t
SU:DAT
t
R
t
F
t
SU:STO
C
B
C
I/O
t
OSF
(Note 13)
(Note 14)
100
CONDITION
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
Fast mode
Standard mode
1.3
4.7
0.6
4.0
1.3
4.7
0.6
4.0
0.6
4.7
0
0
100
250
20 + 0.1C
B
20 + 0.1C
B
20 + 0.1C
B
20 + 0.1C
B
0.6
4.0
400
10
300
1000
300
300
0.9
MIN
100
TYP
MAX
400
100
UNITS
kHz
µs
µs
µs
µs
µs
µs
ns
ns
ns
µs
pF
pF
ms
4 of 19