DS1391U-33+T&R Maxim Integrated Products, DS1391U-33+T&R Datasheet - Page 16
![IC RTC W/CHARGER 10-USOP](/photos/6/57/65724/175-10-umax_sml.jpg)
DS1391U-33+T&R
Manufacturer Part Number
DS1391U-33+T&R
Description
IC RTC W/CHARGER 10-USOP
Manufacturer
Maxim Integrated Products
Type
Clock/Calendar/Trickle-Chargerr
Datasheet
1.DS1390U-33.pdf
(26 pages)
Specifications of DS1391U-33+T&R
Time Format
HH:MM:SS:hh (12/24 hr)
Date Format
YY-MM-DD-dd
Interface
SPI, 3-Wire Serial
Voltage - Supply
2.97 V ~ 3.63 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
10-MSOP, Micro10™, 10-uMAX, 10-uSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Memory Size
-
Low-Voltage SPI/3-Wire RTCs with
Trickle Charger
All five devices contain one time-of-day/date alarm.
Writing to registers 88h through 8Ch sets the alarm.
The alarm can be programmed (by the alarm enable
and INTCN bits of the control register) to activate the
SQW/INT or INT output on an alarm-match condition.
The alarm can activate the SQW/INT or INT output while
the device is running from V
enabled. Bit 7 of each of the time-of-day/date alarm
registers are mask bits (Table 4). When all the mask
bits for each alarm are logic 0, an alarm only occurs
when the values in the timekeeping registers 00h to 06h
match the values stored in the time-of-day/date alarm
registers. The alarms can also be programmed to
repeat every second, minute, hour, day, or date. Table
4 shows the possible settings. Configurations not listed
in the table result in illogical operation.
The DY/DT bits (bit 6 of the alarm day/date registers)
control whether the alarm value stored in bits 0 to 5 of
that register reflects the day of the week or the date of
the month. If DY/DT is written to logic 0, the alarm is the
result of a match with date of the month. If DY/DT is
written to a logic 1, the alarm is the result of a match
with day of the week.
When the RTC register values match alarm register set-
tings, the alarm-flag (AF) bit is set to logic 1. If the
alarm-interrupt enable (AIE) is also set to logic 1 and
the INTCN bit is set to logic 1, the alarm condition acti-
vates the SQW/INT signal.
Table 4. Alarm Mask Bits
16
[0–9][0–9]
[0–9][0–9]
[0–9][0–9]
[0–9][0–9]
[0–9][0–9]
[0–9][0–9]
REGISTE
F[0–9]h
R 08H
FFh
____________________________________________________________________
DY/
X
X
X
X
X
X
0
1
ALARM REGISTER MASK BITS (BIT 7)
AM4
1
1
1
1
1
1
0
0
AM3
BACKUP
1
1
1
1
1
0
0
0
AM2
if BBSQI is
1
1
1
1
0
0
0
0
Alarms
AM1
1
1
1
0
0
0
0
0
Alarm every 1/100th of a second
Alarm when hundredths of seconds match
Alarm when tenths, hundredths of seconds match
Alarm when seconds, tenths, and hundredths of seconds
match
Alarm when minutes, seconds, tenths, and hundredths of
seconds match
Alarm when hours, minutes, seconds, tenths, and
hundredths of seconds match
Alarm when date, hours, minutes, seconds, tenths, and
hundredths of seconds match
Alarm when day, hours, minutes, seconds, tenths, and
hundredths of seconds match
Since the contents of register 08h are expected to nor-
mally contain a match value of 00–99 decimal, the
codes F[0–9], and FF have been used to tell the part to
mask the tenths or hundredths of seconds accordingly.
A precision temperature-compensated reference and
comparator circuit monitors the status of V
out-of-tolerance condition occurs, an internal power-fail
signal is generated that blocks read/write access to the
device and forces the RST pin (DS1391/DS1393 only)
low. When V
internal power-fail signal is held active for t
the power supply to stabilize, and the RST (DS1391/
DS1393 only) pin is held low. If the EOSC bit is set to
logic 1 (to disable the oscillator in battery-backup
mode), the internal power-fail signal and the RST pin is
kept active for t
The DS1391/DS1393 provide for a pushbutton switch to
be connected to the RST output pin. When the
DS1391/DS1393 are not in a reset cycle, it continuously
monitors the RST signal for a low-going edge. If an
edge is detected, the part debounces the switch by
pulling the RST pin low and inhibits read/write access.
After PB
the RST line. If the line is still low, it continues to monitor
the line looking for a rising edge. Upon detecting
release, the part forces the RST pin low and holds it low
for an additional PB
DB
Pushbutton Reset Functions
Power-Up/Down, Reset, and
has expired, the part continues to monitor
CC
RST
returns to an in-tolerance condition, the
plus the startup time of the oscillator.
DB
ALARM RATE
.
CC
RST
. When an
to allow