MX29F040C - Macronix

MX29F040C
4M-BIT [512K x 8] SINGLE VOLTAGE
5V ONLY FLASH MEMORY
FEATURES
GENERAL FEATURES
• Single Power Supply Operation
- 4.5 to 5.5 volt for read, erase, and program operations
• 524288 x 8 only
• Sector Structure
- 64K-Byte x 8
• Latch-up protected to 100mA from -1V to Vcc + 1V
• Compatible with JEDEC standard
- Pinout and software compatible to single power supply Flash
PERFORMANCE
• High Performance
- Access time: 70/90ns
- Program time: 9us (typical)
- Erase time: 0.7s/sector, 4s/chip (typical)
• Low Power Consumption
- Low active read current: 30mA (maximum) at 5MHz
- Low standby current: 1uA (typical)
• Minimum 100,000 erase/program cycle
• 20 years data retention
SOFTWARE FEATURES
• Erase Suspend/ Erase Resume
- Suspends sector erase operation to read data from or program data to another sector which is not being
erased
• Status Reply
- Data# Polling & Toggle bits provide detection of program and erase operation completion
PACKAGE
• 32-Pin PLCC
• 32-Pin TSOP
• All devices are RoHS Compliant
P/N:PM1201
REV. 2.2, DEC. 04, 2012
1
MX29F040C
Contents
FEATURES................................................................................................................................................................... 1
GENERAL FEATURES................................................................................................................................1
SOFTWARE FEATURES.............................................................................................................................1
PACKAGE ...................................................................................................................................................1
PIN CONFIGURATIONS............................................................................................................................................... 4
PIN DESCRIPTION....................................................................................................................................................... 5
LOGIC SYMBOL..........................................................................................................................................5
BLOCK DIAGRAM........................................................................................................................................................ 6
Table 1. SECTOR STRUCTURE.................................................................................................................................. 7
MX29F040C SECTOR ADDRESS TABLE...................................................................................................7
Table 2. BUS OPERATION........................................................................................................................................... 7
REQUIREMENTS FOR READING ARRAY DATA.......................................................................................8
WRITE COMMANDS/COMMAND SEQUENCES........................................................................................8
AUTOMATIC SELECT OPERATION...........................................................................................................8
DATA PROTECTION....................................................................................................................................9
WRITE PULSE "GLITCH" PROTECTION...................................................................................................9
LOGICAL INHIBIT........................................................................................................................................9
POWER-UP SEQUENCE............................................................................................................................9
POWER-UP WRITE INHIBIT.......................................................................................................................9
POWER SUPPLY DECOUPLING................................................................................................................9
TABLE 3. MX29F040C COMMAND DEFINITIONS.................................................................................................... 10
RESET ...................................................................................................................................................... 11
AUTOMATIC SELECT COMMAND SEQUENCE...................................................................................... 11
AUTOMATIC PROGRAMMING.................................................................................................................12
CHIP ERASE............................................................................................................................................13
SECTOR ERASE.......................................................................................................................................13
SECTOR ERASE SUSPEND.....................................................................................................................14
SECTOR ERASE RESUME.......................................................................................................................14
ABSOLUTE MAXIMUM STRESS RATINGS.............................................................................................................. 15
OPERATING TEMPERATURE AND VOLTAGE......................................................................................................... 15
DC CHARACTERISTICS ......................................................................................................................................... 16
SWITCHING TEST CIRCUITS.................................................................................................................................... 17
AC CHARACTERISTICS .......................................................................................................................................... 18
Figure 1. COMMAND WRITE OPERATION..............................................................................................19
READ/RESET OPERATION....................................................................................................................................... 20
Figure 2. READ TIMING WAVEFORMS....................................................................................................20
ERASE/PROGRAM OPERATION.............................................................................................................................. 21
Figure 3. AUTOMATIC CHIP ERASE TIMING WAVEFORM.....................................................................21
Figure 4. AUTOMATIC CHIP ERASE ALGORITHM FLOWCHART...........................................................22
Figure 5. AUTOMATIC SECTOR ERASE TIMING WAVEFORM...............................................................23
P/N:PM1201
REV. 2.2, DEC. 04, 2012
2
MX29F040C
Figure 6. AUTOMATIC SECTOR ERASE ALGORITHM FLOWCHART...................................................24
Figure 7. ERASE SUSPEND/RESUME FLOWCHART.............................................................................25
Figure 8. AUTOMATIC PROGRAM TIMING WAVEFORMS......................................................................26
Figure 9. CE# CONTROLLED WRITE TIMING WAVEFORM...................................................................27
Figure 10. AUTOMATIC PROGRAMMING ALGORITHM FLOWCHART..................................................28
Figure 11. SILICON ID READ TIMING WAVEFORM.................................................................................29
WRITE OPERATION STATUS.................................................................................................................................... 30
Figure 12. DATA# POLLING TIMING WAVEFORMS (DURING AUTOMATIC ALGORITHMS).................30
Figure 13. DATA# POLLING ALGORITHM................................................................................................31
Figure 14. TOGGLE BIT TIMING WAVEFORMS (DURING AUTOMATIC ALGORITHMS)......................32
Figure 15. TOGGLE BIT ALGORITHM ....................................................................................................33
RECOMMENDED OPERATING CONDITIONS.......................................................................................................... 34
Figure A. AC Timing at Device Power-Up..................................................................................................34
ERASE AND PROGRAMMING PERFORMANCE..................................................................................................... 35
DATA RETENTION..................................................................................................................................................... 35
LATCH-UP CHARACTERISTICS............................................................................................................................... 35
ORDERING INFORMATION....................................................................................................................................... 36
PACKAGE INFORMATION......................................................................................................................................... 38
REVISION HISTORY .................................................................................................................................................. 40
P/N:PM1201
REV. 2.2, DEC. 04, 2012
3
MX29F040C
PIN CONFIGURATIONS
32
A17
1
WE#
A16
4
VCC
5
A18
A7
A15
A12
32 PLCC
30
29
A14
A6
A13
A5
A8
A4
A3
A9
9
MX29F040C
25
A11
A2
OE#
A1
A10
A0
CE#
21
20
Q5
Q4
Q3
GND
Q2
17
Q7
Q6
13
14
Q1
Q0
32 TSOP (Standard Type) (8mm x 20mm)
A11
A9
A8
A13
A14
A17
WE#
VCC
A18
A16
A15
A12
A7
A6
A5
A4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
MX29F040C
P/N:PM1201
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
OE#
A10
CE#
Q7
Q6
Q5
Q4
Q3
GND
Q2
Q1
Q0
A0
A1
A2
A3
REV. 2.2, DEC. 04, 2012
4
MX29F040C
PIN DESCRIPTION
LOGIC SYMBOL
19
SYMBOL
PIN NAME
A0~A18
Address Input
Q0~Q7
Data Input/Output
CE#
Chip Enable Input
WE#
Write Enable Input
OE#
Output Enable Input
GND
Ground Pin
OE#
VCC
+5.0V single power supply
WE#
A0-A18
Q0-Q7
8
CE#
P/N:PM1201
REV. 2.2, DEC. 04, 2012
5
MX29F040C
BLOCK DIAGRAM
CE#
OE#
WE#
CONTROL
INPUT
LOGIC
WRITE
PROGRAM/ERASE
STATE
HIGH VOLTAGE
MACHINE
(WSM)
LATCH
A0-AM
BUFFER
Y-DECODER
AND
X-DECODER
ADDRESS
STATE
FLASH
REGISTER
ARRAY
ARRAY
Y-PASS GATE
SOURCE
HV
COMMAND
DATA
DECODER
SENSE
AMPLIFIER
PGM
DATA
HV
COMMAND
DATA LATCH
PROGRAM
DATA LATCH
Q0-Q7
I/O BUFFER
AM: MSB address
P/N:PM1201
REV. 2.2, DEC. 04, 2012
6
MX29F040C
Table 1. SECTOR STRUCTURE
MX29F040C SECTOR ADDRESS TABLE
Sector
Sector Address
Address Range
A18
A17
A16
SA0
0
0
0
00000h-0FFFFh
SA1
0
0
1
10000h-1FFFFh
SA2
0
1
0
20000h-2FFFFh
SA3
0
1
1
30000h-3FFFFh
SA4
1
0
0
40000h-4FFFFh
SA5
1
0
1
50000h-5FFFFh
SA6
1
1
0
60000h-6FFFFh
SA7
1
1
1
70000h-7FFFFh
Note: All sectors are 64 Kbytes in size.
Table 2. BUS OPERATION
Mode
Read Silicon ID
Manufacture Code
Read Silicon ID
Device Code
Read
Standby
Output Disable
Write
Pins
CE#
OE#
WE#
A0
A1
A6
A9
Q0 ~ Q7
L
L
H
L
L
X
Vhv
C2H
L
L
H
H
L
X
Vhv
A4H
L
H
L
L
L
X
H
H
H
X
H
L
A0
X
X
A0
A1
X
X
A1
A6
X
X
A6
A9
X
X
A9
DOUT
HIGH Z
HIGH Z
DIN
Notes:
1. Vhv is the very high voltage, 11.5V to 12.5V.
2. X means input high (Vih) or input low (Vil).
P/N:PM1201
REV. 2.2, DEC. 04, 2012
7
MX29F040C
REQUIREMENTS FOR READING ARRAY DATA
Read array action is to read the data stored in the array out. While the memory device is in powered up or has
been reset, it will automatically enter the status of read array. If the microprocessor wants to read the data stored
in array, it has to drive CE# (device enable control pin) and OE# (Output control pin) as Vil, and input the address
of the data to be read into address pin at the same time. After a period of read cycle (Tce or Taa), the data being
read out will be displayed on output pin for microprocessor to access. If CE# or OE# is Vih, the output will be in
tri-state, and there will be no data displayed on output pin at all.
After the memory device completes embedded operation (automatic Erase or Program), it will automatically return to the status of read array, and the device can read the data in any address in the array. In the process of
erasing, if the device receives the Erase suspend command, erase operation will be stopped after a period of
time no more than Treadyand the device will return to the status of read array. At this time, the device can read
the data stored in any address except the sector being erased in the array. In the status of erase suspend, if user
wants to read the data in the sectors being erased, the device will output status data onto the output. Similarly, if
program command is issued after erase suspend, after program operation is completed, system can still read array data in any address except the sectors to be erased.
The device needs to issue reset command to enable read array operation again in order to arbitrarily read the
data in the array in the following two situations: 1. In program or erase operation, the programming or erasing failure causes Q5 to go high.
2. The device is in auto select mode.
In the two situations above, if reset command is not issued, the device is not in read array mode and system
must issue reset command before reading array data.
WRITE COMMANDS/COMMAND SEQUENCES
To write a command to the device, system must drive WE# and CE# to Vil, and OE# to Vih. In a command cycle,
all address are latched at the later falling edge of CE# and WE#, and all data are latched at the earlier rising
edge of CE# and WE#.
"Figure 1. COMMAND WRITE OPERATION" illustrates the AC timing waveform of a write command, and "TABLE 3. MX29F040C COMMAND DEFINITIONS" defines all the valid command sets of the device. System is not
allowed to write invalid commands not defined in this datasheet. Writing an invalid command will bring the device
to an undefined state.
AUTOMATIC SELECT OPERATION
When the device is in Read array mode or erase-suspended read array mode, user can issue read silicon ID
command to enter read silicon ID mode. After entering read silicon ID mode, user can query several silicon IDs
continuously and does not need to issue read silicon ID mode again. When A0 is Low, device will output Macronix Manufacture ID C2. When A0 is high, device will output Device ID. In read silicon ID mode, issuing reset
command will reset device back to read array mode or erase-suspended read array mode.
Another way to enter read silicon ID is to apply high voltage on A9 pin with CE#, OE# and A1 at Vil. While the
high voltage of A9 pin is discharged, device will automatically leave read silicon ID mode and go back to read
array mode or erase-suspended read array mode. When A0 is Low, device will output Macronix Manufacture ID
C2. When A0 is high, device will output Device ID.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
8
MX29F040C
DATA PROTECTION
To avoid accidental erasure or programming of the device, the device is automatically reset to read array mode
during power up. Besides, only after successful completion of the specified command sets will the device begin
its erase or program operation.
Other features to protect the data from accidental alternation are described as followed.
WRITE PULSE "GLITCH" PROTECTION
CE#, WE#, OE# pulses shorter than 5ns are treated as glitches and will not be regarded as an effective write
cycle.
LOGICAL INHIBIT
A valid write cycle requires both CE# and WE# at Vil with OE# at Vih. Write cycle is ignored when either CE# at
Vih, WE# a Vih, or OE# at Vil.
POWER-UP SEQUENCE
Upon power up, MX29F040C is placed in read array mode. Furthermore, program or erase operation will begin
only after successful completion of specified command sequences.
POWER-UP WRITE INHIBIT
When WE#, CE# is held at Vil and OE# is held at Vih during power up, the device ignores the first command on
the rising edge of WE#.
POWER SUPPLY DECOUPLING
A 0.1uF capacitor should be connected between the Vcc and GND to reduce the noise effect.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
9
MX29F040C
TABLE 3. MX29F040C COMMAND DEFINITIONS
Command
1st Bus
Cycle
2nd Bus
Cycle
3rd Bus Cycle
4th Bus
Cycle
5th Bus Cycle
6th Bus Cycle
Addr
Data
Addr
Data
Addr
Data
Addr
Data
Read
Mode
Addr
Data
Automatic Select
Reset
Mode Manufacturer ID Device ID
XXX
555
555
F0
AA
AA
2AA
2AA
55
55
555
555
90
90
X00
X01
C2
ID
Addr
Data
Addr
Data
555
AA
2AA
55
555
A0
Addr
Chip
Erase
555
AA
2AA
55
555
80
555
Sector
Erase
555
AA
2AA
55
555
80
555
Data
AA
AA
2AA
55
555
10
2AA
55
Sector
30
Program
Erase
Suspend
XXX
B0
Erase
Resume
XXX
30
Notes:
1. Device ID: A4H.
2. It is not allowed to adopt any other code which is not in the above command definition table.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
10
MX29F040C
RESET
In the following situations, executing reset command will reset device back to read array mode:
• Among erase command sequence (before the full command set is completed)
• Sector erase time-out period
• Erase fail (while Q5 is high)
• Among program command sequence (before the full command set is completed, erase-suspended program
included)
• Program fail (while Q5 is high, and erase-suspended program fail is included)
• Read silicon ID mode
While device is at the status of program fail or erase fail (Q5 is high), user must issue reset command to reset
device back to read array mode. While the device is in read silicon ID mode, user must issue reset command to
reset device back to read array mode. When the device is in the progress of programming (not program fail) or erasing (not erase fail), device will ignore reset command.
AUTOMATIC SELECT COMMAND SEQUENCE
Automatic Select mode is used to access the manufacturer ID, device ID. The automatic select mode has four
command cycles. The first two are unlock cycles, and followed by a specific command. The fourth cycle is a
normal read cycle, and user can read at any address any number of times without entering another command
sequence. The reset command is necessary to exit the Automatic Select mode and back to read array. The following table shows the identification code with corresponding address.
Address
Data (Hex)
Manufacturer ID
X00
C2
Device ID
X01
A4
There is an alternative method to that shown in "Table 2. BUS OPERATION", which is intended for EPROM programmers and requires Vhv on address bit A9.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
11
MX29F040C
AUTOMATIC PROGRAMMING
The MX29F040Ccan provide the user program function. As long as the users enter the right cycle defined in the
"TABLE 3. MX29F040C COMMAND DEFINITIONS" (including 2 unlock cycles and A0H), any data user inputs
will automatically be programmed into the array.
Once the program function is executed, the internal write state controller will automatically execute the algorithms and timings necessary for program and verification, which includes generating suitable program pulse,
verifying whether the threshold voltage of the programmed cell is high enough and repeating the program pulse
if any of the cells does not pass verification. Meanwhile, the internal control will prohibit the programming to cells
that pass verification while the other cells fail in verification in order to avoid over-programming.
Programming will only change the bit status from "1" to "0". That is to say, it is impossible to convert the bit status
from "0" to "1" by programming. Meanwhile, the internal write verification only detects the errors of the "1" that is
not successfully programmed to "0".
Any command written to the device during programming will be ignored except hardware reset, which will terminate the program operation after a period of time no more than Tready. When the embedded program algorithm
is complete or the program operation is terminated by hardware reset, the device will return to the reading array
data mode.
With the internal write state controller, the device requires the user to write the program command and data only.
The typical chip program time at room temperature of the MX29F040C is 4.5 seconds.
When the embedded program operation is on going, user can confirm if the embedded operation is finished or
not by the following methods:
Status
Q7
Q6
Q5
In progress*1
Q7#
togging
0
Finished
Q7
Stop toggling
0
Exceed time limit
Q7#
Toggling
1
*1: The status "in progress" means both program mode and erase-suspended program mode.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
12
MX29F040C
CHIP ERASE
Chip Erase is to erase all the data with "1" and "0" as all "1". It needs 6 cycles to write the action in, and the first
two cycles are "unlock" cycles, the third one is a configuration cycle, the fourth and fifth are also "unlock" cycles,
and the sixth cycle is the chip erase operation.
During chip erasing, all the commands will not be accepted except hardware rests or the working voltage is too
low that chip erase will be interrupted. After Chip Erase, the chip will return to the state of Read Array.
When the embedded chip erase operation is on going, user can confirm if the embedded operation is finished or
not by the following methods:
Status
Q7
Q6
Q5
Q2
In progress
0
Togging
0
Toggling
Finished
1
Stop toggling
0
1
Exceed time limit
0
Toggling
1
Toggling
SECTOR ERASE
Sector Erase is to erase all the data in a sector with "1" and "0" as all "1". It requires six command cycles to issue. The first two cycles are "unlock cycles", the third one is a configuration cycle, the fourth and fifth are also
"unlock cycles" and the sixth cycle is the sector erase command. After the sector erase command sequence is
issued, there is a time-out period of 50us counted internally. During the time-out period, additional sector address and sector erase command can be written multiply. Once user enters another sector erase command, the
time-out period of 50us is recounted. If user enters any command other than sector erase or erase suspend during time-out period, the erase command would be aborted and the device is reset to read array condition. The
number of sectors could be from one sector to all sectors. After time-out period passing by, additional erase command is not accepted and erase embedded operation begins.
During sector erasing, all commands will not be accepted except hardware reset and erase suspend and user
can check the status as chip erase.
When the embedded erase operation is on going, user can confirm if the embedded operation is finished or not
by the following methods:
Status
Q7
Q6
Q5
Q3
Q2
Time-out period
0
Toggling
0
0
Toggling
In progress
0
Togging
0
1
Toggling
Finished
1
Stop toggling
0
1
1
Exceed time limit
0
Toggling
1
1
Toggling
*1: The status Q3 is the time-out period indicator. When Q3=0, the device is in time-out period and is acceptible
to another sector address to be erased. When Q3=1, the device is in erase operation and only erase suspend is
valid.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
13
MX29F040C
SECTOR ERASE SUSPEND
During sector erasure, sector erase suspend is the only valid command. If user issue erase suspend command
in the time-out period of sector erasure, device time-out period will be over immediately and the device will go
back to erase-suspended read array mode. If user issue erase suspend command during the sector erase is being operated, device will suspend the ongoing erase operation, and after the Tready1(<=20us) suspend finishes
and the device will enter erase-suspended read array mode. User can judge if the device has finished erase suspend through Q6, and Q7.
After device has entered erase-suspended read array mode, user can read other sectors not at erase suspend
by the speed of Taa; while reading the sector in erase-suspend mode, device will output its status. User can use
Q6 and Q2 to judge the sector is erasing or the erase is suspended.
Status
Q7
Q6
Q5
Q3
Q2
1
No toggle
0
N/A
toggle
Erase suspend read in non-erase suspended sector
Data
Data
Data
Data
Data
Erase suspend program in non-erase suspended sector
Q7#
Toggle
0
N/A
N/A
Erase suspend read in erase suspended sector
When the device has suspended erasing, user can execute the command sets except sector erase and chip
erase, such as read silicon ID, program, and erase resume.
SECTOR ERASE RESUME
Sector erase resume command is valid only when the device is in erase suspend state. After erase resume, user
can issue another erase suspend command, but there should be a 400us interval between erase resume and
the next erase suspend. If user issue infinite suspend-resume loop, or suspend-resume exceeds 1024 times, the
time for erasing will increase.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
14
MX29F040C
ABSOLUTE MAXIMUM STRESS RATINGS
Surrounding Temperature with Bias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . -65oC to +125oC
Storage Temperature . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . .. . . . . -65oC to +150oC
Voltage Range
Vcc . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-0.5V to +7.0 V
A9 . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-0.5V to +13.5 V
The other pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. .-0.5V to Vcc +0.7 V
Output Short Circuit Current (less than one second) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .200 mA
Note:
1. Minimum voltage may undershoot to -2V during transition and for less than 20ns during transitions.
2. Maximum voltage may overshoot to Vcc +2V during during transition and for less than 20ns during transitions.
OPERATING TEMPERATURE AND VOLTAGE
Commercial (C) Grade
Surrounding Temperature (TA ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0°C to +70°C
Industrial (I) Grade
Surrounding Temperature (TA ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -40°C to +85°C
VCC Supply Voltages
VCC range. . . . . . . . . . . . . . . . ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +4.5V to 5.5V
P/N:PM1201
REV. 2.2, DEC. 04, 2012
15
MX29F040C
DC CHARACTERISTICS
Symbol Description
Min
Typ
Max
Remark
Iilk
Input Leak
± 1.0uA
Iolk
Output Leak
10uA
Icr1
Read Current(10MHz)
50mA
CE#=Vil, OE#=Vih
Icr2
Read Current(5MHz)
40mA
CE#=Vil, OE#=Vih
Icw
Write Current
30mA
CE#=Vil, OE#=Vih, WE#=ViL
Isb1
Standby Current (TTL)
1mA
Vcc=Vcc max, CE#=Vih
other pin disable
Isb2
Standby current (CMOS)
5uA
Vcc=Vcc max, CE#=vcc +0.3V,
other pin disable
15mA
1uA
Vil
Input Low Voltage
-0.3V
0.8V
Vih
Input High Voltage
0.7xVcc
Vcc+0.3V
Vhv
Very High Voltage for Auto Select
Vol
Output Low Voltage
Voh1
Ouput High Voltage (TTL)
Voh2
Ouput High Voltage (CMOS)
11.5V
12V
12.5V
0.45V
2.4V
Vcc-0.4V
P/N:PM1201
Iol=2.1mA, Vcc=Vcc min
Ioh1=-2mA
Ioh2=-100uA
REV. 2.2, DEC. 04, 2012
16
MX29F040C
SWITCHING TEST CIRCUITS
Vcc
0.1uF
R2
TESTED DEVICE
R1
CL
Vcc
DIODES=IN3064
OR EQUIVALENT
R1=6.2K ohm
R2=2.7K ohm
Test Condition
Output Load : 1 TTL gate
Output Load Capacitance, CL: 100PF for 90ns, 30PF for 70ns
Rise/Fall Times : 10nS
Input/Output reference levels: 0.8V, 2.0V
SWITCHING TEST WAVEFORMS
0.7xVCC
2.0V
2.0V
TEST POINTS
0.45V
0.8V
0.8V
INPUT
OUTPUT
P/N:PM1201
REV. 2.2, DEC. 04, 2012
17
MX29F040C
AC CHARACTERISTICS
Taa
Valid data output after address
Speed Option -70/90
Min
Typ
Max
70/90
Tce
Valid data output after CE# low
70/90
ns
Toe
Valid data output after OE# low
30/35
ns
Tdf
Data output floating after OE# high or CE# high
20
ns
Toh
Output hold time from the earliest rising edge of Addrss,
CE#, OE#
Trc
Symbol Description
Unit
ns
0
ns
Read period time
70/90
ns
Twp
WE# pulse width
35
ns
Twph
WE# pulse with high
30
ns
0
ns
Tghwl Read recover time before write
Twc
Write period time
70/90
ns
Tcwc
Command write period time
70/90
ns
Tas
Address setup time
0
ns
Tah
Address hold time
45
ns
Tds
Data setup time
30/45
ns
Tdh
Data hold time
0
ns
Tcs
CE# Setup time
0
ns
Tch
CE# hold time
0
ns
Toes
OE# setup time
0
ns
Tcep
CE# pulse width
35/45
ns
20
ns
Tceph CE# pulse width high
Tavt
Program operation
9
300
us
Taetc
Chip Erase Operation
4
32
sec
Taetb
Sector Erase Operation
0.7
8
sec
Tbal
Sector Address hold time
50
us
P/N:PM1201
REV. 2.2, DEC. 04, 2012
18
MX29F040C
Figure 1. COMMAND WRITE OPERATION
Tcwc
CE#
Vih
Vil
Tch
Tcs
WE#
Vih
Vil
Toes
OE#
Twph
Twp
Vih
Vil
Addresses
Vih
VA
Vil
Tah
Tas
Tdh
Tds
Data
Vih
Vil
DIN
VA: Valid Address
P/N:PM1201
REV. 2.2, DEC. 04, 2012
19
MX29F040C
READ/RESET OPERATION
Figure 2. READ TIMING WAVEFORMS
CE#
Tce
Vih
Vil
Vih
WE#
OE#
Vil
Tdf
Toe
Vih
Vil
Toh
Taa
Trc
Vih
Addresses
Outputs
ADD Valid
Vil
Voh
HIGH Z
DATA Valid
HIGH Z
Vol
P/N:PM1201
REV. 2.2, DEC. 04, 2012
20
MX29F040C
ERASE/PROGRAM OPERATION
Figure 3. AUTOMATIC CHIP ERASE TIMING WAVEFORM
CE#
Tch
WE#
Tavt
Tcs
OE#
Last 2 Program Command Cycle
Address
555h
VA
PA
Tds
Data
Last 2 Read Status Cycle
Tah
Tas
VA
Tdh
A0h
PD
P/N:PM1201
Status DOUT
REV. 2.2, DEC. 04, 2012
21
MX29F040C
Figure 4. AUTOMATIC CHIP ERASE ALGORITHM FLOWCHART
START
Write Data AAH Address 555H
Write Data 55H Address 2AAH
Write Data 80H Address 555H
Write Data AAH Address 555H
Write Data 55H Address 2AAH
Write Data 10H Address 555H
Data# Polling Algorithm or
Toggle Bit Algorithm
NO
Data=FFh ?
YES
Auto Chip Erase Completed
P/N:PM1201
REV. 2.2, DEC. 04, 2012
22
MX29F040C
Figure 5. AUTOMATIC SECTOR ERASE TIMING WAVEFORM
Read Status
CE#
Tch
Taetb
WE#
Tcs
OE#
Tbal
Last 2 Erase Command Cycle
Twc
Address
Tas
Sector
Address 0
2AAh
Tds
Data
Tdh
55h
Sector
Address 1
Sector
Address n
Tah
VA
VA
In
Progress Complete
30h
30h
P/N:PM1201
30h
REV. 2.2, DEC. 04, 2012
23
MX29F040C
Figure 6. AUTOMATIC SECTOR ERASE ALGORITHM FLOWCHART
START
Write Data AAH Address 555H
Write Data 55H Address 2AAH
Write Data 80H Address 555H
Write Data AAH Address 555H
Write Data 55H Address 2AAH
Write Data 30H Sector Address
Last Sector
to Erase
NO
YES
Data# Polling Algorithm or
Toggle Bit Algorithm
Data=FFh
NO
YES
Auto Sector Erase Completed
P/N:PM1201
REV. 2.2, DEC. 04, 2012
24
MX29F040C
Figure 7. ERASE SUSPEND/RESUME FLOWCHART
START
Write Data B0H
Toggle Bit checking Q6
NO
ERASE SUSPEND
not toggled
YES
Read Array or
Program
Reading or
Programming End
NO
YES
Write Data 30H
ERASE RESUME
Continue Erase
Another
Erase Suspend ?
NO
YES
P/N:PM1201
REV. 2.2, DEC. 04, 2012
25
MX29F040C
Figure 8. AUTOMATIC PROGRAM TIMING WAVEFORMS
CE#
Tch
WE#
Tavt
Tcs
OE#
Last 2 Program Command Cycle
Address
555h
VA
PA
Tds
Data
Last 2 Read Status Cycle
Tah
Tas
VA
Tdh
A0h
PD
P/N:PM1201
Status
DOUT
REV. 2.2, DEC. 04, 2012
26
MX29F040C
Figure 9. CE# CONTROLLED WRITE TIMING WAVEFORM
WE#
Tavt or Taetb
Tcep
CE#
Tceph
Tghwl
OE#
Tah
Tas
Address
555h
Tds
Data
VA
PA
VA
Tdh
A0h
PD
P/N:PM1201
Status
DOUT
REV. 2.2, DEC. 04, 2012
27
MX29F040C
Figure 10. AUTOMATIC PROGRAMMING ALGORITHM FLOWCHART
START
Write Data AAH Address 555H
Write Data 55H Address 2AAH
Write Data A0H Address 555H
Write Program Data/Address
Data# Polling Algorithm or
Toggle Bit Algorithm
next address
Read Again Data:
Program Data?
No
YES
No
Last Byte to be
Programed
YES
Auto Program Completed
P/N:PM1201
REV. 2.2, DEC. 04, 2012
28
MX29F040C
Figure 11. SILICON ID READ TIMING WAVEFORM
CE#
Vih
Vil
Tce
Vih
WE#
Vil
Toe
Vih
OE#
Tdf
Vil
Toh
Toh
Vhv
Vih
A9
A0
Vil
Vih
Vil
Taa
A1
Taa
Vih
Vil
ADD
DATA
Q0-Q7
Vih
Vil
Vih
Vil
DATA OUT
DATA OUT
C2H
A4H
P/N:PM1201
REV. 2.2, DEC. 04, 2012
29
MX29F040C
WRITE OPERATION STATUS
Figure 12. DATA# POLLING TIMING WAVEFORMS (DURING AUTOMATIC ALGORITHMS)
Tce
CE#
Tch
WE#
Toe
OE#
Tdf
Address
VA
VA
Taa
Toh
Q7
Complement
Complement
True
Valid Data
Q0-Q6
Status Data
Status Data
True
Valid Data
P/N:PM1201
High Z
High Z
REV. 2.2, DEC. 04, 2012
30
MX29F040C
Figure 13. DATA# POLLING ALGORITHM
Start
Read Q7~Q0 at valid address
(Note 1)
Q7 = Data# ?
No
Yes
No
Q5 = 1 ?
Yes
Read Q7~Q0 at valid address
Q7 = Data# ?
(Note 2)
No
Yes
FAIL
Pass
Notes:
1. For programming, valid address meas program address.
For erasing, valid address meas erase sectors address.
2.Q7 should be rechecked even Q5="1" because Q7 may change simultaneously with Q5.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
31
MX29F040C
Figure 14. TOGGLE BIT TIMING WAVEFORMS (DURING AUTOMATIC ALGORITHMS)
Tce
CE#
Tch
WE#
Toe
OE#
Tdf
Address
VA
VA
VA
VA
Taa
Toh
Q6/Q2
Valid Status
(first read)
Valid Status
Valid Data
(second read)
(stops toggling)
Valid Data
Notes:
1. VA : Valid Address
2. CE# must be toggled when toggle bit is toggling.
P/N:PM1201
REV. 2.2, DEC. 04, 2012
32
MX29F040C
Figure 15. TOGGLE BIT ALGORITHM
Start
Read Q7-Q0 Twice
(Note1)
NO
Q6 Toggle ?
YES
NO
Q5 = 1?
YES
Read Q7~Q0 Twice
(Note1, 2)
NO
Q6 Toggle ?
YES
Program/Erase fail
Write Reset CMD
Program/Erase Complete
Notes:
1. Read toggle bit twice to determine whether or not it is toggling.
2. Recheck toggle bit because it may stop toggling as Q5 changes to "1".
P/N:PM1201
REV. 2.2, DEC. 04, 2012
33
MX29F040C
RECOMMENDED OPERATING CONDITIONS
At Device Power-Up
AC timing illustrated in "Figure A. AC Timing at Device Power-Up" is recommended for the supply voltages and
the control signals at device power-up. If the timing in the figure is ignored, the device may not operate correctly.
Vcc
Vcc(min)
GND
Tvr
Tf
CE#
WE#
Tce
Vil
Vih
Vil
Tf
OE#
Tr
Vil
Taa
Vih
Tr or Tf
Valid
Address
Vil
Voh
DATA
Toe
Vih
Tr or Tf
ADDRESS
Tr
Vih
High Z
Valid
Ouput
Vol
Figure A. AC Timing at Device Power-Up
Symbol
Parameter
Min.
Max.
Unit
Tvr
Vcc Rise Time
20
500000
uS/V
Tr
Input Signal Rise Time
20
uS/V
Tf
Input Signal Fall Time
20
uS/V
P/N:PM1201
REV. 2.2, DEC. 04, 2012
34
MX29F040C
ERASE AND PROGRAMMING PERFORMANCE
LIMITS
PARAMETER
MIN.
TYP.
MAX.
UNITS
9
300
us
0.7
8
sec
4
32
sec
4.5
13.5
sec
Byte Programming Time
Sector Erase Time
Chip Erase Time
Chip Programming Time
Erase/Program Cycles
100,000
Cycles
Note: 1. Typical condition means 25°C, 5V.
2. Maximum condition means 90°C, 4.5V, 100K cycles.
DATA RETENTION
PARAMETER
Condition
Min.
Data retention
55˚C
20
Max.
UNIT
years
LATCH-UP CHARACTERISTICS
MIN.
MAX.
Input Voltage difference with GND on all pins except I/O pins
-1.0V
13.5V
Input Voltage difference with GND on all I/O pins
-1.0V
VCC + 1.0V
-100mA
+100mA
Vcc Current
Includes all pins except VCC. Test conditions: VCC = 5V, one pin per testing
TSOP AND PLCC PIN CAPACITANCE
Parameter Symbol
Parameter Description
Test Set
CIN2
Control Pin Capacitance
COUT
Output Capacitance
CIN
Input Capacitance
P/N:PM1201
TYP
MAX
UNIT
VIN=0
12
pF
VOUT=0
12
pF
VIN=0
8
pF
REV. 2.2, DEC. 04, 2012
35
MX29F040C
ORDERING INFORMATION
PART NO.
MX29F040CQC-70G
MX29F040CQC-90G
Access
Time (ns)
Operating
Current
MAX.(mA)
Standby
Current
MAX.(uA)
Temperature
Range
PACKAGE
70
30
5
0oC~70oC
32 Pin PLCC
90
30
5
o
o
32 Pin PLCC
o
o
0 C~70 C
MX29F040CTC-70G
70
30
5
0 C~70 C
32 Pin TSOP
(Normal Type)
MX29F040CTC-90G
90
30
5
0oC~70oC
32 Pin TSOP
(Normal Type)
MX29F040CQI-70G
70
30
5
-40oC~85oC
32 Pin PLCC
MX29F040CQI-90G
90
30
5
o
o
32 Pin PLCC
o
o
-40 C~85 C
MX29F040CTI-70G
70
30
5
-40 C~85 C
32 Pin TSOP
(Normal Type)
MX29F040CTI-90G
90
30
5
-40oC~85oC
32 Pin TSOP
(Normal Type)
P/N:PM1201
Remark
REV. 2.2, DEC. 04, 2012
36
MX29F040C
PART NAME DESCRIPTION
MX 29
F 040 C
T I
70 G
OPTION:
G: RoHS Compliant package
blank: normal
SPEED:
70:70ns
90: 90ns
TEMPERATURE RANGE:
I: Industrial (-40C to 85C)
PACKAGE:
Q: PLCC
T: TSOP
REVISION:
C
DENSITY & MODE:
040: 4M, x8 Equal Sector
TYPE:
F: 5V
DEVICE:
29: Flash
P/N:PM1201
.
REV. 2.2, DEC. 04, 2012
37
MX29F040C
PACKAGE INFORMATION
P/N:PM1201
REV. 2.2, DEC. 04, 2012
38
MX29F040C
P/N:PM1201
REV. 2.2, DEC. 04, 2012
39
MX29F040C
REVISION HISTORY
Revision No. Description
Page
Date
1.0
1. Removed "Preliminary" title
P1
DEC/20/2005
2. Removed commercial grade
All
3. Added access time: 55ns; Removed access time: 120ns
All
1.1
1. Removed access time: 55ns
P1,13,15,16 JUN/21/2006
P29,30
2. Removed sector protect/chip unprotect feature
P1,5~7,10,12
P26~29
3. Added data# polling, toggle bit algorithm
P20,21
1.2
1. DataSheet format changed
All
AUG/15/2006
1.3
1. Data modification
All
AUG/17/2006
1.4
1. Added statement P40
NOV/06/2006
1.5
1. Removed PDIP package option
P1,2,34,35 JAN/18/2007
2. Added recommedation for non RoHS compliant devices
P1,34
1.6
1. Added note 1 into "TABLE 3. MX29F040C COMMAND DEFINITIONS"P8
JAN/17/2008
1.7
1. Modified "Figure 9. CE# CONTROLLED WRITE TIMING WAVEFORM"P25
FEB/21/2008
1.8
1. Removed non Pb-free EPNs
P1,34,35
SEP/15/2008
2. Added C-grade EPNs
P34,35
1.9
1. Modified Figure 10. CE# Controlled Write Timing Waveform
P25
MAR/09/2009
(Changed "Twhwh1 or Twhwh2" into "Tavt or Taetb")
2. Modified "Figure 12. DATA# POLLING TIMING WAVEFORMS (DURING AUTOMATIC ALGORITHMS)"P28
2.0
1. Added Note of maximum/minimum voltage during transition
P13
MAY/26/2009
into DC characteristics
2. Added DC: Icw spec and modify Max. Icr1
P14
3. Added AC: Twp/Twph/Tghwl spec
P16
2.1
1. Added "DATA RETENTION" table
P33
JUN/30/2009
2. Modified the sector erase time max from 15s to 8s
P16,33
2.21. Modified description for RoHS compliance
P1,36,37
DEC/04/2012
2. Modified Output Load Capatitance P17
P/N:PM1201
REV. 2.2, DEC. 04, 2012
40
MX29F040C
Except for customized products which has 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. 2006~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
MACRONIX INTERNATIONAL CO., LTD. reserves the right to change product and specifications without notice.
41