DS12R885 Maxim, DS12R885 Datasheet - Page 14

no-image

DS12R885

Manufacturer Part Number
DS12R885
Description
The DS12R885 is a functional drop-in replacement for the DS12885 real-time clock (RTC)
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS12R885-33
Manufacturer:
DALLAS
Quantity:
108
Part Number:
DS12R885S-33
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS12R885S-33+
Manufacturer:
Maxim Integrated Products
Quantity:
135
Part Number:
DS12R885S-33+T&R
Manufacturer:
MAXIM
Quantity:
3
RTCs with Constant-Voltage Trickle Charger
methods of avoiding any possible incorrect time and
calendar reads are covered later in this text.
The three alarm bytes can be used in two ways. First,
when the alarm time is written in the appropriate hours,
minutes, and seconds alarm locations, the alarm inter-
rupt is initiated at the specified time each day, if the
alarm-enable bit is high. In this mode, the “0” bits in the
alarm registers and the corresponding time registers
must always be written to 0 (Table 2A and 2B). Writing
the 0 bits in the alarm and/or time registers to 1 can
result in undefined operation.
The second use condition is to insert a “don’t care”
state in one or more of the three alarm bytes. The don’t-
care code is any hexadecimal value from C0 to FF. The
Table 2A. Time, Calendar, and Alarm Data Modes—BCD Mode (DM = 0)
X = Read/Write Bit.
Note: Unless otherwise specified, the state of the registers is not defined when power is first applied. Except for the seconds regis-
ter, 0 bits in the time and date registers can be written to 1, but may be modified when the clock updates. 0 bits should always be
written to 0 except for alarm mask bits.
14
ADDRESS
0EH-7F
0CH
0DH
0AH
0BH
00H
01H
02H
03H
04H
05H
06H
07H
08H
09H
____________________________________________________________________
AM/PM
AM/PM
BIT 7
IRQF
SET
VRT
UIP
0
0
0
0
0
0
0
0
0
X
BIT 6
DV2
PIE
PF
0
0
0
0
0
0
X
10 Years
10 Seconds
10 Seconds
10 Minutes
10 Minutes
BIT 5
DV1
AIE
AF
0
0
0
0
0
X
10 Hours
10 Hours
10 Date
10 Months
10 Hours
10 Hours
BIT 4
DV0
UIE
UF
0
0
X
SQWE
BIT 3
RS3
0
0
0
X
BIT 2
RS2
DM
Seconds
Seconds
two most significant bits of each byte set the don’t-care
condition when at logic 1. An alarm is generated each
hour when the don’t-care bits are set in the hours byte.
Similarly, an alarm is generated every minute with
don’t-care codes in the hours and minute alarm bytes.
The don’t-care codes in all three alarm bytes create an
interrupt every second.
All 128 bytes can be directly written or read, except for
the following:
1) Registers C and D are read-only.
2) Bit 7 of register A is read-only.
3) The MSB of the seconds byte is read-only.
0
0
X
Minutes
Minutes
Month
Hours
Hours
Date
Year
24/12
BIT 1
RS1
Day
X
0
0
BIT 0
DSE
RS0
X
0
0
Seconds Alarm
Minutes Alarm
Hours Alarm
FUNCTION
Seconds
Minutes
Control
Control
Control
Control
Month
Hours
Date
Year
RAM
Day
1–12 +AM/PM
1–12 +AM/PM
RANGE
00–59
00–59
00–59
00–59
00–23
00–23
01–07
01–31
01–12
00–99

Related parts for DS12R885