DS1307 Maxim Integrated Products, DS1307 Datasheet
DS1307
Specifications of DS1307
Available stocks
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
... PARAMETER V Current (OSC ON); 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 SYMBOL ...
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
... BUF t LOW SCL t HD:STA STOP START 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 DS1307 Real-Time Clock t HD:STA t SU:STO ...
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 ...
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
... Data is transferred with the most significant bit (MSB) first 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
... 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 © 2008 Maxim Integrated Products DS1307 Serial, I DESCRIPTION Maxim is a registered trademark of Maxim Integrated Products, Inc. ...