DS1557 4Meg, Nonvolatile, Y2K-Compliant Timekeeping RAM
4 of 17
DATA WRITE MODE
The DS1557 is in the write mode whenever WE and CE are in their active state. The start of a write is
referenced to the latter occurring transition of WE or CE. The addresses must be held valid throughout
the cycle. CE and WE must return inactive for a minimum of t
WR
prior to the initiation of a subsequent
read or write cycle. Data in must be valid t
DS prior to the end of the write and remain valid for t
DH
afterward. In a typical application, the OE signal will be high during a write cycle. However, OE can be
active provided that care is taken with the data bus to avoid bus contention. If OE is low prior to WE
transitioning low, the data bus can become active with read data defined by the address inputs. A low
transition on WE will then disable the outputs t
WEZ
after WE goes active.
DATA RETENTION MODE
The 5V device is fully accessible and data can be written and read only when V
CC
is greater than V
PF
.
However, when V
CC
is below the power-fail point V
PF
(point at which write protection occurs) the
internal clock registers and SRAM are blocked from any access. When V
CC
falls below the battery switch
point V
SO
(battery supply level), device power is switched from the V
CC
pin to the internal backup lithium
battery. RTC operation and SRAM data are maintained from the battery until V
CC
is returned to nominal
levels.
The 3.3V device is fully accessible and data can be written and read only when V
CC
is greater than V
PF
.
When V
CC
falls below V
PF
, access to the device is inhibited. If V
PF
is less than V
SO
, the device power is
switched from V
CC
to the internal backup lithium battery when V
CC
drops below V
PF
. If V
PF
is greater
than V
SO
, the device power is switched from V
CC
to the internal backup lithium battery when V
CC
drops
below V
SO
. RTC operation and SRAM data are maintained from the battery until V
CC
is returned to
nominal levels.
All control, data, and address signals must be powered down when V
CC
is powered down.
BATTERY LONGEVITY
The DS1557 has a lithium power source that is designed to provide energy for the clock activity, and
clock and RAM data retention when the V
CC
supply is not present. The capability of this internal power
supply is sufficient to power the DS1557 continuously for the life of the equipment in which it is
installed. For specification purposes, the life expectancy is 10 years at 25C with the internal clock
oscillator running in the absence of V
CC
.
INTERNAL BATTERY MONITOR
The DS1557 constantly monitors the battery voltage of the internal battery. The Battery Low Flag (BLF)
bit of the Flags Register (B4 of 7FFF0h) is not writable and should always be a 0 when read. If a 1 is ever
present, an exhausted lithium energy source is indicated and both the contents of the RTC and RAM are
questionable.
POWER-ON RESET
A temperature compensated comparator circuit monitors the level of V
CC
. When V
CC
falls to the power
fail trip point, the RST signal (open drain) is pulled low. When V
CC
returns to nominal levels, the RST
signal continues to be pulled low for a period of 40 ms to 200 ms. The power-on reset function is
independent of the RTC oscillator and thus is operational whether or not the oscillator is enabled.
DS1557 4Meg, Nonvolatile, Y2K-Compliant Timekeeping RAM
5 of 17
CLOCK OPERATIONS
Table 2 and the following paragraphs describe the operation of RTC, alarm, and watchdog functions.
Table 2. Register Map
DATA
ADDRESS
B
7
B
6
B
5
B
4
B
3
B
2
B
1
B
0
FUNCTION/RANGE
7FFFFh 10 Year Year Year 00-99
7FFFEh X X X
10
Month
Month Month 01-12
7FFFDh X X 10 Date Date Date 01-31
7FFFCh X FT X X X Day Day 01-07
7FFFBh X X 10 Hour Hour Hour 00-23
7FFFAh X 10 Minutes Minutes Minutes 00-59
7FFF9h
OSC
10 Seconds Seconds Seconds 00-59
7FFF8h W R 10 Century Century Control 00-39
7FFF7h WDS BMB4 BMB3 BMB2 BMB1 BMB0 RB1 RB0 Watchdog
7FFF6h AE Y Abe Y Y Y Y Y Interrupts
7FFF5h AM4 Y 10 Date Date Alarm Date 01-31
7FFF4h AM3 Y 10 Hours Hours Alarm Hours 00-23
7FFF3h AM2 10 Minutes Minutes Alarm Minutes 00-59
7FFF2h AM1 10 Seconds Seconds Alarm Seconds 00-59
7FFF1h Y Y Y Y Y Y Y Y Unused
7FFF0h WF AF 0 BLF 0 0 0 0 Flags
X = Unused, Read/Writeable Under Write and Read Bit Control AE = Alarm Flag Enable
Y = Unused, Read/Writeable Without Write and Read Bit Control FT = Frequency Test Bit
OSC = Oscillator Start/Stop Bit
ABE = Alarm in Battery-BackUp Mode Enable
W = Write Bit AM1 to AM4 = Alarm Mask Bits
R = Read Bit WF = Watchdog Flag
WDS = Watchdog Steering Bit AF = Alarm Flag
BMB0 to BMB4 = Watchdog Multiplier Bits 0 = 0 (Read Only)
RB0 to RB1 = Watchdog Resolution Bits BLF = Battery Low Flag
DS1557 4Meg, Nonvolatile, Y2K-Compliant Timekeeping RAM
6 of 17
CLOCK OSCILLATOR CONTROL
The clock oscillator may be stopped at any time. To increase the shelf life of the backup lithium battery
source, the oscillator can be turned off to minimize current drain from the battery. The OSC bit is the
MSB of the Seconds Register (B7 of 7FFF9h). Setting it to a 1 stops the oscillator, setting to a 0 starts the
oscillator. The DS1557 is shipped from Maxim with the clock oscillator turned off, OSC bit set to a 1.
READING THE CLOCK
When reading the RTC data, it is recommended to halt updates to the external set of double-buffered
RTC Registers. This puts the external registers into a static state allowing data to be read without register
values changing during the read process. Normal updates to the internal registers continue while in this
state. External updates are halted when a 1 is written into the read bit, B6 of the Control Register
(7FFF8h). As long as a 1 remains in the Control Register read bit, updating is halted. After a halt is
issued, the registers reflect the RTC count (day, date, and time) that was current at the moment the halt
command was issued. Normal updates to the external set of registers will resume within 1 second after
the read bit is set to a 0 for a minimum of 500 s. The read bit must be a zero for a minimum of 500 s to
ensure the external registers will be updated.
SETTING THE CLOCK
The MSB bit, B7, of the Control Register is the write bit. Setting the write bit to a 1, like the read bit,
halts updates to the DS1557 (7FFF8h-7FFFFh) registers. After setting the write bit to a 1, RTC registers
can be loaded with the desired RTC count (day, date, and time) in 24-hour BCD format. Setting the write
bit to a 0 then transfers the values written to the internal RTC registers and allows normal operation to
resume.
CLOCK ACCURACY
The DS1557 and DS9034PCX are each individually tested for accuracy. Once mounted together, the
module will typically keep time accuracy to within 1.53 minutes per month (35 ppm) at 25°C and does
not require additional calibration. For this reason, methods of field clock calibration are not available and
not necessary. The electrical environment also affects clock accuracy and caution should be taken to
place the RTC in the lowest-level EMI section of the PC board layout. For additional information, refer
to Application Note 58.
FREQUENCY TEST MODE
The DS1557 frequency test mode uses the open drain IRQ/FT output. With the oscillator running, the
IRQ/FT output will toggle at 512 Hz when the FT bit is a 1, the Alarm Flag Enable bit (AE) is a 0, and
the Watchdog Steering bit (WDS) is a 1 or the Watchdog Register is reset (Register 7FFF7h = 00h). The
IRQ/FT output and the frequency test mode can be used as a measure of the actual frequency of the
32.768kHz RTC oscillator. The IRQ/FT pin is an open-drain output that requires a pullup resistor for
proper operation. The FT bit is cleared to a 0 on power-up.

DS1557WP-120IND+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Real Time Clock 4M NV RAM Timekeeper
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet