DS12CR887 Maxim, DS12CR887 Datasheet - Page 13

no-image

DS12CR887

Manufacturer Part Number
DS12CR887
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:
DS12CR887+33
Manufacturer:
xilinx
Quantity:
6
Part Number:
DS12CR887+33
Manufacturer:
DALLAS
Quantity:
20 000
Part Number:
DS12CR887+5
Quantity:
479
Part Number:
DS12CR887-33+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS12CR887-5+
Manufacturer:
MAXIM/美信
Quantity:
20 000
An external 32.768kHz oscillator can also drive the
DS12R885. In this configuration, the X1 pin is connected
to the external oscillator signal and the X2 pin is left
unconnected.
The accuracy of the clock is dependent upon the accu-
racy of the crystal and the accuracy of the match
between the capacitive load of the oscillator circuit and
the capacitive load for which the crystal was trimmed.
Additional error is added by crystal frequency drift
caused by temperature shifts. External circuit noise cou-
pled into the oscillator circuit can result in the clock run-
ning fast. Figure 2 shows a typical PC board layout for
isolation of the crystal and oscillator from noise. Refer to
Application Note 58: Crystal Considerations with Dallas
Real-Time Clocks (RTCs) for more detailed information.
factory to an accuracy of ±1 minute per month at
+25°C during data-retention time for the period t
The real-time clock continues to operate regardless of
the V
locations remain nonvolatile. V
within the minimum and maximum limits when V
not applied. When V
(power-fail trip point), the device becomes accessible
after t
countdown chain is not in reset (Register A). This time
allows the system to stablize after power is applied. If
the oscillator is not enabled, the oscillator-enable bit is
enabled on power-up, and the device becomes imme-
diately accessible.
The time and calendar information is obtained by read-
ing the appropriate register bytes. The time, calendar,
and alarm are set or initialized by writing the appropri-
ate register bytes. The contents of the 10 time, calen-
dar, and alarm bytes can be either binary or
binary-coded decimal (BCD) format.
The day-of-week register increments at midnight, incre-
menting from 1 through 7. The day-of-week register is
The DS12R887 and DS12CR887 are calibrated at the
CC
REC
RTCs with Constant-Voltage Trickle Charger
input level, and the RAM and alarm memory
—if the oscillator is running and the oscillator
Time, Calendar, and Alarm
Power-Down/Power-Up
CC
is applied and exceeds V
Clock Accuracy
Considerations
BACKUP
____________________________________________________________________
Locations
must remain
DR
CC
.
PF
is
used by the daylight saving function, so the value 1 is
defined as Sunday. The date at the end of the month is
automatically adjusted for months with fewer than 31
days, including correction for leap years.
Before writing the internal time, calendar, and alarm reg-
isters, the SET bit in Register B should be written to logic
1 to prevent updates from occurring while access is
being attempted. In addition to writing the 10 time, calen-
dar, and alarm registers in a selected format (binary or
BCD), the data mode bit (DM) of Register B must be set
to the appropriate logic level. All 10 time, calendar, and
alarm bytes must use the same data mode. The SET bit
in Register B should be cleared after the data mode bit
has been written to allow the RTC to update the time and
calendar bytes. Once initialized, the RTC makes all
updates in the selected mode. The data mode cannot be
changed without reinitializing the 10 data bytes. Tables
2A and 2B show the BCD and binary formats of the time,
calendar, and alarm locations.
The 24/12 bit cannot be changed without reinitializing the
hour locations. When the 12-hour format is selected, the
higher-order bit of the hours byte represents PM when it
is logic 1. The time, calendar, and alarm bytes are always
accessible because they are double-buffered. Once per
second the seven bytes are advanced by one second
and checked for an alarm condition.
If a read of the time and calendar data occurs during
an update, a problem exists where seconds, minutes,
hours, etc., may not correlate. The probability of read-
ing incorrect time and calendar data is low. Several
Figure 2. Layout Example
LOCAL GROUND PLANE (LAYER 2)
NOTE: AVOID ROUTING SIGNAL LINES
IN THE CROSSHATCHED AREA
(UPPER LEFT QUADRANT) OF
THE PACKAGE UNLESS THERE IS
A GROUND PLANE BETWEEN THE
SIGNAL LINE AND THE DEVICE PACKAGE.
CRYSTAL
GND
X1
X2
13

Related parts for DS12CR887