
M40SZ100Y, M40SZ100W
OPERATION
The M40SZ100Y/W, as shown in Figure 7, page 5,
can control one (two, if placed in parallel) standard
low-power SRAM. This SRAM must be configured
to have the chip enable input disable all other input
signals. Most slow, low-power SRAM s are c onfigured like this, however many fast SRAM s are not.
During normal operating conditions, the conditioned chip enable (E
chip enable (E
) input pin with timing shown in Table 6, page 10. An internal switch connects V
V
. This switch has a voltage drop of less than
OUT
0.3V (I
When V
).
OUT1
degrades during a power failure, E
CC
is forced inactive independe nt of E. In t his situa tion, the SRAM is unconditionally write protected
as V
(V
falls below an out-of-tolerance threshold
CC
). For the M40SZ100Y/W the power fail de-
PFD
tection value associated with V
ble 5, page 7.
If chip enable access is in progress during a power
fail detection, that memory cycle continues to completion before the memory is write protected. I f the
memory cycle is not terminated within time t
E
is unconditionally driven high, write protect-
CON
ing the SRAM. A power failure during a WRITE cycle may corrupt data at the currently addressed
location, but does not jeopardize the rest of the
SRAM's contents. At voltage s below V
the user can be as sured the me mor y will be writ e
protected within the Write Protect Time (t
vided the V
fall time does not exceed tF (see Ta-
CC
ble 6, page 10).
As V
disconnects V
to V
(V
age V
I
OUT2
When V
continues to degrade, the internal switch
CC
. This occurs at the switchover voltage
OUT
). Below the VSO, the battery provides a volt-
SO
OHB
and connects the internal battery
CC
to the SRAM and can supply current
(see Table 5, page 7).
rises above VSO, V
CC
back to the supply voltage. Output E
active for t
(120ms maxim um ) af ter t he power
CER
) output pin follows the
CON
is shown in Ta-
PFD
PFD
is switched
OUT
CON
to
CC
CON
WPT
(min),
) pro-
WPT
is held in-
supply has reached V
, independent of the E in-
PFD
put, to allow for processor stabilization (see Figure
11, page 10).
Data Retention Lifetime Calculation
Most low power SRAMs on the market today can
be used with the M40SZ100Y/W NVRAM Controller. There are, however some criteria which should
be used in making the final choice of which SRAM
to use. The SRAM must be designed in a way
where the chip enable input disables all other inputs to the SRAM. This allows inputs to the
M40SZ100Y/W and SRAMs to be “Don't care”
once V
falls below V
CC
(min) (see Figure 10,
PFD
page 9). The SR AM should also guarantee data
retention down to V
= 2.0V. The chip enable ac-
CC
cess time must be sufficient to meet the system
needs with the chip enable propagation delays included.
If data retention lifetime is a critical parameter f or
the system, it is importa nt to re view the dat a retention current specifications for the particular
SRAMs being evaluated. M ost SRAMs specify a
,
data retention current at 3.0V. Manufacturers generally specify a typical condition for room temperature along with a worst case condition (generally
at elevated temperatures). The system level requirements will determine the choice of which value to use. The data retent ion current val ue of the
SRAMs can then be added to t he I
CCDR
the M40SZ100Y/W to determine the to tal current
requirements for data retention. The available battery capacity for the SNAPHAT
®
of your choice
(see Table 13, page 17) can then be divided by
this current to determine the amount of data retention available.
CAUTION: Take care to avoid inadvertent discharge through V
OUT
and E
after battery has
CON
been attached.
For a further more detailed review of lifetime calcu-
lations, please see Application Note AN1012.
value of
8/19

M40SZ100Y, M40SZ100W
Battery Low Pin
The M40SZ100Y/W automatically performs battery voltage monitoring upon power-up, and at factory-programmed time intervals of at least 24
hours. The Battery Low (BL
the battery voltage is found to be less than approximately 2.5V. The BL
completion of battery replacement and subsequent battery low monitoring tests, either during
the next power-up sequence or the next scheduled
24-hour interval.
If a battery low is generated during a power-up sequence, this indicates that the battery is below
2.5V and may not be able to maintain data integrity
in the SRAM. Data should be considered suspect,
and verified as correct. A fresh battery should be
installed.
If a battery low indication is generated during the
24-hour interval check, this indicates that the battery is near end of life. However, data is not compromised due to the fact that a nominal V
supplied. In order to insure data integrity during
subsequent periods of bat tery back-up m ode, the
battery should be replaced.
The M40SZ100Y/W only monitors the battery
when a nominal V
is applied to the device. Thus
CC
applications which require extensive d urations in
the battery back-up mode sho uld be pow ered-up
periodically (at least once every few months) in order for this technique to be beneficial. Additionally,
if a battery low is indicated, data integrity should
be verified upon power-up via a checksum or other
technique. The BL
pin is an open drain output and
an appropriate pull-up resistor to V
chosen to control the rise time.
Power-fail Input/Output
The Power-Fail Input (PFI) is compared to an internal reference voltage (independent from the
comparator). If PFI is less than the power-fail
V
PFD
threshold (V
), the Power-Fail Output (PFO) will
PFI
go low. This function is intended for use as an under-voltage detector to signal a failing power supply. Typically PFI is connected through an external
voltage divider (see Figure 7, page 5) to either the
unregulated DC input (if it is a va ilable) or the regulated output of the V
vider can be set up such that t he voltage at PFI
falls below V
regulated V
several milliseconds before the
PFI
input to the M40SZ100Y /W or the
CC
microprocessor drops below the minimum operating voltage.
During battery back-up, the power-fail comparator
turns off and PFO
goes (or remains) low. This oc-
) pin will be asserted if
pin will remain asserted until
is
CC
should be
CC
regulator. The voltage di-
CC
curs after V
er returns, PFO
for the write protect time (t
from V
PFD
drops below V
CC
is forced high, irrespective of V
(min). When pow-
PFD
), which is the time
REC
PFI
(max) until the inputs are recognized. At
the end of this time, the power-fail comparator is
enabled and PFO
unused, PFI should be connected to V
follows PFI. If the comparator is
and PFO
SS
left unconnected.
Noise And Negative Going Transients
V
CC
transients, including those produced by output
I
CC
switching, can produce voltage fluctuations, resulting in spikes on the V
bus. These transients
CC
can be reduced if capacitors are used to store energy 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 bypass capacitor value of 0.1µF (as shown in Figure
13) 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
below V
by as much as one volt. These negative
SS
that drive it to values
CC
spikes can cause data corruption in the SRAM
while in battery backup mode. To protect from
these voltage spikes, STMicroelectronics recommends connecting a schottky diode from V
V
(cathode connected to VCC, anode to VSS).
SS
CC
to
Schottky diode 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
AI00622
12/19

M40SZ100Y, M40SZ100W
M40SZ100, M40SZ100Y, M40SZ100W, 40SZ100, 40SZ100Y, 40SZ100W, ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER,
ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER, ZEROPOWER, SUPERVISOR, SUPER VISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, SUPERVISOR, NVRAM, NVRAM, NVRAM,
NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM,
NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM,
NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM, NVRAM,
NVRAM, NVRAM, NVR AM, NVRAM, NVRAM, NVR AM, NVRAM, NVRAM, NVR AM, NVRAM, NVRAM, I2C , I2C, I2C,
I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C,
I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, I2C, RTC, RTC, RTC, RTC, RTC, RTC, RTC,
RTC, RTC, RTC, RTC, RTC , RTC, RTC, RTC, RT C, RTC, RTC, RTC , RTC, RTC, RTC, RTC , RTC, RTC, RTC, RTC,
RTC, RTC, RTC, RTC, RTC , RTC, RTC, RTC, RT C, RTC, RTC, RTC , RTC, RTC, RTC, RTC , RTC, RTC, RTC, RTC,
RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, RTC, Oscillator, Oscillator, Oscillator, Osc illator, Oscillat or, Oscillator, Os cillator, Oscilla tor, Oscillator , Oscillator, Oscil lator, Oscillato r, Oscillator, Oscillator, Oscillator, Oscillator, Oscillator, Oscillator, Oscillator, Oscillator, Oscillator, Oscillator, Oscillator,
Oscillator, Oscilla tor, Oscillator, Oscillator , Oscillator, Oscillator, O scillator, Oscillator, Osci llator, Oscillator, Oscillator,
Oscillator, Micropr ocessor, Microprocessor, Microp rocessor, Microprocessor, Micro processor, Microprocessor, Mic roprocessor, Micropro cessor, Microprocessor, Mic roprocessor, Microproce ssor, Microprocessor, Microproce ssor, Microprocessor, Microprocessor, Microprocessor, Microprocessor, Microprocessor, Microprocessor, Microprocessor,
LPSRAM, LPSRAM, LPSRAM, LPSRAM, LPSRAM, LPSRAM, LPSRAM, LPSRAM, LPSRAM, LPSRAM, LPSRAM,
LPSRAM, LPSR AM, LPSR AM, LPSR AM, P FI, P FI, P FI, PFI, PF I, PF I, PF I, PFI , PFI, PFI, PFI, PFI, PFI, P FI, P FI, P FI,
PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFI, PFO, PFO, PFO, PFO, PFO,
PFO, PFO, P FO, PFO , PFO, PFO, PF O, PFO, PFO, P FO, PFO , PFO, PFO, PF O, PFO, Reset, Reset, Re set, Res et,
Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset,
Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset,
Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset,
Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset,
Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset, Reset,
Reset, Reset, Reset, Reset, Reset, Reset, Write Protect, Write Protect, Write Protect, Write Protect, Write Protect, Write
Protect, Write Protect, Writ e Protect , Write Prote ct, Write Pro tect, Writ e Protect , Write Protect, Write Pro tect, Writ e Protect, Write Protect, Write Prote ct, Write Pro tect, Writ e Protec t, Write Prote ct, Write Pro tect, Writ e Protect, Write Prote ct,
Write Protect, Write Pro tect, Writ e Pr otect , Ba ttery, Batt ery, Batte ry, Batter y, B attery , Ba ttery, Bat tery, Batt ery, Batte ry,
Battery, Battery, Batte ry, Battery, Battery, Batte ry, Battery, Battery, Battery, Batte ry, Battery, Battery, Batte ry, Battery,
Battery, Battery, Batte ry, Battery, Battery, Batte ry, Battery, Battery, Battery, Batte ry, Battery, Battery, Batte ry, Battery,
Battery, Battery, Batte ry, Battery, Battery, Batte ry, Battery, Battery, Battery, Batte ry, Battery, Battery, Batte ry, Battery,
Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Battery, Switchover, Switchover, Switchover,
Switchover, Switchover, Switchover, Switchover, Switchover, Switchover, Switchover, Power-fail, Power-fail, Power-fail,
Power-fail, Powe r-fail, Pow er-fail, Pow er-fail, Pow er-fail, Pow er-fail, Pow er-fail, Com parator, C omparator , Comparat or,
Comparator, C omparator, Compara tor, Comp arator, Co mparator, Compara tor, Comp arator, Co mparator, Comparat or,
Comparator, C omparator, Compara tor, Comp arator, Co mparator, Compara tor, Comp arator, Co mparator, Comparat or,
Comparator, C omparator, Compara tor, Comp arator, Co mparator, Compara tor, Comp arator, Co mparator, Comparat or,
Comparator, C omparator, Compara tor, Comp arator, Co mparator, Compara tor, Comp arator, Co mparator, Comparat or,
Comparator, Comparator, Comparator, Comparator, Comparator, Comparator, SNAPHAT, SNAPHAT, SNAPHAT,
SNAPHAT, SNA PHAT , SNA PHAT , SNA PHAT , SNA PHAT , SNA PHAT, SNA PHA T, SNA PHA T, SN APHA T, SN APHA T,
SNAPHAT, SNA PHAT , SNA PHAT , SNA PHAT , SNA PHAT , SNA PHAT, SNA PHA T, SNA PHA T, SN APHA T, SN APHA T,
SNAPHAT, SNA PHAT , SNA PHAT , SNA PHAT , SNA PHAT , SNA PHAT, SNA PHA T, SNA PHA T, SN APHA T, SN APHA T,
SNAPHAT, SNA PHA T, SO IC, S OIC, SOIC , SO IC, S OIC, SOIC , SOI C, SO IC, S OIC, SOIC , SO IC, S OIC, SOIC , SO IC,
SOIC, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V,
5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 5V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V, 3V,
3V, 3V
Information furnished is believed to be accurate an d rel i able. However, STMicroelectro ni cs assumes 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 implic ation or otherwise under any patent or patent ri ghts of STM i croelectr onics. Specifications menti oned in thi s publicati on are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics product s are not
authorized for use as cri tical comp onents in lif e support devi ces or systems without express written approv al of STMicroel ectronics.
The ST logo is a registered trademark of STMicroelectron ic s.
All other nam es are the pro perty of their respectiv e owners
© 2003 STMi croelectronics - All rights reser ved
STMicroelectron ics GROUP OF COMPANIES
Australi a - Belgium - B razil - Canada - China - Czech Republi c - Finland - F rance - Germ any - Hong Ko ng - India - Israel - Italy - Japan -
Malaysia - M al ta - Morocco - Singapore - Spain - Sweden - Swit zerland - Un i ted Kingdom - United Sta tes
www.st.c o m
19/19