The M48T251Y/V TIMEKEEPER
512Kbit x 8 non-volatile static RAM and real time
clock organized as 524 ,288 words by 8 bits. The
special DIP package provides a fully integrated
battery back-up memory and real time clock solution. In the event of power instability or absence, a
self-contained battery maintains the timekeeping
operation and provides po wer for a CMOS static
RAM. Control circuitry monitors V
write protection to prevent data c orruption in the
memory and RTC.
The clock keeps track of tenths/hundredths of seconds, seconds, minutes , hou rs, day, date, month,
RAM is a
and invokes
CC
and year information. The last day of the month is
automatically adjusted for months with less than
31 days, including leap year correction.
The clock operates in one of two formats:
– a 12-hour mode with an AM/PM indicator; or
– a 24-hour mode
The M48T251Y/V is a 32-pin (PM) DIP module
that integrates the RTC, the battery, and SRAM in
one package.
The modules are shipped in plastic, anti-static
tubes (see Table 14, page 22).
Stressing the device ab ove the rating listed in t he
“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 indicated in the Operating sections of this specification is
Table 2. Absolute Maximum Ratings
SymbolParameterValueUnit
T
A
T
STG
(1)
T
SLD
V
CC
V
IO
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 undershoots below -0.3V are not al l owed on any pi n while in th e B attery Back-up Mod e .
Operating Temperature0 to 70°C
Storage Temperature (VCC, Oscillator Off)
Lead Solder Temperature for 10 seconds260°C
Supply Voltage (on any
pin relative to Ground)
Input or Output Voltages
Output Current20mA
Power Dissipation1W
not implied. Exposure to Absol ute Maxim um Ra ting conditions for extended periods may affect device reliability. Refer also to the
STMicroelectronics SURE Program and other relevant quality documents.
–40 to 85°C
M48T251Y–0.3 to +7.0V
M48T251V–0.3 to +4.6V
–0.3 to V
CC
+ 0.3
V
6/24
M48T251Y, M48T251V
DC AND AC PARAMETERS
This section summarizes the operat ing and measurement 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. DC and AC Measurement Conditions
ParameterM48T251YM48T251V
V
Supply Voltage
CC
Ambient Operating Temperature0 to 70°C0 to 70°C
Load Capacitance (C
Input Rise and Fall Times≤ 5ns≤ 5ns
Input Pulse Voltages0 to 3V0 to 3V
Input and Output Timing Ref. Voltages1.5V1.5V
Note: Out put Hi gh Z is defined as the poi nt where dat a i s no longer driven (see Table 3, page 7).
)
L
Figure 5. AC Testing Load Circuit
ment Conditions listed in the rel evant tables. Designers should check that the operating conditions
in their projects match the measurement conditions when using the quoted parameters.
4.5 to 5.5V3.0 to 3.6V
100pF50pF
V
CCI
1.1 KΩ
DEVICE
UNDER
TEST
680 Ω
Note: 50pF f or M48T251V.
CL = 50 pF
AI04240
Table 4. Capacitance
Symbol
C
IN
(3)
C
IO
Note: 1. Effective capacit ance meas ured with po wer supp l y at 5V . S am pled onl y; not 100% tested.
Note: 1. Valid fo r A m bi ent Operating Temperature: TA = 0 to 70°C; VCC = 4.5 to 5.5V or 3. 0 to 3.6V (except wher e not ed).
2. RST
3. All voltages are referenced to Ground.
Parameter
Input Leakage Current
Output Leakage Current
Supply Current8550mA
Supply Current (TTL
Standby)
VCC Power Supply
Current
Input Low Voltage–0.30.8–0.30.6V
Input High Voltage2.2
Output Low Voltage
Output High Voltage
Power Fail Deselect4.254.374.502.802.97V
Battery Back-up
Switchover
(Pin 1) has an i nternal pu l l-up resistor.
(1)
Test Condition
0V ≤ V
0V ≤ V
CE
I
IN
OUT
= V
CE
= V
CCI
I
= 2.0 mA
OL
= –1.0 mA
OH
≤ V
≤ V
IH
– 0.2
MinTypMaxMinTypMax
CC
CC
±1±1µA
±1±1µA
5105 7mA
3523mA
V
CC
+ 0.3
2.2
0.40.4V
2.42.4V
V
BAT
2.5V
VCC + 0.3
Unit–70–85
V
8/24
OPERATION MODES
Table 6. Operating Modes
Mode
Deselect
WRITE
READ
READ
Deselect
Deselect
Note: X = VIH or VIL; VSO = Battery B ack-up Switchover Vo l tage
1. See Tab l e 9, page 14 for details.
V
V
4.5V to 5.5V
or
3.0V to 3.6V
to V
SO
PFD
≤ V
CC
SO
(min)
(1)
(1)
CEOEWEDQ7-DQ0Power
V
IH
V
IL
V
IL
V
IL
XXXHigh-ZCMOS Standby
XXXHigh-ZBa ttery Back -Up
M48T251Y, M48T251V
XXHigh-ZStandby
X
V
IL
V
IH
V
IL
V
IH
V
IH
D
IN
D
OUT
High-ZActive
Active
Active
READ
A READ cycle executes whenever WRITE Enable
) is high and Chip Enable (CE) is low (see Fig-
(WE
ure 6). The distinct address de fined by the 19 address inputs (A0-A18) specifies which of the 512K
bytes of data is to be access ed. Valid dat a will be
accessed by the eight data output drivers within
the specified Access Tim e (t
dress input signal is stable, the CE
) after the last ad-
ACC
and OE access
times, and their respective parameters are satisfied. When CE
and OE t
ACC
are not satisfied,
ACC
t
then data access times mus t be measured from
the more recent CE
ing parameter being t
and OE signals, with the limit-
(for CE) or tOE (for OE) in-
CO
stead of address access.
Figure 6. Memory READ Cycle
ADDRESSES
tACC
tCO
CE
tOE
WRITE
WRITE Mode (see Figure 7, page 10 and Figure 8,
page 11) occurs whenever CE
and WE signals are
low (after address inputs are stable). The most recent falling edge of CE
and WE will determine
when the WRITE cycle begins (the earlier, rising
edge of CE
or WE determines cycle termination).
All address inputs must be kept stable t hroughout
the WRITE cycle. WE
minimu m reco very t ime (t
cycle is in it iat e d. The OE
must be high (inactive) for a
) before a subsequent
WR
control signal should be
kept high (inactive) during the WRITE cycles to
avoid bus contention. If CE
tive), WE
will disable the outputs for Output Data
WRITE Time (t
tRC
) from its fa lling edge.
ODW
tOH
and OE are low (ac-
tOD
OE
DQ0 - DQ7
Note: WE is high for a READ cycle.
tCOE
tCOE
tODO
DATA OUTPUT
VALID
AI04230
9/24
M48T251Y, M48T251V
Figure 7. Memory WRITE Cycle 1
ADDRESSES
CE
tWC
tAW
tWR
tWP
WE
tODW
HIGH IMPEDANCE
DQ0–DQ7
Note: 1. OE = VIH or VIL. If OE = VIH during a WRI TE cycle, the output buff ers remain i n a hi gh impedance state.
2. If the CE
3. If th e C E
low transit i on occurs sim ul taneously with or later than the WE low transition in WRI T E Cycle 1, the out put buffers rem ain
in a high impedance state during th i s period.
high t rans ition o ccur s s imul tane ousl y w ith the W E h igh tran sit ion , the ou tput b uffe rs r ema in in a h igh impe dan ce s tat e
during this period.
tDS
tOEW
tDH
DATA IN
STABLE
AI04231
10/24
Figure 8. Memory WRITE Cycle 2
WE = V
IH
ADDRESSES
CE
V
IH
V
IL
tAW
M48T251Y, M48T251V
tWC
V
V
IH
IH
V
V
IL
IL
tWP
V
IH
V
IL
V
tWR
V
IH
IL
tOEW
WE
V
IL
V
IL
tODW
tCOE
DQ0–DQ7
tDS
V
IH
V
IL
DATA IN
STABLE
tDH
V
IH
V
IL
Note: 1. OE = VIH or VIL. If OE = VIH during a WRI TE cycle, the output buff ers remain i n a hi gh impedance state.
is low or the WE low transition occurs prior to or simultaneously with the CE low transition, the output buffers remain in a high
2. If WE
impedance state during this period.
AI04232
11/24
M48T251Y, M48T251V
Table 7. Memory AC Characteristics, M48T251Y
Symbol
t
AVAV
t
AVQV
t
ELQV
t
GLQV
t
ELQX
t
GLQX
t
AXQX
t
EHQZ
t
GHQZ
t
WLQZt
t
AVAV
t
WLWH
t
ELEH
t
AVEL
t
AVWL
t
EHAX
t
WHAX
t
RC
t
ACC
t
CO
t
OE
t
COE
tOH
t
OD
ODW
t
WC
t
WP
t
AW
t
WR1
t
WR2
READ Cycle Time70ns
Access Time70ns
Chip Enable Low to Output Valid70ns
Output Enable Low to Output Valid35ns
Chip Enable or Output Enable Low to Output Transition5ns
Output Hold from Address Change5ns
(2)
Chip Enable or Output Enable High to Output Hi-Z25ns
(2)
Output Hi-Z from WE25ns
WRITE Cycle Time70ns
(3)
WE, CE Pulse Width50ns
Address Setup Time0ns
WRITE Recovery Time15ns
Address Hold Time from WE0ns
Parameter
(1)
M48T251Y–70
Unit
MinMax
t
WHQX
t
DVEH
t
DVWH
t
WHDX
t
EHDX
Note: 1. Valid fo r A m bient Operating Temperature: TA = 0 to 70°C; VCC = 4.5 to 5.5V or 3. 0 to 3.6V (except wher e not ed).
2. These parameters are sampl ed with a 5 pF load are not 100% tested.
3. t
4. t
t
OEW
t
DS
t
DH1
t
DH2
is specified as the logical AND of CE and WE. tWP is measured f rom the l atter of CE or WE going low to the earl ier of CE or
WP
going high .
WE
and tDS are measured from the earlier of CE or WE going high.
DH
Output Active from WE5ns
(4)
Data Setup Time30ns
(4)
Data Hold Time from WE0ns
(4)
Data Hold Time from CE10ns
12/24
Table 8. Memory AC Characteristics, M48T251V
Symbol
t
AVAV
t
AVQV
t
ELQV
t
GLQV
t
ELQX
t
GLQX
t
AXQX
t
EHQZ
t
GHQZ
t
WLQZt
t
AVAV
t
WLWH
t
ELEH
t
AVEL
t
AVWL
t
EHAXt
t
WHAX
t
t
ACC
t
t
t
COE
t
t
OD
ODW
t
t
WP1
t
WP2
t
WR1
t
WR2
RC
CO
OE
OH
WC
AW
READ Cycle Time85ns
Access Time85ns
Chip Enable Low to Output Valid85ns
Output Enable Low to Output Valid45ns
Chip Enable or Output Enable Low to Output Transition5ns
Output Hold from Address Change5ns
(2)
Chip Enable or Output Enable High to Output Hi-Z35ns
WRITE Recovery Time15ns
Address Hold Time from WE5ns
Parameter
(1)
M48T251Y, M48T251V
M48T251V–85
Unit
MinMax
t
WHQX
t
DVEH
t
DVWH
t
WHDX
t
EHDX
Note: 1. Valid fo r A m bient Operating Temperature: TA = 0 to 70°C; VCC = 4.5 to 5.5V or 3. 0 to 3.6V (except wher e not ed).
2. These parameters are sampl ed with a 5 pF load are not 100% tested.
3. t
4. t
5. t
t
OEW
t
DS
t
DH1
t
DH2
is specified as the logical AND of CE and WE. tWP is measured f rom the l atter of CE or WE going low to the earl ier of CE or
WP
WE
going high .
is a function of the latter occurring edge of WE or CE .
WR
and tDS are measured from the earlier of CE or WE going high.
DH
Output Active from WE5ns
(5)
Data Setup Time35ns
(5)
Data Hold Time from WE0ns
Data Hold Time from CE15ns
13/24
M48T251Y, M48T251V
Data Retention Mode
Data can be read or written only when V
greater than V
. When VCC is below V
PFD
point at which write protection occurs), the clock
registers and the SRAM are bloc ked from any access. When V
Over threshold (V
V
to battery backup (V
CC
falls below the Battery Switch
CC
), the device is switched from
SO
). RTC operation and
BAT
SRAM data are maintained via battery backup until power is stable. All control, data, and address
signals must be powered down when V
CC
ered down.
The lithium power source is designed to provide
power for RTC activity as well as RTC and RAM
Figure 9. Power Down/Up Mode AC Waveforms
V
CC
V
(max)
PFD
V
(min)
PFD
is
CC
(the
PFD
is pow-
tF
data retention when V
is absent or unstable.
CC
The capa bility of this sour ce is s uffic ien t to pow er
the device continuously for th e life of the equipment into which it has been installed. For specification purposes, life expectancy is ten (10) years
at 25°C with the intern al os cillator running without
. Each unit is shipped with its energy source
V
CC
disconnected, guaranteeing full energy capacity.
When V
V
PFD
is first applied at a level greater than
CC
, the energy source is enabled for battery
backup operation. The actual life expectancy will
be much longer if no ba ttery en ergy i s us ed (e. g.,
when V
is present).
CC
tR
V
SO
tFB
tPD
CE
tDR
tREC
Table 9. Power Down/Up Trip Points DC Characteristics
Symbol
t
REC
t
F
t
FB
t
R
t
PD
(2)
t
DR
Note: 1. Valid fo r A m bient Operating Temperature: TA = 0 to 70°C; VCC = 4.5 to 5.5V or 3. 0 to 3.6V (except wher e not ed).
2. At 25°C, V
V
(max) to CE low
PFD
V
(max) to V
PFD
V
(min) to VSO VCC Fall Time
PFD
V
(min) to V
PFD
CE High to Power-Fail0µs
Expected Data Retention Time10Years
= 0V; the expected tDR is defined as cumulative time in the absence of VCC with the clock oscillator running.
CC
Parameter
(min) VCC Fall Time
PFD
(max) VCC Rise Time
PFD
(1)
MinMaxUnit
1.52.5ms
300
10
0
AI04236
µs
µs
µs
14/24
PHANTOM CLOCK OPERATION
Communication with the Phantom Clock is established by pattern recogn ition of a serial bit-stream
of 64 bits which must be matched by executing 64
consecutive WRITE cycles containing the proper
data on DQ0.
All accesses which occur prior to recognition of the
64-bit pattern are directed to memory.
After recognition is established, the next 64 READ
or WRITE cycles either extract or update data in
the clock while disabling the memory.
Data transfer to and from the timekeeping function
is accomplished with a serial bit-stream under control of Chip Enable (CE
WRITE Enable (WE
the C E
and OE control of the clock starts the pat-
), Output Enable (OE), and
). Initially , a READ cycle using
tern recognition sequence by moving the pointer to
the first bit of the 64-bit comparison register (see
Figure 10, page 16).
Next, 64 consecutive WRITE cycles are execut ed
using the CE
and WE control of the device. These
64 WRITE cycles are used only to gain access to
the clock. Therefore, any addres s to the me mory
is acceptable. However, the WRITE cycles generated to gain access to the Phantom Clock are also
writing data to a location in the mated RAM. The
preferred way to manage this requirement is to set
M48T251Y, M48T251V
aside just one address location in RAM as a Phantom Clock scratch pad.
When the first WRITE cycle is executed, it is compared to Bit 1 of the 64-bit comparison register. If
a match is found, the pointer increments to the
next location of the comparison register and
awaits the next WRITE cycle.
If a match is not found, the pointer does not advance and all subsequent WRITE cycles are ignored. If a READ cycle occurs at any t ime during
pattern recognition, the present sequence is aborted and the comparison register pointer is reset.
Pattern recognition continues for a total of 64
WRITE cycles as described above until all of the
bits in the comparison register have been
matched. With a correct match for 64-bits, the
Phantom Clock is enabled and d ata trans fer t o or
from the timekeeping registers can proceed. The
next 64 cycles will cause the Phantom Clock to either receive or transmit data on DQ0, depend ing
on the level of the OE
other locations outside the memory block can be
interleaved with CE
pattern recognition sequence or dat a transfer sequence to the Phantom Clock.
pin or the WE pin. Cycles to
cycles without interrupting the
15/24
M48T251Y, M48T251V
Figure 10. Comparison Register Definition
65 432
1
0
BYTE 0
7
1
Hex
1
0
1
0
0
10
Value
C5
BYTE 1
BYTE 2
BYTE 3
BYTE 4
BYTE 5
BYTE 6
BYTE 7
0
1
0
1
0
1
0
0
0
1
1
0
0
1
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
1
1
0
0
1
1
1
0
0
1
1
0
01
10
01
10
01
10
01
3A
A3
5C
C5
3A
A3
5C
AI04262
Note: The odds of t his pattern bei ng accidentally duplicated and sending aberrant entries to the RTC is l ess tha n 1 in 1019. This pattern is
sent to the clock LSB to MSB.
16/24
M48T251Y, M48T251V
Clock Register Information
Clock information is contained in eight registers of
8 bits, each of which is sequentially accessed one
(1) bit at a time after the 64-bit pattern recognition
sequence has been completed. When updating
the clock registers, each must be handled in
groups of 8 bits. Writing and reading individual bits
within a register could produce erroneous results.
These READ/WRITE registers are defined in the
clock register map (see Table 10).
Data contained in the clock regis ters is in Binary
Coded Decimal format (BCD). Reading and writing
the registers is always accom plished by stepping
through all eight registers, starting with Bit 0 of
Register 0 and ending with Bit 7 of Register 7.
Clock Accuracy
The RTC is guaranteed to keep time ac curacy to
with ±1 minute per month at 25°C. The clock is factory-tuned with special calibration elements, and
does not require addition al calibration. Moderate
temperature deviation will have a negligible effect
in most applic a t ions.
Table 10. Phantom Clock Register Map
AM-PM/12/24 Mode
Bit 7 of the hours register is defined as the 12-hour
or 24-hour mode select bit. When it is high, the 12hour mode is selected. In the 12-hour mo de, Bit 5
is the AM/PM bit with the logic high being “PM.” In
the 24-hour mode, Bit 5 is the second 10-hour bit
(20-23 hours).
Oscillator and Reset Bits
Bits 4 and 5 of the day register are used to control
the reset and oscillator functions. Bit 4 controls the
reset pin input. When the reset bit is set to logic '1,'
the Reset Input pin is ignored. When the reset bit
logic is set to '0,' a low input on the reset pi n will
cause the device to abort data transfer without
changing data in the timekeeping registers. Reset
operates independently of all other inputs. Bit 5
controls the oscillator. When set to logic '0,' the oscillator turns on and the RT C/calendar begins to
increment.
Zero Bits
Registers 1, 2, 3, 4, 5, and 6 contain one (1) or
more bits that will always read logic '0.' When writing to these locations, either a logic '1' or '0' is acceptable.
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 to you.
22/24
REVISION HIST ORY
Table 15. Document Revision History
DateRev. #Revision Details
June 20011.0First Issue
20-May-021.1Add countries to disclaimer
28-Mar-032.0v2.2 template applied; test condition updated (Table 9)
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the cons equences
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 o therwise under any patent or patent rights of STMicroelectron i cs. Speci fications mentioned i n this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as c ri t i cal components in life support dev i ces or systems wi thout exp ress written approval of STMicroel ectronics.
The ST log o i s registered tradema rk of STMicroelectronics
All other names are the property of their resp ective owners.