ST MICROELECTRONICS M 48T02 B15 Datasheet

5.0V, 16 Kbit (2Kb x 8) TIMEKEEPER® SRAM
FEATURES SUMMARY
INTEGRATED, ULTRA LOW POWER SRAM,
REAL TIME CLOCK, and POWER-FAIL CONTROL CIRCUIT
BYTEWIDE™ RAM-LIKE CLOCK ACCESS
BCD CODED YEAR, MONTH, DAY, DATE,
HOURS, MINUTES, and SECONDS
TYPICAL CLOCK ACCURACY OF ±1 MINUTE
A MONTH, AT 25°C
SOFTWARE CONTROLLED CLOCK
CALIBRATION FOR HIGH ACCURACY APPLICATIONS
AUTOMATIC POWER-FAIL CHIP DESELECT
and WRITE PROTECTION
WRITE PROTECT VOLTAGES
(V
= Power-fail Deselect Voltage):
PFD
– M48T02: V
4.5V V
– M48T12: V
4.2V ≤ V
SELF-CONTAI N ED BATTER Y and CRY STAL
IN THE CAPHAT™ DIP PACKAGE
PIN and FUNCTION COMPATIBLE WITH
JEDEC STANDARD 2K x 8 SRAMs
= 4.75 to 5.5 V
CC
4.75V
PFD
= 4.5 to 5.5V
CC
4.5V
PFD
M48T02 M48T12
Figure 1. 24-pin PCDIP, CAPHAT™ Package
24
1
PCDIP24 (PC) Battery/Crystal
CAPHAT
1/19July 2001
M48T02, M48T12
TABLE OF CONTENTS
SUMMARY DESCRIPTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Logic Diagram (Figure 2.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Signal Names (Table 1.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
DIP Connections (Figure 3.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Block Diagram (Figure 4.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
MAXIMUM RATING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Absolute Maximum Ratings (Table 2.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
DC AND AC PARAMETERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Operating and AC Measurement Condit ions (Table 3.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
AC Testing Load Circuit (Figure 5.). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Capacitance (Table 4.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
DC Characteristics (Table 5.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
OPERATION MODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Operating Modes (Table 6.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
READ Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
READ Mode AC Waveforms (Figure 6.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
READ Mode AC Characteristics (Table 7.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
WRITE Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
WRITE Enable Controlled, WRITE AC Waveform (Figure 7.). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Chip Enable Controlled, WRITE AC Waveforms (Figure 8.). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
WRITE Mode AC Characteristics (Table 8.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Data Retention Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Checking the BOK Flag Status (Figure 9.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Power Down/Up Mode AC Waveforms (Figure 10.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Power Down/Up AC Characteristics (Table 9.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Power Down/Up Trip Points DC Characteristics (Table 10.). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
CLOCK OPERATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Reading the Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Setting the Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Register Map (Table 11.). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Stopping and Starting the Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Calibrating the Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Crystal Accuracy Across Temperature (Figure 11.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Clock Calibration (Figure 12.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Power Supply Decoupling and Undershoot Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Supply Voltage Protection (Figure 13.) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
PART NUMBERING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
PACKAGE MECHANICAL INFORMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
REVISION HISTORY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2/19
M48T02, M48T12
SUMMARY DESCRIPTION
®
The M48T 02/ 12 TI MEK EEPE R
RAM is a 2Kb x 8 non-volatile static RAM and real time c lock which is pin and functional compatible with the DS1642.
A special 24-pin, 600mil DIP CAPHAT™ package houses the M48T02/12 silicon with a quartz crystal and a long life lithium but ton cell to form a hi ghly integrated battery backed-up memory and real time clock solution.
The M48T02/12 button cell has sufficient capacity and storage life to maintain data and clock func-
tionality for an accumulated time period of at least 10 years in the absence of power over the operat­ing temperature range.
The M48T02/12 i s a non-volatile pin and function equivalent to any JEDEC standard 2Kb x 8 SRAM. It also easily fits into many ROM , EPROM, and EEPROM sockets, providing the non-volatility of PROMs without any requirement for special WRITE timing or limitations on the number of WRITEs that can be performed.
Figure 2. Logic Diagram Table 1. Signal Names
A0-A10 Address Inputs DQ0-DQ7 Data Inputs / Outputs E G W V V
CC
SS
Chip Enable Output Enable WRITE Enable Supply Voltage Ground
A0-A10
W
V
CC
11
M48T02 M48T12
E
G
8
DQ0-DQ7
V
SS
Figure 3. DIP C on ne ctions
AI01027
A7 A6 A5 A4 A3 A2 A1 A0
DQ0
DQ2
SS
1 2 3 4 5 6 7 8 9 10 11 12
M48T02 M48T12
24 23 22 21 20 19 18 17 16 15 14 13
AI01028
V
CC
A8 A9 W G A10 E DQ7 DQ6 DQ5DQ1 DQ4 DQ3V
3/19
M48T02, M48T12
Figure 4. Block Diagram
OSCILLATOR AND
CLOCK CHAIN
32,768 Hz CRYSTAL
POWER
LITHIUM
CELL
VOLTAGE SENSE
AND
SWITCHING
CIRCUITRY
V
CC
MAXIMUM RATIN G
Stressing the device ab ove the rating listed in the
“Absolute Maximum Ratings” table may cause permanent damage to the device. These are stress ratings only and operation of the dev ice at these or any other conditions above those indicat­ed in the Operating sections of this specification is
8 x 8 BiPORT
SRAM ARRAY
A0-A10
DQ0-DQ7
E
W
G
AI01329
V
PFD
BOK
2040 x 8
SRAM ARRAY
V
SS
not implied. Exposure to Absol ute Maxim um Ra t­ing conditions for extended periods may affect de­vice reliability. Refer also to the STMicroelectronics SURE Program and other rel­evant quality documents.
Table 2. Absolute Maximum Ratings
Symbol Parameter Value Unit
T
A
T
STG
(2)
T
SLD
V
IO
V
CC
I
O
P
D
Note: 1. Soldering temperature not to exceed 260°C for 10 seconds (total thermal budget not to exceed 150°C for longer than 30 seconds).
CAUTION: Negative unders hoots below –0.3V are not allowe d on any pin while in the Batter y Back-up mode.
4/19
Ambient Operating Temperature 0 to 70 °C
Storage Temperature (VCC Off, Oscillator Off)
–40 to 85 °C Lead Solder Temperature for 10 seconds 260 °C Input or Output Voltages –0.3 to 7 V Supply Voltage –0.3 to 7 V
Output Current 20 mA Power Dissipation 1 W
M48T02, M48T12
DC AND AC PARAMETERS
This section summarizes the operat ing and mea­surement conditions, as well as the DC and AC characteristics of the device. The parameters in the following DC and AC Characteristic tables are derived from tests performed under the M easure-
Table 3. Operating and AC Measurement Conditions
Parameter M48T02 M48T12 Un it
Supply Voltage (V Ambient Operating Temperature (T
Load Capacitance (C
CC
)
)
A
)
L
Input Rise and Fall Times Input Pulse Voltages 0 to 3 0 to 3 V Input and Output Timing Ref. Voltages 1.5 1.5 V
Note: Output Hi -Z is define d as the point wh ere data is no l onger driven.
Figure 5. AC Testing Load Circuit
5V
ment Conditions listed in the rel evant tables. De­signers should check that the operating conditions in their projects match the measurement condi­tions when using the quoted parameters.
4.75 to 5.5 4.5 to 5.5 V 0 to 70 0 to 70 °C
100 100 pF
5
5ns
1.8k
DEVICE UNDER
TEST
1k
CL includes JIG capacitance
OUT
CL = 100pF
AI01019
Table 4. Capacitance
Symbol
C
IN
C
IO
Note: 1. Effec tive capacit ance measured with power supply at 5V. Sampl ed only, not 10 0% tested.
2. At 25°C, f = 1MHz.
3. Outputs deselected.
Input Capacitance 10 pF
(3)
Input / Output Capacitance 10 pF
Parameter
(1,2)
Min Max Unit
5/19
M48T02, M48T12
Table 5. DC Characteristics
Symbol Parameter
Test Condition
(1)
Min Max Unit
I
LI
I
LO
I
CC
I
CC1
I
CC2
V
IL
V
V
OL
V
OH
Note: 1. Vali d for Ambient Operating Tem perature: TA = 0 to 70°C; VCC = 4.75 to 5.5V or 4.5 to 5.5V (except where noted).
2. Outputs deselected.
3. Measured with Control Bits set as follows: R = '1'; W, ST, FT = '0.'
4. Negati ve spike s of –1V allowe d f or up to 10ns once per Cycl e.
Input Leakage Current
(2)
Output Leakage Current Supply Current Outputs open 80 mA
(3)
Supply Current (Standby) TTL
(3)
Supply Current (Standby) CMOS
(4)
Input Low Voltage –0.3 0.8 V Input High Voltage 2.2
IH
Output Low Voltage Output High Voltage
0V ≤ V
0V ≤ V
E
≤ V
IN
CC
≤ V
OUT
E
= V
IH
= VCC – 0.2V
I
= 2.1mA
OL
I
= –1mA
OH
CC
±1 µA ±1 µA
3mA 3mA
V
+ 0.3
CC
0.4 V
2.4 V
OPERATION MODES
As Figure 4, page 4 s hows, the static memory ar­ray and the quartz controlled clock oscillator of the M48T02/12 are integrated on one silicon chip. The two circuits are interconnected at the up per eight memory locations to provide user accessible
BYTEWIDE™ clock information in the by tes with addresses 7F8h-7FFh. The clock locations con­tain the year, month, date, day, hour, minute, and second in 24 hour BCD format. Corrections for 28, 29 (leap year - valid until 2100), 30, and 31 day months are made automatically.
Byte 7F8h is the clock control register. This byte controls user access to the clock information and also stores the clock calibration setting.
The eight clock bytes are not the actual clock counters themselves; they are memory locat ions
consisting of BiPORT™ READ/WRITE memory cells. The M48T02/12 includes a clock cont rol cir­cuit which updates the clock bytes with current in­formation once per second. The information can be accessed by the user in the same manner as any other location in the static memory array.
The M48T02/12 also has its own Power-fail Detect circuit. The control circuitry constantly monitors the single 5V supply for an out of tolerance condi­tion. When V
is out of tolerance, the circuit write
CC
protects the SRAM, providing a high degree of data security in the midst of unpredictable system operation brought on by low V
CC
. As V low approximately 3V, the control circuitry con­nects the battery which maintains data and clock operation until valid power returns.
CC
V
falls be-
Table 6. Operating Modes
Mode
Deselect WRITE READ READ Deselect
V
Deselect
Note: X = VIH or VIL; VSO = Battery Back-up Swit chover Voltage.
1. See Table 10, pag e 11 for details.
6/19
V
CC
4.75 to 5.5V or
4.5 to 5.5V
to V
SO
PFD
V
SO
(min)
(1)
(1)
E G W DQ0-DQ7 Power
V
IH
V
IL
V
IL
V
IL
X X X High Z CMOS Standby X X X High Z Battery Back-up Mode
X X High Z Standby X
V
IL
V
IH
V
IL
V
IH
V
IH
D
IN
D
OUT
Active Active
High Z Active
READ Mode
The M48T02/12 is in the READ Mode whenever W (WRITE Enable) is high and E (Chip Enable) is low. The device architecture allows ripple-through access of data from eight of 16,384 locations in the static storage array. Thus, the unique address specified by the 11 Address Inputs defines which one of the 2,048 bytes of data is to be accessed. Valid data will be available at the Data I/O pins within Address Access time (t
) after the last
AVQV
address input signal is stable, providing that the E and G access times are also satisfied. If the E and G
access times are not met, valid data will be
Figure 6. READ Mode AC Waveforms
M48T02, M48T12
available after the latter of the Chip Enable Access time (t (t
GLQV
The state of the eight t hree-s tate Da ta I/O s i gnals is controlled by E ed before t indeterminate state until t puts are changed while E output dat a will rem ain v alid for Outp ut Dat a Hold time (t Addr e ss Access.
tAVAV
) or Output Enable Access time
ELQV
).
and G. If the outputs are activat-
, the data lines will be driven to an
AVQV
. If the Ad dres s In-
AVQV
and G remain active,
) but will go indeterminate until the next
AXQX
A0-A10
tAVQV tAXQX
tELQV
E
tELQX
tGLQV
G
tGLQX
DQ0-DQ7
Note: WRITE Enable (W) = High.
VALID
tEHQZ
tGHQZ
VALID
AI01330
Table 7. READ Mode AC Characteristics
M48T02/M48T1 2
Symbol
t
AVAV
t
AVQV
t
ELQV
t
GLQV
t
ELQX
t
GLQX
t
EHQZ
t
GHQZ
t
AXQX
Note: 1. Vali d for Ambient Operating Tem perature: TA = 0 to 70°C; VCC = 4.75 to 5.5V or 4.5 to 5.5V (except where noted).
READ Cycle Time 70 150 200 ns Address Valid to Output Valid 70 150 200 ns Chip Enable Low to Output Valid 70 150 200 ns Output Enable Low to Output Valid 35 75 80 ns Chip Enable Low to Output Transition 5 10 10 ns Output Enable Low to Output Transition 5 5 5 ns Chip Enable High to Output Hi-Z 25 35 40 ns Output Enable High to Output Hi-Z 25 35 40 ns Address Transition to Output Transition 10 5 5 ns
Parameter
(1)
Min Max Min Max Min Max
Unit–70 –150 –200
7/19
M48T02, M48T12
WRITE Mode
The M48T02/12 is i n the W RITE M ode whenever W
and E are activ e. The s tart of a WRI TE is refer -
enced from the latter occurring falling edge of W
. A WRITE is terminated by the earlier rising
E edge of W throughout the cycle. E a minimum of t
or E. The addresses must be held valid
or W must return high for
from Chip Enable or t
EHAX
or
WHAX
from WRITE Enable prior to the initiation of anoth-
Figure 7. WRITE Enable Controlled, WRITE AC Waveform
er READ or WRITE cycle. Data-in must be valid t
prior to the end of WRITE and remain valid for
VWH
t
WHDX
WRITE cycles to avoid bus contention; although, if the output bus has been activated by a low on E and G, a low on W will disable the out puts t after W falls.
tAVAV
D-
afterward. G should be kept high during
WLQZ
A0-A10
tAVEL
E
tAVWL
W
tWLQZ
DQ0-DQ7
VALID
tAVWH
tWLWH
Figure 8. Chip Enable Controlled, WRITE AC Waveforms
tAVAV
A0-A10
tAVEL
VALID
tAVEH
tELEH
tDVWH
tWHAX
tWHQX
tWHDX
DATA INPUT
AI01331
tEHAX
8/19
E
W
DQ0-DQ7
tAVWL
DATA INPUT
tDVEH
tEHDX
AI01332B
M48T02, M48T12
Table 8. WRITE Mode AC Characteristics
M48T02/M48T12
Symbol
t
AVAV
t
AVWL
t
AVEL
t
WLWH
t
ELEH
t
WHAX
t
EHAX
t
DVWH
t
DVEH
t
WHDX
t
EHDX
t
WLQZ
t
AVWH
t
AVEH
t
WHQX
Note: 1. Vali d for Ambient Operating Tem perature: TA = 0 to 70°C; VCC = 4.75 to 5.5V or 4.5 to 5.5V (except where noted).
WRITE Cycle Time 70 150 200 ns Address Valid to WRITE Enable Low 0 0 0 ns Address Valid to Chip Enable Low 0 0 0 ns WRITE Enable Pulse Width 50 90 120 ns Chip Enable Low to Chip Enable High 55 90 120 ns WRITE Enable High to Address Transition 0 10 10 ns Chip Enable High to Address Transition 0 10 10 ns Input Valid to WRITE Enable High 30 40 60 ns Input Valid to Chip Enable High 30 40 60 ns WRITE Enable High to Input Transition 5 5 5 ns Chip Enable High to Input Transition 5 5 5 ns WRITE Enable Low to Output Hi-Z 25 50 60 ns Address Valid to WRITE Enable High 60 120 140 ns Address Valid to Chip Enable High 60 120 140 ns WRITE Enable High to Output Transition 5 10 10 ns
Parameter
(1)
Min Max Min Max Min Max
Unit–70 –150 –200
9/19
M48T02, M48T12
Data Retention Mode
With valid V
applied, the M48T02/12 operates
CC
as a conventional BYTEWIDE™ static RAM. Should the supply voltage decay, the RAM will au­tomatically power-fail deselect, write protecting it­self when V
falls within the V
CC
PFD
(max), V
PFD
(min) window. All outputs become high imped­ance, and all inputs are treated as “don't care.”
Note: A power failure during a WRITE cycle may corrupt data at the currently a ddressed location, but does not jeopardize the rest of the RAM's con­tent. At voltages below V
(min), the user can be
PFD
assured the memory will be i n a write protected state, provided the V
fall time is not less than tF.
CC
The M48T02/12 may respond to transient noise spikes on V during the time the device is sampling V
that reach into the deselect window
CC
. There-
CC
fore, decoupling of the power supply lines is rec­ommended.
The power switching circuit connects external V to the RAM and disconnects the battery when V
CC CC
rises above VSO. As VCC rises, the battery voltage is checked. If the voltage is too low, an internal Batte ry Not O K (BOK
) flag will be set. The BOK flag can be checked after power up. If the BOK flag is set, the first WRITE attem pted will be blocked. The flag is automatically cleared after the first WRITE, and normal RAM operation resumes. Fig­ure 9 illustrates how a BOK
check routine could be
str uctured. For more information on a Battery Storage Life re-
fer to the Application Note AN1012.
Figure 9. Checking the BOK
POWER-UP
READ DATA
AT ANY ADDRESS
WRITE DATA
COMPLEMENT BACK
TO SAME ADDRESS
READ DATA
AT SAME
ADDRESS AGAIN
COMPLEMENT
OF FIRST
(BATTERY OK)
WRITE ORIGINAL
DATA BACK TO
SAME ADDRESS
CONTINUE
IS DATA
READ?
YES
NO
Flag Status
(BATTERY LOW)
NOTIFY SYSTEM
OF LOW BATTERY
(DATA MAY BE CORRUPTED)
10/19
AI00607
Figure 10. Power Down/Up Mode AC Waveforms
V
CC
V
(max)
PFD
V
(min)
PFD
VSO
M48T02, M48T12
tF
tFB
INPUTS
OUTPUTS
Note: Inputs may or may not be recognized at this time. Caution should be taken to keep E high as VCC rises past V
may perf orm inadvertent WRI T E cycles after V power on reset is being applied to the pr ocessor, a res et condition may not occur unt i l a fter the system c l ock is running.
VALID VALID
(PER CONTROL INPUT)
rises ab ove V
CC
tDR
DON'T CARE
HIGH-Z
(min) bu t b efore normal system operations be gi n. Even though a
PFD
tR
NOTE
(PER CONTROL INPUT)
PFD
tRECtPD tRB
RECOGNIZEDRECOGNIZED
(min). Some systems
Table 9. Power Down/Up AC Characteristics
Symbol
t
PD
(2)
t
F
(3)
t
FB
t
R
t
RB
t
REC
Note: 1. Vali d for Ambient Operating Tem perature: TA = 0 to 70°C; VCC = 4.75 to 5.5V or 4.5 to 5.5V (except where noted).
2. V es V
3. V
E or W at VIH before Power Down
V
(max) to V
PFD
V
(min) to VSS VCC Fall Time
PFD
V
(min) to V
PFD
VSS to V E or W at V
(max) to V
PFD
(min).
PFD
(min) to VSS fall time of less than tFB may cause corruption of RAM data.
PFD
PFD
IH
(min) fall time of less than tF may result in deselection/write protection not occurring until 200µs after VCC pass-
PFD
Parameter
(min) VCC Fall Time
PFD
(max) VCC Rise Time
PFD
(min) VCC Rise Time
before Power Up
(1)
Min M ax Unit
0 µs
300 µs
10 µs
s 1µs
2ms
AI00606
Table 10. Power Down/Up Trip Points DC Characteristics
Symbol
V
PFD
V
SO
t
DR
Note: 1. All voltages referenced to VSS.
2. Valid for Ambient Operatin g T em perature: T
Power-fail Deselect Voltage
Battery Back-up Switchover Voltage 3.0 V Expected Data Retention Time 10 YEARS
Parameter
(1,2)
M48T02 4.5 4.6 4.75 V M48T12 4.2 4.3 4.5 V
= 0 to 70°C; VCC = 4.75 to 5.5V or 4.5 to 5.5V (except where noted).
A
Min Typ Max Unit
11/19
M48T02, M48T12
CLOCK OPERATIONS Reading the Clock
Updates to the TIMEKEEPER be halted before clock data is read to prevent
reading data in transition. The BiPORT ™ TIME­KEEPER cel ls in the RAM array are o n ly data reg­isters and not the actual clock counters, so updating the registers can be halted without dis­turbing the clock itself.
Updating is halted when a '1' is written to the READ Bit, the seventh bit in the control register. As long as a '1' remains in that po sition, updating is halted. After a halt is issued, the registers reflect the count; tha t is, the day, date, and t he time that were current at the moment the halt command was issued.
All of the TIMEKEEPER registers are updated si­multaneously. A halt will not interrupt an update in progress. Updating is within a second after the bit is reset to a '0.'
Table 11. Register Map
Address
D7 D6 D5 D4 D3 D2 D1 D0
®
registers should
Data
Setting the Cl ock
The eighth bit of the control register is the WRITE Bit. Setting the WRITE Bit to a '1,' like the RE AD Bit, halts updates to the TIMEKEEPER registers. The user can then load them with the correct day, date, and time data in 24 hour BCD format (on Ta­ble 11). Resetting the WRITE Bit to a '0' then trans­fers the values of all time registers (7F9-7FF) to the actu al TIMEKE EPER c ount ers and al low s nor ­mal operation to resume. The FT B it and the bits marked as '0' in Table 11 must be writ ten to '0' to allow for normal TIMEKEEPER and RAM opera­tion.
See the Application Note AN923, “TIMEKEEPER
Rolling Into the 21st Century” for information on
Century Rollover.
Function/Range
BCD Format
®
7FF 10 Years Year Year 00-99 7FE 0 0 0 10 M Month Month 01-12 7FD 0 0 10 Date Date Date 01-31 7FC 0 FT 0 0 0 Day Day 01-07 7FB 0 0 10 Hours Hours Hours 00-23 7FA 0 10 Minutes Minutes Minutes 00-59
7F9 ST 10 Seco nds Seconds S econ ds 00 -59 7F8 W R S Calibration Control
Keys : S = SIGN Bit
FT = FREQUE NCY TEST Bit (Set to ’0’ for normal clock operati on) R = READ Bit W = WRITE Bit ST = STOP Bit 0 = Must be set to ’0’
12/19
Stopping and Starting the Oscillator
The oscillator may be stopped at any time. If the device is going to spend a significant amount of time on the shelf, the oscillator can be turned off to minimize current drain on the battery. The STOP Bit is the MSB of the seconds register. Setting it to a ’1’ stops the oscillator. The M48T02/12 is shipped from STMicroelectronics with the STOP Bit set to a ’1.’ When reset to a ’0,’ the M48T02/12 oscillator starts within one second.
Calib ratin g t h e C lock
The M48T02/12 is driven by a quartz-controlled oscillator with a nominal frequency of 32,768 Hz. A typical M48T02/12 is accurate within 1 minute
per month at 25°C without calibration. The devices are tested not to exceed ± 35 PPM (parts per m il­lion) oscillator frequency error at 25°C, which equates to about ±1.53 minutes per month.
The oscillation rate of any crystal changes with temperature. Figure 11, page 14 shows the fre­quency error that can be expected at various tem­peratures. Most clock chips compensate for crystal frequency and temperat ure shift error with cumbersome “trim” capacitors. The M48T02/12 design, however, employs periodic counter cor­rection. The calibration circuit adds or subtracts counts from the oscillator divider circuit at the di­vide by 256 stage, as shown in Figure 12, page 14. The number of times pulses are blanked (subtract­ed, negative calibration) or split (added, positive calibration) depends upon the value loaded into the five-bit Calibration Byte f ound in the Control Register. Adding counts speeds the clock up, sub­tracting counts slows the clock down.
The Calibration Byte occupies the five lower order bits in the Control register. This byte can be set to represent any value be tween 0 and 31 in binary form. The sixth bit is the Sign Bit; '1' indicates pos­itive calibration, '0' indicates negative calibration. Calibration occurs within a 64 minute cycle. The first 62 minutes i n the cycle may, o nce per minut e, have one second either shortened by 128 or lengthened by 256 oscillator cycles. If a binary '1' is loaded into the register, only the first 2 minutes in the 64 minute cycle will be modified; if a binary 6 is loaded, the first 12 will be affected, and so on.
Therefore, each cal ibration step has the effect of adding 512 or subtracting 256 oscillator cycles for every 125,829,120 actual oscillator cycles; that is +4.068 or –2.034 PPM of adjustm ent per calibra-
M48T02, M48T12
tion step in the cal ibration registe r. Ass um ing that the oscillator is in fact running at exactly 32,768Hz, each of the 31 increments in the Calibration Byte would represent +10.7 or –5.35 seconds per month which corresponds to a total range of +5.5 or –2.75 minutes per month.
Two methods are available for ascertaining how much calibration a given M48T02/12 may require. The first involves simply setting the clock, letting it run for a month and comparing it to a known accu­rate reference (like WWV broadcasts). While that may seem crude, it allows the designer to give the end user the ability to calibrate his clock as his en­vironment may require, even after the final product is packaged in a non-user serviceable enclosure. All the designer has to do is provide a simple utility that accesses the Calibration Byte.
The second approach is better suit ed to a manu­facturing environment, and involves the use of some test equipment. When the F requency Test (FT) Bit, the seventh-most significant bit in t he Day Register, is set to a '1, ' and the oscillator i s running at 32,768 Hz, the LSB (DQ0) of the Seconds Reg­ister will toggle at 512 Hz. Any deviation from 512 Hz indicates the degree and direction of oscillator frequency shift at the test temperature. For exam­ple, a reading of 512.01024 Hz would i ndicate a +20 PPM oscillator freque ncy error, requiring a – 10 (WR001010) to be loaded into the Calibration Byte for correction.
Note: Setting or changing the Calibration Byte does not affect the Frequency Test output fre­quency. The device must be selected and ad­dresses must be stable at Address 7F9 when reading the 512 Hz on DQ0.
The FT Bit must be set using the same method used to set the clo ck: using the WRITE Bit. The LSB of the Seconds Register is monitored by hold­ing the M48T02/12 in an extended READ of the Seconds Register, but without having the READ Bit set. The FT Bit MUST be reset to ' 0 ' for normal clock operations to re sume.
Note: It is not necessary to set the WRITE Bit when setting or resetting the Frequency Test Bit (FT) or the Stop Bit (ST).
For more information on calibration, see the Appli­cation Note AN924, “TIMEKEEPER
®
Calibration.”
13/19
M48T02, M48T12
Figure 11. Crystal Accuracy Across Temp eratur e
ppm
20
0
-20
-40
-60
-80
-100 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70
Figure 12. Cloc k C al ib rat i on
NORMAL
POSITIVE CALIBRATION
NEGATIVE CALIBRATION
F
= -0.038 (T - T0)2 ± 10%
F
ppm
2
C
T0 = 25 °C
°C
AI02124
AI00594B
14/19
M48T02, M48T12
Power Supply Decoupling and Undershoot Protection
I
transients, including those produced by output
CC
switching, can produce voltage fluctuations, re­sulting in spikes on the V
bus. These transients
CC
can be reduced if capacitors are used to store en­ergy which stabilizes the V
bus. The energy
CC
stored in the bypass capacitors will be released as low going spikes are generated or energy will be absorbed when overshoots occur. A ceramic by-
pass capacitor value of 0.1µF (as shown in Figure
13) is recommended in order to provide the need­ed filtering.
In addition to transients that are caused by normal SRAM operation, power cycling can generate neg­ative voltage spikes on VCC that drive it to values below V
by as much as one Volt. These nega-
SS
tive spikes can cause data corruption in the SRAM while in battery backup mode. To protect from these voltage spikes, it is recommended to con­nect a schottky diode from V connected to V
, anode to VSS). Schottky diode
CC
to VSS (cathode
CC
1N5817 is recommended for through hole and MBRS120T3 is recommended for surface mount.
Figure 13. Supply Voltage Protection
V
CC
V
CC
0.1µF DEVICE
V
SS
AI02169
15/19
M48T02, M48T12
PART NUMBERING
Table 12. Ordering Information Scheme
Example: M48T 02 –70 PC 1 TR
Device Type
M48T
Supply Voltage and Write Protect Voltage
02 = V 12 = V
Speed
–70 = 100ns (M48T02/12) –150 = 150ns (M48T02/12) –200 = 200ns (M48T02/12)
Package
PC = PCDIP24
Temperature Range
1 = 0 to 70°C
Shipping Method for SOIC
blank = Tubes TR = Tape & Reel
= 4.75 to 5.5V; V
CC
= 4.5 to 5.5V; V
CC
PFD
= 4.5 to 4.75V
PFD
= 4.2 to 4.5V
For a list of available options (e.g., Speed, Package) or for further information on any aspect of this device, please contact the ST Sales Office nearest you.
16/19
PACKAGE MECHANICAL INFORMATION
Figure 14. PCDIP24 – 24-pin Plastic DIP, battery CAPHAT, Package Outline
A2
M48T02, M48T12
A1AL
C
B1 B e1
eA
e3
D
N
E
1
Note: Drawing is not to scale.
PCDIP
Table 13. PCDIP24 – 24-pin Plastic DIP, battery CAPHAT, Package Mechanical Data
Symb
Typ Min Max Typ Min Max
A 8.89 9.65 0.350 0.380 A1 0.38 0.76 0.015 0.030 A2 8.38 8.89 0.330 0.350
B 0.38 0.53 0.015 0.021 B1 1.14 1.78 0.045 0.070
mm inches
C 0.20 0.31 0.008 0.012
D 34.29 34.80 1.350 1.370
E 17.83 18.3 4 0.702 0.722
e1 2.29 2.79 0.090 0.110 e3 25.15 30.73 0.990 1.210
eA 15.24 16.00 0.600 0.630
L 3.05 3.8 1 0.120 0.150
N24 24
17/19
M48T02, M48T12
REVISION HIST ORY
Table 14. Document Revision History
Date Revision Details
July 2000 First issue
t
07/13/00 05/07/01 Reformatted; temp. / voltage info. added to tables (Tables 4, 5, 7, 8, 9, 10) 05/14/01 Note added to Clock Calibration section; table footnote correction (Table 6) 07/16/01 Basic formatting / content changes (Figure 1, Tables 4, 5, 10)
change (Table 9)
REC
18/19
M48T02, M48T12
Information furnished is believed to be ac curate and reliable. Howev er, STMicroelec tronics assumes no responsibility for t he consequ ences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implic ation or oth erwise under any patent or patent rights of STMicroelectron i cs . Specifications mentioned in this public at ion ar e subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical comp onents in life support devices or systems wi thout express written approval of STM i croelect ronics.
The ST log o i s registered trademark of STM icroelec tronics
All other names are the property of their respective owner s.
© 2001 STMicroelectronics - All Rights Reserved
Australi a - Brazil - Chi na - Finland - F rance - Germ any - Hong Kong - In dia - Italy - Japan - Malaysi a - M alta - Moroc co -
Singapor e - Spain - Swede n - Switzerland - United Kingdom - U.S.A.
STMicroelect ro n ics GRO UP OF COMPANI ES
www.st.c o m
19/19
Loading...