AN0221V1 - Replacing Atmel AT25DF_A with MX25L_06E

APPLICATION NOTE
Replacing Atmel AT25DF_A with Macronix MX25L_06E
1. Introduction
This application note compares the Macronix MX25L_06E and Atmel AT25DF_A families of serial flash
devices. The document does not provide detailed information on the individual devices, but highlights the
similarities and differences between them. The comparison covers general features, performance,
packaging, and commands.
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
Feature
Vcc Voltage Range
I/O Mode*1*2
Sector Erase Size
Program Buffer Size
Security OTP
Hold# Pin
Block Protection
Manufacturer ID
Device ID
4Mb
8Mb
32Mb
64Mb
Macronix MX25L_06E
2.7V ~ 3.6V
1-1-1
1-1-2
4KB / 64KB
256 Byte
64 Byte*3
Yes
BP bit Group Protection
C2h
20h/13h
20h/14h
20h/16h
20h/17h
Atmel AT25DF_A
2.7V ~ 3.6V
1-1-1
1-1-2
4KB / 32KB / 64KB
256 Byte
128 Byte*3
Yes
Individual 64KB Sector
1Fh
44h/01h
45h/01h
47h/01h
48h/00h
Note:
1. x-y-z in I/O mode indicates the number of active pins used for opcode(x), address(y) and data(z).
2. AT25DF041A doesn’t support multi I/O mode
3. MX25L4006E and AT25DF041A don’t support Security OTP
P/N: AN-220
1
Ver. 01 Mar 19, 2013
APPLICATION NOTE
3. Performance Comparison
Tables 3-1 and 3-2 compare the read and write performance of the MX25L_06E and AT25DF_A.
Table 3-1: Read Performance
Parameter
Normal Read
(max.)
Fast Read
1-1-1 Mode
(max.)
Fast Read
1-1-2 Mode
(max.)
tCLQV / tV
(max.)
15pF load
4Mb
8Mb
32Mb
64Mb
4Mb
8Mb
32Mb
64Mb
4Mb
8Mb
32Mb
64Mb
4Mb
8Mb
32Mb
64Mb
Macronix MX25L_06E
33MHz
33MHz
33MHz
33MHz
86MHz
86MHz
86MHz
86MHz
80MHz
80MHz
80MHz
80MHz
6ns
6ns
6ns
8ns
Atmel AT25DF_A
33MHz
50MHz
50MHz
40MHz
70MHz
85MHz
85MHz
85MHz
N/A
85MHz
85MHz
65MHz
6ns
5ns
5ns
5ns
Table 3-2: Write Performance
Parameter
4KB
Erase
(typ.)
32KB
64KB
Chip Erase (typ.)
Byte
Program
(typ.)
Page
Density
Macronix MX25L_06E
Atmel AT25DF_A
4Mb – 32Mb
64Mb
4Mb – 32Mb
64Mb
4Mb – 32Mb
64Mb
4Mb
8Mb
32Mb
64Mb
4Mb – 32Mb
64Mb
4Mb
8Mb, 32Mb
64Mb
60ms
60ms
0.7s
0.7s
3.5s
7s
25s
50s
9us
9us
1.4ms
1.4ms
1.4ms
50ms
75ms
0.25s
0.3s
0.4s
0.6s
3s
16s
25s
70s
7us
30us
1.2ms
1ms
2.5ms
100,000
100,000
Write/Erase Cycles (Endurance)
P/N: AN-220
2
Ver. 01 Mar 19, 2013
APPLICATION NOTE
4. DC Characteristics Comparison
Tables 4-1 and 4-2 show that both flash families have similar DC characteristics.
Table 4-1: Read / Write Current
Parameter
Density
4Mb
8Mb
Read Current @
1xI/O (max.)
32Mb
64Mb
4Mb
8Mb
Standby Current
(max.)
32Mb
64Mb
4Mb
Write Current 8Mb
Program/Erase
32Mb
(max.)
64Mb
Macronix MX25L_06E
12mA @ 86MHz
12mA @ 86MHz
25mA @ 86MHz
25mA @ 86MHz
25uA
25uA
40uA
50uA
20mA/15mA
20mA/15mA
20mA/20mA
20mA/20mA
Table 4-2: Input / Output Voltage
Parameter
Macronix MX25L_06E
Input Low Voltage
Input High Voltage
Output Low Voltage
Output High Voltage
P/N: AN-220
0.3VCC (max.)
0.7VCC (min.)
0.4V (max.)
VCC-0.2 (min.)
3
Atmel AT25DF_A
16mA @ 70MHz
19mA @ 85MHz
19mA @ 85MHz
38mA @ 85MHz
35uA
50uA
50uA
50uA
18mA/20mA
15mA/18mA
16mA/18mA
18mA/18mA
Atmel AT25DF_A
0.3Vcc (max.)
0.7Vcc (min.)
0.4V (max.)
Vcc-0.2 (min.)
Ver. 01 Mar 19, 2013
APPLICATION NOTE
5. Hardware Considerations
Both devices are available in 8-SOP and 8-WSON packages with identical footprints.
The figures below show the common packages and the pinout assignments for the Macronix
and Atmel devices.
Table 5-1: Packages
Package
8-SOP (150 mil)
8-SOP (209 mil)
8-WSON (6mm x 5mm)
Macronix MX25L_06E
4Mb
8Mb
32Mb 64Mb
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
-
Atmel AT25DF_A
4Mb
8Mb
32Mb 64Mb
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Note: Not all Macronix package options shown. Refer to Macronix datasheet for additional package options.
8-SOP (150mil & 209mil): Macronix and Atmel devices
CS#
SO/SIO1
1
2
WP#
3
GND
4
MX25L_06E
8
VCC
7
6
HOLD#
5
CS#
SO/SOI
1
2
SCLK
WP#
3
SI/SIO0
GND
4
AT25DF_A
8
VCC
7
6
HOLD#
5
SI/SIO
SCK
AT25DF041A doesn't support 1I/2O mode
8-WSON (6x5mm) Macronix and Atmel devices
CS#
1
SO/SIO1
2
WP#
3
GND
4
MX25L_06E
8
VCC
CS#
1
7
Hold#
SO/SOI
2
6
SCLK
WP# p
3
5
SI/SIO0
GND
4
AT25DF_A
8
VCC
7
HOLD#
6
SCK
5
SI/SIO
AT25DF041A doesn't support 1I/2O mode
P/N: AN-220
4
Ver. 01 Mar 19, 2013
APPLICATION NOTE
6. Software Considerations
Basic command sets of both flash families are similar. Status Register and Security Register
definitions may be slightly different, but the concepts are the same. Minor modifications to the
algorithm may be necessary depending on application. See the Macronix datasheet for a
complete list of commands, as additional features may be available but are not shown.
Table 6-1: Command Comparison
Instruction
Instruction
Type
Read ID
Read
Write
Register
Other Command
RDID
READ
FAST_READ
DREAD
WREN
WRDI
PP
SE 4K
BE 32K
BE 64K
CE
RDSR
RDSR-2
WRSR
RDSCUR
WRSCUR
DP
RES
OTPP
OTPR
ENSO
EXSO
RST
Description
Read Identification
Read Data Bytes
Read Data Bytes at Higher Speed
1I/2O Read
Write Enable
Write Disable
Page Program
Sector Erase
Block Erase 32KB
Block Erase 64KB
Chip Erase
Read Status Register
Read Status Register 2
Write Status Register
Read Security Register
Write Security Register
Deep Power Down
Release from Deep Power Down
Program OTP Memory
Read OTP Memory
Enter Secure OTP
Exit Secure OTP
Reset Memory
Macronix
Atmel
MX25L_06E AT25DF_A
9Fh
03h
0Bh
3Bh
9Fh
03h
0Bh
3Bh*2
06h
04h
02h
20h
06h
04h
02h
20h
-52h
52h or D8h
D8h
60h or C7h 60h or C7h
05h
01h
2Bh*1
2Fh*1
B9h
ABh
--B1h*1
C1h*1
--
05h
31h*2
01h
B9h
ABh
9Bh*2
77h*2
--F0h*2
Note:
1. MX25L4006E doesn’t support command.
2. AT25DF041A doesn’t support command.
P/N: AN-220
5
Ver. 01 Mar 19, 2013
APPLICATION NOTE
6-2. Status Register and Security Register
Both devices use registers for providing status and setting device configuration, but there are some
differences that designers need to be aware of as modifications to software may be needed. Register
comparisons are shown in Table 6-2 and Table 6-3. 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
Macronix MX25L_06E
Bit0
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
WIP, 1=write operation
WEL, 1=write enable
BP0, BP protection
BP1, BP protection
BP2, BP protection
BP3, BP protection*1
Reserved
SRWD, 1=SR write disable
Atmel AT25DF_A
RDY/BSY, 1=write operation
WEL, 1=write enable
Software Protection Status
Software Protection Status
WPP, 0=WP# asserted
EPE, 1=Erase or program error
SPM, 0=Byte/Page Program mode*2
SPRL, 1=SR Protection Locked
Note:
1. MX25L4006E/8006E Bit5 is Reserved for future use and = 0.
2. AT25DF081A/321A/641A Bit6 is Reserved for future use and = 0.
Table 6-3: Macronix Security Register / Atmel Status Register Byte 2
Register Bit
Macronix MX25L_06E
Atmel AT25DF_A
Bit0
Bit1
Bit2
Secured OTP; 1=Factory Lock
LDSO; 1=OTP Lock Down
Reserved
Bit3
Reserved
Bit4
Bit5
Bit6
Bit7
Reserved
Reserved
Reserved
Reserved
RDY/BSY, 1=Write operation
ES, 1=Sector Erase suspended *1
PS, 1=Sector Program suspended*1
SLE, 1=Sector Lockdown &
Lockdown State commands enabled
RSTE, 1=Reset command enabled
Reserved
Reserved
Reserved
Note:
1. AT25DF081A bits 1 and 2 are Reserved for future use and = 0.
P/N: AN-220
6
Ver. 01 Mar 19, 2013
APPLICATION NOTE
6-3. Manufacturer ID and Device ID
Manufacturer IDs are different. This permits software to identify the device manufacturer. The
Device IDs are different between both families. The same command is used to read the different
IDs.
Table 6-4: Manufacturer and Device ID
Command Type
4Mb
8Mb
RDID 9Fh
32Mb
64Mb
Macronix MX25L_35E
C2h/20h/13h
C2h/20h/14h
C2h/20h/16h
C2h/20h/17h
Atmel AT25DF_A
1Fh/44h/01h
1Fh/45h/01h
1Fh/47h/01h
1Fh/48h/00h
7. Summary
The Macronix MX25L_06E and Atmel AT25DF_A have similar commands, functions, and
features. Additionally, the supported package types have identical footprints and nearly
identical pinout definitions. A more detailed analysis should be done if any of the “special”
functions not supported by the Macronix flash are used, such as the Atmel 32KB erase size,
or the Individual Block Protection. Commands to access and program the OTP area are
different as well. 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
MX25L3206E
MX25L6406E
AT25DF041A
AT25DF081A
AT25DF321A
AT25DF641A
P/N: AN-220
Location
Website
Website
Website
Website
Website
Website
Website
Website
7
Data Issued
FEB. 10, 2012
FEB. 10, 2012
FEB. 23, 2012
JUN. 13, 2012
09/2008
08/2010
12/2009
05/2012
Version
Rev. 1.3
Rev. 1.2
Rev. 1.4
Rev. 1.5
Rev. 3668D
Rev. 8715B
Rev. 3686D
Rev. 8693B
Ver. 01 Mar 19, 2013
APPLICATION NOTE
9. Appendix
Table 9-1 shows the basic part number and package information cross reference
between Macronix MX25L_06E and Atmel AT25DF_A parts.
Table 9-1: Part Number Cross Reference
Density
4Mb
8Mb
32Mb
64Mb
Macronix Part No.
Atmel Part No.
Package
Dimension
MX25L4006EM1I-12G
AT25DF041A-SSH-B/T
8-SOP
150 mil
MX25L4006EM2I-12G
AT25DF041A-SH-B/T
8-SOP
209 mil
MX25L4006EZNI-12G
AT25DF041A-MH-Y/T
8-WSON
6x5mm
MX25L8006EM1I-12G
AT25DF081A-SSH-B/T
8-SOP
150 mil
MX25L8006EM2I-12G
AT25DF081A-SH-B/T
8-SOP
209 mil
MX25L8006EZNI-12G
AT25DF081A-MH-Y/T
8-WSON
6x5mm
MX25L3206EM2I-12G
AT25DF321A-SH-B/T
8-SOP
209 mil
MX25L3206EZNI-12G
AT25DF321A-MH-Y/T
8-WSON
6x5mm
MX25L6406EM2I-12G
AT25DF641A-SH-B/T
8-SOP
209 mil
10. Revision History
P/N: AN-220
Revision
Description
Date
1.0
Initial Release
MAR. 19, 2013
8
Ver. 01 Mar 19, 2013
APPLICATION NOTE
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-220
9
Ver. 01 Mar 19, 2013