APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E 1. Introduction Macronix offers MX25L_06E high performance serial flash in densities from 1Mb to 64Mb. MX25L_06E and Spansion S25FL2_K devices have similar features, performance, and command codes. This application note will compare the 4Mb, 8Mb, and 16Mb density devices and will explain how to accommodate differences when comparing Spansion S25FL2_K devices with equivalent Macronix MX25L_06E series flash products. The information in this document is based on datasheets listed in Section 8. Newer versions of the datasheets may override the contents of this document. 2. Feature Comparison Both flash device families have similar features and functions as shown in Table 2-1. Table 2-1: Features Type / Function VCC Voltage Range Fast Read Clock Frequency Dual Output Read Clock Freq. Normal Read Clock Frequency Sector Size Program Buffer Size Deep Power Down HOLD# Pin Block Protection Mode (BP bits) Program/Erase Cycles P/N: AN0263 Macronix MX25Lxx06E 4Mb, 8Mb, 16Mb 2.7V-3.6V 86MHz 80MHz 33MHz 4KB/64KB 256Byte YES YES YES 100K 1 Spansion S25FL2xxK 4Mb 8Mb 16Mb 2.7V-3.6V 85Mhz 76MHz 65MHz 85Mhz 76MHz 65MHz 44MHz 4KB/64KB 256Byte YES YES YES 100K Ver.1, Aug. 28, 2013 APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E 3. Package and Pinout Table 3-1 shows currently offered packages. Table 3-1: Packages Type / Function 8-SOP (150mil) 8-SOP (209mil) 8-USON (2x3mm) 8-USON (4x4mm) 8-WSON (6x5mm) 8-PDIP (300mil) 16-SOP (300mil) Macronix MX25Lxx06E YES YES YES (4Mb) YES (8Mb/16Mb) YES YES YES (16Mb) Spansion S25FL2xxK YES YES - Both devices are available in pin compatible 8-pin SOP packages (Figure 3-1). CS# SO/SIO1 1 2 WP# 3 GND 4 MX25L_06E 8 VCC 7 6 HOLD# 5 CS# SO 1 2 SCLK WP# 3 SI/SIO0 GND 4 S25FL2_K 8 VCC 7 6 HOLD# 5 SI/IO0 SCK Figure 3-1: 8-SOP (150mil & 200mil) Macronix and Spansion Pinouts P/N: AN0263 2 Ver.1, Aug. 28, 2013 APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E 4. Performance Comparison Tables 4-1 and 4-2 show MX25L_06E and S25FL2_K series AC performance. Table 4-1: Read Performance (max.) Parameter Normal Read 4Mb – 16Mb 4Mb Fast Read 8Mb 16Mb 4Mb 1I/2O Read 8Mb 16Mb 15pF tCLQV (clk low to data out valid) 30pF Macronix MX25L_06E 33MHz 86MHz 86MHz 86MHz 80MHz 80MHz 80MHz 6ns 8ns Spansion S25FL2_K 44MHz 85MHz 76MHz 65MHz 85MHz 76MHz 65MHz 10ns (14ns @ 16Mb) Table 4-2: Write Performance (typ.) Parameter Density 4KB 4Mb – 16Mb 64KB 4Mb – 16Mb Erase 4Mb Chip 8Mb 16Mb Byte 4Mb – 16Mb Program Page 4Mb – 16Mb Macronix MX25L_06E 60ms 0.7s 3.5s 7s 14s 9us 1.4ms Spansion S25FL2_K 50ms 0.5s (0.45s @ 16Mb) 3.5s 7s 12s 30us 1.5ms (1.6ms @ 16Mb) P/N: AN0263 3 Ver.1, Aug. 28, 2013 APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E 5. DC Characteristics Tables 5-1 and 5-2 show that both flash families have similar DC characteristics. Table 5-1: Read / Write Current (max.) Parameter Read Current @ 1xI/O, 33MHz Standby Current Write Current Program/Erase Density Macronix MX25L_06E Spansion S25FL2_K 4Mb – 16Mb 4mA (10mA @ 16Mb) 15mA 4Mb – 16Mb 25uA 20mA/15mA (20mA/20mA @ 16Mb) 35uA 4Mb -16Mb 20mA/25mA Table 5-2: Input / Output Voltage Parameter Input Low Voltage Input High Voltage Output Low Voltage Output High Voltage P/N: AN0263 Macronix MX25L_06E Spansion S25FL2_K -0.5V (min.) / 0.3VCC (max.) 0.7VCC (min.) / VCC+0.4V (max.) 0.4V (max.) VCC-0.2 (min.) -0.5V (min.) / 0.3VCC (max.) 0.7VCC (min.) / VCC+0.4V (max.) 0.4V (max.) Vcc-0.2 (min.) 4 Ver.1, Aug. 28, 2013 APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E 6. Software Considerations Macronix supports the same command set used by the Spansion flash. Table 6-1: Command Comparison Instruction Type Read ID Instruction Description RDID READ Read FAST_READ DREAD WREN WRDI PP Write SE 4K SE 64K CE DP RES RDSR WRSR Other Commands RDSCUR WRSCUR ENSO EXSO Read Identification Read Data Bytes Read Data Bytes at Higher Speed 1I/2O Read Write Enable Write Disable Page Program Sector Erase Sector Erase 64KB Chip Erase Deep Power Down Release from Deep Power Down Read Status Register Write Status Register Read Security Register Write Security Register Enter Secure OTP Exit Secure OTP Macronix MX25L_06E 9Fh 03h 0Bh 3Bh 06h 04h 02h 20h 52h or D8h 60h or C7h B9h ABh 05h 01h 2Bh*1 2Fh*1 B1h*1 C1h*1 Spansion S25FL2_K 9Fh 03h 0Bh 3Bh 06h 04h 02h 20h D8h 60h or C7h B9h ABh 05h 01h - Note: 1. MX25L4006E doesn’t support security register and security OTP command set or feature. 6-2. Status Register Status Register bit settings and functionality are similar with minor difference in BP bit settings used for Block Protection as shown in tables 6-2 through 6-5. Table 6-2: Status Register Register Bit Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Macronix MX25L_06E WIP, 1=write operation WEL, 1=write enable BP0, BP protection BP1, BP protection BP2, BP protection Reserved / BP3*1 Reserved SRWD, 1=SR write disable Spansion S25FL2_K WIP, 1=write operation WEL, 1=write enable BP0, BP protection BP1, BP protection BP2, BP protection BP3, BP protection Reserved SRP, 1=SR write disable MX25L4006E/8006E SR Bit5 is Reserved for future use and = 0. MX25L1606E=BP3. P/N: AN0263 5 Ver.1, Aug. 28, 2013 APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E Table 6-3: Block Protection (BP) for 4Mb Densities Status Register Bit Protected Blocks BP3 BP2 BP1 BP0 Macronix MX25L4006E Spansion S25FL204K 0 0 0 0 none none 0 0 0 1 1 block (#7) 1 block (#7) 0 0 1 0 2 blocks (#6-7) 2 blocks (#6-7) 0 0 1 1 4 blocks (#4-7) 4 blocks (#4-7) 0 1 0 0 8 blocks (all) 8 blocks (all) 0 1 0 1 8 blocks (all) 8 blocks (all) 0 1 1 0 8 blocks (all) 8 blocks (all) 0 1 1 1 8 blocks (all) 8 blocks (all) 1 0 0 0 none 1 0 0 1 126 sectors (#0-125) 1 0 1 0 124 sectors (#0-123) 1 0 1 1 120 sectors (#0-119) 1 1 0 0 112 sectors (#0-111) 1 1 0 1 96 sectors (#0-95) 1 1 1 0 64 sectors (#0-63) 1 1 1 1 128 sectors (all) Table 6-4: Block Protection (BP) for 8Mb Densities Status Register Bit Protected Blocks BP3 BP2 BP1 BP0 Macronix MX25L8006E Spansion S25FL208K 0 0 0 0 none None 0 0 0 1 1 block (#15) 1 block (#15) 0 0 1 0 2 blocks (#14-15) 2 blocks (#14-15) 0 0 1 1 4 blocks (#12-15) 4 blocks (#12-15) 0 1 0 0 8 blocks (#8-15) 8 blocks (#8-15) 0 1 0 1 16 blocks (all) 16 blocks (all) 0 1 1 0 16 blocks (all) 16 blocks (all) 0 1 1 1 16 blocks (all) 16 blocks (all) 1 0 0 0 None 1 0 0 1 254 sectors (#0-253) 1 0 1 0 252 sectors (#0-251) 1 0 1 1 248 sectors (#0-247) 1 1 0 0 240 sectors (#0-239) 1 1 0 1 224 sectors (#0-223) 1 1 1 0 192 sectors (#0-191) 1 1 1 1 16 blocks (all) P/N: AN0263 6 Ver.1, Aug. 28, 2013 APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E Table 6-5: Block Protection (BP) for 16Mb Densities Status Register Bit Protected Blocks BP3 BP2 BP1 BP0 Macronix MX25L1606E Spansion S25FL216K 0 0 0 0 none None 0 0 0 1 1 block (#31) 1 block (#31) 0 0 1 0 2 blocks (#30-31) 2 blocks (#30-31) 0 0 1 1 4 blocks (#28-31) 4 blocks (#28-31) 0 1 0 0 8 blocks (#24-31) 8 blocks (#24-31) 0 1 0 1 16 blocks (#16-31) 16 blocks (#16-31) 0 1 1 0 32 blocks (all) 32 blocks (all) 0 1 1 1 32 blocks (all) 32 blocks (all) 1 0 0 0 32 blocks (all) 32 blocks (all) 1 0 0 1 32 blocks (all) 32 blocks (all) 1 0 1 0 16 blocks (#0-15) 16 blocks (#0-15) 1 0 1 1 24 blocks (#0-23) 24 blocks (#0-23) 1 1 0 0 28 blocks (#0-27) 28 blocks (#0-27) 1 1 0 1 30 blocks (#0-29) 30 blocks (#0-29) 1 1 1 0 31 blocks (#0-30) 31 blocks (#0-30) 1 1 1 1 32 blocks (all) 32 blocks (all) 6-3. Manufacturer ID and Device ID Manufacturer IDs are different. This permits software to identify the device manufacturer. The same command is used to read the different IDs. Table 6-4: Manufacturer and Device ID Command Type Macronix MX25L_35E 4Mb C2h/20h/13h RDID 9Fh 8Mb C2h/20h/14h 16Mb C2h/20h/15h P/N: AN0263 7 Spansion S25FL2_K 01h/40h/13h 01h/40h/14h 01h/40h/15h Ver.1, Aug. 28, 2013 APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E 7. Summary The Macronix MX25L_06E and Spansion S25FL2_K have similar commands, functions, and features. Additionally, the supported package types have similar footprints and pinout definitions. If common features are used in standard traditional modes, they may need only minimal software modification. 8. References Table 8-1 shows the datasheet versions used for comparison in this application note. For the most current, detailed specification, please refer to the Macronix Website at http://www.macronix.com Table 8-1: Datasheet Version Datasheet MX25L4006E MX25L8006E MX25L1606E S25FL204K_00 S25FL208K_00 S25FL216K_00 Location Website Website Website Website Website Website Data Issued FEB. 2012 FEB. 2012 FEB. 2012 JAN. 2013 JAN. 2013 JAN. 2013 Version Rev. 1.3 Rev. 1.2 Rev. 1.4 Rev 06 Rev 06 Rev 09 9. Appendix Table 9-1 shows the basic part number and package information cross reference between Macronix MX25L_06E and Spansion S25FL2_Kparts. Table 9-1: Part Number Cross Reference Density Macronix Part No. Spansion Part No. MX25L4006EM1I-12G S25FL204K0TMFI04 4Mb MX25L4006EM2I-12G S25FL204K0TMFI01 MX25L8006EM1I-12G S25FL208K0RMFI04 8Mb MX25L8006EM2I-12G S25FL208K0RMFI01 MX25L1606EM1I-12G S25FL216K0PMFI04 16Mb MX25L1606EM2I-12G S25FL216K0PMFI01 Package 8-SOP 8-SOP 8-SOP 8-SOP 8-SOP 8-SOP Dimension 150 mil 209 mil 150 mil 209 mil 150 mil 209 mil 10. Revision History Revision 1.0 P/N: AN0263 Description Initial Release 8 Date Aug. 8, 2013 Ver.1, Aug. 28, 2013 APPLICATION NOTE Comparing Spansion® S25FL2_K with Macronix MX25L_06E 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: AN0263 9 Ver.1, Aug. 28, 2013