English
Language : 

DS1308 Datasheet, PDF (8/16 Pages) Dallas Semiconductor – 64 X 8 Serial Real Time Clock
DS1308
Low-Current I2C RTC with 56-Byte NV RAM
Functional Diagram
X1
X2
VCC
VBAT
SCL
SDA
N
32.768kHz
8.192kHz
/4
/2
4.096kHz
128Hz
/32
OSC-1Hz
EXTSYNC
MUX/
BUFFER
EXT-1Hz
DIVIDER
N
POWER CONTROL
CONTROL LOGIC
SERIAL BUS
INTERFACE AND
ADDRESS
REGISTER
OSC-1Hz
RAM
CLOCK AND
CALENDAR REGISTERS
DS1308
SQW/CLKIN
Detailed Description
The DS1308 serial RTC is a low-power, full BCD clock/
calendar plus 56 bytes of NV SRAM. Address and data
are transferred serially through an I2C interface. 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 an
AM/PM indicator. The DS1308 has a built-in power-sense
circuit that detects power failures and automatically
switches to the VBAT supply.
Operation
The DS1308 operates as a slave device on the serial bus.
Access is obtained by implementing a START condition
and providing a device identification code, followed by
data. Subsequent registers can be accessed sequen-
tially until a STOP condition is executed. The device is
fully accessible and data can be written and read when
VCC is greater than VPF. However, when VCC falls below
VPF, the internal clock registers are blocked from any
access. If VBAT is greater than VBAT, the device power is
switched from VCC to VBAT when VCC drops below VPF.
If VBAT is less than VPF, the device power is switched
from VCC to VBAT when VCC drops below VBAT. The
oscillator and timekeeping functions are maintained
from the VBAT source until VCC returns above VPF, read
and write access is allowed after tREC. The Functional
Diagram shows the main elements of the DS1308.
An enable bit in the seconds register (CH) controls the
oscillator. Oscillator startup times are highly dependent
upon crystal characteristics, PCB leakage, and layout.
High ESR and excessive capacitive loads are the major
contributors to long startup times. A circuit using a crystal
with the recommended characteristics and proper layout
usually starts within 1 second.
On the first application of power to the device, the time
and date registers are reset to 01/01/00 01 00:00:00 (DD/
MM/YY DOW HH:MM:SS), and CH bit in the seconds
register is set to 0.
����������������������������������������������������������������� Maxim Integrated Products  8