APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 1. Introduction Macronix offers MX29GL_E high performance parallel flash in densities from 32Mb to 512Mb. MX29GL_E and Spansion® S29GL_N devices have similar features, performance, and command codes. This application note explains how to accommodate minor device differences when migrating from Spansion® S29GL_N devices to equivalent Macronix MX29GL_E parallel flash products from densities of 32Mb to 64Mb. The information in this document is based on datasheets listed in Section 11. Newer versions of the datasheets may override the contents of this document. 2. General Features Both flash device families have similar features and functions as shown in Table 2-1. Table 2-1: Features Type / Function VCC Voltage Range I/O Voltage Range Macronix MX29GL_E 2.7V ~ 3.6V 2.7V ~ 3.6V Spansion® S29GL_N 2.7V ~ 3.6V 2.7V ~ 3.6V 1.65V ~ 3.6V (*1) Bus Width Sector Uniform Size Top/Bottom Page Read Buffer Write Buffer x16 / x8 x16 / x8 64KB 64KB 8KB, 64KB 8KB, 64KB 8Words / 16Bytes 8Words / 16Bytes 16Words / 32Bytes 16Words / 32Bytes Highest/Lowest Address Highest/Lowest Address Uniform Sector Protected Sector Protected WP# Pin Function Top/Bottom Two Address Top/Bottom Two Address Top/Bottom Sectors Protected Sectors Protected Password (64bits) Password (64bits) Software Protected Mode Solid Protection*2 Persistent Protection*2 OTP Security Region 128Words / 256Bytes 128Words / 256Bytes CFI Compliant Yes Yes Manufacture ID C2h 01h Uniform 227E/221D/2200 227E/221D/2200 32Mb Top/Bottom 227E/221A/2200 (2201: Top) 227E/221A/2200 (2201: Top) Device ID Uniform 227E/220C/2201 227E/220C/2201 64Mb Top/Bottom 227E/2210/2200 (2201: Top) 227E/2210/2200 (2201: Top) Notes: ® 1. Spansion offer VI/O = 1.65 ~ Vcc, Vcc = 2.7 ~ 3.6V as a “V” model option with 110ns speed. 2. Persistent Protection and Solid Protection both provide the same Non-volatile Protection. P/N: AN-0220 1 Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 3. Package and Pinout Current package offerings are shown in Table 3-1. Table 3-1: Package Options Package 56-TSOP (14x20mm) 64-LFBGA (11x13mm) 48-TSOP (12x20mm) 48-LFBGA (6x8mm) 64-FBGA (9x9mm) Macronix MX29GL_E Yes Yes Yes Yes - Spansion® S29GL_N Yes Yes Yes Yes The Macronix and Spansion® families have identical footprints and pinouts. The 64Mb TSOP56 is shown below for comparison. 56-TSOP (14x20mm) NC NC A15 A14 A13 A12 A11 A10 A9 A8 A19 A20 WE# RESET# (NC on 320E) A21 WP#/ACC RY/BY# A18 A17 A7 A6 A5 A4 A3 A2 A1 NC NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 MX29GL_E 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 NC NC NC NC A16 A15 BYTE# A14 GND A13 Q15/A-1 A12 Q7 A11 Q14 A10 Q6 A9 Q13 A8 Q5 A19 Q12 A20 Q4 WE# VCC RESET# Q11 (NC on 032N) A21 Q3 WP#/ACC Q10 RY/BY# Q2 A18 Q9 A17 Q1 A7 Q8 A6 Q0 A5 OE# A4 GND A3 CE# A2 A0 A1 NC NC VI/O NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 S29GL_N 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 NC NC A16 BYTE# VSS DQ15/A-1 DQ7 DQ14 DQ6 DQ13 DQ5 DQ12 DQ4 VCC DQ11 DQ3 DQ10 DQ2 DQ9 DQ1 DQ8 DQ0 OE# VSS CE# A0 NC VIO Macronix GND (Pin 52, Pin 33) = Spansion VSS ( Pin 52, Pin 33) P/N: AN-0220 2 Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 4. Command Set and Firmware Basic commands and write status checking methods are the same. 4-1 Basic Commands MX29GL_E and S29GL_N have the same basic command set. The Read operation and Write command could be used directly without any modification. Table 4-1 shows the command set in Word mode. Table 4-1: Basic Commands (Word Mode) Basic Command Table of MX29GL_E and S29GL_N Read Reset Program Write to Buffer Chip Erase Sector Erase Program/Erase Suspend Program/Erase Resume Addr Addr XXX 555h 555h 555h 555h XXX XXX Data Data F0h AAh AAh AAh AAh B0h 30h Addr 2AAh 2AAh 2AAh 2AAh Data 55h 55h 55h 55h Addr 555h SA 555h 555h Data A0h 25h 80h 80h Addr Addr SA Command st 1 Bus Cycle nd 2 Bus Cycle rd 3 Bus Cycle th 4 Bus Cycle th 5 Bus Cycle th 6 Bus Cycle Data Data *1 555h 555h *2 AAh AAh *3 2AAh 2AAh *4 55h 55h N-1 Addr WA Data WD Addr WBL 555h SA WD 10h 30h Data Note: 1. SA: Sector Address 2. N-1: Word Count 3. WA: Write Address 4. WD: Write Data 5. WBL: Write Buffer Location P/N: AN-0220 *5 3 Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 5. Electrical Characteristics There are minor differences in DC characteristics. Spansion’s Standby current is similar to the Macronix Deep Power Down current. Table 5-1: Read / Write Current DC Characteristic Condition typ @ 5MHz Read Current max @ 5MHz Page Read Current max Deep Power Down typ typ Standby Current max typ Write Current max Macronix MX29GL_E 30mA 50mA 20mA @ 33MHz 10uA 30uA 100uA 26uA 30uA Spansion® S29GL_N 25mA 30mA 20mA @ 33MHz N/A 1uA 5uA 50uA 60uA Table 5-2 shows that both flash families have similar input sink and output drive characteristics. The only significant difference is the Very High Voltage range (for accelerated programming) which may damage the flash device if the maximum level is exceeded. Off-line programmers may account for this and it is listed in the CFI Table as well at word addresses 4Dh and 4Eh. Table 5-2: Input / Output Voltage DC Characteristic Condition Very High Voltage - Macronix MX29GL_E 9.5V ~ 10.5V Spansion® S29GL_N 11.5V ~ 12.5V min -0.1V -0.1V max 0.3VI/O 0.3VI/O min 0.7VI/O 0.7VI/O max VI/O+0.3V VI/O+0.3V Output Low Voltage max 0.45V 0.15 x VIO Output High Voltage min 0.85VI/O 0.85VI/O Input Low Voltage Input High Voltage P/N: AN-0220 4 Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 6. Erase and Programming Performance Table 6-1 and 6-2 show MX29GL_E and S29GL_N series have similar Read/Write performance. Table 6-1: AC Characteristics Description Parameter Taa Tpa Tce MX29GL_E Type Random Read Access Time max max Page Access Time Valid data output after CE# low max S29GL_N Unit 64Mb 32Mb 64Mb 32Mb 70 25 70 25 90 25 90 25 ns ns 70 70 90 90 ns Note: Spansion S29GL_N spec is based on 90ns speed, 110ns speed with VI/O function is not included. Table 6-2: Write Function Performance (Program and Erase) Write Function Macronix MX29GL_E Spansion® S29GL_N Write Buffer Program time 100us 240us Word Program time 11us 60us Sector Erase time 0.6s 0.5s 32Mb 32s 32s Chip Erase time 64Mb 60s 64s Write/Erase Cycles (Endurance) 100,000 100,000 Note: Values provided in Table 6-2 are “typical” values. P/N: AN-0220 5 Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 7. H/W Reset# Pin Timing Macronix and Spansion both offer a Hardware Reset function. The operation is the same but minor changes to timing may be needed (Table 7-1). See datasheets for detailed timing waveforms. Table 7-1: Reset# Timing H/W Timing Characteristic Macronix MX29GL_E Spansion® S29GL_N tRH or tPHEL/tPHGL (Reset# High Time before Read) tRP or tPLPH Reset# Pulse Width Auto Algorithm Mode Timing* tReady or tPLRH Reset# Low to Read or Write tRP or tPLPH Non-Auto Reset# Pulse Width Algorithm Mode tReady * Timing Reset# Low to Read or Write 200ns (min) 50ns (min) 10us (min) 500ns (min) 20us (max) 20us (max) 500ns (min) 500ns (min) 500ns (max) 500ns (max) * Macronix defines different reset timing between auto and non-auto algorithm; Spansion defines same value in both. 8. Memory Organization The memory and sector architecture of the MX29GL-E is identical to the S29GL_N. P/N: AN-0220 6 Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 9. Manufacturer ID and Device ID Command Manufacturer IDs are different and permits software to identify the device manufacturer, but Device IDs are the same. The same command set is used read the different Manufacturer IDs. Table 9-1: Manufacturer and Device ID Command Definitions Flash Vender st 1 Bus Cycle (command) 2nd Bus Cycle (command) 3rd Bus Cycle (command) 4th Bus Cycle (ID output) 5th Bus Cycle (ID output) 6th Bus Cycle (ID output) Address Data Address Data Address Data Address Data Address Manufacturer ID Device ID MX29GL_E S29GL_N MX29GL_E S29GL_N 555h AAh 2AAh 55h 555h 90h X00h C2h 555h AAh 2AAh 55h 555h 90h X00h 01h 555h AAh 2AAh 55h 555h 90h X01h 227Eh X0Eh 221Dh/221Ah(32Mb) 220Ch/2210h(64Mb) X0Fh 2201h/2200h 555h AAh 2AAh 55h 555h 90h X01h 227Eh X0Eh 221Dh/221Ah(32Mb) 220Ch/2210h(64Mb) X0Fh 2201h/2200h Data Address Data Note. (1) Device ID can be read out after Manufacturer ID with proper address and does not need another command sequence. (2) Use Reset command (F0h) to return to normal read mode. P/N: AN-0220 7 Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 10. Part Number Cross-Reference Cross Reference Table 10-1 shows basic part number and package information for the Macronix MX29GL_F and Spansion products. Table 10-1: Part Number Cross Reference Density Macronix Part MX29GL320ETTI-70G MX29GL320EBTI-70G MX29GL320ETXEI-70G MX29GL320EBXEI-70G MX29GL320EHT2I-70G MX29GL320ELT2I-70G MX29GL320EHXFI-70G MX29GL320ELXFI-70G MX29GL640ETTI-70G MX29GL640EBTI-70G MX29GL640ETXEI-70G MX29GL640EBXEI-70G MX29GL640EHT2I-70G MX29GL640ELT2I-70G MX29GL640EHXFI-70G MX29GL640ELXFI-70G 32Mb 64Mb Spansion® Part S29GL032N90TFI03 S29GL032N90TFI04 S29GL032N90BFI03 S29GL032N90BFI04 S29GL032N90TFI01 S29GL032N90TFI02 S29GL064N90FFI01 S29GL064N90FFI02 S29GL064N90TFI03 S29GL064N90TFI04 S29GL064N90BFI03 S29GL064N90BFI04 S29GL064N90TFI01 S29GL064N90TFI02 S29GL064N90FAI01 S29GL064N90FFI02 Package Dimension 48-TSOP 12x20mm 48-LFBGA 6x8x13mm 0.4mm ball 56-TSOP 14x20mm 64-LFBGA 11x13x14mm 0.6mm ball 48-TSOP 12x20mm 48-LFBGA 6x8x13mm 0.4mm ball 56-TSOP 14x20mm 64-LFBGA 11x13x14mm 0.6mm ball 11. Reference Documents Table 11-1 shows the datasheet versions used for comparison in this application note. most current, detailed Macronix specification, please refer to the Macronix Website at http://www.macronix.com Table 11-1: Datasheet Version Data sheet Location MX29GL320E MX29GL640E S29GL_N_01 P/N: AN-0220 Website Website Website 8 Date Issue Revision Dec. 29, 2011 Dec. 27, 2011 Oct. 29, 2008 Rev. 1.2 Rev. 1.4 Rev. 12 For the Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 12. Summary Macronix MX29GL_E and Spansion S29GL_N Parallel Flash occupy the same PCB footprint and have similar commands, functions, and features. The only notable difference is that Spansion uses a slightly higher Accelerated Programming Voltage (typically used for off-line programming). Spansion also offers a “V” model ordering option which has a wider I/O voltage range. 13. Revision History Table 13-1: Revision History Revision No. REV. 1 P/N: AN-0220 Description Page Initial Release ALL 9 Date Jan. 3, 2013 Ver. 01 Mar. 19, 2013 APPLICATION NOTE Replacing Spansion® S29GL_N with Macronix MX29GL_E 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. All rights reserved, including the trademarks and tradename thereof, such as Macronix, MXIC, MXIC Logo, MX Logo, Integrated Solutions Provider, NBit, Nbit, NBiit, Macronix NBit, eLiteFlash, HybridNVM, HybridFlash, XtraROM, Phines, KH Logo, BE-SONOS, KSMC, Kingtech, MXSMIO, Macronix vEE, Macronix MAP, Rich Au-dio, Rich Book, Rich TV, 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 P/N: AN-0220 10 Ver. 01 Mar. 19, 2013