SI Reliable Flash AN

AN98503
Signal Integrity and Reliable Flash Operations
Author: Ken Perdue
Associated Part Family: Parallel NOR Flash
AN98503 discusses the design considerations for signal integrity (SI) and power delivery network (PDN) that affect the
robustness and performance of a system.
1
Introduction
Today's embedded systems continue to push many boundaries, operating at higher speeds and lower voltages.
Advanced architecture Flash devices support higher speed XIP operations and operating voltages, while offering
higher performance.
In the realm of high-speed digital design, there are many system-level factors that can significantly impact Flash
performance. Two such factors are Signal Integrity (SI) and the Power Delivery Network (PDN). SI relates to how
the design of the overall packaging affects general signal characteristics and propagation while PDN relates to
how well power can be delivered to the Flash IC.
The goal of this document is to highlight how SI and PDN design trade-offs can affect the robustness of a system,
which in turn can directly impact the performance of an embedded Flash operation.
Note that SI and PDN are very complex issues, and thus, it is not the intent of this document to discuss these
topics at length or in great detail. The reader may access the references noted in this document as well as other
sources which may provide more in depth discussion and analysis on these subjects.
2
Signal Integrity Overview
In today's high-speed digital designs, the smaller parasitic inductances and capacitances in the module and
associated IC's reduce signal transition times. This can result in signal and VCC noise which can degrade
operational reliability. Although every design is different, problems often begin showing up in the range of
nanoseconds and faster. Typically faster rise times are associated with higher operating frequencies. SI and PDN
issues on boards have been typically associated with higher frequency signals on the board, but it is important to
recognize that SI and PDN issues are not necessarily related to just operating frequencies — in many cases
signal rise times are the real source of the problem. With the ever increasing rise times SI and PDN
implementation have become significant factors that affect the level of reliability of an Embedded System and its
associated ICs.
The following sections highlight a few SI and PDN principles and issues of interest; again it is noted that SI and
PDN are complex subjects and there is substantial amount of in-depth materials the reader can find on these
subjects.
2.1
What is Signal Integrity?
Signal Integrity describes how well the signal maintains its desired shape and how the signal effects the receiving
device's ability to perform the desired operation.
A signal looses its fidelity or integrity when the signal becomes distorted or when the signal-to-noise ratio (S/N)
degrades. Signal distortion means that the waveform begins to change shape and S/N degrades as the signal or
ground noise increases. The degree that this can happen before it becomes a problem depends very much on the
application.
Looking at an example using inductance shows how additional noise is generated via high speed signal switching.
All signal traces have inductance and the voltage generated across an inductor can be approximated by
V = L*di/ trise, where L is the trace inductance, di/trise is the change in the switching current over the rise time. V
increases proportionally as trise decreases. The voltage across the trace inductance adds on the original signal
www.cypress.com
Document No. 001-98503 Rev. *A
1
Signal Integrity and Reliable Flash Operations
and is seen as noise. Thus, the noise coupled to the original signal gets worse as V increases. The S/N ratio gets
worse and the related potential for system problems increases.
Digital signals are typically square waves or rectangular pulses and can be associated with one or multiple bits of
information per clock cycle. Figure 1 shows an ideal square wave with no signal noise or distortion.
Figure 1. Ideal Square Wave
V
t
A nice thing about digital signals is, the system only needs to detect whether the voltage is in the “1” range or the
“0” range. Depending on the system, a logic range can be fairly large and the signal can have a fair amount of
distortion without obscuring the intended logic level or bit-state as shown in Figure 2. Note such signal overshoot
may directly or indirectly couple to power and ground planes thus affecting the fidelity of a subject ICs power
system.
Figure 2. Typical Square Wave with some Distortion
Analog signals are susceptible to distortion or noise from multiples sources. Figure 3 shows an example analog
signal in real world applications where a comparator is used to convert analog signals to a digital CMOS level. The
signal on the left is noise and distortion free resulting in a reliable conversion process where the signal on the right
has both distortion and noise which induces errors during the conversion process.
www.cypress.com
Document No. 001-98503 Rev. *A
2
Signal Integrity and Reliable Flash Operations
Figure 3. Analog Signal: Left: Ideal Signal & Right: Noise Induced On the Signal
To some degree SI is affected by how the design of the electronic packaging affects signal propagation and
characteristics. Signal lines are designed to behave very much like ideal transmission lines and under such
conditions good signal fidelity is maintained and timing skews are minimized.
2.2
Power Delivery Network (PDN)
A well designed Power Delivery Network (PDN) ensures that the system VCC and ground voltage fluctuations are
within allowed margins. VCC/Ground Noise is typically the result of circuits switching inside the semiconductor
devices and at the device interface. Noise from the transitions are coupled to V CC and ground by parasitic
inductance.
The design of a noise-free PDN to supply a large amount of power at low voltages to microprocessor based
systems operating with very fast slew rates, large dynamic loads and high clock frequency is a non-trivial task.
The earlier discussions referenced how inductance can be a critical parameter in noise generation during signal
switching. The electrical performance of a power and ground system is sometimes characterized by its impedance
across the switching current frequency spectrum. CMOS devices have faster signal slew rates that make the
implementation of power and ground with sound fidelity a significant challenge. Power and ground impedance
increases with faster edge rates. They can become significant where board and package level resonances are
realized during design implementation. The faster the device's edge or slew rates the more difficult it is to maintain
low impedance across the power and ground supply system.
Figure 4 shows two examples of VCC supplying Flash ICs. The VCC on the left is the ideal case where the voltage
is stable and within the upper and lower limits over time. The V CC on the right exhibits significant voltage
fluctuation verses time and there are excursions where the voltage level is outside the desired limits. Power/
Ground Noise is created in many cases from the PDN parasitic impedances during drivers Simultaneous
Switching Output (SSO).
www.cypress.com
Document No. 001-98503 Rev. *A
3
Signal Integrity and Reliable Flash Operations
Figure 4Illustration of VCC Signals (Left: Ideal; Right: Noise on VCC)
2.3
Flash Subsystem Overview
The following sections highlight some major Flash operational blocks and how the reliability of Flash operations
can best be maintained by proper SI and PDN implementations.
2.3.1
Flash Block Diagram
In a typical embedded system, a microprocessor accesses a Flash device to perform three primary operations:
Reading, Programming, and Erasing data in the Flash Cell matrix. The Flash Block diagram in Figure 5 shows the
major components in a Flash device.
Figure 5. High Level NOR Flash Block Diagram
VCC
DQmax –DQ0
Amax–A0
VSS
Erase Voltage
Generator
VIO
Input/Output
Buffers
WE#
ACC
WP#
State
Control
Command
Register
PGM Voltage
Generator
Chip Enable
Output Enable
Logic
CE#
OE#
VCC
Detector
ADV#
CLK
Burst
State
Control
IND/
WAIT#
Timer
Burst
Address
Counter
Address Latch
RESET#
Data
Latch
Y-Decoder
Y-Gating
X-Decoder
Cell Matrix
Ama x–A0
DQma x–DQ0
A m ax–A0
www.cypress.com
Document No. 001-98503 Rev. *A
4
Signal Integrity and Reliable Flash Operations
2.3.2
Flash Read Operation: Address Decode and Data Conversion
During a Flash Read operation Row and Column Decoding is used to select subject cells in the Flash array. The
subject cell's IDS current will be an IErase or IProgram based on the charge stored in the cell. The subject IDS
current is output to Sense Amplifiers where it is converted from an analog signal to a digital signal and captured in
the Output Buffers. The major Flash blocks used to complete this process is depicted in Figure 6 below:
Figure 6. Flash Cell Array, Address Decode and Sense Amplifier
2.3.3
How Signal integrity and PDN Can Effect Flash Read Operation
Figure 7 shows additional details of the typical analog signals in the Sense Amplifier section where the signals are
captured and converted to digital logic level. These subsections in Cypress Flash have been designed and
characterized to operate reliably within the data sheet specifications.
www.cypress.com
Document No. 001-98503 Rev. *A
5
Signal Integrity and Reliable Flash Operations
Figure 7. Pre-Amplifier Signal and Reference
When a module design maintains a valid Flash VCC while minimizing ground bounce, the analog signals and
reference voltage(s) in the Pre-Amplifier section are operating in an environment that enables reliable read
operation. Note these same signals and references are susceptible to signal distortion from V CC noise,
Simultaneous Switching Noise (SSN), and ground bounce. During a Read Operation, ground bounce couples
noise to the Flash VCC and reduces read margin. If the noise is large enough, it can result in a read error.
Providing a proper design of a power and ground distribution system is a key factor to realize robust and reliable
read operations.
The same SI and PDN criteria apply during Program and Erase operations. The Program and Erase operations
will not be described in detail; note these operations also utilize the same subsections when verifying the subject
cell charge level.
3
Conclusion: SI / PDN Trade-Offs Can Effect Critical Embedded
Operations
Today's high-speed Embedded Systems are complex designs. Many times these designs realize signal rise and
fall times that have decreased to where the parasitic impedances can result in signal/VCC noise and ground
bounce that becomes troublesome and can affect the design's reliable operation. As previously described, fast
signal rise times can be the source of SI and PDN issues.
Section 2.3 differentiates how optimizing or the lack of optimizing SI and PDN can affect the reliability of a Flash
Read, Program, or Erase operations. SI and PDN is one design aspect that should be part of the design planning
and validation to ensure the power and ground voltage fluctuations are within an IC's VCC margins.
Dennis Herrell a Co-Author of “Modeling of the Electrical Performance of the Power and Ground Supply for a PC
Microprocessor on a Card” states:
“There numerous PDN design trade-offs that can be made at various levels, including on-chip, on-package,
on-card and onboard. The proper design of a power and ground distribution system includes issues such as
the stack-up of power, ground, signal and dielectric layers, the placement of decoupling capacitors of right
types at right locations, and the placement of vias connecting metal planes. Many of these design decisions
www.cypress.com
Document No. 001-98503 Rev. *A
6
Signal Integrity and Reliable Flash Operations
first come from previous design experiences and from insights on what physically happens inside an IC
package, followed by what-if analyses and optimizations through software simulations, and by verifications
through hardware measurements.”
Johnson and Graham co-authors of High Speed Signal Propagation state that when lacking a good global 0V
reference ground, a simple low pass filter can be employed to reduce the differential noise between VCC and GND
in the vicinity of the filter.
Cypress does recommend:
4

A Flash VCC is maintained within the Flash data sheet specification and ground bounce is minimized across
all of the modules operating conditions.

Minimization of overshoot of the Flash I/O.
References
1.
“High Speed Signal Propagation Advanced Black Magic”, Howard Johnson & Martin Graham, 2003
2.
“Modeling of the Electrical Performance of the Power and Ground Supply for a PC Microprocessor on a
Card”, Jiayuan Fanga, Dennis Herrellb, Jin Zhaoa, Jingping Zhanga and Raymond Chenc
3.
Cypress S29CD016J Data Sheet
www.cypress.com
Document No. 001-98503 Rev. *A
7
Signal Integrity and Reliable Flash Operations
Document History Page
Document Title: AN98503 - Signal Integrity and Reliable Flash Operations
Document Number: 001-98503
Rev.
ECN No.
Orig. of
Change
Submission
Date
Description of Change
**
–
–
02/22/2008
Initial version
*A
4941311
MSWI
09/30/2015
Updated in Cypress template
www.cypress.com
Document No. 001-98503 Rev. *A
8
Signal Integrity and Reliable Flash Operations
Worldwide Sales and Design Support
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturers’ representatives, and distributors. To find the
office closest to you, visit us at Cypress Locations.
#
999
Products
PSoC® Solutions
Automotive..................................cypress.com/go/automotive
psoc.cypress.com/solutions
Clocks & Buffers ................................ cypress.com/go/clocks
PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP
Interface......................................... cypress.com/go/interface
Cypress Developer Community
Lighting & Power Control ............cypress.com/go/powerpsoc
Memory........................................... cypress.com/go/memory
PSoC ....................................................cypress.com/go/psoc
Touch Sensing .................................... cypress.com/go/touch
Community | Forums | Blogs | Video | Training
Technical Support
cypress.com/go/support
USB Controllers ....................................cypress.com/go/USB
Wireless/RF .................................... cypress.com/go/wireless
MirrorBit®, MirrorBit® Eclipse™, ORNAND™, EcoRAM™ and combinations thereof, are trademarks and registered trademarks of Cypress Semiconductor Corp. All
other trademarks or registered trademarks referenced herein are the property of their respective owners.
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone:
Fax:
Website:
408-943-2600
408-943-4730
www.cypress.com
© Cypress Semiconductor Corporation, 2008-2015. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation
assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or
other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant
to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a
malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application
implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
This Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive,
non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating
custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without
further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein.
Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in
significant injury to the user. The inclusion of Cypress' product in a life-support systems application implies that the manufacturer assumes all risk of such use and in
doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
www.cypress.com
Document No. 001-98503 Rev. *A
9