W H I T E P A P E R. Introduction. Devices. Energy Comparison of Cypress F-RAM and EEPROM

Similar documents
PSoC Creator Quick Start Guide

Digital Logic Gates. Features. General Description. Input/Output Connections. When to Use a Logic Gate. Input 1. Input 2. Inputs 3-8 * 1.

Digital Multiplexer and Demultiplexer. Features. General Description. Input/Output Connections. When to Use a Multiplexer. Multiplexer 1.

This input determines the next value of the output. The output does not change until the next rising edge of the clock.

Use the Status Register when the firmware needs to query the state of internal digital signals.

This section describes the various input and output connections for the SysInt Component.

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

Use the Status Register when the firmware needs to query the state of internal digital signals.

W H I T E P A P E R. Timing Uncertainty in High Performance Clock Distribution. Introduction

Use a DieTemp component when you want to measure the die temperature of a device.

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

Setting Oscillation Stabilization Wait Time of the main clock (CLKMO) and sub clock (CLKSO)

The AMuxSeq is capable of having between 2 and 32 analog inputs. The paired inputs are present when the MuxType parameter is set to "Differential.

PSoC 6 Current Digital to Analog Converter (IDAC7)

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0

PSoC 4 Current Digital to Analog Converter (IDAC)

Automatic reload of the period to the count register on terminal count

Capable of adjusting detection timings for start bit and data bit

Comparator (Comp) Features. General Description. When to use a Comparator Low input offset. User controlled offset calibration

CE CY8CKIT-042-BLE F-RAM Data Logger

ModusToolbox USB Configurator Guide

Cypress BLE-Beacon ios App User Guide

One 32-bit counter that can be free running or generate periodic interrupts

THIS SPEC IS OBSOLETE

EZ-PD Analyzer Utility User Guide

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

Analog Multiplexer (AMux) Features. General Description. Input/Output Connections. When to Use an AMux Single or differential connections

CE95314 PSoC 3, PSoC 4, and PSoC 5LP EZI2C

Optional Pause Pulse for constant frame length of 282 clock ticks

Supports a range of speeds of external memories (from 5 to 200 ns) Supports external memory power-down, sleep, and wakeup modes

Scanning Comparator (ScanComp) Features. General Description. Input/Output Connections. When to Use a Scanning Comparator. clock - Digital Input* 1.

FM3 Family Motor Graphical Interface User Manual

AN F²MC-16FX Family, I2C. Contents. 1 Introduction. This application note describes how to communicate via I2C with a Serial EEPROM.

F²MC-8FX Family MB95200H/210H Series Capacitance Touch Sensor

Nine-Output 3.3 V Buffer

Supports Analog, Digital I/O and Bidirectional signal types

BGM Adaptor MB E Operation Manual. 8FX Family 8-bit Microcontroller. Doc. # Rev. *A

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

Configurable transfer modes: single transfer, 1D transfer (using X loop) and 2D transfer (using both X and Y loops).

Chip Errata for the MB96300/MB96600 Series MOVS/MOVSW Overlap of source and destination region, F 2 MC-16FX Microcontroller

AN FR Family, MB91F467S Emulation. 1 Introduction. 2 Hardware Setup. 2.1 Required parts

Shift Register. Features. General Description 1.20

MB39C811-EVB-03. PMIC for Solar/Vibration Energy Harvesting, Evaluation Board Operation Guide. Doc. No Rev. *B

Version February 02, 2018

The Emulated EEPROM Component should be used to store nonvolatile data on a target device.

External Library. Features. General Description 1.0. The library provides documentation for external components

FM4 S6E2Cx Series Over The Air Update 32-Bit Microcontroller With Embedded Dual Flash

Use the Status Register when the firmware needs to query the state of internal digital signals.

EZ I2C Slave. Features. General Description. When to use a EZ I 2 C Slave Industry standard Philips I 2 C bus compatible interface

CY8CKIT-002. PSoC MiniProg3 Program and Debug Kit Guide. Doc. # Rev. *H

Sequencing Successive Approximation ADC (ADC_SAR_Seq) Features. General Description. When to Use the ADC_SAR_Seq Supports PSoC 5LP devices

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA

FM0+ Family S6E1A1 Series, Flash Programming Guide

Operational Amplifier (Opamp) Features. General Description. Input/Output Connections. Noninverting Analog Follower or Opamp configuration

Cypress HX2VL Configuration Utility Blaster User Guide

PSoC Creator 4.2 Production Release Notes

Cypress EZ-PD Configuration Utility User Manual

Use the Status Register when the firmware needs to query the state of internal digital signals.

Filter_ADC_VDAC_poll Example Project Features. General Description. Development Kit Configuration

PSoC 1 In-Circuit Emulator Development Kit Guide

Peripheral Driver Library (PDL) Component (PDL Application Programming Interface (API) only)

16-Mbit (512 K words 32 bits) Static RAM with Error-Correcting Code (ECC)

PSoC 4 Voltage Comparator (Comp) Features. General Description. When to Use Comparator Low input offset. User controlled offset calibration

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

PSoC 4 Operational Amplifier (Opamp) Features. General Description. When to Use the Opamp Follower or Opamp configuration

Master modes provide all functionality necessary to work in a multi-master environment.

Comparator (Comp) Features. General Description. When to use a Comparator 1.60

Writing to Internal Flash in PSoC 3 and PSoC 5

TI: Uses a short pulse on spi_select to indicate start of transaction. National Semiconductor (Microwire): Transmission and Reception occur separately

THIS SPEC IS OBSOLETE

8 to 1 Analog Multiplexer Datasheet AMux8 V 1.1. Features and Overview

Voltage Reference (Vref) Features. General Description. Input/Output Connections. When to Use a Vref Voltage references and supplies

HX2VL Development Kit Guide. Doc. # Rev. **

MB39C831-EVB-02 Thermal Energy Harvesting Evaluation Board Operation Guide

CY4701 EZ-USB GX3 Reference Design Guide

FM Universal Peripheral Driver Library Quick Start Guide

Hardware Design Guidelines for Using EZ-PD CCG3PA Devices in Power Adapter Applications

Next-Generation Hot-Swap Controllers

THIS SPEC IS OBSOLETE

CE56273 Associated Part Families: CY8C38xx/CY8C55xx Software: PSoC Creator Related Hardware: CY8CKIT-001 Author: Anu M D

HX2VL Development Kit Guide. Doc. # Rev. *A

CY7C603xx CYWUSB

4 to 1 Analog Multiplexer Data Sheet

PSoC 4 Low Power Comparator (LPComp) Features. General Description. When to Use a LPComp 2.0. Low input offset. User controlled offset calibration

AN SIO Tips and Tricks in PSoC 3 / PSoC 5. Application Note Abstract. Introduction

Preliminary. Gas Sensor Analog Front End Datasheet GasSensorAFE V Features and Overview. This datasheet contains Preliminary information.

For one or more fully configured, functional example projects that use this user module go to

Microphone Power Gating. Top. Back SPKR. Figure 1 Example Microphone Placement in a Mobile Phone

Reviving Bit-slice Technology in a Programmable Fashion

16-Mbit (1M words 16 bit) Static RAM

THIS SPEC IS OBSOLETE

Cypress HX2VL Configuration Utility Blaster User Guide

AN EZ-USB FX3 I 2 C Boot Option. Application Note Abstract. Introduction. FX3 Boot Options

4-Mbit (256K words 16 bit) Static RAM

Programmable Threshold Comparator Data Sheet

8-Mbit (512K words 16 bit) Static RAM with Error Correcting Code (ECC)

Supported Devices: CY8C28x13, CY8C28x33, CY8C28x43, CY8C28x45, CY8C28x52, CY8C21x45, CY8C22x45, CY8C24x93. CY8C24x

PSoC 1 I 2 C Bootloader

Transcription:

W H I T E P A P E R Harsha Medu, Applications Engineer Cypress Semiconductor Corp. Energy Comparison of Cypress and Abstract (Ferroelectric Random Access Memory) is a nonvolatile memory that uses a ferroelectric capacitor to store data. It offers higher write speeds and lower energy consumption than flash/. This white paper compares the energy consumption of the Cypress and under typical application scenarios. Introduction Ferroelectric Random Access Memory () is a truly nonvolatile RAM that combines the advantages of RAM and nonvolatile memory. is far superior to flash/ in write speed, endurance, and energy efficiency. Traditional nonvolatile memories derived from floating-gate technology use charge pumps to develop a high voltage on-chip (10 V or more) to force carriers through the gate oxide. As a result, there are long write delays, high write power, and the write operation is destructive to the memory cell. Floating-gate devices cannot support writes that exceed 10 6 accesses. To put this in perspective, a data recorder using that was recording data at 1 sample/s would wear out in fewer than 12 days. In comparison, the products offer virtually unlimited endurance (10 14 accesses). The is far superior to floating-gate devices in both write speed and power. For a typical serial with a clock rate of 20 MHz, it would take 5 ms to write 256 bits (32-byte page buffer) and 1283.6 ms to write to the entire 64 Kb. For an equivalent, it takes only 14 µs for 256 bits and just 3.25 ms to write to the entire 64 Kb. In addition, it requires 3900 µj to write 64 Kb for the, compared with 17 µj to write 64 Kb to an a difference of more than 229 magnitudes. The fast write speed and low energy consumption of makes it ideal for low-power applications, such as e-meters, wearable electronics, and battery-operated systems. To quantify the overall impact that has on energy consumption of practical systems, this paper considers different write/read scenarios and energy consumed is compared with that of an. Devices The following devices are used in the experiment. 64 Kb SPI from Cypress 64 Kb SPI from Atmel 2 Mb SPI from Cypress 2 Mb SPI from ST Energy Comparison of Cypress and 001-94664 Rev. *A October 2017

2 Cypress Semiconductor Corp. Test Methodology Test Flow The energy consumed to write a byte is calculated by measuring the write currents. The write currents of and are measured by continuously writing one byte of data to each and, respectively. While is a no-delay (or zero-delay) write, requires a delay equivalent to its program time to successfully complete the write. The average current measured is the write current. Similarly, the read current is obtained by looping in read continuously. Figure 1. and Energy Measurement Test Flow F- RAM Write a Byte to Write a Byte to Wait for Program Time Test Setup The test setup requires a simple read/write capability from the device. To achieve this, use a PSoC [1] 4 development kit (CY8CKIT-042 PSoC 4 Pioneer Kit). PSoC 4 is interfaced to the or through a serial peripheral interface (SPI). A digital multimeter (DMM) is inserted in series with the device supply to measure the device current. Figure 2. Energy Measurement Test Setup V DD PSoC 4 SPI / DMM Measurements The following measurements are made from the test setup. The consumes more current during both write (including program cycle) and read operation when compared to. Current Function Cypress (FM25CL64B) Table 1. Current Measurement Data 64 Kb 2 Mb (AT25640B) Cypress (FM25V20A) (M95M02-DR) Write Current 77.1 33 130 333 µa Program Current - 2600 (for 1.5 ms) - 275 (for 6.25 ms) µa Read Current 82 640 122 240 µa Standby Current 1.35 0.62 87 0.34 µa Sleep Current - - 2 - µa Wakeup Current - - 920 (for 385 µs) - µa Unit Note: 1. PSoC (Programmable System-on-Chip) is a highly programmable embedded design platform, based on flexible and open hardware, combined with easy-to-use, free software Energy Comparison of Cypress and 001-94664 Rev. *A October 2017

3 Cypress Semiconductor Corp. Analysis To obtain the energy consumption, plug the measurement into different use cases. Consider a 64 Kb use case in which a single byte of data is written continuously. A single byte of data written would have an overhead of four bytes (1-byte write enable command, 1-byte write command and 2-byte address). Therefore, at a 1-MHz clock frequency, the total write time is 40 µs. The has an added program time (approx. 1500 µs). In summary, a complete 1-byte write takes 1540 µs in but only 40 µs in. During write, an consumes an average current of 2600 µa, while consumes an average current of 77.1 µa. The current is high in because a write involves erase and program cycles. Because of these factors, the total energy required to write a byte is very low in F- RAM compared to that of. requires only 0.01 µj, while requires 13.21 µj, resulting in an advantage of the order of 1321 for. For detailed energy calculations, see Table 2. Parameter Table 2. Energy Calculations for a 1-Byte Write in 64Kb and Supply Voltage (VDD) 3.3 3.3 V Active Write Current (µa) 77.1 2600 IWR Clock Frequency (MHz) 1 1 Freq Units; Calculation Clock Cycle Time (µs) 1 1 tclk = 1/Freq No. of Overhead Bytes 4 4 Obytes No. of Data Bytes 1 1 Dbytes Write / Program Time (µs) 0 1500 twc Total Write Time 40 1540 twrite = tclk* (Obytes + Dbytes) *8 + twc Memory Write Charge (µc) 0.003 4.004 QWR = IWR * twrite Total Energy for 1-Byte Write 0.01 13.21 E = QWR * V Energy Advantage 1321 E / EFRAM In Table 2, the application logs 1 byte of data continuously. In a practical application, data is measured periodically and logged. The energy comparison of 1-byte data logging at every 100 ms in and is shown in Table 3. Table 3. Energy Calculations for a 1-Byte Write Every 100 ms in 64 Kb and Parameter Supply Voltage (VDD) 3.3 3.3 V Active Write Current (µa) 77.1 2600 IWR Standby Current (µa) 1.35 0.62 ISB Loop Time (µs) 100000 100000 tloop Clock Frequency (MHz) 1 1 Freq Units; Calculation Clock Cycle Time (µs) 1 1 tclk = 1/Freq No. of Overhead Bytes 4 4 Obytes No. of Data Bytes 1 1 Dbytes Write / Program Time (µs) 0 1500 twc Energy Comparison of Cypress and 001-94664 Rev. *A October 2017

Power (μw) ENERGY ADVANTAGE 4 Cypress Semiconductor Corp. Parameter Units; Calculation Total Write Time (µs) 40 1540 twrite = tclk* (Obytes + Dbytes) *8 + twc Standby Time (µs) 99,960 98,460 tsb = tloop - twrite Memory Write Charge (µc) 0.003 4.004 QWR = IWR * twrite Memory Standby Charge (µc) 0.135 0.061 QSB = ISB * tsb Total Charge (µc) 0.138 4.065 Q = QWR + QSB Total Energy 0.456 13.41 E = Q * V Power (µw) 4.56 134.1 P = E / tloop Energy Advantage 29 E / EFRAM For a 1-byte write at a 100-ms measurment rate, consumes only 4.56 µw, while an consumes 134.1 µw, resulting in an advantage in the order of 29 for. Therefore, for a given periodicity (measurement frequency), offers a significant power advantage over, as Figure 3 shows. For battery-powered sensor nodes, the energy reduction results in less frequent battery changes. In some cases, it can eliminate the need for battery changes. On the other hand, for a given power budget, allows measurements to be taken significantly more often. In such systems, use of nonvolatile memory is required because the power supply may be intermittent, and offers a performance advantage. In Figure 3, the graph shows that a system power budget of 10 µw limits the measurement rate of writes to to slower than once every 1.66 second, while writes to allow the same measurements to happen faster than once every 1.80 millisecond. This is a performance advantage by a factor of 920. enables a wide variety of practical systems to log data more frequently and reduce the system energy consumption at the same time. Figure 3. Power Comparisons of and During a 1-Byte Data Write 100,000 10,000 1,000 100 64Kb 64Kb 10 PERFORMANCE ADVANTAGE 1 0.1 1 10 100 1000 Measurement Frequency (Hz) Energy Comparison of Cypress and 001-94664 Rev. *A October 2017

Energy Advantage ( Energy) 5 Cypress Semiconductor Corp. Figure 4 shows the energy advantage of over at different measurement frequencies. Figure 4. Energy Advantage of over During a 1-Byte Data Write 1000 410 625 243 914 109 100 29 57 12 10 6 3 2 1 0.8 1 0.1 1 10 100 1000 0 Measurement Frequency (Hz) Extending the exercise in Table 3, Table 4 summarizes the energy consumption for other practical scenarios. Table 4. Energy Consumption in Different Practical Scenarios 64 Kb Device 2 Mb Device Function Energy FM25CL64B AT25640B vs. (Ratio) FM25V20A M95M02-DR vs. (Ratio) Write Full Memory [ 2 ] 17.0 3.9 x 10 3 229.4 900.0 7.7 x 10 3 8.6 Write 1 byte every 100 ms with standby during idle [ 3 ] Write 1 byte every 100 ms with put to sleep during idle [ 4 ] 0.5 13.1 29 28.7 5.8 0.2 - - - 1.8 5.8 3.2 Read Full Memory [ 5 ] 17.7 138.5 7.8 844.0 1.7 x 10 3 2.0 Write-Read 1 byte (full memory) [ 6 ] 154.3 108.8 x 10 3 705.1 9.6 x 10 3 1.5 x 10 6 156.3 Notes: 2. Energy = Energy for 1-byte write enable command + Energy for writing 1-byte command + Energy for writing 2-byte / 3-byte address + (Energy for writing 1 byte of data * Total number of bytes) 3. Energy = Energy for 1-byte write enable command + Energy for writing 1-byte command + Energy for writing 2-byte / 3-byte address + Energy for writing 1 byte of data + Energy consumed during 100 ms of standby mode 4. Energy = Energy for 1-byte write enable command + Energy for writing 1-byte command + Energy for writing 2-byte / 3-byte address + Energy for writing 1 byte of data + Energy consumed during 100 ms of Sleep Mode (For standby mode) 5. Energy = Energy for writing 1-byte command + Energy for writing 2-byte / 3-byte address + (Energy for reading 1 byte of data * Total number of bytes) 6. Energy = Energy for 1-byte write enable command + Energy for writing 1-byte command + Energy for writing 2-byte / 3-byte address + Energy for writing 1 byte of data + Energy for writing 1-byte command + Energy for writing 2-byte / 3-byte address + Energy for reading 1 byte of data Energy Comparison of Cypress and 001-94664 Rev. *A October 2017

6 Cypress Semiconductor Corp. Conclusion Quantifying the energy consumption in different practical scenarios proves that the Cypress is a superior low-energy solution in nonvolatile memory. The values measured are typical values at room temperature. In addition, at the datasheet spec limits, remains the lowest-energy solution, demonstrating its considerable advantage over. Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 www.cypress.com Cypress Semiconductor Corporation, 2014-2017. This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC ( Cypress ). This document, including any software or firmware included or referenced in this document ( Software ), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-exclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress s patents that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software is prohibited. TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this information and any resulting product. Cypress products are not designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weapons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other uses where the failure of the device or system could cause personal injury, death, or property damage ( Unintended Uses ). A critical component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products. You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products. Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB,, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners. Energy Comparison of Cypress and 001-94664 Rev. *A October 2017