DS1215
DS1215
DS1215
Phantom Time Chip
• Space-saving, 16–pin DIP package and SOIC 16–PIN SOIC (300 MIL)
OPERATION CEO remains high during this time, disabling the con-
The block diagram of Figure 1 illustrates the main ele- nected memory.
ments of the Time Chip. Communication with the Time
Chip is established by pattern recognition of a serial bit Data transfer to and from the timekeeping function is ac-
stream of 64 bits which must be matched by executing complished with a serial bit stream under control of chip
64 consecutive write cycles containing the proper data enable input (CEI), output enable (OE), and write en-
on data in (D). All accesses which occur prior to recog- able (WE). Initially, a read cycle using the CEI and OE
nition of the 64-bit pattern are directed to memory via the control of the Time Chip starts the pattern recognition
chip enable output pin (CEO). sequence by moving a pointer to the first bit of the 64 bit
comparison register. Next, 64 consecutive write cycles
After recognition is established, the next 64 read or write are executed using the CEI and WE control of the Time
cycles either extract or update data in the Time Chip and Chip. These 64 write cycles are used only to gain ac-
cess to the Time Chip.
ROM/RAM
X2
CEO
UPDATE
READ
CEI
OE WRITE
CONTROL TIMEKEEPING REGISTER
WE LOGIC
POWER-FAIL
RST
ACCESS
ENABLE COMPARISON REGISTER
SEQUENCE
DETECTOR
D DATA
I/O BUFFERS
Q
INTERNAL VCC
BAT1 BAT2
032697 2/15
DS1215
When the first write cycle is executed, it is compared to 64 cycles will cause the Time Chip to either receive data
bit 1 of the 64–bit comparison register. If a match is on D, or transmit data on Q, depending on the level of
found, the pointer increments to the next location of the OE pin or the WE pin. Cycles to other locations outside
comparison register and awaits the next write cycle. If a the memory block can be interleaved with CEI cycles
match is not found, the pointer does not advance and all without interrupting the pattern recognition sequence or
subsequent write cycles are ignored. If a read cycle oc- data transfer sequence to the Time Chip.
curs at any time during pattern recognition, the present
sequence is aborted and the comparison register point- A 32,768 Hz quartz crystal can be directly connected to
er is reset. Pattern recognition continues for a total of 64 the DS1215 via pins 1 and 2 (X1, X2). The crystal se-
write cycles as described above until all the bits in the lected for use should have a specified load capacitance
comparison register have been matched. (This bit pat- (CL) of 6 pF. For more information on crystal selection
tern is shown in Figure 2.) With a correct match for 64 and crystal layout considerations, please consult
bits, the Time Chip is enabled and data transfer to or Application Note 58, “Crystal Considerations with Dal-
from the timekeeping registers may proceed. The next las Real Time Clocks”.
BYTE 0 1 1 0 0 0 1 0 1 C5
BYTE 1 0 0 1 1 1 0 1 0 3A
BYTE 2 1 0 1 0 0 0 1 1 A3
BYTE 3 0 1 0 1 1 1 0 0 5C
BYTE 4 1 1 0 0 0 1 0 1 C5
BYTE 5 0 0 1 1 1 0 1 0 3A
BYTE 6 1 0 1 0 0 0 1 1 A3
BYTE 7 0 1 0 1 1 1 0 0 5C
NOTE:
The pattern recognition in Hex is C5, 3A, A3, 5C, C5, 3A, A3, 5C. The odds of this pattern being accidentally duplicated
and causing inadvertent entry to the Time Chip are less than 1 in 1019.
032697 3/15
DS1215
The DS1215 safeguards the Time Chip and RAM data AM–PM/12/24 MODE
by power–fail detection and write protection. Power–fail Bit 7 of the hours register is defined as the 12– or
detection occurs when VCCI falls below VTP, which is 24–hour mode select bit. When high, the 12–hour mode
equal to 1.26 x VBAT. The DS1215 constantly monitors is selected. In the 12–hour mode, bit 5 is the AM/PM bit
the VCCI supply pin. When VCCI is less than VTP, a com- with logic high being PM. In the 24–hour mode, bit 5 is
parator outputs a power–fail signal to the control logic. the second 10–hour bit (20 –23 hours).
The power–fail signal forces the chip enable output
(CEO) to VCCI or VBAT–0.2 volts for external RAM write OSCILLATOR AND RESET BITS
protection. During nominal supply conditions, CEO will Bits 4 and 5 of the day register are used to control the
track CEI with a maximum propagation delay of 20 ns. reset and oscillator functions. Bit 4 controls the reset pin
Internally, the DS1215 aborts any data transfer in prog- (Pin 13). When the reset bit is set to logic 1, the reset in-
ress without changing any of the Time Chip registers put pin is ignored. When the reset bit is set to logic 0, a
and prevents future access until VCCI exceeds VTP. A low input on the reset pin will cause the Time Chip to
typical RAM/Time Chip interface is illustrated in abort data transfer without changing data in the time-
Figure 3. keeping registers. Reset operates independently of all
other inputs. Bit 5 controls the oscillator. When set to
When the ROM/RAM pin is connected to VCCO, the con- logic 0, the oscillator turns on and the watch becomes
troller is set in the ROM mode. Since ROM is a read– operational.
only device that retains data in the absence of power,
battery backup and write protection is not required. As a
result, the chip enable logic will force CEO low when ZERO BITS
power fails. However, the Time Chip does retain the Registers 1, 2, 3, 4, 5, and 6 contain one or more bits that
same internal nonvolatility and write protection as de- will always read logic 0. When writing these locations,
scribed in the RAM mode. In addition, the chip enable either a logic 1 or 0 is acceptable.
output is set at a low level on power–fail as VCCI falls be-
low the level of VBAT. A typical ROM/Time Chip interface
is illustrated in Figure 4.
032697 4/15
DS1215
A0 – AN ADD
DATA I/O D0 – D7
WE
OE
CE VCC
DS1215
10 15
CEO VCCO
12 6
OE D
3 7
WE Q
11
CE CEI VCCI +5 VDC
13 ROM/ 9
RST RST RAM
4 14 OR TIE TO GND FOR
BAT1 BAT2
X1 X2 ONE–BATTERY
+ + OPERATION
BAT1 BAT2
1 2
32.768 KHz
A0 – AN ADD VCC
DATA I/O D0 – D7
A2
OE OE
A0 CE
DS1215
6 10
D CEO
12 7
OE Q
3 16
WE VCCI +5 VDC
11 15
CE CEI VCCO
13 ROM/ 9
RST RST RAM
4 14 OR TIE TO GND FOR
BAT1 BAT2
X1 X2 ONE–BATTERY
+ + OPERATION
BAT1 BAT2
1 2
32.768 KHz
032697 5/15
DS1215
6 0 0 0 10 MONTH 01–12
MONTH
032697 6/15
DS1215
* This is a stress rating only and functional operation of the device at these or any other conditions above those
indicated in the operation sections of this specification is not implied. Exposure to absolute maximum rating
conditions for extended periods of time may affect reliability.
032697 7/15
DS1215
032697 8/15
DS1215
032697 9/15
DS1215
tRC
tRR
CEI
tCO
tOD
OE tOE
tOEE
tODO
ÉÉÉ ÉÉÉ
tCOE
ÉÉÉ ÉÉÉ
Q
OUTPUT DATA VALID
tWC
WE tWR
tWP
tWR
CEI
tCW
tDH
tDS
ÉÉÉÉÉ ÉÉÉÉÉÉÉ
D tDH
032697 10/15
DS1215
ÇÇÇÇÇÇ
tRC
ÇÇÇÇÇÇ
tCO tRR
ÇÇÇÇÇÇ
CEI
ÇÇÇÇÇÇÇ
tOD
tRR
ÇÇÇÇÇÇÇ
tRC
ÇÇÇÇÇÇÇ
OE tOE
tODO
tAS
ÉÉÉÉÉ
tAH
tAS tAH
ÉÉÉÉÉ
WE
tOEE
tCOE
tWC
ÇÇÇÇÇÇ
tWR
tCW
ÇÇÇÇÇÇ
CEI
ÇÇÇÇÇÇÇ
tWR
tWC
OE
ÇÇÇÇÇÇÇ tOW
ÇÇÇÇÇ
tAS tAH
tAS
ÇÇÇÇÇ
tAH
ÇÇÇÇÇ
WE
tDS tDH
tDS tDH
D DATA IN STABLE
032697 11/15
DS1215
ÇÇÇÇÇÇÇÇÇÇ
tCE
ÇÇÇÇÇÇÇÇÇÇ
CEI
VIH
ÇÇÇÇÇÇÇÇÇÇ
VIL
tPD
tPF
VCCI
4.5V
tF
3V
ÇÇÇÇÇÇ
ÇÇÇÇÇÇ
VIH
CEI
VIL
BAT - 0.2V
tPD
4.5V
VCCI
tRST
RST
032697 12/15
DS1215
NOTES:
1. All voltages are referenced to ground.
4. tWR is a function of the latter occurring edge of WE or CE in RAM mode, or OE or CE in ROM mode.
5. tDH and tDS are functions of the first occurring edge of WE or CE in RAM mode, or OE or CE in ROM mode.
7. Trip point voltage for power–fail detect. VTP = 1.26 x VBAT. For 10% VCC= 5V + 10% operation VBAT = 3.5V max.;
for 5% operation VBAT = 3.7V max.
8. ICC01 is the maximum average load current the DS1215 can supply to memory.
9. Applies to CEO with the ROM/RAM pin grounded. When the ROM/RAM pin is connected to VCCO, CEO will go
to a low level as VCCI falls below VBAT.
10. ICC02 is the maximum average load current that the DS1215 can supply to memory in the battery backup mode.
11. Applies to all input pins except RST. RST is pulled internally to VCCI.
1.1KΩ
50 pF
680Ω
032697 13/15
DS1215
B D J
1
A
PKG 16–PIN
032697 14/15
DS1215
B H
C F
E phi L
J
PKG 16–PIN
H IN 0.398 0.416
MM 10.11 10.57
J IN 0.009 0.013
MM 0.229 0.33
L IN 0.016 0.040
MM 0.40 1.02
PHI 0° 8°
032697 15/15