Comparing Spansion S25FL1-K with Macronix MX25L-35E

APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
1. Introduction
This application note s e r v e s a s a guide to compare the Spansion S25FL132K and
S25FL164K with the Macronix MX25L3235E and MX25L6435E 32Mb and 64Mb 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.
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
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
Configurable Dummy Cycle
Macronix
MX25L32/6435E
Spansion
S25FL132/64K
2.7V ~ 3.6V
2.7V ~ 3.6V
50MHz
50MHz
104MHz
108MHz
86MHz
108MHz
86MHz
108MHz
104MHz
108MHz
104MHz
108MHz
YES
YES
HOLD# Pin
YES
YES
Sector Size
4KB/32KB/64KB
4KB/64KB
Program Buffer Size
256Byte
256Byte
Security OTP
512Byte
3 x 256Byte
SFDP (Serial Flash Discoverable Parameters)
YES
YES
Deep Power Down
YES
YES
S/W Reset Command
YES
-
XiP / Performance Enhanced Mode
YES
YES
Wrap Around Burst Read Mode
-
YES
Program/Erase Suspend and Resume
-
YES
Block Protection Mode (BP bits)
YES
YES
Individual Volatile Block Write Protection Mode
YES
-
Program/Erase Cycles
100K
100K
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: AN0262
1
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
3. Package and Pin-out
Both devices are available in 209mil 8-pin SOP, 300mil 16-SOP and 6x5mm 8-SON packages
with similar footprints and pin-outs. At the 64Mb density, both manufacturers provide a
compatible 24-TFBGA as well. Please consult the latest Macronix datasheet for any possible
package additions.
Table 3-1: Packages (32Mb)
Packages
Macronix MX25L3235E
Spansion S25FL132K
YES
YES
YES
-
YES
YES
YES
YES
YES
Macronix MX25L6435E
Spansion S25FL164K
YES
YES
YES
YES
YES
YES
YES
YES
YES
8-WSON(6x5mm)/8-USON(6x5mm)
8-SOP (150mil)
8-SOP (209mil)
16-SOP (300mil)
24-TFBGA
Table 3-2: Packages (64Mb)
Packages
8-WSON(6x5mm)/8-USON(6x5mm)
8-WSON (8x6mm)
8-SOP (209mil)
16-SOP (300mil)
24-TFBGA
Figures 3-1 through 3-4 show that supported packages have similar footprints and pinouts.
Figure 3-1: 8-WSON (6x5mm)
CS#
1
SO/SIO1
2
WP#/SIO2
3
GND
4
MX25L_35E
8
VCC
CS#
1
7
HOLD#/SIO3 SO/SOI
2
6
SCLK
MX25L_F
5
WP#/IO2 p
SI/SIO0
GND
8
VCC
7
HOLD#/IO3
3
6
SCK
4
5
SI/SIO
S25FL1_K
Figure 3-2: 8-SOP (209 mil)
CS#
SO/SIO1
1
2
WP#/SIO2
3
GND
4
P/N: AN0262
8
VCC
MX25L_35E
7
6
HOLD#/SIO3
MX25L_F
5
SI/SIO0
SCLK
CS#
SO/IO1
1
2
WP#/IO2
3
GND
4
2
8
VCC
S25FL1_K
7
6
HOLD#/IO3
MX25L_F
5
SI/IO0
SCK
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
Figure 3-3: 16-SOP (300mil)
16
SCLK
HOLD#/IO3
1
16
SCK
SI/SIO0
VCC
2
15
SI/IO0
3
15
14
NC
DNU
3
14
DNU
NC
4
13
NC
DNU
4
13
DNU
NC
5
12
NC
DNU
5
12
DNU
NC
6
11
NC
DNU
6
11
DNU
CS#
7
10
GND
CS#
7
10
VSS
SO/SIO1
8
9
SO/IO1
8
9
HOLD#/SIO3
VCC
1
2
NC
MX25L_35E
Note: NC = Not Connected.
WP#/SIO2
S25FL1_K
WP#/IO2
DNU = Do Not Use.
Figure 3-4: 24-TFBGA (6x8mm with 4x6 Ball Array)
MX25L6435E
SF25L164K
4
NC
VCC
WP#
SIO2
HLD#
SIO3
NC
NC
4
RFU
VCC
WP#
IO2
HLD#
IO3
RFU
NC
3
NC
GND
NC
SIO3
SI
SIO0
NC
NC
3
NC
VSS
RFU
SIO3
SI
IO0
NC
NC
2
NC
SCLK
CS#
SO
SIO1
NC
NC
2
NC
SCK
CS#
SO
IO1
NC
NC
1
NC
NC
NC
NC
NC
NC
1
NC
DNU
DNU
DNU
NC
NC
A
B
C
D
E
F
A
B
C
D
E
F
Note: NC = Not Connected.
P/N: AN0262
DNU = Do Not Use.
RFU = Reserved for Future Use.
3
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
4. Key Feature and Operational Differences
4-1 Status Register and Configuration Registers
Both devices use registers to control device behavior and report status. The Macronix
Status Register is very similar to Spansion’s Status Register 1 bit assignments. Spansion’s
other two Status Registers are used to configure the device, and these advanced options
are different than the Macronix Configuration and Security Registers.
Table 4-1: Macronix Status Register vs Spansion Status Register-1
Register Bit
Bit0
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
Macronix MX25L32/6435E
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 S25FL132/64K SR1
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
Table 4-2: Macronix Configuration Register vs Spansion Status Register-2
Register Bit
Bit0
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
Macronix MX25L32/6435E
Reserved
Reserved
Reserved
TB; 1=Bottom area protect
Reserved
Reserved
Reserved
DC; Dummy cycle
Spansion S25FL132/64K SR2
SRP1; Status Reg Protect1
QE; Quad Enable
LB0; Security Reg Lock Bit
LB1; Security Reg Lock Bit
LB2; Security Reg Lock Bit
LB3; Security Reg Lock Bit
CMP; Compliment Protect
SUS; Suspend Status
Table 4-3: Macronix Security Register vs. Spansion Status Register-3
Register Bit
Bit0
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
P/N: AN0262
Macronix MX25L32/6435E
4Kb Secured OTP; 1=factory lock
LDSO; 1=OTP lock down
Reserved
Reserved
Continuous Program Mode
P_FAIL; 1=Program fail
E_FAIL; 1=Erase fail
WPSEL; 1=Individual WP
Spansion S25FL132/64K SR3
Latency Control
Latency Control
Latency Control
Latency Control
Burst Wrap Enable
Burst Wrap Length
Burst Wrap Length
Reserved
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
4-2. Block/Sector Sizes
The MX25L_35F has uniform 64KB blocks that are each subdivided into two 32KB blocks and
sixteen 4KB sectors. The S25FL1_K has uniform 64KB main blocks subdivided into 4KB sectors.
No change is necessary to Erase block size or commands when migrating from the Spansion to
Macronix flash, even though Macronix offers an additional 32KB block erase option.
4-3. Block Protection Mode
Both the Spansion and Macronix devices use BP bits to select groups of memory areas for write
protection. At the 32Mb density, 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-4. Spansion uses an 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-4.
Table 4-4: Block Protection (32Mb)
Status Register Bit
BP3/TB(1)
BP2
BP1
BP0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
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
Protected Blocks
Macronix MX25L3235E
(T/B bit = 0)
none
1 block (#63)
2 blocks (#62-63)
4 blocks (#60-63)
8 blocks (#56-63)
16 blocks (#48-63)
32 blocks (#32-63)
64 blocks (all)
64 blocks (all)
64 blocks (all)
64 blocks (all)
64 blocks (all)
64 blocks (all)
64 blocks (all)
64 blocks (all)
64 blocks (all)
Spansion S25FL132K
(CMP=0, SEC=0)
none
1 block (#63)
2 blocks (#62-63)
4 blocks (#60-63)
8 blocks (#56-63)
16 blocks (#48-63)
32 blocks (#32-63)
64 blocks (all)
none
1 block (#0)
2 blocks (#0-1)
4 blocks (#0-3)
8 blocks (#0-7)
16 blocks (#0-15)
32 blocks (#0-31)
64 blocks (all)
Note1. Macronix BP bit 3 or Spansion TB bit.
Table 4-5 shows that at the 64Mb density, while similar regions can be write protected,
different BP bits configurations are required to achieve similar coverage. Not all of
Spansion’s or Macronix available protected states are shown in Table 4-5. See datasheet
for details.
P/N: AN0262
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
Table 4-5: Block Protection (64Mb)
Status Register Bit
BP3/TB
(1)
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
BP2
BP1
BP0
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
Protected Blocks
Macronix MX25L6435E
(T/B bit = 0)
none
1 block (#127)
2 blocks (#126-127)
4 blocks (#124-127)
8 blocks (#120-127)
16 blocks (#112-127)
32 blocks (#96-127)
64 blocks (#64-127)
128 blocks (all)
128 blocks (all)
128 blocks (all)
128 blocks (all)
128 blocks (all)
128 blocks (all)
128 blocks (all)
128 blocks (all)
Spansion S25FL164K
(CMP=0, SEC=0)
none
2 blocks (#126-127)
4 blocks (#124-127)
8 blocks (#120-127)
16 blocks (#112-127)
32 blocks (#96-127)
64 blocks (#64-127)
128 blocks (all)
none
2 blocks (#0-1)
4 blocks (#0-3)
8 blocks (#0-7)
16 blocks (#0-15)
32 blocks (#0-31)
64 blocks (#0-63)
128 blocks (all)
Note1. Macronix BP bit 3 or Spansion TB bit.
4-4 Individual Sector/Block Protection
Macronix has the ability to protect individual 4KB sectors in the Top or Bottom Boot sectors of the
array and 64KB blocks of memory in the rest of the Flash array. The methods used are
independent of the nonvolatile BP bit configuration in the Status Register. The Spansion flash does
not support this feature. See Macronix datasheet for detailed description.
4-5 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-6. 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 S25FL1_K 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 MX25L_35E 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 MX25L_35E
OTP area has 512 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: AN0262
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
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
Data In Setup Time
Data In Hold Time
Vcc (min) to CS# Low
Page Program Time
(256 Bytes)
Erase 4KB
Subsector/Sector
Symbol
Macronix
Spansion
tCH / tCL
tCLH/tCHL
tCLQV
tCLQV
tDVCH
tCHDX
tVSL
tDVCH
tCHDX
tVSL
tPP
tPP
tSSE
tSE
Erase 32KB Block
tBE32
-
Erase 64KB Sector/Block
tBE
tBE2
Bulk Erase / Chip Erase
(32Mb / 64Mb)
tCE
tCE
Condition
Macronix
MX25L32/6435E
Spansion
S25FL132/64K
min
max @ 10pF
(1I/O / 4I/0)
4.5ns
4.3ns
5ns / 6ns
-
max @ 15pF
(1I/O / 4I/0)
6ns / 6ns
6ns / 6ns
7ns / 8ns
7ns / 7ns
2ns
3ns
300us
1.4ms
3ms
60ms
300ms
0.5s
2s
700ms
2s
25s / 50s
50s / 80s
2ns
5ns
10us
0.7ms
3ms
70ms
450ms
500ms
2s
32s / 64s
128s / 256s
max @ 30pF
(1I/O / 4I/0)
min
min
min
typ
max
typ
max
typ
max
typ
max
typ
max
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: AN0262
Symbol
Macronix
Spansion
ILI/ILO
ILI/ILO
ISB1
ICC1
ISB2
ICC2
Condition
max
max
typ
max
max @ QSPI
max @ SPI
max
ICC1
ICC3
ICC2
ICC3
ICC5
ICC4
max
ICC4,5
ICC6,7
max
Macronix
MX25L32/6435E
+/- 2uA
80uA
5uA
40uA
35mA@104MHz
19mA@104MHz
25mA
Spansion
S25FL132/64K
+/- 2uA
25uA
2uA
5uA
25mA@108MHz
22mA@108MHz
25mA
20mA
12mA
25mA
25mA
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
6. Command Code
Both devices use the same basic command set, with differences typically in “special” features
such as previously mentioned OTP access commands and advanced write protection features.
Table 6-1: Command Code Comparison
Instruction
Type
Read ID
Read
Write
OTP
P/N: AN0262
Instruction
RDID
REMS
REMS2/4
READ
FAST_READ
DOFR
DIOFR
QOFR
QIOFR
W4READ
RDSFDP
WREN
WRDI
PP
CP
4PP
SE
BE 32K
SE 64K
CE
ENSO
EXSO
-
Description
Read Identification
Read Electronic Manufacturer ID & Signature
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
Quad Input/Output Fast Read (4-dummy)
Read Serial Flash Discoverable Parameters
Write Enable
Write Enable for Volatile Status Register
Write Disable
Page Program
Continuously Program Mode
Quad Page Program (1-4-4)
Sector Erase 4KB
Block Erase 32KB
Block Erase 64KB
Chip Erase
Enter Secured OTP
Exit Secured OTP
Read Secured OTP
Erase Secured OTP
Program Secured OTP
Macronix
MX25L32/6435E
9Fh
90h
EFh, DFh
03h
0Bh
3Bh
BBh
6Bh
EBh and E6h
E7h
5Ah
06h
04h
02h
ADh
38h
20h
52h
D8h
60 or C7h
B1h
C1h
-
Spansion
S25FL132/64K
9Fh
90h
03h
0Bh
3Bh
BBh
6Bh
EBh
5Ah
06h
50h
04h
02h
20h
D8h
60 or C7h
48h
44h
42h
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
Instruction
Type
P/N: AN0262
Instruction
Macronix
MX25L32/6435E
Description
Spansion
S25FL132/64K
WRSR
RDSR
RDSCUR
WRSCUR
Write Status Register
Read Status Register-1
Read Status Register-2
Read Status Register-3
Read Security Register
Write Security Register
01h
05h
2Bh
2Fh
01h
05h
35h
33h
-
-
Read Non-volatile Configuration Register
15h
-
RSTEN
Reset Enable
66h
-
RST
Reset Memory
99h
-
Erase / Program Suspend
-
75h
Erase / Program Resume
-
7Ah
SBL
Set Burst with Wrap
-
77h
-
Release from Read Enhance
FFh
FFh
DP
Deep Power Down
B9h
B9h
RDP
Release From Deep Power Down
ABh
ABh
NOP
No Operation
00h
-
ESRY
Enable SO to Output RY/BY#
70h
-
DSRY
Disable SO to Output RY/BY#
80h
-
WPSEL
Write Protect Selection (OTP)
68h
-
GBLK
Gang Block Lock
7Eh
-
GBULK
Gang Block Unlock
98h
-
SBLK
Single Block Lock
36h
-
SBULK
Single Block UnLock
39h
-
RDBLOCK
Read Block Lock
3Ch
-
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
7. Manufacturer and Device ID
Table 7-1: Manufacturer and Device ID Comparison
Name
Manufacture ID
Device ID
JEDEC ID
Macronix
MX25L32/6435E
C2h
15h /16h
2016h / 2017h
Spansion
S25FL132/64K
01h
15h /16h
4016h / 4017h
8. Summary
The Macronix MX25L32/6435E and Spansion S25FL132/64K 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 common features are
used in standard traditional modes, they may need only minimal software modification.
More significant changes are required if special features such as Erase/Program Suspend,
Write protection, or Burst Read mode are used.
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
MX25L3235E, 3V, 32Mb, v1.3
MX25L6435E, 3V, 64Mb, v1.2
S25FL132K_164K_00_01
P/N: AN0262
Location
Macronix Website
Macronix Website
Spansion Website
Date Issued
APR. 2013
APR. 2013
JUL. 2013
Version
1.3
1.2
01
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
10. Appendix
Table 10-1 shows the basic part number and package information cross reference between
Macronix MX25L3235E and Spansion S25FL132K parts.
Table 10-2 shows the basic part number and package information cross reference between
Macronix MX25L6435E and Spansion S25FL164K parts.
Table 10-1: 32Mb Part Number Cross Reference
Macronix Part No.
MX25L3235EM2I-10G
MX25L3235EMI-10G
MX25L3235EZNI-10G
Spansion Part No.
S25FL132K0XMFI01
S25FL132K0XMFI00
S25FL132K0XNFI01
Package
8-SOP
16-SOP
8-WSON
Dimension
209 mil
300 mil
6x5 mm
Note
Lead-free
Lead-free
Lead-free
Table 10-2: 64Mb Part Number Cross Reference
Macronix Part No.
MX25L6435EM2I-10G
MX25L6435EZNI-10G
MX25L6435EMI-10G
MX25L6435EXCI-10G
Spansion Part No.
S25FL164K0XMFI01
S25FL164K0XNFI01
S25FL164K0XMFI00
S25FL164K0XBHI03
Package
8-SOP
8-WSON
16-SOP
24-TFBGA
Dimension
209 mil
6x5 mm
300 mil
6x8 mm
Note
Lead-free
Lead-free
Lead-free
Low-halogen, Lead-free
11. Revision History
Revision
1.0
P/N: AN0262
Description
Initial Release
Date
June 4, 2013
Ver.1, Jun 7, 2013
APPLICATION NOTE
Comparing Spansion® S25FL1_K with Macronix MX25L_35E
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 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: AN0262
Ver.1, Jun 7, 2013