ds1644.pdf

(126 KB) Pobierz
199624904 UNPDF
DS1644/DS1644P
DS1644/DS1644P
Nonvolatile Timekeeping RAM
FEATURES
•
PIN ASSIGNMENT
Integrated NV SRAM, real time clock, crystal, power–
fail control circuit and lithium energy source
A14
A12
A7
A6
A5
A4
A3
A2
A1
A0
DQ0
DQ1
DQ2
GND
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
VCC
27
WE
•
Clock registers are accessed identical to the static
RAM. These registers are resident in the eight top
RAM locations.
26
A13
A8
A9
A11
25
24
23
•
Totally nonvolatile with over 10 years of operation in
the absence of power
22
OE
21
A10
•
Access time of 120 ns and 150 ns
20
CE
19
DQ7
DQ6
DQ5
DQ4
DQ3
•
BCD coded year, month, date, day, hours, minutes,
and seconds with leap year compensation valid up to
2100
18
17
16
•
Power–fail write protection allows for ± 10% V CC pow-
er supply tolerance
15
28–PIN ENCAPSULATED PACKAGE
(720 MIL EXTENDED)
•
DS1644 only (DIP Module)
– Upward compatible with the DS1643 Timekeep-
ing RAM to achieve higher RAM density
– Standard JEDEC Byte–wide 32K x 8 static RAM
pinout
NC
NC
NC
1
2
3
4
5
6
7
8
9
10
11
12
13
34
33
32
31
30
29
28
27
26
25
24
23
22
NC
NC
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
PFO
V CC
WE
•
DS1644P only (PowerCap Module Board)
– Surface mountable package for direct connec-
tion to PowerCap containing battery and crystal
– Replaceable battery (PowerCap)
– Power–fail Output
– Pin for pin compatible with other densities of
DS164XP Timekeeping RAM
OE
CE
DQ7
DQ6
DQ5
DQ4
DQ3
DQ2
DQ1
DQ0
GND
14
15
16
17
X1 GND
V BAT X2
21
20
19
18
ORDERING INFORMATION
DS1644–XXX
34–PIN POWERCAP MODULE BOARD
(USES DS9034PCX POWERCAP)
28–pin DIP module
PIN DESCRIPTION
A0– A14
–120 120 ns access
150 ns access
– Address Input
–150
CE
– Chip Enable
OE
– Output Enable
*DS1644P–XXX
34–pin PowerCap Module Board
WE
– Write Enable
V CC
– +5 Volts
–120 120 ns access
150 ns access
–150
DQ0–DQ7
– Data Input/Output
*DS9034PCX (Power Cap) Required;
must be ordered separately
NC
– No Connection
PFO
– Power–fail Output (DS1644P only)
X1, X2
– Crystal Connection
V BAT
– Battery Connection
031698 1/12
GND
– Ground
199624904.007.png 199624904.008.png
DS1644/DS1644P
DESCRIPTION
The DS1644 is a 32K x 8 nonvolatile static RAM with a
full function real time clock which are both accessible in
a Byte–wide format. The nonvolatile timekeeping RAM
is function equivalent to any JEDEC standard 32K x 8
SRAM. The device can also be easily substituted for
ROM, EPROM and EEPROM, providing read/write
nonvolatility and the addition of the real time clock func-
tion. The real time clock information resides in the eight
uppermost RAM locations. The RTC registers contain
year, month, date, day, hours, minutes, and seconds
data in 24 hour BCD format. Corrections for the day of
the month and leap year are made automatically. The
RTC clock registers are double buffered to avoid access
of incorrect data that can occur during clock update
cycles. The double buffered system also prevents time
loss as the timekeeping countdown continues unabated
by access to time register data. The DS1644 also con-
tains its own power–fail circuitry which deselects the de-
vice when the V CC supply is in an out–of–tolerance
condition. This feature prevents loss of data from un-
predictable system operation brought on by low V CC as
errant access and update cycles are avoided.
the crystal and battery. This design allows the Power-
Cap to be mounted on top of the DS1644P after the
completion of the surface mount process. Mounting the
PowerCap after the surface mount process prevents
damage to the crystal and battery due to the high tem-
peratures required for solder reflow. The PowerCap is
keyed to prevent reverse insertion. The PowerCap
Module Board and PowerCap are ordered separately
and shipped in seperate containers. The part number
for the PowerCap is DS9034PCX.
CLOCK OPERATIONS –
READING THE CLOCK
While the double buffered register structure reduces the
chance of reading incorrect data, internal updates to the
DS1644 clock registers should be halted before clock
data is read to prevent reading of data in transition.
However, halting the internal clock register updating
process does not affect clock accuracy. Updating is
halted when a one is written into the read bit, the seventh
most significant bit in the control register. As long as a
one remains in that position, updating is halted. After a
halt is issued, the registers reflect the count, that is day,
date, and time that was current at the moment the halt
command was issued. However, the internal clock reg-
isters of the double buffered system continue to update
so that the clock accuracy is not affected by the access
of data. All of the DS1644 registers are updated simul-
taneously after the clock status is reset. Updating is
within a second after the read bit is written to zero.
PACKAGES
The DS1644 is available in two packages (28–pin DIP
and 34–pin PowerCap module). The 28–pin DIP style
module integrated the crystal, lithium energy source,
and silicon all in one package. The 34–pin PowerCap
Module Board is designed with contacts for connection
to a separate PowerCap (DS9034PCX) that contains
DS1644 BLOCK DIAGRAM Figure 1
32.768 KHz
OSCILLATOR AND
CLOCK COUNTDOWN
CHAIN
CLOCK
REGISTERS
CE
WE
32K X 8
NV SRAM
OE
PFO
V CC
POWER MONITOR,
SWITCHING, AND
WRITE PROTECTION
A0–A14
+
DQ0–DQ7
V BAT
031698 2/12
199624904.009.png 199624904.010.png
 
DS1644/DS1644P
DS1644 TRUTH TABLE Table 1
V CC
CE
OE
WE
MODE
DQ
POWER
V IH
X
X
DESELECT
HIGH–Z
STANDBY
X
X
X
DESELECT
HIGH–Z
STANDBY
5 VOLTS ± 10%
V IL
X
V IL
WRITE
DATA IN
ACTIVE
V IL
V IL
V IH
READ
DATA OUT
ACTIVE
V IL
V IH
V IH
READ
HIGH–Z
ACTIVE
<4.5 VOLTS
>V BAT
X
X
X
DESELECT
HIGH–Z
CMOS STANDBY
<V BAT
X
X
X
DESELECT
HIGH–Z
DATA RETENTION
MODE
SETTING THE CLOCK
The eighth bit of the control register is the write bit. Set-
ting the write bit to a one, like the read bit, halts updates
to the DS1644 registers. The user can then load them
with the correct day, date and time data in 24 hour BCD
format. Resetting the write bit to a zero then transfers
those values to the actual clock counters and allows
normal operation to resume.
512 Hz. When the seconds register is being read, the
DQ0 line will toggle at the 512 Hz frequ enc y as lon g as
conditions for access remain valid (i.e., CE low, OE low,
and address for seconds register remain valid and
stable).
CLOCK ACCURACY (DIP MODULE)
The DS1644 is guaranteed to keep time accuracy to
within ± 1 minute per month at 25 ° C. The clock is cali-
brated at the factory by Dallas Semiconductor using
special calibration nonvolatile tuning elements. The
DS1644 does not require additional calibration, and
temperature deviations will have a negligible effect in
most applications. For this reason, methods of field
clock calibration are not available and not necessary.
STOPPING AND STARTING THE CLOCK
OSCILLATOR
The clock oscillator may be stopped at any time. To in-
crease the shelf life, the oscillator can be tu rned off to
minimize current drain from the battery. The OSC bit is
the MSB for the seconds registers. Setting it to a one
stops the oscillator.
FREQUENCY TEST BIT
Bit 6 of the day byte is the frequency test bit. When the
frequency test bit is set to logic “1” and the oscillator is
running, the LSB of the seconds register will toggle at
CLOCK ACCURACY (POWERCAP MODULE)
The DS1644P and DS9034PCX are each individually
tested for accuracy. Once mounted together, the mod-
ule is guaranteed to keep time accuracy to within ± 1.53
minutes per month (35 ppm) at 25
°
C.
031698 3/12
5 VOLTS 10%
5 VOLTS 10%
199624904.001.png 199624904.002.png
DS1644/DS1644P
DS1644 REGISTER MAP - BANK1 Table 2
DATA
ADDRESS
FUNCTION
ADDRESS
FUNCTION
B 7
B 6
B 5
B 4
B 3
B 2
B 1
B 0
7FFF
–
–
–
–
–
–
–
–
YEAR
00–99
7FFE
X
X
X
–
–
–
–
–
MONTH
01–12
7FFD
X
X
–
–
–
–
–
–
DATE
01–31
7FFC
X
FT
X
X
X
–
–
–
DAY
01–07
7FFB
X
X
–
–
–
–
–
–
HOUR
00–23
7FFA
X
–
–
–
–
–
–
–
MINUTES 00–59
7FF9
OSC
–
–
–
–
–
–
–
SECONDS 00–59
7FF8
W
R
X
X
X
X
X
X
CONTROL
A
OSC = STOP BIT
R = READ BIT
FT = FREQUENCY TEST
W
= WRITE BIT
X = UNUSED
NOTE:
All indicated “X” bits are not dedicated to any particular function and can be used as normal RAM bits.
RETRIEVING DATA FROM RAM OR CLO CK
The DS1644 is in t he r ead mode whenever WE (write
enable) is high, and CE (chip enable) is low. The device
architecture allows ripple–through access to any of the
address locations in the NV SRAM. Valid data will be
available at the DQ pins within t AA a fte r the l ast a ddress
input is stable, providing that t he CE and OE access
times and states are satisfied. If CE or OE access times
are not met, valid data will be available at the latter of
chip enable access (t CEA ) or at output enable access
time (t OEA ). Th e sta te of the data input/output pins (DQ)
is controlled by CE and OE. If the outputs are activated
before t AA , the data lines are driven to an intermediate
sta te un til t A A . If the address inputs are changed while
CE and OE remain valid, output data will remain valid for
output data hold time (t OH ) but will then go indeterminate
until the next address access.
in must be valid t DS prior to the end of write and rem ain
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 t aken with the d ata
bus to avoid bus contention. If OE is low prior to WE
transitioning low the data bus can become active with
read da ta d efined by the address inputs. A low tra nsi-
tion on WE will then disable the outputs t WEZ after WE
goes active.
DATA RETENTION MODE
When V CC is within nominal limits (V CC > 4.5 volts) the
DS1644 can be accessed as described above with read
or write cycles. However, when V CC is below the pow-
er–fail point V PF (point at which write protection occurs)
the internal clock registers and RAM are blocked from
access. Thi s is accomplished internally by inhibiting ac-
cess via the CE signal. At this time the power–fail output
signal (PFO) will be driven active low and will remain
active until V CC returns to nominal levels. When V CC
falls below the level of the internal battery supply, power
input is switched from the V CC pin to the internal battery
and clock activity, RAM, and clock data are maintained
from the battery until V CC is returned to nominal level.
WRITING DATA TO RAM OR CLOC K
The DS1644 is in the write mode whenever WE and CE
are in their active state. The start of a write is r efer en ced
to the latter occurring high to low transition of WE or CE.
The ad dres ses must be held valid throughout the cycle.
CE or WE must return inactive for a minimum of t WR
prior to the initiation of another read or write cycle. Data
031698 4/12
199624904.003.png 199624904.004.png 199624904.005.png
DS1644/DS1644P
ABSOLUTE MAXIMUM RATINGS*
Voltage on Any Pin Relative to Ground
–0.3V to +7.0V
Operating Temperature
0 ° C to 70 ° C
Storage Temperature
–20 ° C to +70 ° C
Soldering Temperature
260 ° C for 10 seconds (See Note 7)
* 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.
RECOMMENDED DC OPERATING CONDITIONS
(0
°
C to 70
°
C)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
Supply Voltage
V CC
4.5
5.0
5.5
V
1
Logic 1 Voltage All Inputs
V IH
2.2
V CC +0.3
V
Logic 0 Voltage All Inputs
V IL
–0.3
0.8
V
DC ELECTRICAL CHARACTERISTICS
(0
°
C
3
t A
3
70
°
C; V CC = 5.0V ± 10%)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
Average V CC Power Supply Cur-
rent
I CC1
75
mA
3
TTL Standby Current (CE = V IH )
I CC2
6
mA
3
CM OS Standby Current
(CE=V CC –0.2V)
I CC3
4.0
mA
3
Input Leakage Current (any input)
I IL
–1
+1
m
A
Output Leakage Current
I OL
–1
+1
m A
Output Logic 1 Voltage
(I OUT = –1.0 mA)
V OH
2.4
V
Output Logic 0 Voltage
(I OUT = +2.1 mA)
V OL
0.4
V
Write Protection Voltage
V PF
4.0
4.25
4.5
V
031698 5/12
199624904.006.png
Zgłoś jeśli naruszono regulamin