DS1347 Maxim, DS1347 Datasheet - Page 8

no-image

DS1347

Manufacturer Part Number
DS1347
Description
The DS1347 SPI-compatible real-time clock (RTC) contains a real-time clock/calendar and 31 x 8 bits of static random-access memory (SRAM)
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1347T+T&R
Manufacturer:
MAXIM
Quantity:
2 500
Each data transfer into or out of the device is initiated by
an address/command byte. The address/command byte
specifies which registers are to be accessed, and if the
access is a read or a write. Table 1 shows the
address/command bytes and their associated regis-
ters, and lists the hex codes for all read and write oper-
ations. The address/command bytes are input MSB
(bit 7) first. Bit 7 specifies a write (logic 0) or read
(logic 1). Bit 6 specifies register data (logic 0) or RAM
data (logic 1). Bits 5–1 specify the designated register
to be written or read. The LSB (bit 0) must be logic 1. If
the LSB is a zero, writes to the device are disabled.
Sending the clock burst address/command (3Fh) spec-
ifies burst-mode operation. In this mode, multiple bytes
are read or written after a single address/command.
Low-Current, SPI-Compatible Real-Time Clock
Table 1. Register Map (continued)
0 = Reads as logic 0, 1 = Reads as logic 1, X = Don’t care.
8
ADDRESS
_______________________________________________________________________________________
57h
59h
5Bh
5Dh
5Fh
61h
63h
65h
67h
69h
6Bh
6Dh
6Fh
71h
73h
75h
77h
79h
7Bh
7Dh
7Fh
BIT 7
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Command and Control
BIT 6
Address/Command Byte
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
See the Data Input (Burst Write) section.
Clock Burst Mode
BIT 5
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
BIT 4
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
BIT 3
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
BIT 2
The first seven clock/calendar registers (Seconds,
Minutes, Hours, Date, Month, Day, and Year) and the
Control register are consecutively read or written, start-
ing with the MSB of the Seconds register. When writing
to the clock registers in burst mode, all seven clock/cal-
endar registers and the Control register must be written
in order for the data to be transferred. See the Example:
Setting the Clock with a Burst Write section.
Sending the RAM burst address/command (7Fh) speci-
fies burst-mode operation. In this mode, the 31 RAM
locations can be consecutively read or written, starting
at 41h. When writing to RAM in burst mode, it is not
necessary to write all 31 bytes for the data to transfer;
each complete byte written is transferred to RAM. When
reading from RAM, data is output until all 31 bytes have
been read, or until CS is driven high.
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
BIT 1
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
BIT 0
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
FUNCTION
RAM Burst
RAM 11
RAM 12
RAM 13
RAM 14
RAM 15
RAM 16
RAM 17
RAM 18
RAM 19
RAM 20
RAM 21
RAM 22
RAM 23
RAM 24
RAM 25
RAM 26
RAM 27
RAM 28
RAM 29
RAM 30
RAM Burst Mode
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
00h–FFh
RANGE

Related parts for DS1347