Replacing Spansion S25FL2_K with Macronix MX25L_06E

APPLICATION NOTE
Replacing 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 replacing 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
Macronix MX25Lxx06E
4Mb, 8Mb, 16Mb
2.7V-3.6V
86MHz
80MHz
33MHz
4KB/64KB
256Byte
YES
YES
YES
100K
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
Spansion S25FL2xxK
4Mb
8Mb
2.7V-3.6V
76MHz
76MHz
44MHz
4KB/64KB
256Byte
YES
YES
YES
100K
85Mhz
85Mhz
16Mb
65MHz
65MHz
3. Package and Pinout
Table 3-1 shows currently offered packages.
Table 3-1: Packages
Type / Function
Macronix MX25Lxx06E
8-SOP (150mil)
8-SOP (209mil)
P/N: AN-0263
Spansion S25FL2xxK
YES
YES
YES
YES
8-USON (2x3mm)
YES (4Mb)
-
8-USON (4x4mm)
YES (8Mb/16Mb)
-
8-WSON (6x5mm)
YES
-
8-PDIP (300mil)
YES
-
16-SOP (300mil)
YES (16Mb)
-
1
Ver.01, Aug. 28, 2013
APPLICATION NOTE
Replacing Spansion S25FL2_K with Macronix MX25L_06E
Both devices are available in pin compatible 8-pin SOP packages (Figure 3-1).
CS#
1
2
SO/SIO1
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
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
Macronix MX25L_06E Spansion S25FL2_K
Normal Read
4Mb – 16Mb
33MHz
44MHz
4Mb
86MHz
85MHz
Fast Read
8Mb
86MHz
76MHz
16Mb
86MHz
65MHz
4Mb
80MHz
85MHz
1I/2O Read
8Mb
80MHz
76MHz
16Mb
80MHz
65MHz
15pF
6ns
tCLQV
(clk low to data out valid)
30pF
8ns
10ns (14ns @ 16Mb)
Table 4-2: Write Performance (typ.)
Parameter
Erase
4KB
64KB
Chip
Program
P/N: AN-0263
Byte
Page
Density
Macronix MX25L_06E
Spansion S25FL2_K
4Mb – 16Mb
4Mb – 16Mb
4Mb
8Mb
16Mb
4Mb – 16Mb
4Mb – 16Mb
60ms
0.7s
3.5s
7s
14s
9us
1.4ms
50ms
2
0.5s (0.45s @ 16Mb)
3.5s
7s
12s
30us
1.5ms (1.6ms @ 16Mb)
Ver.01, Aug. 28, 2013
APPLICATION NOTE
Replacing 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
Macronix MX25L_06E
Spansion S25FL2_K
Input Low Voltage
Input High Voltage
Output Low Voltage
Output High Voltage
-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.)
6. Software Considerations
Macronix supports the same command set used by the Spansion flash.
Table 6-1: Command Comparison
Instruction
Instruction
Type
Read ID
Read
Write
Other
Commands
RDID
READ
FAST_READ
DREAD
WREN
WRDI
PP
SE 4K
SE 64K
CE
DP
RES
RDSR
WRSR
RDSCUR
WRSCUR
ENSO
EXSO
Description
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 Spansion
MX25L_06E S25FL2_K
9Fh
03h
0Bh
3Bh
9Fh
03h
0Bh
3Bh
06h
06h
04h
04h
02h
02h
20h
20h
52h or D8h
D8h
60h or C7h 60h or C7h
B9h
ABh
05h
01h
2Bh*1
2Fh*1
B1h*1
C1h*1
B9h
ABh
05h
01h
-
Note: 1. MX25L4006E doesn’t support security register and security OTP command set or feature.
P/N: AN-0263
3
Ver.01, Aug. 28, 2013
APPLICATION NOTE
Replacing Spansion S25FL2_K with Macronix MX25L_06E
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
Macronix MX25L_06E
Bit0
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
1.
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.
Table 6-3: Block Protection (BP) for 4Mb Densities
Status Register Bit
Protected Blocks
BP3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
P/N: AN-0263
BP2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
BP1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
BP0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Macronix MX25L4006E
none
1 block (#7)
2 blocks (#6-7)
4 blocks (#4-7)
8 blocks (all)
8 blocks (all)
8 blocks (all)
8 blocks (all)
-
4
Spansion S25FL204K
none
1 block (#7)
2 blocks (#6-7)
4 blocks (#4-7)
8 blocks (all)
8 blocks (all)
8 blocks (all)
8 blocks (all)
none
126 sectors (#0-125)
124 sectors (#0-123)
120 sectors (#0-119)
112 sectors (#0-111)
96 sectors
(#0-95)
64 sectors
(#0-63)
128 sectors (all)
Ver.01, Aug. 28, 2013
APPLICATION NOTE
Replacing Spansion S25FL2_K with Macronix MX25L_06E
Table 6-4: Block Protection (BP) for 8Mb Densities
Status Register Bit
Protected Blocks
BP3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
BP2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
BP1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
BP0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Macronix MX25L8006E
none
1 block (#15)
2 blocks (#14-15)
4 blocks (#12-15)
8 blocks (#8-15)
16 blocks (all)
16 blocks (all)
16 blocks (all)
-
Spansion S25FL208K
None
1 block (#15)
2 blocks (#14-15)
4 blocks (#12-15)
8 blocks (#8-15)
16 blocks (all)
16 blocks (all)
16 blocks (all)
None
254 sectors (#0-253)
252 sectors (#0-251)
248 sectors (#0-247)
240 sectors (#0-239)
224 sectors
(#0-223)
192 sectors (#0-191)
16 blocks (all)
Table 6-5: Block Protection (BP) for 16Mb Densities
Status Register Bit
Protected Blocks
BP3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
P/N: AN-0263
BP2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
BP1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
BP0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Macronix MX25L1606E
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)
5
Spansion S25FL216K
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)
Ver.01, Aug. 28, 2013
APPLICATION NOTE
Replacing Spansion S25FL2_K with Macronix MX25L_06E
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
4Mb
RDID 9Fh
8Mb
16Mb
Macronix MX25L_35E
C2h/20h/13h
C2h/20h/14h
C2h/20h/15h
Spansion S25FL2_K
01h/40h/13h
01h/40h/14h
01h/40h/15h
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, the replacement 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
P/N: AN-0263
Location
Website
Website
Website
Website
Website
Website
Data Issued
FEB. 2012
FEB. 2012
FEB. 2012
JAN. 2013
JAN. 2013
JAN. 2013
6
Version
Rev. 1.3
Rev. 1.2
Rev. 1.4
Rev 06
Rev 06
Rev 09
Ver.01, Aug. 28, 2013
APPLICATION NOTE
Replacing Spansion S25FL2_K with Macronix MX25L_06E
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
4Mb
8Mb
16Mb
Macronix Part No.
Spansion Part No.
Package
Dimension
MX25L4006EM1I-12G
S25FL204K0TMFI04
8-SOP
150 mil
MX25L4006EM2I-12G
S25FL204K0TMFI01
8-SOP
209 mil
MX25L8006EM1I-12G
S25FL208K0RMFI04
8-SOP
150 mil
MX25L8006EM2I-12G
S25FL208K0RMFI01
8-SOP
209 mil
MX25L1606EM1I-12G
S25FL216K0PMFI04
8-SOP
150 mil
MX25L1606EM2I-12G
S25FL216K0PMFI01
8-SOP
209 mil
10. Revision History
Revision
Description
Date
1.0
Initial Release
Aug. 8, 2013
P/N: AN-0263
7
Ver.01, Aug. 28, 2013
APPLICATION NOTE
Replacing 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: AN-0263
8
Ver.01, Aug. 28, 2013