DS1308 Dallas Semiconductor, DS1308 Datasheet - Page 4

no-image

DS1308

Manufacturer Part Number
DS1308
Description
(DS1307) 64 x 8 Serial Real Time Clock
Manufacturer
Dallas Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1308A+
Manufacturer:
MAXIM
Quantity:
8
Part Number:
DS1308U-18+T
0
Part Number:
DS1308U-33+
Manufacturer:
MVSILICON
Quantity:
1 400
Part Number:
DS1308U-33+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS1308U-5+T
Manufacturer:
MAXIM
Quantity:
1 240
DS1307 ADDRESS MAP Figure 2
CLOCK AND CALENDAR
The time and calendar information is obtained by reading the appropriate register bytes. The real time
clock registers are illustrated in Figure 3. The time and calendar are set or initialized by writing the
appropriate register bytes. The contents of the time and calendar registers are in the Binary-Coded
Decimal (BCD) format. Bit 7 of Register 0 is the Clock Halt (CH) bit. When this bit is set to a 1, the
oscillator is disabled. When cleared to a 0, the oscillator is enabled.
Please note that the initial power on state of all registers is not defined. Therefore it is important to
enable the oscillator (CH bit=0) during initial configuration.
The DS1307/DS1308 can be run in either 12-hour or 24-hour mode. Bit 6 of the hours register is defined
as the 12- 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. In the 24-hour mode, bit 5 is the second 10 hour bit (20-23
hours).
On a 2-wire START, the current time is transferred to a second set of registers. The time information is
read from these secondary registers, while the clock may continue to run. This eliminates the need to re-
read the registers in case of an update of the main registers during a read.
DS1307/DS1308 TIMEKEEPER REGISTERS Figure 3
00H
07H
08H
3FH
SECONDS
CONTROL
MINUTES
HOURS
MONTH
DATE
YEAR
56 x 8
RAM
DAY
4 of 14
DS1307/1308

Related parts for DS1308