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 r xmu ai s
o
a
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
DS1307
64 x 8, Serial, I
2
C Real-Time Clock
GENERAL DESCRIPTION
The DS1307 serial real-time clock (RTC) is a
low-power, full binary-coded decimal (BCD)
clock/calendar plus 56 bytes of NV SRAM.
Address and data are transferred serially through
an I
2
C, bidirectional bus. The clock/calendar
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. The clock operates in either the 24-
hour or 12-hour format with AM/PM indicator.
The DS1307 has a built-in power-sense circuit
that detects power failures and automatically
switches to the backup supply. Timekeeping
operation continues while the part operates from
the backup supply.
FEATURES
Real-Time Clock (RTC) Counts Seconds,
Minutes, Hours, Date of the Month, Month,
Day of the week, and Year with Leap-Year
Compensation Valid Up to 2100
56-Byte, Battery-Backed, Nonvolatile (NV)
RAM for Data Storage
I
2
C Serial Interface
Programmable Square-Wave Output Signal
Automatic Power-Fail Detect and Switch
Circuitry
Consumes Less than 500nA in Battery-
Backup Mode with Oscillator Running
Optional Industrial Temperature Range:
-40°C to +85°C
Available in 8-Pin Plastic DIP or SO
Underwriters Laboratory (UL) Recognized
Typical Operating Circuit and Pin Configurations appear
at end of data sheet.
ORDERING INFORMATION
PART
DS1307
DS1307+
DS1307N
DS1307N+
DS1307Z
DS1307Z+
DS1307ZN
DS1307ZN+
DS1307Z/T&R
DS1307Z+T&R
DS1307ZN/T&R
DS1307ZN+T&R
TEMP RANGE
0°C to +70°C
0°C to +70°C
-40°C to +85°C
-40°C to +85°C
0°C to +70°C
0°C to +70°C
-40°C to +85°C
-40°C to +85°C
0°C to +70°C
0°C to +70°C
-40°C to +85°C
-40°C to +85°C
VOLTAGE
(V)
5.0
5.0
5.0
5.0
5.0
5.0
5.0
5.0
5.0
5.0
5.0
5.0
PIN-PACKAGE
8 PDIP (300 mils)
8 PDIP (300 mils)
8 PDIP (300 mils)
8 PDIP (300 mils)
8 SO (150 mils)
8 SO (150 mils)
8 SO (150 mils)
8 SO (150 mils)
8 SO (150 mils) Tape and Reel
8 SO (150 mils) Tape and Reel
8 SO (150 mils) Tape and Reel
8 SO (150 mils) Tape and Reel
TOP MARK*
DS1307
DS1307
DS1307N
DS1307N
DS1307
DS1307
DS1307N
DS1307N
DS1307
DS1307
DS1307N
DS1307N
+
Denotes a lead-free/RoHS-compliant device.
*
A “+” anywhere on the top mark indicates a lead-free device.
Note:
Some revisions of this device may incorporate deviations from published specifications known as errata. Multiple revisions of any device
may be simultaneously available through various sales channels. For information about device errata, click here:
www.maxim-ic.com/errata.
1 of 15
REV: 121906
DS1307 64 x 8, Serial, I
2
C Real-Time Clock
ABSOLUTE MAXIMUM RATINGS
Voltage Range on Any Pin Relative to Ground……….……………………….…………....-0.5V to +7.0V
Operating Temperature Range (Noncondensing)
Commercial…………………….……………………………….………………………..0°C to +70°C
Industrial………………………………………………………………………………-40°C to +85°C
Storage Temperature Range………………………………………...…………..…………-55°C to +125°C
Soldering Temperature (DIP, leads)..…………………………………………….....+260°C for 10 seconds
Soldering Temperature (surface mount)…..…………………………See JPC/JEDEC Standard J-STD-020
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
= 0°C to +70°C, T
A
= -40°C to +85°C.) (Notes 1, 2)
PARAMETER
Supply Voltage
Logic 1 Input
Logic 0 Input
V
BAT
Battery Voltage
SYMBOL
V
CC
V
IH
V
IL
V
BAT
CONDITIONS
MIN
4.5
2.2
-0.3
2.0
3
TYP
5.0
MAX
5.5
V
CC
+ 0.3
+0.8
3.5
UNITS
V
V
V
V
DC ELECTRICAL CHARACTERISTICS
(V
CC
= 4.5V to 5.5V;
T
A
= 0°C to +70°C, T
A
= -40°C to +85°C.) (Notes 1, 2)
PARAMETER
Input Leakage (SCL)
I/O Leakage (SDA, SQW/OUT)
Logic 0 Output (I
OL
= 5mA)
Active Supply Current
(f
SCL
= 100kHz)
Standby Current
V
BAT
Leakage Current
Power-Fail Voltage (V
BAT
= 3.0V)
SYMBOL
I
LI
I
LO
V
OL
I
CCA
I
CCS
I
BATLKG
V
PF
1.216 x
V
BAT
(Note 3)
5
1.25 x
V
BAT
CONDITIONS
MIN
-1
-1
TYP
MAX
1
1
0.4
1.5
200
50
1.284 x
V
BAT
UNITS
µA
µA
V
mA
µA
nA
V
DC ELECTRICAL CHARACTERISTICS
(V
CC
= 0V, V
BAT
= 3.0V;
T
A
= 0°C to +70°C, T
A
= -40°C to +85°C.) (Notes 1, 2)
PARAMETER
V
BAT
Current (OSC ON);
SQW/OUT OFF
V
BAT
Current (OSC ON);
SQW/OUT ON (32kHz)
V
BAT
Data-Retention Current
(Oscillator Off)
SYMBOL
I
BAT1
I
BAT2
I
BATDR
CONDITIONS
MIN
TYP
300
480
10
MAX
500
800
100
UNITS
nA
nA
nA
WARNING: Negative undershoots below -0.3V while the part is in battery-backed mode may cause loss of data.
2 of 15
DS1307 64 x 8, Serial, I
2
C Real-Time Clock
AC ELECTRICAL CHARACTERISTICS
(V
CC
= 4.5V to 5.5V;
T
A
= 0°C to +70°C, T
A
= -40°C to +85°C.)
PARAMETER
SCL Clock Frequency
Bus Free Time Between a STOP and
START Condition
Hold Time (Repeated) START
Condition
LOW Period of SCL Clock
HIGH Period of SCL Clock
Setup Time for a Repeated START
Condition
Data Hold Time
Data Setup Time
Rise Time of Both SDA and SCL
Signals
Fall Time of Both SDA and SCL
Signals
Setup Time for STOP Condition
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
4.7
(Notes 5, 6)
(Note 4)
CONDITIONS
MIN
0
4.7
4.0
4.7
4.0
4.7
0
250
1000
300
TYP
MAX
100
UNITS
kHz
µs
µs
µs
µs
µs
µs
ns
ns
ns
µs
CAPACITANCE
(T
A
= +25°C)
PARAMETER
Pin Capacitance (SDA, SCL)
Capacitance Load for Each Bus
Line
SYMBOL
C
I/O
C
B
(Note 7)
CONDITIONS
MIN
TYP
MAX
10
400
UNITS
pF
pF
Note 1:
Note 2:
Note 3:
Note 4:
Note 5:
Note 6:
Note 7:
All voltages are referenced to ground.
Limits at -40°C are guaranteed by design and are not production tested.
I
CCS
specified with V
CC
= 5.0V and SDA, SCL = 5.0V.
After this period, the first clock pulse is generated.
A device must internally provide a hold time of at least 300ns for the SDA signal (referred to the V
IH(MIN)
of the
SCL signal) to bridge the undefined region of the falling edge of SCL.
The maximum t
HD:DAT
only has to be met if the device does not stretch the LOW period (t
LOW
) of the SCL signal.
C
B
—total capacitance of one bus line in pF.
3 of 15
DS1307 64 x 8, Serial, I
2
C Real-Time Clock
TIMING DIAGRAM
SDA
t
BUF
t
LOW
t
R
t
F
t
HD:STA
SCL
t
HD:STA
STOP
START
t
HD:DAT
t
HIGH
SU:DAT
t
SU:STA
t
SU:STO
REPEATED
START
Figure 1. Block Diagram
X1
1Hz/4.096kHz/8.192kHz/32.768kHz
C
L
MUX/
BUFFER
SQW/OUT
1Hz
X2
C
L
Oscillator
and divider
CONTROL
LOGIC
RAM
(56 X 8)
V
CC
GND
V
BAT
POWER
CONTROL
Dallas
Semiconductor
DS1307
SCL
SDA
SERIAL BUS
INTERFACE
AND ADDRESS
REGISTER
CLOCK,
CALENDAR,
AND CONTROL
REGISTERS
USER BUFFER
(7 BYTES)
4 of 15