Comparing Low Density SPI EEPROM with Macronix Serial NOR Flash

Similar documents
Macronix OctaFlash Serial NOR Flash White Paper

FM25F01 1M-BIT SERIAL FLASH MEMORY

ACE25QA512G 512K BIT SPI NOR FLASH

BY25D10/05. Features. Boya Microelectronics Memory Series 1M/512K BIT SPI NOR FLASH

FM25F04A 4M-BIT SERIAL FLASH MEMORY

A25L512A Series. 512Kbit Low Voltage, Serial Flash Memory With 100MHz Uniform 4KB Sectors. Document Title. Revision History. AMIC Technology Corp.

Comparing JTAG, SPI, and I2C

LH28F320S3TD-L M-bit (2 MB x 8/1 MB x 16 x 2-Bank) Smart 3 Dual Work Flash Memory DESCRIPTION FEATURES LH28F320S3TD-L10

LH28F800SG-L/SGH-L (FOR TSOP, CSP)

BYTE-WIDE SmartVoltage FlashFile MEMORY FAMILY 4, 8, AND 16 MBIT

LH28F160S3-L/S3H-L. 16 M-bit (2 MB x 8/1 MB x 16) Smart 3 Flash Memories (Fast Programming) DESCRIPTION FEATURES LH28F160S3-L/S3H-L

5 VOLT FlashFile MEMORY

V6118 EM MICROELECTRONIC - MARIN SA. 2, 4 and 8 Mutiplex LCD Driver

LH28F160SGED-L M-bit (512 kb x 16 x 2-Bank) SmartVoltage Dual Work Flash Memory DESCRIPTION FEATURES LH28F160SGED-L10

3 VOLT FlashFile MEMORY

Is Now Part of To learn more about ON Semiconductor, please visit our website at

PEEL 18CV8-5/-7/-10/-15/-25 CMOS Programmable Electrically Erasable Logic Device

WORD-WIDE FlashFile MEMORY FAMILY 28F160S3, 28F320S3

USER MANUAL Nokia 5110 LCD

L9822E OCTAL SERIAL SOLENOID DRIVER

PRODUCT SPECIFICATIONS. Integrated Circuits Group LH28F160BJHE-TTL90. Flash Memory 16M (1MB 16 / 2MB 8) (Model No.: LHF16J04)

ProMOS. Bravo1601. Stand-alone BLE SMD Modules. Datasheet (V1.0) ProMOS Co., Ltd. IoT Solutions Provider.

Table 1. EBI Bus Control Signals

MT8806 ISO-CMOS 8x4AnalogSwitchArray

74F273 Octal D-Type Flip-Flop

ADC Peripheral in Microcontrollers. Petr Cesak, Jan Fischer, Jaroslav Roztocil

Obsolete Product(s) - Obsolete Product(s)

Technical Note. Migrating from Micron M29EW Devices to MT28EW NOR Flash Devices. Introduction. TN-13-37: Migrating M29EW to MT28EW NOR Flash Devices

RF4432 wireless transceiver module

L, LTC, LTM, LT are registered trademarks of Linear Technology Corporation. Other product

Sitronix ST CH Segment Driver for Dot Matrix LCD. !"Dot matrix LCD driver with two 40 channel

2.13inch e-paper HAT (D) User Manual

LY62L K X 16 BIT LOW POWER CMOS SRAM

USE GAL DEVICES FOR NEW DESIGNS

S6B CH SEGMENT DRIVER FOR DOT MATRIX LCD

Is Now Part of To learn more about ON Semiconductor, please visit our website at

PALCE26V12 Family. 28-Pin EE CMOS Versatile PAL Device DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION FINAL COM L: H-7/10/15/20 IND: H-10/15/20

3 Volt Intel StrataFlash Memory

VFD Driver/Controller IC

DP8212 DP8212M 8-Bit Input Output Port

MT x 12 Analog Switch Array

SA9504 Dual-band, PCS(CDMA)/AMPS LNA and downconverter mixers

74F574 Octal D-Type Flip-Flop with 3-STATE Outputs

PRODUCT/PROCESS CHANGE NOTIFICATION

LH28F160BG-TL/BGH-TL PRELIMINARY

74F377 Octal D-Type Flip-Flop with Clock Enable

HT9B92 RAM Mapping 36 4 LCD Driver

HCS08 SG Family Background Debug Mode Entry

RF4432F27 wireless transceiver module

MC54/74F568 MC54/74F569 4-BIT BIDIRECTIONAL COUNTERS (WITH 3-STATE OUTPUTS) 4-BIT BIDIRECTIONAL COUNTERS (WITH 3-STATE OUTPUTS)

BAL-NRF01D3. 50 ohm balun transformer for 2G45 ISM matched Nordic s chipset: nrf24le1 QFN32, nrf24ap2-1ch and nrf24ap2-8ch. Features.

ABOV SEMICONDUCTOR 11 SEGMENT X 7 GRID LED DRIVER WITH KEYSCAN MC2302. Data Sheet (Ver. 1.20)

DA CHANNEL AES AUDIO MIXER/ ROUTER MODULE

JTAG Test Controller

SiI9244 MHL Transmitter with HDMI Input

ABOV SEMICONDUCTOR 10 SEGMENT X 7 GRID LED DRIVER WITH KEYSCAN MC2102. Data Sheet (Ver. 1.21)

SignalTap Plus System Analyzer

2 CHANNEL RECEIVER DISPLAY POTENTIOMETER COM2 NC2 NO2

XFP Bi-Directional 10G 20Km 1270/1330nmTx / 1330/1270nmRx SLXFB-XXXX-20

RX40_V1_0 Measurement Report F.Faccio

Integrated Circuit for Musical Instrument Tuners

Product Specification PE4151

M24LR04E-R, M24LR16E-R, M24LR64E-R Errata sheet

O P E R A T I O N M A N U A L. RF-Reader. Stand-alone-Reader Leser 2plus with RS-232 interface

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI

with Internal Decoding and Quiet Series I O Buffers

DATASHEET HA457. Features. Applications. Ordering Information. Pinouts. 95MHz, Low Power, AV = 2, 8 x 8 Video Crosspoint Switch

APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE

Lead free and RoHS package. High reduction of parasitic elements through integration Complies with IEC level 4 standards:

Entry Level Tool II. Reference Manual. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408) Version : 1.0.

64CH SEGMENT DRIVER FOR DOT MATRIX LCD

LambdaFLEX Tunable XFP Module

QSB34GR / QSB34ZR / QSB34CGR / QSB34CZR Surface-Mount Silicon Pin Photodiode

ASNT_PRBS20B_1 18Gbps PRBS7/15 Generator Featuring Jitter Insertion, Selectable Sync, and Output Amplitude Control

10G BiDi XFP 10km Optical Transceiver GBX-xxxx192-LRC

Enable input provides synchronized operation with other components

UltraLogic 128-Macrocell Flash CPLD

Nuvoton Touch Key Series NT086D Datasheet

Product Specification XFP 10G LR 20km LC Optical Transceiver

WF61 Datasheet. Amp ed RF Technology, Inc.

TimeView Display. Operating Manual

ST25TV02K ST25TV512. NFC Type 5 / RFID tag IC with EEPROM up to 2-Kbit, product identification and protection. Features

SMPTE-259M/DVB-ASI Scrambler/Controller

C-MAX. CMM-9301-V3.1S Bluetooth 4.0 Single Mode HCI Module. Description. 1.1 Features

Evaluation Board for CS4954/55

This document describes a program for 7-segment LED display (dynamic lighting) and key matrix and input.

FX-1310-F10 10Gbps XFP Optical Transceiver, 10km Reach

Ocean Sensor Systems, Inc. Wave Staff, OSSI F, Water Level Sensor With 0-5V, RS232 & Alarm Outputs, 1 to 20 Meter Staff

DLP Pico Chipset Interface Manual

MACH220-10/12/15/20. Lattice Semiconductor. High-Density EE CMOS Programmable Logic DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM

4-BIT PARALLEL-TO-SERIAL CONVERTER

WF60 Datasheet. Amp ed RF Technology, Inc.

NS8050U MICROWIRE PLUSTM Interface

MSP430-HG2231 development board Users Manual

NOT RECOMMENDED FOR NEW DESIGNS ( 1, 2/3) OR ( 2, 4/6) CLOCK GENERATION CHIP

LED Driver IC IK2108A TECHNICAL DATA. Description

SmartSwitch TM. Wide View Compact LCD 64 x 32 Pushbutton DISTINCTIVE CHARACTERISTICS PART NUMBER & DESCRIPTION

HCF4027B DUAL J-K MASTER SLAVE FLIP-FLOP

General purpose low noise wideband amplifier for frequencies between DC and 2.2 GHz

Transcription:

Comparing Low Density SPI EEPROM with Macronix Serial NOR Flash 1. Introduction This application note serves as a guide to compare low density SPI EEPROM with Macronix 512Kb low density Serial NOR Flash. The application note does not apply to I2C EEPROMs. Due to architecture differences, EEPROM and Flash memory require different sequences to program data into their memory array. EEPROM Write and Erase operations are performed on a byte-per-byte basis with only one command. When using flash memory however, the system must use two different commands to complete program operations. Flash memory requires a sector erase, block erase or chip erase to be completed before programming data into the memory array. In this application note, the Macronix Serial NOR Flash and Microchip SPI EEPROM are used for comparison. The document does not provide detailed information on each individual device, but highlights the similarities and differences between them. The comparison covers the general features, performance, command codes, and other differences. Newer versions of the datasheets may override the contents of this document. 2. Features Macronix Serial NOR Flash and SPI EEPROM have similar features and functions as shown in Table 2-1. Significant differences are highlighted in blue and may require special considerations. Table 2-1: Feature Comparison Type / Function Macronix Serial NOR Flash Microchip SPI EEPROM Supply Voltage Range 2.35V-3.6V 1.8V-5.5V Fast Read (1-1-1) 1 - Dual Output (1-1-2) 1 - Normal Read Clock Frequency 33MHz 5~20MHz 2 Fast Read Clock Frequency (x1) 75MHz - Sector Size 4KB - Program Buffer Size 256Byte 64Byte HOLD# Pin Block Protection Mode Endurance (Program/Erase Cycles) 3 100K 1M Data Retention (min.) 20Yr 100Yr 8-USON (2x3mm) - Packages 8-TSSOP (173mil) 8-SOP (150mil) 8-VFBGA - Notes: 1. x-y-z in I/O mode indicates the number of active pins used for op-code(x), address(y) and data(z). 2. 5MHz at VCC = 1.8V-5.5V to 20MHz with restricted voltage range = 4.5V-5.5V. 3. Microchip endurance characterized at 3.3V, 25C, Page Mode. Macronix endurance per 4KB sector. Publication Number: AN- 0254 1

3. Key Feature and Operational Differences This section will describe some of the key features and operational differences in depth. 3-1. Programming SPI EEPROMs do not require an erase before a write data operation. However, the Macronix Serial NOR Flash does require an erase before program data operation. This will require firmware modification as even a single byte write to Serial NOR Flash will require at least a 4KB sector to be erased first, followed by a re-write of the entire sector. A read-modify-write scheme may need to be utilized where the sector is first read to an external buffer where data is modified, the sector is erased, and the modified data is rewritten to the flash. SPI EEPROM receives command 02h for a programming operation directly after a 06h Write Enable command is issued. The must utilize an Erase command such as Sector Erase(20h), Block Erase(52h/D8h), or Chip Erase(60h/C7h) before a Page Programming command (02h). The Sector Erase command (20h) erases 4K bytes. After the sector erase operation is done, all of the data within the erased sector are FFh. The system can then issue the Program command (02h) to program one or more bytes (maximum is one page or 256 bytes) anywhere in the sector. Additional bytes may be programmed later to unused locations in the same sector without another erase operation. Because the flash memory array is comprised of one 64KB block (subdivided into sixteen 4KB sectors) the Block Erase and Chip Erase commands (60h/C7h) can be used interchangeably, as they both erase the entire chip (64KB = 512Kb). A Block Erase performs the same function as Sector Erase, but the erased area is increased from 4K bytes to 64K bytes. After the block erase operation (52h/D8h) is done, all data within the erased block/chip are FFh. Again, the system can then issue a Program command (02h) to program one or more bytes (maximum is one page or 256 bytes) anywhere in the block/chip. Additional bytes may be programmed later to unused locations in the same block/chip without another erase operation. The Serial NOR Flash Erase and Program Flow is shown in Figure 3-1. 3-2. ID command Some SPI EEPROM devices do not support the read identification command. supports the Read ID command (9Fh) and returns the Macronix Manufacturer ID of C2h and Memory Type ID 20h. Table 3-1: Manufacturer and Device ID Comparison ID Type Macronix Serial NOR Flash Microchip SPI EEPROM Manufacture ID C2h N/A Memory Type 20h N/A Device ID Memory Density 10h N/A Publication Number: AN- 0254 2

Figure 3-1: Serial NOR Flash Erase and Program Flow Start * Assumes device is idle and no error conditions exist WREN command RDSR command WEL = 1? No * Check Status Register bit-1 Program command+addr+data or Erase command+addr * No Addr required for Chip Erase RDSR command WIP and WEL = 0? Read Array Data (same addr of PGM/ERS) No * Check Status Reg. bits 1 and 2 Verify OK? No Program/Erase successful Program/Erase fail Program/Erase another block? Program/Erase completed End Publication Number: AN- 0254 3

4. Package and Pinout Comparison Both device types are available in 150mil 8-SOP and 173mil 8-TSSOP packages with similar footprints and pinouts as shown in Table 4-1. Table 4-1: Package Pin Comparison 8-SOP and 8-TSSOP CS# CS# 1 8 VCC VCC SO/SIO1 SO 2 7 HOLD# HOLD# WP# WP# 3 6 SCK SCLK GND GND 4 5 SI SI/SIO0 Publication Number: AN- 0254 4

5. Performance Tables 5-1 and Table 5-2 show AC and DC information for the two devices. Table 5-1: AC Parameter Comparison Symbol Parameter Macronix Microchip Condition Macronix Microchip Supply Voltage Range - - - 2.35V -3.6 V 1.8V 5.5V Normal Read Frequency - - - 25MHz 5~20MHz Fast Read Frequency - - 1 I/O 75MHz - Clock High/Low Time tch/tcl twh/twl min 6~13ns 20~80ns Clock Low to Output Valid tclqv tv max@10pf 6ns 20~80ns Data In Setup Time tdvch tsu min 2ns 5~20ns Data In Hold Time tchdx th min 5ns 5~30ns Page Program Time tpp twc typ 0.7ms - max 1ms 5ms Sector Erase (4KB) Time tse - typ 60ms - max 300ms - Block Erase (64KB) Time and Chip Erase Time tbe / tce - typ 0.5s - max 1s - Parameter Table 5-2: DC Parameter Comparison Symbol Condition Macronix Microchip Macronix Microchip Leakage Current ILI/ILO IIL/IOL max. +/- 2uA +/-3 ua Standby Current ISB1 ISB3 max 25uA 5uA Deep Power Down Current ISB2 - typ 5uA - max 10uA - max @ 20MHz - 10mA VCC Read Current ICC1 ICC1 max @ 33MHz 4mA - max @ 66MHz 10mA - VCC Program Current ICC2 ICC2 max 20mA 7mA VCC Write Status Register Current ICC3 - max 15mA - VCC Sector Erase Current ICC4 - max 15mA - VCC Chip Erase Current ICC5 - max 20mA - Publication Number: AN- 0254 5

6. Command Code Table 6-1: Command Code Comparison Command Symbol Description Macronix Microchip RDID Read Identification 9Fh - RES Read Electronic ID ABh - ID Read Read Electronic Manufacturer REMS 90h - & Device ID READ Read Data 03h 03h Read FAST READ Fast Read (1-1-1) 0Bh - READ SFDP Read SFDP ( only) 5Ah - SE Sector Erase (4KB) 20h - Erase BE (64K) Block Erase (64KB) 52h/D8h - CE Chip Erase 60h/C7h - Program PP Page Program 02h 02h WREN Write Enable 06h 06h Mode Register WRDI Write Disable 04h 04h DP Deep Power Down B9h - RDP Release from Deep Power Down ABh - WRSR Write Status Register 01h 01h RDSR Read Status Register 05h 05h 7. Summary Macronix Serial NOR Flash and Microchip SPI EEPROM have similar commands, functions, features, supported package types and pinout definitions. The primary difference that needs to be accommodated is that SPI EEPROM does not require an erase before a write data operation while flash does. This will require firmware modification as even a single byte write to Serial NOR Flash will require at least a 4KB sector to be erased first, followed by a re-write of the entire sector. A read-modify-write scheme may need to be utilized where the sector is 1 st read to an external buffer where data is modified, the sector is erased, and the modified data is rewritten to the flash. 8. References Table 8-1 shows the datasheet versions used for comparison in this application note. For the most current, detailed Macronix specification, please refer to the Macronix Website at http://www.macronix.com Table 8-1: Datasheet Version Datasheet Location Date Issued Version Macronix Website May 2013 1.1 Microchip Website Aug. 2011 8698C 9. Revision History Revision Date Description 01 July 1, 2013 Initial Release 2 January 22, 2018 1. Updated the numbering format to align with the new internal rule. 2. Title and copyright description modification, added "Macronix Proprietary". Publication Number: AN- 0254 6

Except for customized products which have been expressly identified in the applicable agreement, Macronix's products are designed, developed, and/or manufactured for ordinary business, industrial, personal, and/or household applications only, and not for use in any applications which may, directly or indirectly, cause death, personal injury, or severe property damages. In the event Macronix products are used in contradicted to their target usage above, the buyer shall take any and all actions to ensure said Macronix's product qualified for its actual use in accordance with the applicable laws and regulations; and Macronix as well as it s suppliers and/or distributors shall be released from any and all liability arisen therefrom.. Copyright Macronix International Co., Ltd. 2013-2018. All rights reserved, including the trademarks and tradename thereof, such as Macronix, MXIC, MXIC Logo, MX Logo, Integrated Solutions Provider, Nbit, Macronix NBit, HybridNVM, HybridFlash, HybridXFlash, XtraROM, KH Logo, BE-SONOS, KSMC, Kingtech, MXSMIO, Macronix vee, Macronix MAP, RichBook, Rich TV, OctaRAM, OctaBus, OctaFlash, and FitCAM. The names and brands of third party referred thereto (if any) are for identification purposes only. For the contact and order information, please visit Macronix s Web site at: http://www.macronix.com Publication Number: AN- 0254 7