1. Stresses greater than those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a
stress rating only and functional operation of the device at these or any other conditions above those indi cat ed in the operati onal
section of this specification is not implied. Exposure to the absolute maximum rating conditions for extended periods of time may
affect reliability.
2. Soldering temperature not to exceed 260°C for 10 seconds (total thermal budget not to exceed 150°C for longer than 30 seconds).
CAUTION: Negat i ve undershoots below –0.3 volts are not allowed on any pin while in the Battery Back-up mode.
CAUTION: Do NOT wave solder SOIC to avoid damaging SNAPHAT sockets.
T ab le 3. Operating Modes
Ambient Operating Temperature0 to 70°C
Storage T emper ature (VCC Off, Oscillator Off)–40 to 85 °C
Lead Solder Temperature for 10 seconds260°C
Input or Output Voltages–0.3 to 7 V
Supply Voltage–0.3 to 7 V
Output Current20mA
Power Dissipation1W
The M48T58/58Y is a non-volatile pin and function
equivalent to any JEDEC standard 8K 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 t hat
can be performed.
The 28 pin 600mil DIP CAPHAT houses the
M48T58/58Y silicon with a quartz crystal and a long
life lithium button cell in a single package.
The 28 pin 330mil SOIC provides s ockets with gold
plated contacts at both ends for direct connection
to a separate SNAPHAT housing containing the
battery and crystal. The unique design allows the
SNAPHAT battery package to be mounted on top
of the SOIC package after the completion of the
surface mount process. Insertion of the SNAPHAT
housing after reflow prevents potential battery and
crystal damage due to the hig h temperatures required for device surface-mounting. The SNAPHA T
housing is keyed to prevent reverse insertion.
The SOIC and battery/crystal packages are
shipped separately in plastic anti-static tubes or in
Tape & Reel form.
8 x 8 BiPORT
SRAM ARRAY
A0-A12
DQ0-DQ7
E1
E2
W
G
AI01377C
V
PFD
8184 x 8
SRAM ARRAY
V
SS
Table 4. AC Measurement Conditions
Input Rise and Fall Times≤ 5ns
Input Pulse Voltages0 to 3V
Input and Output Timing Ref. Voltages1.5V
Note that Output Hi-Z is defined as the point where data is no
longer driven.
Figure 4. AC Testing Load Circuit
5V
1.9kΩ
DEVICE
UNDER
TEST
1kΩ
CL includes JIG capacitance
CL = 100pF or 5pF
OUT
AI01030
3/17
Page 4
M48T58, M48T58Y
(1, 2)
T ab le 5. Capacitance
= 25 °C, f = 1 MHz )
(T
A
SymbolParameterT est ConditionMinMaxUnit
C
IN
(3)
C
IO
Notes:
1. Effective capacitance measured with power supply at 5V .
2. Negative spikes of –1V allowed for up to 10ns once per Cycle.
3. The FT pin is Open Drain.
T able 7. Power Down/Up Trip Points DC Characteristics
= 0 to 70°C)
(T
A
Input Leakage Current0V ≤ VIN ≤ V
Output Leakage Current0V ≤ V
Supply Current (Standby) TTLE1 = VIH, E2 = V
Supply Current (Standby) CMOS
E1 = VCC – 0.2V,
E2 = V
OUT
SS
CC
≤ V
CC
+ 0.2V
IL
Input Low Voltage–0.30.8V
Input High Voltage2.2VCC + 0.3V
Output Low Voltage I
Output Low Voltage (FT)
(3)
= 2.1mA0.4V
OL
IOL = 10mA0.4V
Output High VoltageIOH = –1mA2.4V
(1)
±1µA
±5µA
3mA
3mA
SymbolParameterMinTypMaxUnit
V
PFD
V
PFD
V
SO
t
DR
Notes:
1. All voltages referenced to V
2. At 25°C
DESCRIPTION
For the 28 lead SOIC, the battery/crystal package
(i.e. SNAPHAT) part number is "M4T28BR12SH1".
As Figure 3 shows, the static memory array and the
quartz controlled clock oscillator of the
M48T58/58Y are integrated on one silicon chip.
The two circuits are interconnected at the upper
eight memory locations to provide user accessible
Power-fail Deselect Voltage (M48T58)4.54.64.75V
Power-fail Deselect Voltage (M48T58Y)4.24.354.5V
Battery Back-up Switchover Voltage3.0V
(2)
Expected Data Retention Time7YEARS
.
SS
(cont’d)
BYTEWIDE clock information in the bytes with
addresses 1FF8h-1FFFh. The clock locations contain the year, month, date, day, hour, minute, and
second in 24 hour BCD format. Corrections for 28,
29 (leap year), 30, and 31 day months are made
automatically. Byte 1FF8h is the clock control register. This byte controls user access to the clock
information and also stores the clock calibration
setting.
4/17
Page 5
M48T58, M48T58 Y
T able 8. Power Down/Up Mode AC Characteristics
= 0 to 70°C)
(T
A
SymbolParameterMinMaxUnit
E1 or W at VIH or E2 at VIL before Power Down0µs
V
(max) to V
PFD
V
(min) to VSO VCC Fall Time10µs
PFD
V
(min) to V
PFD
VSO to V
V
(max) to V
PFD
passes V
CC
(min) to VSO fall time of less than tFB may cause corruption of RAM data.
PFD
PFD
(max) to Inputs Recognized40200ms
PFD
(min) fall time of less than tF may result in deselection/writ e protection not occ urri ng until 200 µs after
PFD
(min).
PFD
(min) VCC Fall Time300µs
PFD
(max) VCC Rise Time10µs
PFD
(min) VCC Rise Time1µs
Notes
t
PD
(1)
t
F
t
FB
t
R
t
RB
t
REC
:1.V
2. V
(2)
V
Figure 5. Power Down/Up Mode AC Waveforms
V
CC
V
(max)
PFD
V
(min)
PFD
VSO
INPUTS
OUTPUTS
tF
tPD
VALIDVALID
(PER CONTROL INPUT)
tFB
tDR
tRB
DON'T CARE
HIGH-Z
tR
tREC
RECOGNIZEDRECOGNIZED
(PER CONTROL INPUT)
AI01168C
5/17
Page 6
M48T58, M48T58Y
T ab le 9. Read Mode AC Characteristics
= 0 to 70°C; VCC = 4.75V to 5.5V or 4.5V to 5.5V)
(T
A
SymbolParameter
Notes:
t
AVAV
(1)
t
AVQV
(1)
t
E1LQV
t
E2HQV
(1)
t
GLQV
(2)
t
E1LQX
t
E2HQX
(2)
t
GLQX
(2)
t
E1HQZ
(2)
t
E2LQZ
(2)
t
GHQZ
(1)
t
AXQX
1. C
= 100pF (see Figure 4).
L
= 5pF (see Figure 4).
2. C
L
Read Cycle Time70ns
Address Valid to Output Valid70ns
Chip Enable 1 Low to Output Valid70ns
(1)
Chip Enable 2 High to Output Valid70ns
Output Enable Low to Output Valid35ns
Chip Enable 1 Low to Output Transition5ns
(2)
Chip Enable 2 High to Output Transition5ns
Output Enable Low to Output Transition5ns
Chip Enable 1 High to Output Hi-Z25ns
Chip Enable 2 Low to Output Hi-Z25ns
Output Enable High to Output Hi-Z25ns
Address Transition to Output Transitio n10ns
M48T58 / M48T58Y
-70
MinMax
Unit
Figure 6. Read Mode AC Waveforms
A0-A12
E1
tE1LQX
E2
tE2HQX
G
DQ0-DQ7
Note:
Write Enable (
W) = High.
tAVAV
VALID
tAVQVtAXQX
tE1LQV
tE2HQV
tGLQV
tGLQX
tGHQZ
VALID
tE1HQZ
tE2LQZ
AI00962
6/17
Page 7
M48T58, M48T58 Y
T ab le 10. Write Mode AC Characteristics
= 0 to 70°C; VCC = 4.75V to 5.5V or 4.5V to 5.5V)
(T
A
SymbolParameter
t
AVAV
t
AVWL
t
AVE1L
t
AVE2H
t
WLWH
t
E1LE1H
t
E2HE2L
t
WHAX
t
E1HAX
t
E2LAX
t
DVWH
t
DVE1H
Write Cycle Time70ns
Address Valid to Write Enable Low0ns
Address Valid to Chip Enable 1 Low0ns
Address Valid to Chip Enable 2 High0ns
Write Enable Pulse Width50ns
Chip Enable 1 Low to Chip Enable 1 High55ns
Chip Enable 2 High to Chip Enable 2 Low55ns
Write Enable High to Address Transition0ns
Chip Enable 1 High to Address Transition0ns
Chip Enable 2 Low to Address Transition0ns
Input Valid to Write Enable High30ns
Input Valid to Chip Enable 1 High30ns
M48T58 / M48T58Y
-70
MinMax
Unit
Notes:
t
DVE2L
t
WHDX
t
E1HDX
t
E2LDX
(1, 2)
t
WLQZ
t
AVWH
t
AVE1H
t
AVE2L
(1, 2)
t
WHQX
1. C
= 5pF (see Figure 4).
L
E1 goes low or E2 high simultaneously with W going low, the outputs remain in the high impedance state.
2. If
Input Valid to Chip Enable 2 Low30ns
Write Enable High to Input Transition5ns
Chip Enable 1 High to Input Transition5ns
Chip Enable 2 Low to Input Transition5ns
Write Enable Low to Output Hi-Z25ns
Address Valid to Write Enable High60ns
Address Valid to Chip Enable 1 High60ns
Address Valid to Chip Enable 2 Low60ns
Write Enable High to Output Transition5ns
7/17
Page 8
M48T58, M48T58Y
Figure 7. Write Enable Controlled, Write AC Waveforms
tAVAV
A0-A12
tAVE1L
E1
tAVE2H
E2
tAVWL
W
tWLQZ
DQ0-DQ7
VALID
tAVWH
tWLWH
Figure 8. Chip Enable Controlled, Write AC Waveforms
tDVWH
tWHAX
tWHQX
tWHDX
DATA INPUT
AI00963
8/17
A0-A12
E1
E2
W
DQ0-DQ7
tAVAV
VALID
tAVE1H
tAVE1L
tAVE2HtE2HE2L
tAVWL
tE1LE1H
tAVE2L
tDVE1H
tDVE2L
tE1HAX
tE2LAX
tE1HDX
tE2LDX
DATA INPUT
AI00964B
Page 9
M48T58, M48T58 Y
DESCRIPTION
(cont’d)
The eight clock bytes are not the actual clock
counters themselves; they are memory locations
consisting of BiPORT read/write memory cells.
The M48T58/58Y includes a clock control circuit
which updates the clock bytes with current information 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 M48T58/58Y also has its own Power-fail Detect circuit. The control circuitry constantly monitors
the single 5V supply for an out of tolerance condition. When V
is out of tolerance, the circuit write
CC
protects the SRAM, providing a high degree of data
security in the midst of unpr edictable system operation brought on by low V
. As VCC falls below
CC
approximately 3V , the c ontrol circuitry connects the
battery which maintains data and clock operation
until valid power returns.
READ MODE
The M48T58/58Y is in the Read Mode whenever
W (Write Enable) is high, E1 (Chip Enable 1) is low ,
and E2 (Chip Enable 2) is high. The unique address
specified by the 13 Address Inputs defines which
one of the 8,192 bytes of data is to be accessed.
Valid data will be available at the Data I/O pins
within Address Access time (t
address input signal is stable, providing that the
E2, and
G access times are also satisfied. If the E1,
) after the last
AVQV
E1,
E2 and
G access times are not met, valid data will
be available after the latter of the Chip Enable
Access t ime s (t
Access time (t
E1LQV
GLQV
or t
).
) or Output Enable
E2HQV
The state of the eight three-state Data I/O signals
is controlled by
activated before t
to an indeterminate state until t
Inputs are changed while
E1, E2 and G. If the outputs are
, the data lines will be driven
AVQV
. If the Address
AVQV
E1, E2 and G remain
active, output data will remain valid for Output Data
Hold time (t
) but will go indeterminate until the
AXQX
next Address Access.
WRITE MODE
The M48T58/58Y is in the W rite Mode whenever
E1 are low and E2 is high. The start of a write
and
W
is referenced from the latter occurring falling edge
W or E1, or the rising edge of E2. A write is
of
terminated by the earlier rising edge of
W or E1, or
the falling edge of E2. The addresses must be held
valid throughout the cycle.
or E2 low for a minimum of t
Chip Enable or t
WHAX
E1 or W must return high
E1HA X
or t
E2LAX
from
from Write Enable prior to the
initiation of another read or write cycle. Data-in
must be valid t
remain valid for t
prior to the end of write and
DVWH
afterward. G should be kept
WHDX
high during write cycles to avoid bus contention;
although, if the output bus has been activated by a
low on
disable the outputs t
S = SIGN Bit
FT = FREQUENCY TEST Bit (Must be set to ’0’ upon power, for normal clock operation)
R = READ Bi t
W = WRITE Bi t
ST = STOP Bit
0 = Must be set to ’0’
Data
Function/Range
BCD Format
9/17
Page 10
M48T58, M48T58Y
DA TA RETENT ION MOD E
With valid V
applied, the M48T58/58Y operates
CC
as a conventional BYTEWIDE static RAM. Should
the supply voltage decay, t he RAM will automatically power-fail deselect, write protecting itself
when V
falls within the V
CC
(max), V
PFD
PFD
(min)
window. All outputs become high impedance, and
all inputs are treated as "don’t care."
Note:
A power failure during a write cycle may
corrupt data at the c urrently addressed location,
but does not jeopardize the rest of the RAM’s
content. At voltages below V
(min), the user can
PFD
be assured the memory will be in a write protected
state, provided the V
fall time is not less than tF.
CC
The M48T58/58Y may respond to transient noise
spikes on V
during the time the device is s ampling V
that reach into the deselect window
CC
. There-
CC
fore, decoupling of the power supply lines is recommended.
When V
drops below VSO, the control circuit
CC
switches power to the internal batter y which preserves data and powers the clock. The internal
button cell will maintain data in the M48T58/58Y for
an accumulated period of at least 7 years when V
is less than VSO. As system power returns and V
CC
CC
rises above VSO, the battery is disconnected, and
the power supply is switched to external V
protection continues until V
plus t
as V
(min). E1 should be kept high or E2 low
REC
rises past V
CC
(min) to prevent inadvertent
PFD
reaches V
CC
CC
PFD
. Write
(min)
write cycles prior to system stabilization. Normal
RAM operation can resume t
V
(max).
PFD
after VCC exceeds
REC
For more information on Battery Storage Life refer
to the Application Note AN1012.
CLOCK OPERATIONS
Reading the Clock
Updates to the TIMEKEEPER registers should be
halted before clock data is read to prevent reading
data in transition. Because the BiPORT TIMEKEEPER cells in the RAM array are only data
registers, and not the actual clock counters, updating the registers can be halted without disturbing
the clock itself.
Updating is halted when a ’1’ is written to the READ
bit, D6 in the Control register (1FF8h). As long as
a ’1’ remains in that position, updating is halted.
After a halt is issued, t he registers reflect the count;
that is, the day, date, and the time that were current
at the moment the halt command was issued.
All of the TIMEKEEPER registers are updated simultaneously. A halt will not interrupt an update in
progress. Updating is within a second after the bit
is reset to a ’0’.
Setting the Clock
Bit D7 of the Control register (1FF8h) is the WRITE
bit. Setting the WRITE bit to a ’1’, like the READ 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 (see Table
10). Resetting the WRITE bit to a ’0’ then transfers
the values of all time regi sters (1FF9h-1FFFh) to
the actual TIMEKEEPER counters and allows normal operation to resume. The FT bit and the bits
marked as ’0’ in Table 10 must be written to ’0’ to
allow for normal TIMEKEEPER and RAM operation. After the WRITE bit is reset, the next clock
update will occur within one second.
See the Application Note AN923 "TIMEKEEPER
rolling into the 21st century" for information on
Century Rollover.
Figure 9. Clock Calibration
NORMAL
POSITIVE
CALIBRATION
NEGATIVE
CALIBRATION
10/17
AI00594B
Page 11
M48T58, M48T58 Y
Stopping and Starting the Oscilla tor
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 M48T58/58Y is
shipped from STMicroelectronics with the STOP bit
set to a ’1’. When reset to a ’0’, the M48T58
oscillator starts within one second.
Calibrating the Clock
The M48T58/58Y is driven by a quartz controlled
oscillator with a nominal f requency of 32,768 Hz.
The devices are tested not to exceed 35 ppm (parts
per million) oscillator frequency error at 25°C,
which equates to about ± 1.53 minutes per month.
With the calibration bits properly set, the accuracy
of each M48T58 improves to better than ±4 ppm at
25°C.
The oscillation rate of any crystal changes with
temperature (see Figure 10). Most clock chips compensate for crystal frequency and temperature shift
error with cumbersome trim capacitors. The
M48T58/58Y design, however, employs periodic
counter correction. The calibration circuit adds or
subtracts counts from the oscillator divider circuit
at the divide by 256 stage, as shown in Figure 9.
The number of times pulses are blanked (sub-
tracted, negative calibration) or split (added, positive calibration) depends upon the value loaded
into the five Calibration bits found in the Control
Register. Adding counts s peeds the c lock up, subtracting counts slows the clock down.
The Calibration byte occupies the five lower order
bits (D4-D0) in the Control register (1FF 8h). These
bits can be set to represent any value between 0
and 31 in binary form. Bit D5 is a Sign bit; ’1’
indicates positive calibration, ’0’ indicates negative
calibration. Calibration occurs within a 64 minute
cycle. The first 62 minutes in the cycle may, once
per minute, 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 calibration 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 adjustment per calibration
step in the calibration register. Assuming that the
oscillator is in fact running at exactly 32,768 Hz,
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.
Figure 10. Crystal Accuracy Across Temperature
ppm
20
0
-20
-40
∆F
= -0.038(T - T
-60
-80
-100
0510152025303540455055606570
F
ppm
2
C
T0 = 25 °C
)2 ± 10%
0
°C
AI02124
11/17
Page 12
M48T58, M48T58Y
CLOCK OPERATIONS
(cont’d)
Two methods are available for ascertaining how
much calibration a given M48T58/58Y may require.
The first involves simply setting the clock, letting it
run for a month and comparing it to a known
accurate reference (like WWV broadcasts). While
that may seem crude, it allows the des igner to give
the end user the ability to calibrate his clock as his
environment 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 suited to a manufacturing environment, and involves the use of
some test equipment. When the Frequency Test
(FT) bit, the seventh-most significant bit in the Day
Register, is s et to a ’1’, and the oscillator is running
at 32,768 Hz, the Frequency T est (Pin 1) will toggle
at 512 Hz. Any deviation from 512 Hz indicates the
degree and direction of oscillator frequency shift at
the test temperature. For example, a reading of
512.01024 Hz would indicate a +20 ppm oscillator
frequency error, requiring a -10 (W R001010) to be
loaded into the Calibration Byte for correction. Note
that setting or changing the Calibration Byte does
not affect the Frequency test output frequency.
The FT bit must be set using the same method used
to set the clock, using the Write bit.
The Frequency Test pin is an open drain output
which requires a pull-up resistor for pr oper oper ation. A 500-10kΩ resistor is recommended in order
to control the rise time.
For more information on calibration, see the Application Note AN934 "TIMEKEEPER Calibration".
POWER SUPPLY DECOUPLING and UNDERSHOOT PROTECTION
transients, including those produced by output
I
CC
switching, can produce voltage fluctuations, resulting in spikes on the V
bus. These transients can
CC
be reduced if capacitors are used to store energy,
which stabilizes the V
bus. The energy stored in
CC
the bypass capacitors will be released as low going
spikes are generated or energy will be absorbed
when overshoots occur . A ceramic bypass capacitor value of 0.1µF (as shown in Figure 11) is recommended in order to provide the needed filtering.
In addition to transients that are caused by normal
SRAM operation, power cycling can generate
negative voltage spikes on V
values below V
by as much as one Volt. These
SS
that drive it to
CC
negative spikes can cause data corruption in the
SRAM while in battery backup mode. To protect
from these voltage spikes, it is recommeded to
connect 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 11. Supply Voltage Protection
V
CC
V
CC
0.1µFDEVICE
12/17
V
SS
AI02169
Page 13
ORDERING INFORMATION SCHEME
Example: M48T58Y -70 MH 1 TR
M48T58, M48T58 Y
Supply Voltage and Write
Protect Voltage
(1)
58
VCC = 4.75V to 5.5V
V
= 4.5V to 4.75V
PFD
58YV
Notes:
Caution:
= 4.5V to 5.5V
CC
V
= 4.2V to 4.5V
PFD
1. The M48T58 part is offered with the PCDIP28 (i.e. CAPHA T) package only.
2. The SOIC package (SOH28) requires the battery /c rystal package (SNAPHAT) which is ordered separately under the part number
"M4T28-BR12SH1" in plasti c tube or "M4T28 -BR 12SH 1T R" in Tape & Reel form.
Do not place the SNAPHAT battery/crystal package "M4T28-BR12SH1" in conductive foam since this will drain the lithiu m
button-cell battery.
Speed
-70 70ns
Package
PCPCDIP28
(2)
MH
SOH28
Temp. Range
10 to 70 °C
Shipping Method
for SOIC
blank Tubes
TRTape & Reel
For a list of available options (Speed, Package, etc...) or for further information on any aspect of this device,
please contact the STMicroelectronics Sales Office nearest to you.
Information furnished is believed to be accurate and reliable. However, STMicroelectronics as sumes no responsibility for the consequences
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 implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to
change without notice. This publication supersedes and repl aces all information previously supplied. STMicroelectron ics products are not
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.