How a designer can make the most of STMicroelectronics Serial
EEPROMs
Introduction
Electrically erasable and programmable memory (EEPROM) devices are standard products,
used for the non-volatile storage of parameters and fine-granularity data.
There is no single memory technology (SRAM, DRAM, EEPROM, Flash Memory, EPROM,
ROM) that meets an application’s needs perfectly. Consequently, the designer needs to
know the particular strengths and weaknesses of each technology for optimal use in a given
application. He can then design the application to keep within the specification, for the best
performance, best reliability and lowest failure rates. Lately, this involves understanding at
least the general principles of how the devices, in the given technology, are constructed, and
how they work.
This document has been designed to give precisely this level of background understanding
for one of those technologies: EEPROM, from STMicroelectronics. It describes how
STMicroelectronics’ EEPROM is constructed, how it works, and gives useful guidelines for
achieving high reliability applications under some of the most stringent conditions, such as
those that are experienced in the automotive market.
From the user’s point of view, this EEPROM device is a circuit for storing digital information.
To interface with the EEEPROM device a set of standard instructions are used. Behind this
simple interface, however, there are a number of sensitive analog and physical processes.
Figure 1.Structure of an EEPROM floating gate transistor, and circuit symbol
Figure 1. shows the key component of a single EEPROM cell, the floating gate transistor
(also known as a FLOTOX transistor). Figure 2. shows how it can be considered to be just
like any other type of MOSFET device. As the voltage, V
electrode, so the current flowing through the drain, I
, is increased on the Control Gate
g
, increases in proportion. For the
d
present, we can assume that this is a fairly linear relationship.
Figure 2.MOSFET-like operation
Figure 3 shows what happens if the Floating Gate can be made more negatively charged,
by filling it with extra electrons. This is used for the Erased state of the EEPROM cell.
Figure 4 shows what happens if the Floating Gate can be made less negatively charged, by
emptying it some of its normal electrons. This is used for the Written state of the EEPROM
cell.
Doc ID 10701 Rev 87/69
EEPROM cell and memory array architectureAN2014
AI10228
Tunnel Oxide
Control Gate
- - - - - - - - - - - - - - - -
Source
Drain
Gate Oxide
Oxide
V
g
V
g
I
d
- - - - - -
V
th.erase
Channel Region
AI10229
Tunnel Oxide
Control Gate
+ + + + + + + + + + + + +
Source
Drain
Gate Oxide
Oxide
V
g
V
g
I
d
+ + + + +
V
th.write
Channel Region
Figure 3.Floating gate reservoir full of electrons (Erased state)
1. Control Gate threshold value (V
= f(Vg) characteristic shows Id=0 for Vg<V
2. I
d
th.erase
) is positive.
th.erase
.
The effect, as viewed from the channel region of the transistor, is that the Control Gate
voltage, V
, is offset by an extra negative or positive amount. Viewed from the outside,
g
black-box electrical behavior of the device, the charge on the Floating Gate has the effect of
moving the threshold MOSFET voltage, V
, at which the linear conduction region begins. In
th
other words, a FLOTOX transistor is a MOS transistor with a variable Control Gate threshold
value, V
.
th
The Floating Gate acts as the storage element, and, being completely surrounded by
insulating oxide, as shown in Figure 1, keeps its charge even when there is no power supply.
Figure 4.Floating gate reservoir empty of electrons (Written state)
1. Control Gate threshold value (V
=f(Vg) characteristic shows Id=0 for Vg<V
2. I
d
8/69Doc ID 10701 Rev 8
th.write
) is negative
th.write
.
AN2014EEPROM cell and memory array architecture
AI10234
V
g
I
d
V
g.ref
I
d.ref
I
1.1.1 Reading the value stored in a memory cell
Figure 5 puts the three curves together, by way of comparison. It shows that for a given
Control Gate voltage, V
higher or lower than that of the neutral device, depending on whether the reservoir of
electrons on the Floating Gate has been filled up, or emptied. This, then, is the basis of how
the memory cell can be read.
Figure 5.Using the voltage on the control gate to determine the charge on the
floating gate
, the current that flows through the drain, Id, will be detectably
g
1. A written cell draws a current IµA (where IµA > I
); an erased cell does not draw any current (0µA).
d.ref
In most of ST EEPROM products, a predetermined biasing condition on the Control Gate
and the drain makes it possible to compare the current absorbed by the FLOTOX transistor
with a reference. Basically, with the predetermined biasing condition an erased FLOTOX cell
is not able to sink as much current as the reference (ideally the transistor is off). On the
other hand, a written FLOTOX cell sinks a current that is superior to the reference (the
transistor is on). By comparing to a reference current, the device is able to retrieve the
stored information as a digital signal on the output pins of the memory device.
Doc ID 10701 Rev 89/69
EEPROM cell and memory array architectureAN2014
AI10232
Vg=+18V
Vd=0V
Electric Field
Tunneling Electrons
Control Gate
Source
Drain
Gate Oxide
Oxide
Channel Region
Floating Gate
e
-
1.1.2 Writing a new value to the memory cell
The next question, of course, is how the charge can be changed on the Floating Gate, given
that it is so well insulated by oxide, and keeps its charge even when there is no power
supply. The answer is that the Tunnel Oxide, shown in Figure 1, is very thin, and can be
used to transfer charge, when much higher voltages are applied than those normally used
during Read operations.
Filling the Floating Gate reservoir with negative charges (electrons) is called erase. After
erase, the FLOTOX transistor is in the Erased State (see Figure 3). Pulling out negative
charges from the Floating Gate is called Program. After Program, the FLOTOX transistor is
in the Written State (see Figure 4). One state is used to represent logic-0, and the other
logic-1, but the exact choice is manufacturer and product-type dependent).
Both operations use the Fowler-Nordheim tunneling effect. For this, a high electric field
(1 million V/mm, or more) is needed to make electrons pass through the thin Tunnel Oxide.
For a Tunnel Oxide thickness of 100Å, the high voltage needs to be at least 10V. In fact,
higher voltages, in the range 15 to 18V, are normally used, to reduce the time taken for the
operation. Voltages higher than this cannot be used, since they would damage the thin
Tunnel Oxide.
For erase, the cell Control Gate is made positive, and the source-drain region is grounded
(as shown in Figure 6). The electric field makes electrons move from the substrate towards
the Floating Gate, thereby filling the reservoir, and increasing the characteristic threshold
voltage of the transistor (as shown in Figure 3).
Figure 6.During erase, electrons go through the tunnel oxide into the floating gate
1. Characteristic threshold Vth increases and becomes positive as shown in Figure 3
For write, the Control Gate is grounded and the source-drain region is made positive (as
shown in Figure 7). The electric field is the opposite of that for erase, and so electrons move
out from the Floating Gate, thereby emptying the reservoir, and decreasing the
characteristic threshold voltage of the transistor (as shown in Figure 4).
10/69Doc ID 10701 Rev 8
AN2014EEPROM cell and memory array architecture
AI10233
Vg=0V
Vd=+18V
Electric Field
Tunneling Electrons
Control Gate
Source
Drain
Gate Oxide
Oxide
Channel Region
Floating Gate
e
-
Figure 7.During write, electrons go through the tunnel oxide out of the floating
gate
1. Characteristic threshold decreases and becomes negative as shown in Figure 4
Typically EEPROM erase/write cycles require a high voltage of about 15 to 18V for
approximately 5ms. As EEPROM devices use a single supply voltage, the high voltage must
be generated and managed internally. A set of analog circuits is available to generate and
control the high voltage from the single external power supply:
●voltage and current references to control oscillators and timings
●a regulated charge pump that generates a stable 15 to 18V voltage, HiV, from the
single external power supply
●a ramp generator that, from the stable HiV voltage, makes the specific waveform
(shown in Figure 8) that is to be applied to the cells
V
is the high voltage that is directly applied to the FLOTOX cell, as described earlier. The
PP
precise shape of the V
voltage waveform is critical, and has a direct effect on the reliability
PP
and endurance of the memory cells. The slope, plate time and maximum level are
parameters that are very carefully controlled.
Writing new data in an EEPROM array triggers an auto-erase of all the addressed bytes,
resets them all to the Erased state, and then selectively programs those bits that should be
set to the Written state.
Doc ID 10701 Rev 811/69
EEPROM cell and memory array architectureAN2014
AI10235
V
PP
5ms
t(ms)
HiV
18V
Auto-Erase
Program
Write Cycle = Auto-Erase + Program
Figure 8.VPP signal applied to EEPROM cells
(HiV is the output of the charge pump)
To summarize: Binary information is coded by means of a FLOTOX transistor. The Floating
Gate is a reservoir filled with negative electric charges that modify its electrical
characteristics. The electric charges can be made to migrate into or out of the reservoir by
applying a high voltage to a thin Tunnel Oxide. The binary information is read by comparing
the cell (FLOTOX transistor) current to a reference.
12/69Doc ID 10701 Rev 8
AN2014EEPROM cell and memory array architecture
AI10251
Control Gate
Source
Horizontal electric barrier
disturbing erase and write
Oxide
- - + - - -
Channel Region
+
+
Vertical electric path
leading to leakage
Gate Oxide
Floating Gate
1.1.3 Cycling limit of EEPROM cells
When a cell is cycled (repeatedly erased and programmed) two common phenomena occur
and are amplified during the memory cell lifetime. When tunneling, negative charges can
either be trapped in some imperfection of the oxide or damage the Tunnel Oxide:
1.Charge trapping
The accumulation of negative charges in the thin Tunnel Oxide creates an electric
barrier in the Tunnel Oxide. The high voltage needed for the tunneling effect becomes
even higher: programming high voltages are no more able to move enough charges to
program the cell properly. The Erased and Written states become undifferentiated.
2. Stress on oxide
When the Tunnel Oxide deteriorates, a positive charge path may appear, that facilitates
undesirable leakage through the Tunnel Oxide. The Floating Gate is no more 100%
insulated, and loses its charges, and so the data retention time drops drastically.
Figure 9.Accumulation of negative or positive charges in the tunnel oxide
Charge trapping and oxide damage are accelerated at high temperatures. They are directly
involved in cell cycling and endurance limitations.
Permanent digital information storage has to cope with physical phenomena and analog
nonlinear behaviors that have natural limits and are sensitive to wear-out and improper use
conditions.
Doc ID 10701 Rev 813/69
EEPROM cell and memory array architectureAN2014
Cg-Line 0
8 Bit-Line Latches
Cg line
Bit line
Bit line
Bit line
8 Select
transistors
8 FLOTOX
transistors
Row-
Line 0
b07b06b00
Cg-Line i
8 Bit-Line Latches
bi7bi6bi0
Control
Gate
transistor
Row-
Line n
AI10224b
Column 0Column i
Byte
Select
transistor
FLOTOX
transistor
Memory Cell
1.2 Electrical architecture of ST serial EEPROM arrays
In the previous section, the EEPROM functionality was considered at the single bit level.
We will now zoom out of the memory cell to the full EEPROM array, in order to give an
overview of the architecture of an EEPROM device.
1.2.1 Memory array architecture
An EEPROM device is made of an array of memory cells whose organization allows byte
granularity, the automatic erasing of the addressed bytes (Erased state), and the
programming of only those bits that are to be changed to ‘1’ (Written state). The array (as
shown in Figure 10) is organized as follows:
●Each memory cell consists of one Select transistor in series with a FLOTOX transistor
and each byte is made up of eight memory cells and a Control Gate transistor with a
drain that is common to the control gates of all eight FLOTOX transistors.
●Rows (in the horizontal direction) are made up of 16 bytes (or more, depending on the
memory size (the number of bytes within each row being a function of the array size).
For each row, all Select transistors and all Control Gate transistors are connected to the
Row line.
●Columns are grouped by eight bit-lines and one Cg-line. This is then repeated as many
times as the number of bytes in a row.
●A bit-line is common to all the drains of the Select transistors of each memory cell in the
column. A Cg-line is common to all the sources of the Control Gate transistors of the
column.
Figure 10. Architecture of the memory array (showing the grouping in bytes)
14/69Doc ID 10701 Rev 8
AN2014EEPROM cell and memory array architecture
AI10225
Address Shift Register
Column
Decoder
Bit-line and Cg-line Latches: RAM Buffer
Row
Decoder
Array
Cg-lines and Bit-lines
Row-lines
Read/Write Analog
Voltages
Serial Input
MSB Address BitsLSB Address Bits
1.2.2 Decoding architecture
To address a single byte in a full array, decoding circuits are necessary. One logical address
is associated with one byte location. The address bits are inserted serially into a Shift
Register. Then, with parallel output, the decoding structures receive all of the bits at the
same time, to perform the decoding and addressing. The row decoder decodes and brings
correct biasing to a single row line. As one or more bytes of the same row can be
programmed at the same time, the column decoder decodes one or more column(s), and a
RAM buffer memorizes the data to write, and enables the right path for Cg-line and Bit-line
biasing.
Figure 11. Decoding block diagram
1.2.3 Intrinsic electrical stress induced by programming
Whatever kind of data must be programmed and whether the request is made by byte or
page, all high-voltage circuits are stressed by HiV (a high voltage ranging between 15 and
18V). In particular, the internal nodes of the charge pump can see voltages equal to
HiV + V
regulation, decoding, latches) are submitted to higher stress than active low voltage
transistors. The overall time during which the high voltage circuits are active is relatively
short compared to the product lifetime (10ms x 1Mcycles = 10000 seconds => less than 3
hours).
A standard ST EEPROM device has a few hundred high voltage transistors, for low memory
density products (1Kbit). This number can rise to a few thousand for high memory density
products (1Mbit).
Consider, by way of example, the stress induced on the array elements when programming
one single byte in a 1Kbit EEPROM, organized as 128 x8 bit. The memory array is
composed of 8 pages (or rows) of 16 bytes (or columns).
(that is as much as 23 V). All circuits that receive and carry HiV (ramp generator,
CC
Doc ID 10701 Rev 815/69
EEPROM cell and memory array architectureAN2014
Erase cycle: the complete row (page) that contains the addressed byte receives the VPP
signal, on the selected Row-line, as does the complete column, on the selected Cg-line:
●Control Gates of all the Select transistors in the given row: 1 row x 16 bytes x 8 bits
=128
●Control Gates of all the Control Gate transistors in the given row: 1 row x 16 bytes = 16
●Drains of all the Control Gate transistors that are connected to the given Cg-line: 1
column x 8 rows = 8
The Bit-lines of the addressed bytes are floating.
Write cycle: the complete row (page) that contains the addressed byte receives the V
PP
signal, on the selected Row-line:
●Control Gates of all the Select transistors in the given row: 1 row x 16 bytes x 8 bits
=128
●Control Gates of all the Control Gate transistors in the given row: 1 row x 16 bytes = 16
●The Cg-line of the addressed byte is held at ground voltage
●The Bit-lines are left floating or receive V
case is when FFh is to be written, and all Bit-lines receive the V
●Drains of all the Select transistors sharing the same 8 Bit-lines: 1 column x 8 rows x 8
depending on data to be written. The worst
PP
PP
signal
bits = 64
This example shows how one single byte, being erased or programmed, incurs a lot of High
Voltage stress on elements that are on the same row, column and bit-line as the one
addressed. For a 1Kbit EEPROM, programming one single byte to FFh induces stress on
128 Select transistors and 24 Control Gate transistors during auto-erase, and 192 Select
transistors and 16 Control Gate transistors during the write cycle, even though only 17
transistors (8 Select transistors, 8 FLOTOX transistors, 1 MOS transistor) were really being
addressed for the data change.
The bigger the memory array, the larger the number of additional transistors that are
involved. This is why when high cycling performance is required, it is recommended to
gather cycled data in contiguous blocks and use the write page mode as much as possible.
16/69Doc ID 10701 Rev 8
AN2014Choosing a suitable EEPROM for your application
2 Choosing a suitable EEPROM for your application
ST "Automotive Grade" EEPROM products are made to meet automotive’s stringent
requirements. They are produced by a longstanding process and benefit from being tested
continuously for quality as well as specific test strategies like Statistical Bin Limits,
Parametric Average Testing and qualification following the AEC Q100, specific product
buffer stocks, etc.
Nevertheless, the reliability on EEPROM products are also closely linked to the way they are
designed in Applications.The aim of this part of the document is to provide our automotive
customers with a set of practical recommendations for achieving immediate improvements
in application reliability and robustness.
In the case of automotive applications, ST strongly recommends the use of products that
are classified as automotive grade. These devices are designed to satisfy the most stringent
requirements of automotive, sensitive and safety applications. "Grade 3" and Automotive
Grade EEPROMs are tested with STMicroelectronics’ High Reliability Certified Flow
(described in Quality Note, QNEE9801) insuring a very high level of quality.
2.1 Choosing a memory type suited to the task to be performed
EEPROM devices are particularly suited to the tasks of code traceability and parameter
storage. The Serial protocol offers the best compromise of performance versus cost where
the access time is not critical.
2.2 Choosing an appropriate memory interface
ST is specialized in Serial Access EEPROMs, which are based on three main protocols: I²C,
SPI and MICROWIRE (see Ta bl e 1 ).
Fundamental requirements such as noise immunity, ESD, latchup and cycling Endurance
are basic features of each ST Serial EEPROM device (independent from the protocol used).
The choice of the most appropriate Serial EEPROM depends mainly on the hardware
resources of the master and on the architecture built around it. See the following:
●The I
●The SPI bus and MICROWIRE bus are 4-wire protocols allowing higher communication
Data Write protection is different for each protocol family and is also a key factor when
selecting the memory interface. I
and MICROWIRE products provide both hardware and software protection. Refer to
Section 5.3: Write protection.
2
C bus offers a 2-wire protocol working at a maximum clock rate of 400 kHz and
so, is preferred when the hardware resources are limited and the data rate is not a
constraint at all. The multiple slave configuration requires no extra hardware and is
managed by software.
speed (speed is determined by each manufacturer design and technology). The
number of slaves is unlimited but each slave requires an additional master resource for
the chip select line. Both SPI and MICROWIRE can be used with only 3 wires providing
that the D and Q pins are tied together to a bidirectional I/O.
2
C products offer only hardware Write protection while SPI
If none of the standard products exactly meets all the requirements to produce an
Application Specific Memory (as described in AN1292), customizing is also possible.
Doc ID 10701 Rev 817/69
Choosing a suitable EEPROM for your applicationAN2014
Table 1.Three serial bus protocols
I2CSPIMICROWIRE
®
ST FamiliesM24Cxx, 1 Kb to 2 MbM95xxx, 1 Kb to 2 Mb
Interface2 wires: Single I/O line, clock
Clock Rate
(max)
Data
Management
Specific
Features
Page: 16 bytes to 256 bytes
Up to 8 devices cascadable
1 Mb/sUp to 20Mb/s2 Mb/s
Byte
Global write control
on the same bus
4 wires: data in, data out,
clock & CS
Byte
Page: 16 bytes to 256 bytes
Hold mode (input pin)
Write control for 4 blocks
M93Cxx, 1 Kb to 16 Kb
M93Sxx, 1 Kb to 4 Kb
4 wires: data in, data
out, clock & CS
Byte or word
Page: 4 words
Block write protection
defined by software for
M93Sxxx family
2.3 Choosing an appropriate supply voltage and temperature
range
These are essential parameters that will define the device reliability when operating in the
application. The V
within the limits defined in ST datasheets.
values and the temperature values of the application must always stay
CC
18/69Doc ID 10701 Rev 8
AN2014Recommendations to improve EEPROM reliability
3 Recommendations to improve EEPROM reliability
3.1 Electrostatic discharges (ESD)
ESD damage can happen any time during the product lifetime, from the moment it is
delivered to the final field service operation. ESD damage can be destructive or latent. In the
first case, a simple functional test can screen faulty devices; in the second case, the part is
partially damaged and may be able to operate correctly, but its operating life may be
drastically reduced, causing the device to fail prematurely in field service.
3.1.1 What is ESD?
Static Electricity results from the contact and separation of two bodies, which creates an
unbalance in the number of electrons at the surface of the bodies. Practically, the bodies
become charged to a specific electrical potential that depends on the material from which
they are made (see Tab l e 2 ). An electrostatic discharge is defined as the transfer of charges
between two bodies at different electrical potentials. It is instantaneous (a few nanoseconds)
and thus induces high energy peaks which are very difficult to control and predict.
3.1.2 How to prevent ESD?
An ESD can be managed if the discharge is driven through a known and controlled path on
the silicon die. Specific design rules and techniques can be used by designers to better
protect against ESDs, such as Faraday shields, perimeter ground lines or ground planes.
In a production line, the part handling until the assembly line has to be carefully ESDprotected.
Table 2.ESD generation
ESD generation meansStatic voltage levels
Walking across a carpet1 500 V to 35 000 V
Worker on a bench100 V to 6 000 V
Chair with Urethane Foam1 500 V to 18 000 V
1. The charge unbalance depends on many factors such as the contact area, separation speed and relative
humidity.
(1)
3.1.3 ST EEPROM ESD protection
ST EEPROM devices offer a specific protection circuit against Human Body Model ESDs of
up to at least 3000 V in non-operating mode (in accordance with AEC-Q100-002).
During write operations, the EEPROM is much more sensitive to ESDs because of the
architecture of its internal high voltage generator. Applications exposed to ESD should avoid
writing data in the EEPROM when an ESD is more likely to occur.
Doc ID 10701 Rev 819/69
Recommendations to improve EEPROM reliabilityAN2014
3.2 Electrical overstress and latchup
Electrical overstress (EOS) and latchup are also damaging stresses that are either
immediately destructive, or may create latent defects leading to premature failure.
3.2.1 What are EOS and latchup?
In comparison with ESDs, EOS and latchup are lower-intensity events that last much longer
(sometimes more than a few seconds). That is why the energy induced by an EOS is higher
than the ESD energy. EOS and latchup induce current injections inside the EEPROM when
an overvoltage stress is applied on one or more package pins. Latchup occurs when a
charge injection triggers the I/O parasitic thyristors (also called SCR) thus generating a very
high current between V
turned off.
3.2.2 How to prevent EOS and latchup events
Typically power supply cycling leads to EOS situations. During the power-up and powerdown phases, the EEPROM I/Os interfaced with other ICs may temporary see voltages
greater than V
biasing conditions may lead to positive and negative current injections, respectively. This
kind of stress cannot always be completely prevented but it can be minimized. The switching
sequence of the different interfaced ICs must be carefully determined, and if necessary
protection resistor (<1K
(<50
Ω) to limit eventual latchup current. Please refer to Section 4: Hardware considerations
for more details.
or lower than VSS. When outside Absolute Maximum Ratings, these
CC
and VSS. This phenomenon lasts until the VCC power supply is
DD
Ω) can be placed on critical pins or sometimes directly on V
CC
pin
Overshoots and undershoots may occur on external device pins when the application is
running. They can be generated by radiations, power supply disturbances or even some ICs.
The very first protection is provided by the semiconductor manufacturer (ST) which offers
the best possible robustness against EOS and latchup. If extra protection is needed, the
application designer can add small value resistors (<1kΩ) in series on all interfaced lines
and (<50Ohm) in series on VCC line so that it can be compatible with the communication speed
constraints and power supply range. Please refer to the Hardware considerations section for
more details.
Manufacturing and handling devices are also sources of EOS: all voltage levels applied to
the device must be checked accurately and regularly. In addition all equipment should be
constantly calibrated.
During write operations, an EEPROM device is more sensitive to overvoltages on its power
supply pin because the internal high voltage generator is directly fed by the voltage applied
to the power supply pin.
20/69Doc ID 10701 Rev 8
AN2014Recommendations to improve EEPROM reliability
Ai11084b
SCR is switched on by an external
stress coming from an I/O pin.
5V
V
CC
V
SS
Latch up risk minimized
R
P
<50Ω
RP<1KΩ
SRC
5V
V
SS
V
CC
I/O
EEPROM
I or V stress
SRC
I/O
High current(often destructive)
Fail
ai10858
Fail
Current Injection
100mA
−100mA
Good = Class A
Good = Class A
−0.5 x V
CC
max
1.5 x V
CC
max
Overvoltage
Figure 12. Latchup mechanism and protection
1. Protection is only recommended if latchup risk is identified.
3.2.3 ST EEPROM latchup protection
During the qualification process, samples from three different lots are tested for voltage
overshoots (positive and negative injections). Figure 13 shows the levels of stress applied to
the tested devices.
Figure 13. Latchup test conditions
1. The device does not latch up within the gray areas.
Doc ID 10701 Rev 821/69
Loading...
+ 48 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.