DS1388 Maxim, DS1388 Datasheet - Page 10

no-image

DS1388

Manufacturer Part Number
DS1388
Description
The DS1388 I²C real-time clock (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
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS1388Z-3+
Manufacturer:
Vishay
Quantity:
701
Part Number:
DS1388Z-33
Quantity:
1 881
Part Number:
DS1388Z-33
Manufacturer:
MAX
Quantity:
20 000
Part Number:
DS1388Z-33+
Manufacturer:
Maxim
Quantity:
7 784
Company:
Part Number:
DS1388Z-33+
Quantity:
15 000
Part Number:
DS1388Z-33+T&R
Manufacturer:
MAXIM
Quantity:
13 000
Part Number:
DS1388Z-33+T&R
Manufacturer:
MAXIM
Quantity:
500
Part Number:
DS1388Z-33+T&R
0
Part Number:
DS1388Z-5+
Manufacturer:
ALLEGRO
Quantity:
11 493
Part Number:
DS1388Z-5+
0
I
and 512 Bytes EEPROM
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
coupled into the oscillator circuit can result in the clock
running fast. Figure 3 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 Clock s for detailed information.
Figure 4 shows the address map for the DS1388. The
memory map is divided into three blocks. The memory
block accessed is determined by the value of the block
address bits in the slave address byte. The timekeep-
ing registers reside in block 0h. During a multibyte
access of the timekeeping registers, when the internal
address pointer reaches 0Ch, it wraps around to loca-
tion 00h. On an I
menting to location 00h, the current time is transferred
to a second set of registers. The time information is
read from these secondary registers, while the clock
may continue to run. This eliminates the need to reread
the registers in case the main registers update during a
Figure 3. Layout Example
10
2
C RTC/Supervisor with Trickle Charger
____________________________________________________________________
2
C START or address pointer incre-
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.
Clock Accuracy
Address Map
CRYSTAL
read. The EEPROM is divided into two 256-byte blocks
located in blocks 1h and 2h. During a multibyte read of
the EEPROM registers, when the internal address point-
er reaches FFh, it wraps around to location 00h of the
block of EEPROM specified in the block address.
During a multibyte write of the EEPROM registers, when
the internal address pointer reaches the end of the cur-
rent 8-byte EEPROM page, it wraps around to the
beginning of the EEPROM page. See the Write
Operation section for details.
To avoid rollover issues when writing to the time and
date registers, all registers should be written before the
hundredths-of-seconds register reaches 99 (BCD).
The hundredths-of-seconds generator circuit shown in
the Block Diagram is a state machine that divides the
incoming frequency (4096Hz) by 41 for 24 cycles and
40 for 1 cycle. This produces a 100Hz output that is
slightly off during the short term, and is exactly correct
every 250ms. The divide ratio is given by:
Thus, the long-term average frequency output is
exactly 100Hz.
GND
X1
X2
Ratio = [41 x 24 + 40 x 1] / 25 = 40.96
Hundredths-of-Seconds
Generator

Related parts for DS1388