DS1388
I
2
C RTC/Supervisor with Trickle Charger
and 512 Bytes EEPROM
_____________________________________________________________________
7
V
CC
FALLING vs. RST DELAY
DS1388 toc04
V
CC
FALLING (V/ms)
RESET DELAY (μs)
1010.1
100
1000
10,000
10
0.01 100
V
CC
= V
PF
+ 0.1V TO 0V
I
BACKUP
SUPPLY CURRENT VOLTAGE
vs. TEMPERATURE
DS1388 toc02
TEMPERATURE (°C)
SUPPLY CURRENT (nA)
65
503520
5
10-25
300
350
400
450
500
550
600
250
-40
80
V
BACKUP
= 3V
OSCILLATOR FREQUENCY
vs. SUPPLY VOLTAGE
DS1388 toc03
SUPPLY (V)
FREQUENCY (Hz)
5.34.8
3.8
4.3
2.3
2.8
3.3
1.8
32768.05
32768.10
32768.15
32768.20
32768.25
32768.30
32768.35
32768.40
32768.45
32768.00
1.3
I
BACKUP
SUPPLY CURRENT VOLTAGE
vs. V
BACKUP
DS1388 toc01
V
BACKUP
(V)
SUPPLY CURRENT (nA)
5.3
4.9
4.5
4.1
3.73.32.92.52.11.7
300
350
400
450
500
250
1.3
V
CC
= 0V
Typical Operating Characteristics
(V
CC
= +3.3V, T
A
= +25°C, unless otherwise noted.)
DS1388
I
2
C RTC/Supervisor with Trickle Charger
and 512 Bytes EEPROM
8 _____________________________________________________________________
Pin Description
Block Diagram
PIN NAME FUNCTION
1 X1
2 X2
Connections for a Standard 32.768kHz Quartz Crystal. The internal oscillator circuitry is designed for
operation with a crystal having a specified load capacitance (C
L
) of 6.0pF. Pin X1 is the input to the
oscillator and can optionally be connected to an external 32.768kHz oscillator. The output of the internal
oscillator, pin X2, is left unconnected if an external oscillator is connected to pin X1.
3 V
BACKUP
Connection for a Secondary Power Supply. Supply voltage must be held between 1.3V and 5.5V for proper
operation. This pin can be connected to a primary cell, such as a lithium button cell. Additionally, this pin
can be connected to a rechargeable cell or a super cap when used with the trickle-charge feature. If not
used, this pin must be connected to ground. UL recognized to ensure against reverse charging current
when used with a lithium battery (www.maxim-ic.com/qa/info/ul/
).
4 GND Ground
5 SDA
Serial Data Output. SDA is the input/output for the I
2
C serial interface. This pin is open drain and requires
an external pullup resistor.
6 SCL
Serial Clock Input. SCL is the clock input for the I
2
C interface and is used to synchronize data movement
on the serial interface.
7 RST
Active-Low, Open-Drain Reset Output. This pin indicates the status of V
CC
relative to the V
PF
specification. As V
CC
falls below V
PF
, the RST pin is driven low. When V
CC
exceeds V
PF
, for t
RST
, the RST
pin is driven high impedance. The active-low, open-drain output is combined with a debounced
pushbutton input function. This pin can be activated by a pushbutton reset request. It has an internal
50k nominal value pullup resistor to V
CC
. No external pullup resistors should be connected. If the
crystal oscillator is disabled, the startup time of the oscillator is added to the t
RST
delay.
8 V
CC
DC Power Pin for Primary Power Supply
BLOCK 2BLOCK 1BLOCK 0
CLOCK AND CALENDAR
REGISTERS
POWER CONTROL
AND
TRICKLE CHARGER
I
2
C
INTERFACE
EEPROM
INTERFACE
EEPROM EEPROM
WATCHDOG
TIMER
STATUS CONTROL/
TRICKLE
X2
X1
V
CC
GND
V
BACKUP
RST
SDA
SCL
C
L
C
L
DS1388
DS1388
I
2
C RTC/Supervisor with Trickle Charger
and 512 Bytes EEPROM
_____________________________________________________________________ 9
Detailed Description
The DS1388 I
2
C RTC, supervisor, and EEPROM is a
multifunction device that provides a clock/calendar,
programmable watchdog timer, power-supply monitor
with reset, and 512 bytes of EEPROM. The clock pro-
vides hundredths of seconds, seconds, minutes, and
hours, and operates in 24-hour or 12-hour format with
an AM/PM indicator. The calendar provides day, date,
month, and year information. The date at the end of the
month is automatically adjusted for months with fewer
than 31 days, including corrections for leap year. A
watchdog timer provides a reset for an unresponsive
microprocessor. It is programmable in 10ms intervals
from 0.01 to 99.99 seconds. A temperature-compensat-
ed voltage reference and comparator circuit monitors
the status of V
CC
. If a primary power failure is detected,
the device automatically switches to the backup supply
and drives the reset output to the active state. When
V
CC
returns to nominal levels, the reset is held low for a
period to allow the power supply and processor to sta-
bilize. The device also has a pushbutton reset con-
troller, which debounces a reset input signal. The
device is accessed through an I
2
C serial interface.
Operation
The DS1388 operates as a slave device on the I
2
C bus.
Access is obtained by implementing a START condition
and providing a device identification code followed by
data. Subsequent registers can be accessed sequen-
tially until a STOP condition is executed. See the
Block
Diagram
, which shows the main elements of the serial
real-time clock.
Power Control
The power-control function is provided by a precise,
temperature-compensated voltage reference and a
comparator circuit that monitors the V
CC
level. The
device is fully accessible and data can be written and
read when V
CC
is greater than V
PF
. However, when
V
CC
falls below V
PF
, the internal clock registers are
blocked from any access. If V
PF
is less than V
BACKUP
,
the device power is switched from V
CC
to V
BACKUP
when V
CC
drops below V
PF
. If V
PF
is greater than
V
BACKUP
, the device power is switched from V
CC
to
V
BACKUP
when V
CC
drops below V
BACKUP
. The regis-
ters are maintained from the V
BACKUP
source until V
CC
is returned to nominal levels (Table 1). After V
CC
returns above V
PF
, read and write access is allowed
after RST goes high (Figure 1).
On first application of power to the device, the time and
date registers are set to 00/00/00 00 00:00:00
(MM/DD/YY DOW HH:MM:SS). The user should initial-
ize all RTC registers to valid date and time settings.
Oscillator Circuit
The DS1388 uses an external 32.768kHz crystal. The
oscillator circuit does not require any external resistors
or capacitors to operate. Table 2 specifies several
crystal parameters for the external crystal. Using a
crystal with the specified characteristics, the startup
time is usually less than one second.
SUPPLY CONDITION
READ/WRITE
ACCESS
POWERED
BY
V
CC
< V
PF
, V
CC
< V
BACKPUP
No V
BACKUP
V
CC
< V
PF
, V
CC
> V
BACKUP
No V
CC
V
CC
> V
PF
, V
CC
< V
BACKUP
Yes V
CC
V
CC
> V
PF
, V
CC
> V
BACKUP
Yes V
CC
PARAMETER SYMBOL MIN TYP MAX UNITS
Nominal
Frequency
f
O
32.768 kHz
Series
Resistance
ESR 50 kΩ
Load
Capacitance
C
L
6pF
*
The crystal, traces, and crystal input pins should be isolated
from RF generating signals. Refer to Application Note 58:
Crystal Considerations for Dallas Real-Time Clocks for addi-
tional specifications.
Table 1. Power Control
Table 2. Crystal Specifications*

DS1388Z-5+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Real Time Clock I2C RTC/Supervisor w/Trickle Charger
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet