APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E 1. Introduction This application note s e r v e s a s a guide to compare the Spansion S25FL116K with the Macronix MX25L1633E 16Mb Serial Flash. 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. If common features are used in standard traditional modes, they may need only minimal software modification. Minor pin-out and timing differences are reviewed as well. The information provided in this document is based on datasheets listed in Section 9. Newer versions of the datasheets may override the contents of this document. 2. Features Both flash device families have similar features and functions as shown in Table 2-1. Table 2-1: Feature Comparison Macronix MX25L1633E Spansion S25FL116K 2.7V ~ 3.6V 2.7V ~ 3.6V 33MHz 50MHz 104MHz 108MHz - 108MHz 85MHz 108MHz - 108MHz 85MHz 108MHz YES YES - YES 4KB/64KB 4KB/64KB Program Buffer Size 256Byte 256Byte Security OTP 64Byte 3 x 256Byte YES YES - YES YES YES Wrap Around Burst Read Mode - YES HOLD# Pin - YES 100K 100K Type / Function VCC Voltage Range Normal Read Clock Frequency Fast Read (1-1-1) *1 Dual Output (DREAD) (1-1-2) Dual I/O (2READ) (1-2-2) *1 *1 Quad Output (QREAD) (1-1-4) Quad I/O (4READ) (1-4-4) *1 *1 XiP / Performance Enhanced Mode Program/Erase Suspend/Resume Sector Size Block Protection Mode (BP bits) Configurable Dummy Cycle Deep Power Down Program/Erase Cycles Note: 1. x-y-z in I/O mode indicates the number of active pins used for opcode(x), address(y) and data(z). P/N: AN0259 1 Ver. 2, Jan 26, 2015 APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E 3. Package and Pin-out Both devices are available in 209mil 8-pin SOP and 6x5mm 8-SON packages with identical footprints and pin-outs, with the exception of pin #7 which is a HOLD# pin on the Spansion flash and is NC (Not Connected) on the Macronix flash. This should not be an issue if the HOLD# function is not used. Please consult the latest Macronix datasheet for any possible package additions. Table 3-1: Packages Packages Macronix MX25L1633E Spansion S25FL116K 8-USON (4x4mm) 8-WSON(6x5mm)/8-USON(6x5mm) 8-SOP (150mil) 8-SOP (209mil) 24-BGA YES YES YES - YES YES YES YES Figure 3-1: 8-SOP (209mil) CS# VCC 8 SO/SIO1 1 2 WP#/SIO2 3 MX25L1633E67 GND 4 5 CS# SO/IO1 1 2 WP#/IO2 3 GND 4 NC/SIO3 SCLK SI/SIO0 S25FL116K 8 VCC 7 6 HOLD#/IO3 5 SI/IO0 SCK Figure 3-2: 6x5mm 8-WSON P/N: AN0259 CS# 1 8 VCC CS# 1 8 VCC SO/SIO1 2 7 NC/SIO3 SO/SOI 2 7 HOLD#/IO3 WP#/SIO2 3 6 SCLK 3 6 SCK GND 4 5 SI/SIO0 4 5 SI/SIO MX25L1633 WP#/IO2 p GND 2 S25FL116K Ver. 2, Jan 26, 2015 APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E 4. Key Feature and Operational Differences 4-1 Status Register Both devices use registers to control device behavior and report status. The Macronix Status Register is very similar to Spansion’s Status Register (SR1) bit assignments (Table 4-1). Table 4-1: Macronix Status Register vs Spansion Status Register 1 (SR1) Register Bit Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Macronix MX25L1633E WIP; 1=write operation WEL; 1=write enable BP0; BP protection BP1; BP protection BP2; BP protection BP3; BP protection QE; 1=Quad mode enable (1) SRWD; 1=SR write disable Spansion S25FL116K BUSY; 1=write operation WEL; 1=write enable BP0; BP protection BP1; BP protection BP2; BP protection T/B; Top/Bottom Protect SEC; Sector/Block Protect SRP0; 1=SR Protect Note1. Spansion QE bit is located in Status Register2, Bit1. 4-2. Block/Sector Sizes The MX25L1633E and the S25FL116K have 32 uniform 64KB blocks that are each subdivided into sixteen 4KB sectors. 4-3. Block Protection Mode Both the Spansion and Macronix devices use BP bits to select groups of memory areas for write protection. When Spansion’s Top/Bottom bit is in its default setting =0 (Top Boot) and Macronix BP[3]=0, then there is some overlap in the groups of blocks selected for Write Protection as highlighted in Table 4-2. Spansion uses additional SEC bit in Status Register1 and the CMP bit in Status Register2 to create different additional write protected regions not covered by Macronix BP bit settings. Not all of Spansion’s available protected states are shown in Table 4-2. P/N: AN0259 3 Ver. 2, Jan 26, 2015 APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E Table 4-2: Block Protection Status Register Bit BP3/TB (1) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 Protected Blocks BP2 BP1 BP0 Macronix MX25L1633E Spansion S25FL116K 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 none 1 block (#31) 2 blocks (#30-31) 4 blocks (#28-31) 8 blocks (#24-31) 16 blocks (#16-31) 32 blocks (all) 32 blocks (all) 32 blocks (all) 32 blocks (all) 16 blocks (#0-15) 24 blocks (#0-23) 28 blocks (#0-27) 30 blocks (#0-29) 31 blocks (#0-30) 32 blocks (all) none 1 block (#31) 2 blocks (#30-31) 4 blocks (#28-31) 8 blocks (#24-31) 16 blocks (#16-31) 32 blocks (all) 32 blocks (all) none 1 block (#0) 2 blocks (#0-1) 4 blocks (#0-3) 8 blocks (#0-7) 16 blocks (#0-15) 32 blocks (all) 32 blocks (all) (CMP=0, SEC=0) Note1. Macronix BP bit 3 or Spansion TB bit. 4-4 Quad I/O Modes Both the Macronix and Spansion flash enter Quad SPI mode when their QE bit is set to 1. Spansion’s QE bit is SR2[2] while the Macronix QE bit is in SR[6]. 4-5. Secure OTP Differences Both device families provide a secure One Time Programmable (OTP) area outside of the main memory array for user defined storage. The sizes, features, and access methods are different. The S25FL116K has commands to directly read, erase, and program the OTP area and does not need to explicitly open this area for read and write operations. Spansion has three 256 Byte OTP regions. The MX25L1633E operates in the OTP area using normal read and program instructions after explicitly opening the OTP area with the Enter Secured OTP (ENSO) command. While the OTP area is open, the main array is not accessible. When finished in the OTP area, the Exit Secure OTP (EXSO) command must be issued to return to the Read Main Array mode. The MX25L1633E OTP area has 64 bytes available for user data. The user may permanently lock the whole OTP area to prevent new data from being stored there. This area can optionally be programmed with user supplied data and factory locked by Macronix. P/N: AN0259 4 Ver. 2, Jan 26, 2015 APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E 5. Performance Tables 5-1 and 5-2 show that the two devices have similar AC and DC performance. Table 5-1: AC Parameter Comparison Parameter Clock High / Low Time Clock Low to Output Valid Symbol Macronix Spansion tCH / tCL tCLH/tCLL tCLQV tCLQV Data In Setup Time Data In Hold Time Vcc (min) to CS# Low Byte-Program Page Program Time (256 Bytes) Erase 4KB Subsector/Sector Erase 64KB Sector/Block tDVCH tCHDX tVSL tBP tPP tDVCH tCHDX tVSL tBP1 tPP tSE tSE tBE tBE2 Bulk Erase / Chip Erase tCE tCE Condition min max @15pF max @30pF 1IO min min min typ typ max typ max typ max typ max Macronix MX25L1633E 4.7ns 8ns 9ns 2ns 5ns 200us 9us 0.6ms 3ms 40ms 200ms 400ms 2s 5s 20s Spansion S25FL116K 4.3ns 6ns 7ns 2ns 5ns 10us 15us 0.7ms 3ms 50ms 450ms 500ms 2s 11.2s 64s Macronix MX25L1633E Spansion S25FL116K Table 5-2: DC Parameter Comparison Parameter Leakage Current Standby Current Deep Power Down Current VCC Read Current (Fast Read) VCC Program Current VCC Write Status Register Current VCC Erase Current P/N: AN0259 Symbol Macronix Spansion ILI/ILO ILI/ILO ISB1 ICC1 ISB2 ICC2 Condition max @108MHz-QSPI +/- 2uA 25uA 2uA 20uA - +/- 2uA 25uA 2uA 5uA 25mA max @85MHz-QSPI 25mA - max @ 33MHz max max typ max ICC1 ICC3 ICC2 ICC5 max 10mA 20mA 9mA 25mA ICC3 ICC4 max 20mA 12mA ICC4,5 ICC6,7 max 20mA 25mA 5 Ver. 2, Jan 26, 2015 APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E 6. Command Code Both devices use the same basic command set, with differences typically in “special” features such as previously mentioned OTP access, advanced write protection, and Suspend/Resume features. Table 6-1: Command Code Comparison Instruction Type Read ID Read Write OTP Register Other P/N: AN0259 Instruction Description RDID REMS RES REMS2/4 READ FAST_READ DOFR DIOFR QOFR QIOFR RDSFDP WREN WRDI PP 4PP SE BE 64K CE ENSO EXSO WRSR RDSR RDSCUR WRSCUR DP RDP SBL Read Identification Read Electronic Manufacturer ID & Signature Read Electronic ID Read Electronic Manu. ID & Sig. for 2IO/4IO Read Data Bytes Read Data Bytes at Higher Speed Dual Output Fast Read Dual Input/Output Fast Read Quad Output Fast Read Quad Input/Output Fast Read Read Serial Flash Discoverable Parameters Write Enable Write Enable for Volatile Status Register Write Disable Page Program Quad Page Program (1-4-4) Sector Erase 4KB Block Erase 64KB Chip Erase Program/Erase Suspend Program/Erase Resume Enter Secured OTP Exit Secured OTP Read Secured OTP Erase Secured OTP Program Secured OTP Write Status Register Read Status Register-1 Read Status Register-2 Read Status Register-3 Read Security Register Write Security Register Deep Power Down Release From Deep Power Down Software Reset Enable / Reset Set Burst with Wrap 6 Macronix MX25L1633E Spansion S25FL116K 9Fh 90h ABh EFh, DFh 03h 0Bh BBh EBh 06h 04h 02h 38h 20h D8h 60 or C7h B1h C1h 01h 05h 2Bh 2Fh 9Fh 90h ABh 03h 0Bh 3Bh BBh 6Bh EBh 5Ah 06h 50h 04h 02h 20h D8h 60 or C7h 75h 7Ah 48h 44h 42h 01h 05h 35h 33h - B9h ABh - B9h ABh 66h / 99h 77h Ver. 2, Jan 26, 2015 APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E 7. Manufacturer and Device ID Table 7-1: Manufacturer and Device ID Comparison Macronix MX25L1633E Command RDID Command (9Fh) Read Electronic Device ID (ABh) Read Manu. and Device ID (90h) Manufacturer C2h Type 24h 24h C224h Spansion S25FL116K Density Manufacturer Type Density 15h 01h 40h 15h 14h 0114h 8. Summary The Macronix MX25L1633E and Spansion S25FL116K have similar commands, functions, and features. The devices are command compatible for basic read, program, and erase (4KB and 64KB) operations and are pin compatible if the HOLD# pin is not used. If common features are used in standard traditional modes, they may need only minimal software modification. 9. References Table 9-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 9-1: Datasheet Version Datasheet Location Date Issued Version MX25L1633E, 3V, 16Mb, v1.8.pdf Macronix Website Nov. 2013 1.8 S25FL116K_00_03.pdf Spansion Website Dec. 2014 03 P/N: AN0259 7 Ver. 2, Jan 26, 2015 APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E 10. Appendix Table 10-1 shows the basic part number and package information cross reference between Macronix MX25L1633E and Spansion S25FL116K parts. Table 10-1: Part Number Cross Reference Package Dimension Note MX25L1633EM2I-10G Macronix Part No. S25FL116K0XMFI01 Spansion Part No. 8-SOP 209 mil Lead Free MX25L1633EM2I-10G S25FL116K0XMHI01 8-SOP 209 mil Low Halogen, Lead Free MX25L1633EZNI-10G S25FL116K0XNFI01 8-WSON 6x5mm Lead Free MX25L1633EZNI-10G S25FL116K0XNHI01 8-WSON 6x5mm Low Halogen, Lead Free 11. Revision History Revision Ver. 1 Ver. 2 P/N: AN0259 Description Initial Release Update to match current datasheets 8 Date June 4, 2013 Jan 26, 2015 Ver. 2, Jan 26, 2015 APPLICATION NOTE Comparing Spansion® S25FL116K with Macronix MX25L1633E 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 applica- tions 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 liabil- ity arisen therefrom. Copyright© Macronix International Co., Ltd. 2015. 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, eLite- Flash, HybridNVM, HybridFlash, XtraROM, Phines, KH Logo, BE-SONOS, KSMC, Kingtech, MXSMIO, Macronix vEE, Macronix MAP, Rich Audio, 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: AN0259 9 Ver. 2, Jan 26, 2015