DS1307 Maxim, DS1307 Datasheet

no-image

DS1307

Manufacturer Part Number
DS1307
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
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1307
Quantity:
93 291
Part Number:
DS1307
Manufacturer:
DS
Quantity:
5 510
Part Number:
DS1307
Manufacturer:
HAR
Quantity:
13
Part Number:
DS1307
Manufacturer:
DALLAS
Quantity:
853
Part Number:
DS1307
Manufacturer:
ST
0
Part Number:
DS1307
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1307+
Manufacturer:
Maxim
Quantity:
7 457
Part Number:
DS1307+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1307N
Manufacturer:
DALLAS
Quantity:
1 000
Part Number:
DS1307N
Manufacturer:
DALLAS
Quantity:
53
Part Number:
DS1307N
Manufacturer:
MAXIM
Quantity:
1 190
Part Number:
DS1307N
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1307N+
Manufacturer:
MAXIM
Quantity:
3 000
Part Number:
DS1307N+
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS1307Z
Manufacturer:
MAXIM
Quantity:
1 564
Part Number:
DS1307Z
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1307Z+
Manufacturer:
Maxim
Quantity:
10 573
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
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.
TYPICAL OPERATING CIRCUIT
ORDERING INFORMATION
+Denotes a lead-free/RoHS-compliant package.
*A “+” anywhere on the top mark indicates a lead-free package. An “N” anywhere on the top mark indicates an industrial temperature range
device.
DS1307+
DS1307N+
DS1307Z+
DS1307ZN+
DS1307Z+T&R
DS1307ZN+T&R
CPU
V
CC
PART
R
PU
R
PU
= t
r
/C
R
b
PU
V
CC
CRYSTAL
SCL
SDA
X1
TEMP RANGE
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
0°C to +70°C
0°C to +70°C
0°C to +70°C
DS130
X2
GND
2
C, bidirectional bus.
SQW/OUT
V
V
CC
CC
V
BAT
VOLTAGE (V)
64 x 8, Serial, I
5.0
5.0
5.0
5.0
5.0
5.0
1 of 14
FEATURES
PIN CONFIGURATIONS
GND
V
TOP VIEW
BAT
X1
X2
PIN-PACKAGE
8 PDIP (300 mils)
8 PDIP (300 mils)
8 SO (150 mils)
8 SO (150 mils)
8 SO (150 mils) Tape and Reel
8 SO (150 mils) Tape and Reel
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, General-Purpose RAM
with Unlimited Writes
I
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 Laboratories (UL) Recognized
2
SO (150 mils)
C Serial Interface
SQW/OUT
V
SDA
SCL
2
CC
C Real-Time Clock
GND
V
BAT
X1
X2
PDIP (300 mils)
TOP MARK*
DS1307
DS1307N
DS1307
DS1307N
DS1307
DS1307N
DS1307
SQW/OUT
V
SDA
SCL
CC
REV: 100208

Related parts for DS1307

DS1307 Summary of contents

Page 1

... GENERAL DESCRIPTION The DS1307 serial real-time clock (RTC low- power, full binary-coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM. Address and data are transferred serially through an I The clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of ...

Page 2

... BAT SQW/OUT OFF V Current (OSC ON); BAT SQW/OUT ON (32kHz) V Data-Retention Current BAT (Oscillator Off) WARNING: Negative undershoots below -0.3V while the part is in battery-backed mode may cause loss of data. DS1307 Serial, I SYMBOL CONDITIONS BAT = -40°C to +85°C.) (Notes 1, 2) ...

Page 3

... SCL. Note 6: The maximum t only has to be met if the device does not stretch the LOW period (t HD:DAT Note 7: C —total capacitance of one bus line in pF. B DS1307 Serial -40°C to +85°C.) A SYMBOL CONDITIONS f SCL t BUF ...

Page 4

... Figure 1. Block Diagram POWER GND CONTROL V BAT SERIAL BUS SCL INTERFACE AND ADDRESS SDA REGISTER DS1307 Serial SU:STA t HIGH REPEATED SU:DAT START t HD:DAT 1Hz/4.096kHz/8.192kHz/32.768kHz 1Hz Oscillator and divider CONTROL LOGIC ...

Page 5

... V =0V, V =3.0 CC BAT 32768.5 SQW=32kHz 32768.4 32768.3 32768.2 32768.1 SQW off 32768 2 DS1307 Serial Real-Time Clock I vs. V BAT BAT SQW=32kHz SQW off 2.5 3.0 3.5 V (V) BACKUP SQW/OUT vs. Supply Voltage 2.5 3.0 3.5 4.0 4.5 5.0 5.5 Supply (V) ...

Page 6

... The DS1307 is a low-power clock/calendar with 56 bytes of battery-backed SRAM. The clock/calendar 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 DS1307 operates as a slave 2 device on the I C bus ...

Page 7

... DEVICE PACKAGE. RTC AND RAM ADDRESS MAP Table 2 shows the address map for the DS1307 RTC and RAM registers. The RTC registers are located in address locations 00h to 07h. The RAM registers are located in address locations 08h to 3Fh. During a multibyte access, when the address pointer reaches 3Fh, the end of RAM space, it wraps around to location 00h, the beginning of the clock space ...

Page 8

... The DS1307 can be run in either 12-hour or 24-hour mode. Bit 6 of the hours register is defined as the 12-hour or 24-hour mode-select bit. When high, the 12-hour mode is selected. In the 12-hour mode, bit 5 is the AM/PM bit with logic high being PM ...

Page 9

... CONTROL REGISTER The DS1307 control register is used to control the operation of the SQW/OUT pin. BIT 7 BIT 6 BIT 5 OUT 0 Bit 7: Output Control (OUT). This bit controls the output level of the SQW/OUT pin when the square-wave output is disabled. If SQWE = 0, the logic level on the SQW/OUT pin OUT = 1 and OUT = 0. On initial application of power to the device, this bit is typically set ...

Page 10

... The device that controls the message is called a master. The devices that are controlled by the master are referred to as slaves. The bus must be controlled by a master device that generates the serial clock (SCL), controls the bus access, and generates the START and STOP conditions. The DS1307 2 operates as a slave on the I C bus ...

Page 11

... C Serial Bus R/ W DIRECTION BIT ACKNOWLEDGEMENT SIGNAL FROM RECEIVER ACK REPEATED IF MORE BYTES DS1307 Serial Real-Time Clock ACKNOWLEDGEMENT SIGNAL FROM RECEIVER 2 3 ACK STOP CONDITION OR ARE TRANSFERED REPEATED START CONDITION ...

Page 12

... DS1307 outputs an acknowledge on SDA. After the DS1307 acknowledges the slave address + write bit, the master transmits a word address to the DS1307. This sets the register pointer on the DS1307, with the DS1307 acknowledging the transfer. The master can then transmit zero or more bytes of data with the DS1307 acknowledging each byte received ...

Page 13

... For the latest package outline information and land patterns www.maxim-ic.com/packages. PACKAGE TYPE 8 PDIP 8 SO <Slave Address> 1101000 <Data(n+2)> <Data(n+X)> A ... XXXXXXXX A P DATA TRANSFERRED (X+1 BYTES + ACKNOWLEDGE); NOTE: LAST DATA BYTE IS FOLLOWED BY A NOT ACKNOWLEDGE (A) SIGNAL) PACKAGE CODE — — DS1307 Serial Real-Time Clock DOCUMENT NO. 21-0043 21-0041 ...

Page 14

... © 2008 Maxim Integrated Products DS1307 Serial, I DESCRIPTION Maxim is a registered trademark of Maxim Integrated Products, Inc ...

Related keywords