APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G 1. Introduction Macronix offers MX25U_35F*1 and MX25U_35G*2 1.8V serial flash in densities from 128Mb to 512Mb for a diversity of low voltage applications. Spansion only offers 3V S25FL_S devices with low voltage I/O drivers as their solution for low voltage applications. The Spansion solution requires two power supplies, one for core Vcc and the other to supply I/O drivers. It is much simpler to use the Macronix flash single 1.8V power supply system solution. The Macronix single supply solution saves board space and simplifies layout. Some applications may have previously designed in the Spansion solution. This application note explains how to compare the Spansion S25FL_S 1.8V VIO*3 devices with the Macronix MX25U_35F/G series flash products in the 16-SOP package. 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. Note: 1. MX66U51235F is 2-die solution and is included in MX25U_35F family which is referenced in this document. 2. MX25U_35G is currently under development. As a final datasheet is not yet available, the MX25U_35G family will be included in the MX25U_35F family for purposes of discussion in this document. 3. VIO range focuses on 1.65V ~ 2.0V. 2. Feature Comparison While the Macronix and Spansion devices are interchangeable, there are differences which need to be accommodated such as memory structure and Page Program buffer size (Table 2-1). In systems using Spansion’s solution, I/O voltage refers to VIO range; not the 3V core VCC level. Table 2-1: Features Feature Supply Voltage Range I/O Voltage Range Sector Size Page Program S/W Reset Command Hold# Pin Reset# Pin Manufacturer ID 128Mb Device ID 256Mb 512Mb Package Macronix MX25U_35F 1.65V ~ 2.0V 4KB/32KB/64KB 256Byte Yes Yes C2h 25h/38h 25h/39h 25h/3Ah 16-SOP (300mil) Spansion S25FL_S 2.7V~3.6V 1.65~3.6V*1 64KB w/ 4KB boot sector/256KB*1 256Byte/512Byte Yes Yes Yes 01h 02h/18h 02h/19h 02h/20h 16-SOP (300mil) Notes: 1. In this application note, VIO range is 1.65V ~ 2.0V; not the full range. 2. MS25FL128S and S25FL256S have an ordering option to specify uniform 256KB blocks. with uniform 256KB blocks. P/N: AN0213 1 S25FL512S only comes Ver. 1 Jan 03, 2013 APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G 3. DC Characteristics In general, VIL, VIH, VOL, and VOH levels depend on VCC range in single power systems. Table 3-1 compares VCC and I/O voltage levels between the two families. Both families have a similar I/O voltage ranges with VIO = 1.65V ~ 2.0V. Please see the appropriate device datasheet for a complete parameter list containing more detailed information. Table 3-1: Input / Output Voltage Parameter / Symbol VCC range VIO Voltage 128Mb Input Low Voltage / VIL 256Mb–512Mb 128Mb Input High Voltage / VIH 256Mb–512Mb Output Low Voltage / VOL Output High Voltage / VOH Macronix MX25U_35F 1.65V ~ 2.0V -0.5V (Min.) / 0.2VCC (Max.) -0.5V (Min.) / 0.8V (Max.) 0.8VCC (Min.) / VCC+0.4V (Max.) 0.7VCC (Min.) / VCC+0.4V (Max.) 0.2V (Max.) VCC-0.2V (Min.) Spansion S25FL_S 2.7V ~ 3.6V 1.65V ~ VCC+200mV -0.5V (Min.) / 0.2VIO(Max.) -0.5V (Min.) / 0.2VIO(Max.) 0.7VIO (Min.) / VIO+0.4V (Max.) 0.7VIO (Min.) / VIO+0.4V (Max.) 0.15VIO (Max.) 0.85VIO (Min.) Macronix MX25U_35F 15mA @ 84MHz (Max.) 30mA @ 84MHz (Max.) 80uA (Max.) 100uA (Max.) 200uA (Max.) 20uA (Max.) 40uA (Max.) 25mA (Max.) Spansion S25FL_S 16mA @ 50MHz (Max.) 16mA @ 50MHz (Max.) 100uA (Max.) 100uA (Max.) 100uA (Max.) 100mA (Max.) Table 3-2: Read / Write Current Parameter Read Current @ 1xI/O Standby Current Deep Power Down Current Write Current P/N: AN0213 128Mb, 256Mb 512Mb 128Mb 256Mb 512Mb 128Mb, 256Mb 512Mb 2 Ver. 1 Jan 03, 2013 APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G 4. Performance Comparison Tables 4-1 and 4-2 show MX25U_F series and S25FL_S with 1.8V VIO series AC performance. Table 4-1: Read Performance Parameter Density 128Mb, 512Mb Normal Read (Max.) 256Mb 128Mb, 512Mb Fast Read (Max.) 256Mb 128Mb *4 Multi I/O Read (Max.) 256Mb, 512Mb 128Mb, 256Mb tCLQV / tV (Max.) @ 15pf 512Mb 128Mb, 256Mb tCLQV / tV (Max.) @ 30pf 512Mb Macronix MX25U_35F 55MHz 50MHz 104MHz 133MHz*1 104MHz 84MHz*2 6ns 9ns 8ns 12ns Spansion S25FL_S 50MHz 50MHz 66MHz 66MHz 66MHz*3 66MHz*3 12.0ns 12.0ns 14.5ns 14.5ns Notes: 1. MX25U_35F Fast Read runs at 104MHz with 8 dummy cycles (default); 133MHz with 10 dummy cycles. 2. MX25U_35F Quad I/O (1-4-4) runs at 84MHz with 6 dummy cycles (default); 104Hhz with 8 dummy cycles; 3. Quad read (1-4-4) only reaches 50MHz 4. Multi I/O is including 2xRead, 4xRead, Dual output, and Quad output mode Table 4-2: Write Performance Parameter 4KB 32KB Erase 64KB 256KB 128Mb Chip Erase 256Mb 512Mb Byte Program Page Write/Erase Cycles (Endurance) Macronix MX25U_35F 60ms 250ms 500ms -72s 200s 200s 12us 1200us 100,000 Spansion S25FL_S 130ms -130ms 520ms 33s 66s 103s -250us(256B) / 340us(512B) 100,000 Note: All values in Table 4-2 are typical. P/N: AN0213 3 Ver. 1 Jan 03, 2013 APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G 5. Hardware Consideration The pin assignments of the 16-SOP packages are identical, with the exception of the VIO and HOLD# pin functions which are unavailable on the Macronix chips. The 16-SOP pin assignments for the Macronix and Spansion devices are shown below. RESET#/SIO3 16 SCLK 3 15 14 SI/SIO0 NC 4 NC 5 NC VCC 1 2 NC DNU/SIO3 HOLD#/IO3 1 16 SCK VCC 2 15 SI/IO0 NC RESET# 3 14 VIO NC DNU 4 13 NC NC DNU 5 12 DNU 11 NC RFU 6 11 DNU 7 10 GND CS# 7 10 VSS 8 9 SO/IO1 8 9 16 SCLK 15 14 SI/SIO0 VCC 1 2 NC RESET# 3 13 NC NC 4 12 NC NC 5 MX25U_35F 13 256Mb, 12 6 11 NC NC 6 CS# 7 10 GND CS# SO/SIO1 8 9 SO/SIO1 MX25U12835F Reset# signal is internal pull high WP#/SIO2 WP#/SIO2 Reset# signal is internal pull high Recommend DNU connecting to VCC S25FL_S WP# /IO2 DNU means Do Not Use 16-SOP (300mil) When comparing the S25FL_S (1.8V VIO) with Mx25U_35F, take care to level-shift the 3.3V core supply down to 1.8V to match the I/O supply. I/O pin definition and locations are the same, with the following three differences: 1) Pin 14 of the S25FL_S is a VIO pin, but on the MX25U_35F it is NC pin. It is fine to connect the NC pin to the 1.8V voltage. 2) S25FL_S offers a Hold function on Pin1, but the MX25U_35F doesn’t support this function. Instead Macronix offers a Reset function on the 128Mb density flash and has a DNU pin on the 256Mb and 512Mb devices which is recommended to be connected to the 1.8V VCC with a pull-up resistor. 3) S25FL_S has Reset function on Pin3. Macronix also offers this function in density 256Mb and 512Mb. However, the 128Mb has this function on Pin1. P/N: AN0213 4 Ver. 1 Jan 03, 2013 APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G 6. Software Considerations Basic command sets of both flash families are similar. Notable differences are highlighted in blue in Table 6-1. See the Macronix datasheet for a complete list of commands and a description of their functions. Table 6-1: Command Comparison Instruction Type Read ID Read Write Register Others Command Instruction Macronix Spansion MX25U_35F S25FL_S RDID REMS READ FAST_READ 2READ DREAD 4READ QREAD WREN WRDI PP SE BE(32KB) BE(64KB) CE RDSR RDCR WRSR RDSCUR WRSCUR RSTEN RST PGM/ERS Suspend PGM/ERS Resume RDSFDP DP RDP Description Op-code Macronix Spansion MX25U_35F S25FL_S RDID READ_ID READ FAST_READ DIOR DOR QIOR QOR WREN WRDI PP P4E SE BE RDSR1 RDSR2 RDCR WRR RESET Read Identification Read Electronic Manufacturer Signature Read Data Bytes Read Data Bytes at Higher Speed 2xI/O Read 1I/2O Read 4xI/O Read 1I/4O Read Write Enable Write Disable Page Program Sector Erase Block Erase 32KB Block Erase 64KB/256KB Chip Erase Read Status Register Read Status Register-2 Read Configuration Register Write Status & Configuration Registers Read Security Register Write Security Register Reset Enable Software Reset Memory 9Fh 90h 03h 0Bh BBh 1 3Bh* EBh 1 6Bh* 06h 04h 02h 20h 52h D8h 60 or C7h 05h 15h 01h 2Bh 2Fh 66h 99h 9Fh 90h 03h 0Bh BBh 3Bh EBh 6Bh 06h 04h 02h 20h 2 D8h* 60 or C7h 05h 07h 35h 01h F0h PGSP/ERSP Program/Erase Suspend B0h 85h/75h PGRS/ERRS Program/Erase Resume 30h 8Ah/7Ah - Read SFDP Deep Power Down Release from Deep Power Down 5Ah B9h ABh 5Ah - *3 Notes: 1. MX25U12835F doesn’t support Dual out read (1-1-2) and Quad out read (1-1-4) function. 2. The block erase command for 64KB and 256KB is the same. 3. S25FL512S supports SFDP and CFI, but the S25FL128S and S25FL256S support CFI only. Macronix supports SFDP on all three densities. P/N: AN0213 5 Ver. 1 Jan 03, 2013 APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G For Spansion devices configured with the hybrid mix of 4KB sectors and 64KB blocks, no software adjustment will be required. The MX25U_35F sector and block organization is a superset of the Spansion hybrid memory organization and can match sector for sector and block for block. Spansion devices using uniform 256KB blocks will require software adjustments to accommodate the smaller blocks provided by the MX25U_35F devices. 6-1. Status Register, Configuration Register, and Security Register Both devices use registers to configure the flash for operation modes, but there are some differences which may require minor algorithm modifications depending on application. A register comparison is shown in Table 6-2, Table 6-3, and Table 6-4. If a detailed functional description of register bits is required please refer to the datasheets listed in section 8. Table 6-2: Status Register Register Bit Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Macronix MX25U_35F 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 SRWD; 1=SR write disable Spansion S25FL_S WIP; 1=write operation WEL; 1=write enable BP0; BP protection BP1; BP protection BP2; BP protection E_ERR; 1=erase fail P_ERR; 1=program fail SRWD; 1=SR write disable Table 6-3: Configuration Register Register Bit Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Macronix MX25U_35F ODS0; Output driver strength ODS1; Output driver strength ODS2; Output driver strength TB; 1=Bottom area protect Reserved 4 BYTE; 1=4byte address*2 DC0; Dummy cycle*2 DC1; Dummy cycle*2 Spansion S25FL_S FREEZE; 1=BPx write disable QUAD; 1=Quad mode enable TBPARM; 1= Top parameter sector*1 BPNV; 1=BPx is Volatile RFU TBPROT; 1=boot array protect LC0; Latency cycle LC1; Latency cycle Notes: 1. Bit2 of Configuration Register is RFU for S25FL_S with uniform 256KB structure. 2. Bit5 – Bit7 of Configuration Register is reserved for MX25U12835F. P/N: AN0213 6 Ver. 1 Jan 03, 2013 APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G Table 6-4: Security Register / Status Register 2 Register Bit Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Macronix MX25U_35F 4Kb Secured OTP; 1=factory lock LDSO; 1=OTP lock down PSB; 1=Program suspend ESB; 1=Erase suspend Reserved P_FAIL; 1=Program fail E_FAIL; 1=Erase fail WPSEL; 1=Individual WP Spansion S25FL_S PS; 1=Program suspend ES; 1=Erase suspend RFU RFU RFU RFU RFU RFU 6-2. Manufacturer and Device Identification Numbers Manufacturer ID and Device ID numbers are different allowing for software device identification. Table 6-5: Manufacturer and Device ID Command Type 128Mb RDID 9Fh 256Mb 512Mb 128Mb REMS 90h 256Mb 512Mb Macronix MX25L_35F C2h/25h/38h C2h/25h/39h C2h/25h/3Ah C2h/38h C2h/39h C2h/3Ah Spansion S25FL_S 01h/20h/18h 01h/02h/19h 01h/02h/20h 01h/17h 01h/18h 01h/19h Macronix defines 1.8V serial flash as another flash family, so Device ID of the1.8V device is different from Device ID of 3V device. The ID code must be modified in software, in order to use MX25U_35F in the same system as S25FL_S with 1.8V VIO. 7. Summary The Macronix MX25U_35F, MX25U_35G and Spansion S25FL_S with 1.8V VIO have similar commands, functions, and features. Additionally, the 16-SOP package has similar footprint and pin out definitions. Hardware modification may be needed to accommodate RESET# pin to HOLD# pin changes, if Quad IO mode is not used. If common features are used in standard traditional modes software modification may still be necessary to accommodate changes to Manufacturer and Device IDs and register locations of Program and Erase error flags. 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 P/N: AN0213 7 Ver. 1 Jan 03, 2013 APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G Table 8-1: Datasheet Version Datasheet MX25U12835F MX25U25635F MX66U51235F S25FL128S/256S S25FL512S Location Website Website Internal using Website Website Data Issued AUG. 31, 2012 DEC. 14, 2012 NOV. 13, 2012 JUL. 12, 2012 MAR. 2, 2012 Version Rev. 1.1 Rev. 1.0 Rev. 0.00 Rev. 05 Rev. 02 9. Appendix Table 9-1 shows part number and package information cross reference between Macronix MX25U_35F and Spansion S25FL_S with 1.8V VIO. Table 9-1: Part Number Cross Reference Density Macronix Part No. Spansion Part No. S25FL128SAGMFIR0/R1 *2 Package Dimension 16-SOP 300 mil 128Mb MX25U12835FMI-10G 256Mb MX25U25635FMI-10G S25FL256SAGMFIR0/R1 16-SOP 300 mil MX66U51235FMI-10G S25FL512SAGMR1 16-SOP 300 mil *1 512Mb Note: 1. MX66U51235F is 2-die solution and is included in MX25U_35F family which is referenced in this document. 2. R0: 16-SOP with Reset#, VIO & 64KB sector; R1: 16-SOP with Reset#, VIO & 256KB sector. 10. Revision History P/N: AN0213 Revision Description Date 1.0 Initial Release JAN. 03, 2013 8 Ver. 1 Jan 03, 2013 APPLICATION NOTE Comparing Spansion S25FL_S (1.8V VIO) with Macronix MX25U_35F/G 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. 2011~2012. 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: AN0213 9 Ver. 1 Jan 03, 2013