Professional Documents
Culture Documents
AN44517 gives the design recommendation for battery-backed SRAMs using a Cypress MoBL SRAM (also called
ultra low-power SRAM or micropower SRAM) and a microprocessor supervisory chip. This recommendation ensures
better data integrity in SRAM, in case of power failures in a battery-backed application, when compared to other
techniques that are also described in this document.
Introduction
Applications such as point-of-sale (POS) terminals,
network processing engines, servers, and medical implant
devices use battery-backed memory solutions with
SRAMs.
Because SRAMs are volatile memories (that is, they
cannot retain their contents on loss of power), they need
an alternate source of power to ensure data integrity in the
event of a power failure.
A basic battery-backed application block diagram
consisting of a microprocessor (or FPGA), a flash
memory, and an SRAM is illustrated in Figure 1. The
application has two power sources: main (on-board
regulated) power supply and a battery (some applications
also employ a super capacitor instead of a battery).
www.cypress.com
VCCIN
Microprocessor
VOUT
Switch
Mechanism
VBAT
Battey
SRAM
Shared bus
Flash Memory
Details
Figure 2 takes a closer look at the SRAM interface and its
associated control signals. All address, data, and control
pins including the Chip Enable pin ( ) are driven by the
microprocessor. In the event of a power failure, the battery
keeps the SRAM powered, while the microprocessor
ceases to be powered. This can result in the
microprocessors outputs either getting discharged to
ground (GND) or floating to an intermediate voltage level.
Because the outputs of the microprocessor drive the
SRAM, a floating node on one of the SRAM Chip Enable
( ) inputs can result in the latter drawing excess current.
This is because the
pin of the SRAM needs to be in the
de-asserted state and at high CMOS levels for meeting
the standby current specifications as mentioned in the
datasheet. Floating the
input can result in it being
biased to an intermediate voltage level, thereby resulting
in high current that can potentially reduce the battery life of
the application.
Recommended
Design
Technique:
Microprocessor Supervisory Circuits
Using
Other Read/Write
controls (WE / OE )
SRAM
Microprocessor
Address lines
www.cypress.com
VBAT
VCCIN
(settled at or close to 0V)
VCC
RPU
SRAM
CEOUT
CE
Notes
SRAM is powered by VCCIN during normal operation and by VBAT during battery mode. The two external diodes, shown in
the VCCIN and VBAT paths to the SRAM, prevent reverse current
The dotted arrow indicates current flow through the pull-up resistor and diode when VCCIN trips.
RPU indicates the external pull-up resistor to disable the chip.
www.cypress.com
IN,
The input pins, VCCIN and VBAT, are power supplies from
the mains and battery respectively. VOUT is the output pin
that tracks either VCCIN (in normal mode) or VBAT (in battery
mode) and is connected to the VCC pin of SRAM, so that
SRAM has uninterrupted supply.
Microprocessor
VCCIN
CEIN, SUPV
VOUT
Microprocessor Supervisory Chip
VBAT
CEOUT, SUPV
VCC
CE
SRAM
Bidirectional data bus
www.cypress.com
Other Considerations
Some SRAMs have multiple chip enable pins that may be
active LOW or active HIGH. To place the SRAM in the
standby mode, it is necessary that all chip enables must
be at fixed CMOS levels (not floating) with at least one of
them being in the disabled state. For example, for an
SRAM with dual chip enables - 1 (active LOW) and CE2
(active HIGH) consider the following:
Connect SRAM
manner as for the
Microprocessor
VCCIN
CEIN, SUPV
VOUT
Microprocessor Supervisory Chip
VBAT
CEOUT,micro
VCC
CE1
SRAM
www.cypress.com
Microprocessor
VCCIN
VOUT
CEIN, SUPV
Microprocessor Supervisory Chip
RPU
VBAT
CEOUT, SUPV
VCC
CE1
CE2
SRAM
Figure 7. SRAM Second Chip Enable Driven by RESET Pin of Supervisory Chip
VCCIN
CEOUT, micro
Microprocessor
VCCIN
CEIN, SUPV
RESETIN
VOUT
Microprocessor Supervisory Chip
RESET
VBAT
CEOUT, SUPV
VCC
CE2
CE1
SRAM
www.cypress.com
VCCIN and VBAT are power supplies from the mains and
battery respectively. The SRAM VCC is equal to VCCIN in
the normal mode of operation, and to VBAT in the
battery mode. VCCIN or VBAT is selected through the diode
connections (similar to the configuration in the Legacy
Design Technique).
CEOUT
Microprocessor
VCCIN
VCCIN
RESET Monitor Chip
VBAT
RESET
VCC
CE 1
SRAM
CE2
This scheme can be used only for dual chip enable SRAMs
2.
The effective voltage supplied to VCC of SRAM is reduced by a diode drop (~0.7 V), which makes VCC more
susceptible to noise
Hence, it is recommended that a microprocessor supervisory chip be used for your battery-backed application design.
www.cypress.com
Summary
For new designs using Cypress MoBL SRAM in battery-backed applications, use the supervisory techniques as mentioned in
this application note.
Document History
Document Title: Design Recommendation for Battery-Backed SRAMs Using Cypress MoBL SRAMs - AN44517
Document Number: 001-44517
Revision
ECN
Orig. of
Change
Submission
Date
Description of Change
**
2385026
AJU
04/15/2008
*A
3162588
AJU
02/04/2011
*B
3269754
RAME
06/01/2011
*C
3352188
AJU
08/23/2011
*D
3697827
AJU
07/30/2012
*E
*F
3800059
4249034
MEMJ
MEMJ
11/02/2012
02/14/2014
with CE2.
*G
4410986
www.cypress.com
NILE
06/18/2014
No Updates
PSoC Solutions
Products
Automotive
cypress.com/go/automotive
psoc.cypress.com/solutions
cypress.com/go/clocks
Interface
cypress.com/go/interface
cypress.com/go/powerpsoc
cypress.com/go/plc
Memory
cypress.com/go/memory
cypress.com/go/ons
PSoC
cypress.com/go/psoc
Touch Sensing
cypress.com/go/touch
USB Controllers
cypress.com/go/usb
Wireless/RF
cypress.com/go/wireless
Technical Support
cypress.com/go/support
MoBL is the registered trademark 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-2014. 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