AI02074
19
A0-A18
W
DQ0-DQ7
VCC
M29W040
G
E
VSS
8
Figure 1. Logic Diagram
M29W040
4 Mbit (512Kb x8, Unifo rm Block)
Low Voltage Single Supply Flash Memor y
NOT FOR NEW DESIGN
M29W040 is replaced by the M29W040B
2.7V to 3.6V SUPPLY VOLTAGE for
PROGRAM, ERASE and READ OPERATIONS
FAST A CCE SS TI ME: 100ns
BYTE PROGRAMMING TIME: 12µs typical
ERASE TIME
Block: 1.5 sec typical
Chip: 2.5 sec typical
PROGRAM/ERASE CONTROLLER (P/E.C.)
Program Byte-by-B yte
Data Polling and Toggle bits Protocol for
P/ E.C. Sta t us
MEMO RY ERASE in BLOC KS
8 Uniform Blocks of 64 K Bytes each
Block Protection
Multiblock Erase
ERASE SUSPEND and RESUME MODES
LOW POWE R CO NSUMP TION
Read mode: 8mA typical (at 12MHz)
Stand-by mode: 20µA typical
Automatic Stand-by mode
POWER DOWN SOFTWARE COMMAND
Power-down mode: 1µA typical
100,000 PROGRAM/ERAS E CYCLES per
BLOCK
20 YEARS DATA RETENTION
Defectivity below 1ppm/year
ELECTRONIC SIGNATURE
Manufacturer Code: 20h
Device Code: E3h
A0-A18 Address Inputs
DQ0-DQ7 Data Input / Outputs
E Chip Enable
G Output Enable
W Write Enable
VCC Supply Voltage
VSS Ground
Table 1. Signal Names
PLCC32 (K) TSOP32 (N)
8 x 20mm
November 1999 1/31
This is information on a product still in production but not recommended for new designs.
TSOP32 (NZ)
8 x 14mm
A1
A0
DQ0
A7
A4 A3
A2
A6
A5
A13
A10
A8
A9
DQ7
A14
A11 G
E
DQ5
DQ1
DQ2
DQ3
DQ4
DQ6
A17
W
A16
A12
A18
VCC
A15
AI02076
M29W040
(Normal)
8
1
9
16 17
24
25
32
VSS
Figure 2B. TSOP Pin Connections
AI02075
A17
A13
A10
DQ5
17
A1
A0
DQ0
DQ1
DQ2
DQ3
DQ4
A7
A4
A3
A2
A6
A5
9
W
A8
1
A16
A9
DQ7
A12
A14
32
A18
VCC
M29W040
A15
A11
DQ6
G
E
25
VSS
Figure 2A. LCC Pin Connections
A1
A0
DQ0 A7
A4A3
A2 A6
A5
A13
A10 A8
A9
DQ7 A14
A11G
E
DQ5
DQ1
DQ2
DQ3
DQ4
DQ6 A17
W
A16
A12
A18
VCC
A15
AI02077
M29W040
(Reverse)
8
1
9
16 17
24
25
32
VSS
Figure 2C. TSOP Reverse Pin Conn ecti ons DESCRIPTION
The M29W040 is a non-volatile memory that may
be erased electrically at the block level, and pro-
grammed Byte-by-Byte.
The interface is directly compatible with most mi-
croprocessors. PLCC32, TSOP32 (8 x 20mm) and
TSOP32 ( 8 x 14m m) pac kages are av ailable. B oth
normal and reverse pin outs are available for the
TSOP32 (8 x 20mm) package.
Organisation
The Flash Memory organisation is 512K x8 bits with
Address lines A0-A18 and Data Inputs/Outputs
DQ0-DQ7. Memory control is provided by Chip
Enable, Output Enable and Write Enable Inputs.
Erase and Program are performed through the
internal Program/Erase Controller (P/E.C.).
Data Outputs bits DQ7 and DQ6 provide polling or
toggle signals during Automatic Pr ogr am or Erase
to indicate the Ready/Busy state of the internal
Program/Erase Controller.
Memory Blocks
Erasure of the memory is in blocks. There are 8
uniform blocks of 64 Kbytes each in the memory
address space. Each block can be programmed
and erased over 100,000 cycles. Each uniform
2/31
M29W040
Symbol Parameter Value Unit
TAAmbient Operating Temperature (3) –40 to 85 °C
TBIAS Temperature Under Bias –50 to 125 °C
TSTG Storage Temperature –65 to 150 °C
VIO (2) Input or Output Voltages –0.6 to 5 V
VCC Supply Voltage –0.6 to 5 V
VA9 (2) A9 Voltage –0.6 to 13.5 V
Notes: 1. Except for the rating "Operating Temperature Range", stresses above those listed in the Table "Absolute Maximum Ratings"
may cause permanent damage to the device. These are stress ratings only and operation of the device at these or any other
conditions above those indicated in the Operating sections of this specification is not implied. Exposure to Absolute Maximum
Rating conditions for extended periods may affect device reliability . Ref e r also to the STM icro e lect ron ic s SURE Pr ogra m and o the r
relevant quality documents.
2. Minimum Voltage may undershoot to –2V during transition and for less than 20ns.
3. Depends on range.
Table 2. Absolute Maximum Ratings (1)
block may separately be protected and unpro-
tected against program and erase. Block erasure
may be suspended, while data is read f rom other
blocks of the memory, and then resumed.
Bus Operations
Seven operations can be performed by the appro-
priate bus cycles, Read Array, Read Electronic
Signature, Output Disable, S tandby , P rotect Block,
Unprotect Block, and Write the Command of an
Instruction.
Command Interface
Command Bytes can be written to a Command
Interf ace (C.I.) latch to perform Reading (from the
Array or Electronic Signature), Erasure or Pro-
gramming. For added data protection, command
execution starts after 4 or 6 command cycles. The
first, second, fourth and fifth cycles are used to
input a code sequence to the Command Interface
(C.I.). This s equence is equal for all P/E.C. instruc-
tions. Command itself and its confirmation - if it
applies - are given on the third and fourth or sixth
cycles.
Instructions
Eight instructions are defined to perform Reset,
Read Electronic Signature, Auto Program, Block
Auto Erase, Chip Auto Erase, Block Erase Sus-
pend, Block Erase Resume and Power Down. The
internal Program/Erase Controller (P/E.C.) handles
all timing and verification of the Program and Erase
instructions and provides Data Polling, Toggle, and
Status data to indicate completion of Program and
Erase Operations.
Instructions are composed of up to six c ycles. T he
first two cycles input a code sequence to the Com-
mand Interface which is common to all P/E.C.
instructions (see Table 7 for Command Descrip-
tions). The thi rd cycle input s the instruc tion set up
command instruction to the Command Interface.
Subsequent cycles output Signature, Block Protec-
tion or the addressed data for Read operations.
For added data protection, the instructions for pro-
gram, and block or chip erase require further com-
mand inputs. For a Program instruction, the fourth
command cycle inputs the address and data to be
programmed. For an Erase instruction (block or
chip), the fourth and fifth cycles input a further code
sequence before the Erase confirm command on
the sixth cycle. Byte programming takes typically
12µs while erase is performed in typically 1.5 sec-
ond.
Erasure of a memory block may be suspended, in
order to read data from another block, and then
resumed. Data Polling, Toggle and Error data may
be read at any time, including during the program-
ming or erase cycles, to monitor the progress of
the operation. When power is first applied or if VCC
falls below VLKO, the com mand interface is reset to
Read Array .
3/31
M29W040
Operation E G W DQ0 - DQ7
Read VIL VIL VIH Data Output
Write VIL VIH VIL Data Input
Output Disable VIL VIH VIH Hi-Z
Standby VIH X X Hi-Z
Note: X = VIL or VIH
Tab le 3. Operations
Code E G WA0A1A6A9 Other
Addresses DQ0 - DQ7
Manufact. Code VIL VIL VIH VIL VIL VIL VID Don’t Care 20h
Device Code VIL VIL VIH VIH VIL VIL VID Don’t Care E3h
Tab le 4. Electronic Signature
Code E G W A0 A1 A6 A16 A17 A18 Other
Addresses DQ0 - DQ7
Protected Block VIL VIL VIH VIL VIH VIL SA SA SA Don’t Care 01h
Unprotected Block VIL VIL VIH VIL VIH VIL SA SA SA Don’t Care 00h
Note: SA = Address of block being checked
Table 5. Block Pro tection Status
DEVICE OPERATION
Signal Descriptions
Address Inputs (A0-A18). The address inputs for
the memory array are latched during a write opera-
tion. The A9 address input is used also for the
Electronic Signature read and Block Protect veri-
fication. When A9 is raised to VID, eithe r a Read
Manufacturer Code, Read Device Code or Verify
Block Protection is enabled depending on the com-
bination of levels on A0, A1 and A6. When A0, A1
and A6 are Low, the Electronic Signature Manufac-
turer code is read, when A0 is High and A 1 and A6
are Low, the Device code is read, and when A1 is
High and A0 and A 6 ar e low, the Block Protection
Status with protect/unprotect algorithm is read for
the block addressed by A 16, A 17, A18.
Data Input/Outputs (DQ0-DQ7). The data input is
a byte to be programm ed or a comm and written to
the C.I. Both are latched when Chip Enable E and
Write Enable W are active. The data output is from
the memory Array, the Electronic Signature, the
Data Polling bit (DQ7), the Toggle Bit (DQ6), the
Error bit (DQ5) or the Erase Timer bit (DQ3). Ou-
puts are valid when Chip Enable E and Output
Enable
G are active. The output is high impedance
when the chip is deselected or the outputs are
disabled.
Chip Enable (E). The Chip Enable activates the
memory control logic, input buffers, decoders and
sense amplifiers. E High deselects the memory and
reduces the power consumption to the standby
level. E can also be used to control writing to the
command regis ter and to t he memory array, while
W remains at a low level. Addresses are then
latched on the falling edge of E while data is latched
on the ris ing edge of E. The Chip Enable must be
forced to VID during Block U nprotect operations.
Output Enable ( G). The Output Enable gat es the
outputs through the data buffers during a read
operation. G must be forced to VID level during
Block Pr otect and Bloc k Unprotect operations.
Write Enable (W). This input controls writing to the
Command Register and Address and Data latches.
Addresses are latched on the falling edge of W, and
Data Inputs are latched on the rising edge of W.
VCC Supply Voltage. The power supply for all
operations (Read, Program and Erase).
VSS Ground. VSS is the reference for all voltage
measurements.
4/31
M29W040
Mne. Instr. Cyc. 1st Cyc. 2nd Cyc. 3rd Cyc. 4th Cyc. 5th Cyc. 6th Cyc. 7th Cyc.
RST (3,9) Read Array/
Reset
1+ Addr. (2,6) XRead Memory Array until a new write cycle is initiated.
Data F0h
3+ Addr. (2,6) 5555h 2AAAh 5555h Read Memory Array until a new write
cycle is initiated.
Data AAh 55h F0h
RSIG (3) Read
Electronic
Signature 3+ Addr. (2,6) 5555h 2AAAh 5555h Read Electronic Signature until a new
write cycle is initiated. See Note 4.
Data AAh 55h 90h
RBP (3) Read Block
Protection 3+ Addr. (2,6) 5555h 2AAAh 5555h Read Block Protection until a new write
cycle is initiated. See Note 5.
Data AAh 55h 90h
PG Program 4 Addr. (2,6) 5555h 2AAAh 5555h Program
Address Read Data Polling or Toggle Bit
until Program completes.
Data AAh 55h A0h Program
Data
BE Block Erase 6 Addr. (2,6) 5555h 2AAAh 5555h 5555h 2AAAh Block
Address Additional
Block (7)
Data AAh 55h 80h AAh 55h 30h 30h
CE Chip Erase 6 Addr. (2,6) 5555h 2AAAh 5555h 5555h 2AAAh 5555h Note 8
Data AAh 55h 80h AAh 55h 10h
ES Erase
Suspend 1Addr. (2,6) XRead until Toggle stops, then read all the data needed from any
uniform block(s) not being erased then Resume Erase.
Data B0h
ER Erase
Resume 1Addr. (2,6) XRead Data Polling or Toggle Bit until Erase completes or Erase
is suspended another time
Data 30h
PD (10) Power
Down 1Addr. (2,6) 5555h Puts the memory in Power Down mode where power
consumption is reduced to typically less than 1µA
Data 20h
Notes: 1. Command not interpreted in this table will defau lt to read array mode.
2. X = Don’t Care.
3. The first cycle of the RST, RBP or RSIG instruction is followed by read operations to read memory array, Status Register or
Electronic Signature codes. Any number of read cycles can occur after one command cycle.
4. Signature Address bits A0, A1, A6 at VIL will output Manufacturer code (20h). Address bits A0 at VIH and A1, A6 at VIL will outpu t
Device code.
5. Protection Address: A0, A6 at VIL, A1 at VIH and A16, A17, A18 within the un if orm blo c k to be chec ked , will o u t put t he
Block Protection status.
6. Address bits A15-A18 are don’t care for coded address inputs.
7. Optional, additional blocks addresses must be entered within a 80µs delay after last write entry, timeout status can be verified
through DQ3 value. When full command is entered, read Data Polling or Toggle bit until Erase is completed or suspended.
8. Read Data Polling or Toggl e bit until Erase compl etes.
9. A wait time of 5µs is necessary after a Reset command, if the memory is in a Block Erase or Power Down status, before
sta rting any operation.
10. Writing an RST command to the P/E.C. is mandatory prior to any new operation when the memory is in Power Down mode.
Table 6. Instructions (1)
5/31
M29W040
Memory Blocks
The memory blocks of the M29W040 are shown in
Figure 3. The memory array is divided in 8 uniform
blocks of 64 Kbytes. Each block can be erased
separately or any combination of blocks can be
erased simultaneously. The Block Erase operation
is managed automatically by the P/E.C. The opera-
tion can be suspended in order to read from any
other block, and then resumed.
Block Protection prov ides a dditional data security.
Each uniform block can be separately protected or
unprotected against Program or Erase. Bringing A9
and G to VID initiates protection, while bringing A9,
G and E to VID cancels the protection. The block
affected during protection is addressed by the in-
puts on A16, A17, and A18. Unprotect operation
affects all blocks.
Operations
Operations are defined as specific bus cycles and
signals which allow Memory Read, Command
Write, Output Dis able, Standby, Read Status Bits,
Block Protect/Unprotect, Block Protection Check
and Electronic Signature Read. They are shown in
Tables 3, 4, 5.
Read. Read operations are used to output the
contents of the Memory Array, the Status Register
or the Electronic Signature. Both Chip Enable E
and Output Enable G must be low in order to read
the output of the memory. The Chip Enable input
also provides power control and should be used for
device selection. Output Enable should be used to
gate data onto the output independent of the device
selection. The dat a r ead depends on the previous
command written to the memory (see instructions
RST and RSIG, and Status Bits).
Write. Write operations are used to give Instruction
Commands to the memory or to latch input data to
be programmed. A write operation is initiated when
Chip Enable E is Low and Write Enable W is Low
with Output Enable G High. Addresses are latched
on the falling edge of W or E whichever occurs last.
Commands and Input Data are latched on the rising
edge of W or E whichever occurs first.
Output Disab le. The dat a outputs are high imped-
ance when the Output Enable G is High with W r ite
Enable W High.
Standby. The memory is in standby when Chip
Enable E is High and Program/Erase Controller
P/E.C. is Idle. The power c ons umpt ion is r educ ed
to the standby level and the outputs are high im-
pedance, independent of the Output Enable G or
Write Enable W inputs.
Autom a tic Sta ndby. After 150ns of inactivity and
when CMOS levels are driving the addr esses, t he
chip automat ically ent ers a pseudo s tandby m ode
where consumption is reduced to the CMOS
standby value, while outputs are still driving the
bus.
Power Down. When the PD command is written
to the P/E.C. the memory enters a power down
status where the power consumption is reduced to
ICC6 (typically less than 1.0µA).
Electronic Signature. Two codes identifying t he
manufacturer and the device can be read from the
memory, the manufacturer’s code for STMicroelec-
tronics is 20h, and the device code is E3h for the
M29W040. These codes allow programming
equipment or applications to automat ic ally m atch
their interface to the characteristics of the particular
manufacturer’s product. The Electronic S ignature
is output by a Read operation when the voltage
applied to A9 is at VID and addr ess inputs A1 and
A6 are at Low. The manufacturer code is output
when the Address input A0 is Low and the device
code when this input is High. Other Address inputs
are ignored. The codes are output on DQ0-DQ7.
This is shown in Table 4.
The Electronic Signature can also be read, without
raising A9 to VID by giving the memory the instruc-
tion RSIG (see below).
6/31
M29W040
64K Bytes Block
AI01362B
7FFFFh
6FFFFh
5FFFFh
4FFFFh
3FFFFh
2FFFFh
1FFFFh
0FFFFh
TOP
ADDRESS
70000h
60000h
50000h
40000h
30000h
20000h
10000h
00000h
BOTTOM
ADDRESS
A18
1
1 64K Bytes Block
64K Bytes Block
64K Bytes Block
64K Bytes Block
A17
1
1
A16
1
0
1
1
0
0
1
0
0
0
1
1
1
0
001
000
Figure 3. Memory Map and Block Address Table
Hex Code Command
10h Chip Erase Confirm
20h Power Down
30h Block Erase Resume/Confirm
50h Reserved
80h Set-up Erase
90h Read Electronic Signature/
Block Protection Status
A0h Program
B0h Erase Suspend
F0h Read Arra y/Reset
Table 7. Command s
Block Protection. Each uniform block can be
separately protected against Program or Erase.
Block Protection prov ides a dditional data security,
as it disables all program or eras e operations. This
mode is activated when both A9 and G are set t o
VID and the block address is applied on A16-A18.
Block Protection is programmed using a Presto F
program like algorithm. Protection is initiated on the
edge of W falling to VIL. Then after a delay of 100µs,
the edge of W rising to VIH ends the protection
operation. Protection verify is achieved by bringing
G, E and A6 to VIL while W is at VIH and A9 at VID.
Under these conditions, reading the data output will
yield 01h if the block defined by the inputs on
A16-A18 is protected. Any attempt to program or
erase a protected block will be ignored by the
device.
Any protected block can be unprotected to allow
updating of bit contents. All blocks must be pro-
tected before an unprotect operation. Block Un-
protect is activated when A9, G and E are at VID.
The addresses inputs A6, A12, A16 must be main-
tained at VIH. Block Unprotect is performed through
a Presto F Erase like algorithm. Unprotect is initi-
ated by the edge of W falling to VIL. After a delay
of 10ms, the edge of W rising to VIH will end the
unprotection operation. Unprotect verify is
achieved by bringing G and E t o VIL while A6 and
W are at VIH and A9 at VID. In these conditions,
reading the output data will yield 00h if the block
defined by t he inputs on A1 6-A18 has been suc-
cessfully unprotected. All combinations of A16-A18
must be addressed in order to ensure that all of the
8 uniform blocks have been unprotected. Block
Protection Status is shown in Table 5.
7/31
M29W040
Instructions and Commands
The Command Interface (C.I .) latches commands
written to the memory. Instructions are made up
from one or more commands to perform Read
Array/Reset, Read Electronic Signature, Power
Down, Block Erase, Chip Erase, Program, Block
Erase Suspend and Erase Resume. Commands
are made of address and data sequences. Ad-
dresses are latched on t he falling edge of W or E
and data is latched on the rising of W or E. The
instructions require from 1 to 6 cycles, the first or
first three of which are always write operations
used to initiate the command. They are followed by
either further write cycles to confirm the first com-
mand or execute the command immediately . Com-
mand sequencing must be followed exactly. Any
invalid combination of commands will reset the
device to Read Array. The increased number of
cycles has been chosen to ass ure maximum data
security. Commands are init ialised by two preced-
ing coded cycles which unlock the Command Inter-
face. In addition, for Erase, c ommand confirmation
is again preceeded by the two coded cycles.
P/E.C. status is indicated during command execu-
tion by Data Polling on DQ7, detection of Toggle on
DQ Name Logic Level Definition Note
7Data
Polling
’1 Erase Complete Indicates the P/E.C. status, check during
Program or Erase, and on completion
before checking bits DQ5 for Program or
Erase Success.
’0’ Erase on going
DQ Program Complete
DQ Program on going
6 Toggle Bit
’-1-0-1-0-1-0-1-’ Erase or Program on going Successive read output complementary
data on DQ6 while Programming or Erase
operations are going on. DQ6 remain at
constant level when P/E.C. operations are
completed or Erase Suspend is
acknowledged.
’-0-0-0-0-0-0-0-’ Program (’0’ on DQ6)
Complete
’-1-1-1-1-1-1-1-’ Erase or Program
(’1’ on DQ6) Complete
5 Error Bit ’1 Program or Erase Error This bit is set to ’1’ if P/E.C. has exceded
the specified time limits.
’0 Program or Erase on going
4’1’
’0’
3Erase
Time Bit
’1 Erase Timeout Period Expired P/E.C. Erase operation has started. Only
possible command entry is Erase Suspend
(ES). An additional block to be erased in
parallel can be entered to the P/E.C.
’0’ Erase Timeout Period on
going
2 Reserved
1 Reserved
0 Reserved
Note: Logic level ’1’ is High, ’0’ is Low. -0-1-0-0-0-1-1-1-0- represent bit value in successive Read operations.
Tab le 8. Status Register
DQ6, or Error on DQ5 and Erase Tim er DQ3 bit s.
Any read attempt during Program or Erase com-
mand execution will automatically output those four
bits. The P/E.C. automatically sets bits DQ3, DQ5,
DQ6 and DQ7. Other bits (DQ0, DQ1, DQ2 and
DQ4) are reserved for future use and should be
masked.
Dat a Poll ing bit (D Q7). When Programming op-
erations are in progress, this bit outputs th e com-
plement of the bit being programmed on DQ7.
During Erase operation, it outputs a ’0’. After com-
pletion of the operation, DQ7 will output the bit last
programmed or a ’1’ after erasing. Data Polling is
valid only effective during P/E.C. operation, that is
after the fourth W pulse f or programming or after
the sixth W pulse for Erase. I t must be performed
at the address being programmed or at an address
within the block being erased. If the byte to be
programmed belongs to a protected block the com-
mand is ignored. If all the blocks selected for era-
sure are protected, DQ7 will set to ’0’ for about
100µs, and then return to previous addressed
memory data. See Figure 9 for the Data Polling
flowchart and Figure 10 for the Data Polling wave-
forms.
8/31
M29W040
AI01417
3V
0V
1.5V
Figure 4. AC Testing Input Output Waveform
AI01968
0.8V
OUT
CL = 30pF or 100pF
CL includes JIG capacitance
3.3k
1N914
DEVICE
UNDER
TEST
Figure 5. AC Testing Load Circuit
Symbol Parameter Test Condition Min Max Unit
CIN Input Capacitance VIN = 0V 6 pF
COUT Output Capacitance VOUT = 0V 12 pF
Note: 1. Sam pl ed onl y, not 100% tested.
Table 10. Capacitance (1) (TA = 25 °C, f = 1 MHz )
Input Rise and Fall Times 10ns
Input Pulse Voltages 0 to 3V
Input and Output Timing Ref. Voltages 1.5V
Table 9. AC Measurement Conditions
Symbol Parameter Test Condition Min Max Unit
ILI Input Leakage Current 0V VIN VCC ±1µA
ILO Output Leakage Current 0V VOUT VCC ±1µA
ICC1 Supply Current (Read) E = VIL, G = VIH, f = 6MHz 20 mA
ICC2 Supply Current (Standby) TTL E = VIH 0.2 mA
ICC3 Supply Current (Standby) CMOS E = VCC ± 0.2V 50 µA
ICC4 Supply Current (Program or Erase) Byte Program,
Block Erase 20 mA
ICC5 Supply Current Chip Erase in progress 40 mA
ICC6 Power Down Current E = VCC ± 0.2V 5 µA
VIL Input Low Voltage –0.5 0.8 V
VIH Input High Voltage 0.7 VCC VCC + 0.5 V
VOL Output Low Voltage IOL = 2mA 0.45 V
VOH Output High Voltage CMOS IOH = –100µAV
CC –0.4 V
IOH = –2.0mA 0.85 VCC V
VID A9 Voltage (Electronic Signature) 11.5 12.5 V
IID A9 Current (Electronic Signature) A9 = VID 50 µA
VLKO Supply Voltage (Erase and
Program lock-out) 1.9 2.2 V
Table 1 1. DC Characteristics
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C; VCC = 2.7V to 3.6V)
9/31
M29W040
Symbol Alt Parameter Test Condition
M29W040
Unit
-100 -120
VCC = 3.3V±0.3V
CL = 30pF VCC = 3.3V±0.3V
Min Max Min Max
tAVAV tRC Address Valid to Next Address Valid E = VIL, G = VIL 100 120 ns
tAVQV tACC Address Valid to Output Valid E = VIL, G = VIL 100 120 ns
tELQX (1) tLZ Chip Enable Low to Output Transition G = VIL 00ns
t
ELQV (2) tCE Chip Enable Low to Output Valid G = VIL 100 120 ns
tGLQX (1) tOLZ Output Enable Low to Output
Transition E = VIL 00ns
t
GLQV (2) tOE Output Enable Low to Output Valid E = VIL 40 50 ns
tEHQX tOH Chip Enable High to Output
Transition G = VIL 00ns
t
EHQZ (1) tHZ Chip Enable High to Output Hi-Z G = VIL 20 30 ns
tGHQX tOH Output Enable High to Output
Transition E = VIL 00ns
t
GHQZ (1) tDF Output Enable High to Output Hi-Z E = VIL 20 30 ns
tAXQX tOH Address Transition to Output
Transition E = VIL, G = VIL 00ns
Notes: 1. Sampled only, not 100% tested.
2. G may be delayed by up to tELQV - tGLQV after the falling edge of E without incr easi ng tELQV.
Table 12A. Read AC Characteristics
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C)
Toggle bit (DQ6). When Progr amming operations
are in p rogres s, successive attempt s to r ead DQ6
will output complementary data. DQ6 will toggle
following t oggling of either G or E when G is low.
The operation is completed when two successive
reads yield the same output data. The next read
will output the bit last programmed or a ’1’ after
erasing. The toggle bit is valid only effective during
P/E.C. operations, that is aft er the fourth W pulse
for programming or after the sixth W pulse for
Erase. If the byte to be pr ogr ammed belongs to a
protected block the command will be ignored. If the
blocks selected for erasure are protected, D Q6 will
toggle for about 100µs and then return back to
Read. See Figure 11 for Toggl e Bit flowchart and
Figure 12 for Toggle Bit waveforms.
Error bit (DQ5). This bit is set t o ’1’ by the P/E.C
when there is a failure of byte programming, block
erase, or chip erase that results in invalid data
being programmed in the memory block. In case of
error in bloc k erase or byte program, the block in
which the error occured or to which the pro-
grammed byte belongs, must be discarded. Other
blocks may still be used. Error bit resets after Reset
(RST) instruction. I n case of success, the er ror bit
will set to ’0’ during Program or Erase and to valid
data after write operation is completed.
Erase Timer bit (DQ3). This bit is set to ’0’ by the
P/E.C. when the last Block Erase command has
been ent ered t o the Command Interface and it is
awaiting the Erase start . When the erase timeout
period is finished, after 80 to 120µs, DQ3 returns
back to ’1’.
Coded Cycles. The two coded cycles unlock the
Command Int er face. They are f ollowed by a co m-
mand input or a comand confirmation. The coded
cycles consist of writing the data AAh at address
5555h during the first cycle and data 55h at address
2AAAh during the second cycle. Addresses are
latched on the falling edge of W or E while data is
latched on the rising edge of W or E. The coded
cycles happen on first and second cycles of the
command w rite or on the fourth and fifth cycles.
10/31
M29W040
Symbol Alt Parameter Test Condition
M29W040
Unit
-150 -200
VCC = 2.7V to 3.6V VCC = 2.7V to 3.6V
Min Max Min Max
tAVAV tRC Address Valid to Next Address
Valid E = VIL, G = VIL 150 200 ns
tAVQV tACC Address Valid to Output Valid E = VIL, G = VIL 150 200 ns
tELQX (1) tLZ Chip Enable Low to Output
Transition G = VIL 00ns
t
ELQV (2) tCE Chip Enable Low to Output Valid G = VIL 150 200 ns
tGLQX (1) tOLZ Output Enable Low to Output
Transition E = VIL 00ns
t
GLQV (2) tOE Output Enable Low to Output
Valid E = VIL 55 70 ns
tEHQX tOH Chip Enable High to Output
Transition G = VIL 00ns
t
EHQZ (1) tHZ Chip Enable High to Output Hi-Z G = VIL 40 50 ns
tGHQX tOH Output Enable High to Output
Transition E = VIL 00ns
t
GHQZ (1) tDF Output Enable High to Output
Hi-Z E = VIL 40 50 ns
tAXQX tOH Address Transition to Output
Transition E = VIL, G = VIL 00ns
Notes: 1. Sampled only, not 100% tested.
2. G may be delayed by up to tELQV - tGLQV after the falling edge of E without incr easi ng tELQV.
Table 12B. Read AC Characteristics
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C)
Read Array/Reset (RST) instruction. The Reset
instruction consists of one write operation giving
the command F0h. It can be optionally preceded
by the two coded cycles. A wait state of 5µs before
read operations is necessary if the Reset command
is applied during an Erase or Power Down opera-
tion.
Read Electronic Signature (RSIG) instruction.
This instruction uses the two coded cycles followed
by one write cycle giving the command 90h to
address 5555h for command setup. A subsequent
read will output the manufacturer code, the device
code or the Block Protection stat us depending on
the levels of A0, A1, A6, A16, A17 and A18. The
manufacturer code, 20h, is output when the ad-
dresses lines A0, A1 and A6 are Low, t he device
code, E 2h is output when A0 is High wit h A1 and
A6 Low .
Read Block Protection (RBP) instruction. The
use of Read Electronic Signature (RSIG) command
also allows access to the Block Protection status
verify. After giving the RSIG command, A0 and A 6
are set to VIL with A1 at VIH, while A16, A17 and
A18 define the block of the block to be verified. A
read in these conditions will output a 01h if block is
protected and a 00h if block is not protected.
This Read Block Protection is the only valid way to
check the protection status of a block. Neverthe-
less, it must not be used during the block protection
phase as a met hod to verify the Block Protection.
Please refer to Block Protection paragraph.
Power Down (PD) instruction. T he Power Dow n
instruction uses one write cycle to put the memory
into a power down mode where current consump-
tion is typically reduced to less th an 1.0µA. Once
in this state, a Reset (RST) command must be
written to the P/E.C. prior to any operation.
11/31
M29W040
AI01363B
tAVAV
tAVQV tAXQX
tELQX
tEHQZ
tGLQV
tGLQX
tGHQX
VALID
A0-A18
E
G
DQ0-DQ7
tELQV
VALID
ADDRESS VALID
AND CHIP ENABLE OUTPUT ENABLE DATA VALID
tEHQX
tGHQZ
Figure 6. Read Mode AC Waveforms
Note: Write Enable (W) = Hi gh
12/31
M29W040
Symbol Alt Parameter
M29W040
Unit
-100 -120
VCC = 3.3V±0.3V
CL = 30pF VCC = 3.3V±0.3V
Min Max Min Max
tAVAV tWC Address Valid to Next Address Valid 100 120 ns
tELWL tCS Chip Enable Low to Write Enable Low 0 0 ns
tWLWH tWP Write Enable Low to Write Enable High 45 50 ns
tDVWH tDS Input Valid to Write Enable High 45 50 ns
tWHDX tDH Write Enable High to Input Transition 0 0 ns
tWHEH tCH Write Enable High to Chip Enable High 0 0 ns
tWHWL tWPH Write Enable High to Write Enable Low 25 30 ns
tAVWL tAS Address Valid to Write Enable Low 0 0 ns
tWLAX tAH Write Enable Low to Address Transi tion 45 50 ns
tGHWL Output Enable High to Write Enable Low 0 0 ns
tVCHEL tVCS VCC High to Chip Enable Low 50 50 µs
tWHQV1 (1) Write Enable High to Output Valid (Program) 12 12 µs
tWHQV2 (1) Write Enable High to Output Valid
(Block Erase) 1.5 30 1.5 30 sec
tWHGL t
OEH Write Enable High to Output Enable Low 0 0 ns
Note: 1. Time is measured to Data Polling or Toggle Bit, tWHQV = tWHQ7V + tQ7VQV.
Table 13A. Write AC Characteristics, W ri te Enable Controlled
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C)
Chip Erase (CE) instruction. This instruction uses
six write c ycles. The Erase Set-up command 80h
is written to address 5555h on third cycle after the
two coded cycles. The Chip Erase Confirm com-
mand 10h is written at address 5555h on sixth cycle
after another two coded cycles. If the second com-
mand given is not an erase confirm or if the coded
cycles are wrong, the instruction aborts and the
device is reset to Read Array. It is not necessary to
program the array wit h 00h first as the P/E.C. will
automatically do this before erasing to FFh. Read
operations after the sixth rising edge of W or E
output the status r egist er bits. During the execu-
tion of the erase by the P/E.C. the memory will not
accept any instruction.
Read of Data Polling bit DQ7 returns ’0’, then ’1’ on
completion. The Toggle Bit DQ6 toggles during
erase operation and stops when erase is com-
pleted. After completion the Status Register bit
DQ5 returns ’1’ if the re has been an Erase Failure
because the erasure has not been verified even
after the maximum number of erase cycles have
been executed.
13/31
M29W040
Symbol Alt Parameter
M29W040
Unit
-150 -200
VCC = 2.7V to 3.6V VCC = 2.7V to 3.6V
Min Max Min Max
tAVAV tWC Address Valid to Next Address Valid 150 200 ns
tELWL tCS Chip Enable Low to Write Enable Low 0 0 ns
tWLWH tWP Write Enable Low to Write Enable High 65 80 ns
tDVWH tDS Input Valid to Write Enable High 65 80 ns
tWHDX tDH Write Enable High to Input Transition 0 0 ns
tWHEH tCH Write Enable High to Chip Enable High 0 0 ns
tWHWL tWPH Write Enable High to Write Enable Low 35 35 ns
tAVWL tAS Address Valid to Write Enable Low 0 0 ns
tWLAX tAH Write Enable Low to Address Transition 65 65 ns
tGHWL Output Enable High to Write Enable Low 0 0 ns
tVCHEL tVCS VCC High to Chip Enable Low 50 50 µs
tWHQV1 (1) Write Enable High to Output Valid (Program) 12 12 µs
tWHQV2 (1) Write Enable High to Output Valid
(Block Erase) 1.5 30 1.5 30 sec
tWHGL t
OEH Write Enable High to Output Enable Low 0 0 ns
Note: 1. Time is measured to Data Polling or Toggle Bit, tWHQV = tWHQ7V + tQ7VQV.
Table 13B. Wr ite AC Characteristics, Write Enable Controlled
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C)
Block Erase (BE) instruction. This instruction
uses a minimum of six write cycles. The Erase
Set-up command 80h is writt en to address 5555h
on third cycle after the two coded cycles. The Block
Erase Confirm command 30h is written on sixth
cycle after another two coded cycles. During the
input of the second command an address within
the block to be erased is given and latched into the
memory. Additional Block Erase confirm com-
mands and block addresses can be written sub-
sequently to erase other blocks in parallel, without
further coded cycles. The erase will start after the
Erase timeout period (see Erase Timer Bit DQ3
description). Thus, additional Block Erase com-
mands must be given within this delay . The input of
a new Block Erase command will restart the timeout
period. The status of the internal timer can be
monitored through the level of DQ3, if DQ3 is ’0’ the
Block Erase Command has been given and the
timeout is running, if DQ3 is ’1’, the timeout has
expired and the P/E.C is erasing the block(s).
During Erase timeout, any command different from
30h will abort the instruction and reset the device
to read array mode. It is not necessary to program
the block with 00h as t he P/E.C. will do t his auto-
matically before erasing to FFh. Read operations
after the sixth rising edge of W or E output the
status register bits.
During the execution of the erase by the P/E.C., the
memory accepts only the ES (Erase Suspend) and
RST (Reset) instructions. Data Polling bit DQ7
returns ’0’ while the erasure is in progress and ’1’
when it has completed. The Toggle Bit DQ6 toggles
during the erase operation. It stops wh en erase is
completed. After completion the Status Register
bit DQ5 returns ’1’ if there has been an Erase
Failure because erasure has not completed even
after the maximum number of erase cycles have
been executed. In this case, it will be nec ess ary to
input a Reset (RST) to the command interface in
order to reset the P/E.C.
14/31
M29W040
AI01365B
E
G
W
A0-A18
DQ0-DQ7
VALID
VALID
VCC
tVCHEL
tWHEH
tWHWL
tELWL
tAVWL
tWHGL
tWLAX
tWHDX
WRITE CYCLE
tDVWH
tWLWHtGHWL
Figure 7. Wr ite AC Wavef or ms, W Controlled
Note: Address are latched on the falling edge of W, Data is latched on the rising edge of W.
Program (PG) instruction. The memory can be
programmed Byte-by-Byte. This instruction uses
four write cycles. The Program command A0h is
written on the third cycle after two coded cycles. A
fourth write operation latches the Address on the
falling edg e of W or E and the Data to be written
on its r ising edge and start s the P/E.C. During the
execution of the program by the P/E.C., the mem-
ory will not accept any instruction. Read operations
output the status bits after the programming has
started. The status bits DQ5, DQ6 and DQ7 allow
a check of the status of the programming operation.
Memory programming is made only by writing ’0’ in
place of ’1’ in a Byte.
Erase Suspend (ES) instruction. The Block
Erase operation may be suspended by this instruc-
tion which consists of writing the command B0h
without any specific address code. No coded cycles
are required. It allows reading of data from another
block while erase is in progress. Erase suspend is
accepted only during the Block Erase instruction
execution and defaults to read array m ode. Wr iting
this command during Erase timeout will, in addition
to suspending the erase, terminate the timeout.
The T oggle Bit DQ6 stops toggling when the P/E.C.
is suspended. Toggle Bit status must be monitored
at an address out of the block being erased. T oggle
Bit will stop toggling between 0.1µs and 15µs after
the Erase Suspend (ES) command has been writ-
ten.
The M29W040 will then aut om atically set to Read
Memory Array mode. When erase is suspended,
Read from blocks being erased will output invalid
data, Read from block not being erased is valid.
During the suspension the memory will respond
only to Erase Resume (ER) and Reset (RST) in-
structions. RST command will definitively abort
erasure and result in the invalid data in the blocks
being erased.
Erase Resume (ER) instruction. If an Erase Sus-
pend instruction was previously executed, the
erase operation may be resumed by giving the
command 30h, at any address, and without any
coded cycles.
15/31
M29W040
Symbol Alt Parameter
M29W040
Unit
-100 -120
VCC = 3.3V±0.3V
CL = 30pF VCC = 3.3V±0.3V
Min Max Min Max
tAVAV tWC Address Valid to Next Address Valid 100 120 ns
tWLEL tWS Write Enable Low to Chip Enable Low 0 0 ns
tELEH tCP Chip Enable Low to Chip Enable High 45 50 ns
tDVEH tDS Input Valid to Chip Enable High 45 50 ns
tEHDX tDH Chip Enable High to Input Transition 0 0 ns
tEHWH tWH Chip Enable High to Write Enable High 0 0 ns
tEHEL tCPH Chip Enable High to Chip Enable Low 25 30 ns
tAVEL tAS Address Valid to Chip Enable Low 0 0 ns
tELAX tAH Chip Enable Low to Address Transition 45 50 ns
tGHEL Output Enable High Chip Enable Low 0 0 ns
tVCHWL tVCS VCC High to Write Enable Low 50 50 µs
tEHQV1 (1) Chip Enable High to Output Valid (Program) 12 12 µs
tEHQV2 (1) Chip Enable High to Output Valid
(Block Erase) 1.5 30 1.5 30 sec
tEHGL tOEH Chip Enable High to Output Enable Low 0 0 ns
Note: 1. Time is measured to Data Polling or Toggle Bit, tWHQV = tWHQ7V + tQ7VQV.
Tab le 14A. Write AC Characteristics, Chip Enable Controlled
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C)
Power Up
The memory Command Interface is reset on power
up to Read Arr ay . E ither E or W must be tied to VIH
during Power-up to allow maximum security and
the possibility to write a command on the first rising
adge of E or W. Any write cycle initiation is blocked
when VCC is below VLKO.
Supply Rails
Normal precautions must be taken for supply v olt-
age decoupling, eac h device in a system should
have the VCC rail decoupled with a 1.0µF capacitor
close to the VCC and VSS pins. The PCB trace
widths should be sufficient to carry the VCC pro-
gram and erase currents required.
16/31
M29W040
Symbol Alt Parameter
M29W040
Unit
-150 -200
VCC = 2.7V to 3.6V VCC = 2.7V to 3.6V
Min Max Min Max
tAVAV tWC Address Valid to Next Address Valid 150 200 ns
tWLEL tWS Write Enable Low to Chip Enable Low 0 0 ns
tELEH tCP Chip Enable Low to Chip Enable High 65 80 ns
tDVEH tDS Input Valid to Chip Enable High 65 80 ns
tEHDX tDH Chip Enable High to Input Transition 0 0 ns
tEHWH tWH Chip Enable High to Write Enable High 0 0 ns
tEHEL tCPH Chip Enable High to Chip Enable Low 35 35 ns
tAVEL tAS Address Valid to Chip Enable Low 0 0 ns
tELAX tAH Chip Enable Low to Address Transition 65 65 ns
tGHEL Output Enable High Chip Enable Low 0 0 ns
tVCHWL tVCS VCC High to Write Enable Low 50 50 µs
tEHQV1 (1) Chip Enable High to Output Valid (Program) 12 12 µs
tEHQV2 (1) Chip Enable High to Output Valid
(Block Erase) 1.5 30 1.5 30 sec
tEHGL tOEH Chip Enable High to Output Enable Low 0 0 ns
Note: 1. Time is measured to Data Polling or Toggle Bit, tWHQV = tWHQ7V + tQ7VQV.
Table 14B. W rite AC Characteristics, Chip Enable Controlled
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C)
17/31
M29W040
AI01366B
E
G
W
A0-A18
DQ0-DQ7
VALID
VALID
VCC
tVCHWL
tEHWH
tEHEL
tWLEL
tAVEL
tEHGL
tELAX
tEHDX
WRITE CYCLE
tDVEH
tELEHtGHEL
Figure 8. Wr ite AC Wavef or ms, E Controlled
Note: Address are latched on the falling edge of E, Data is latched on the rising edge of E.
18/31
M29W040
Symbol Alt Parameter
M29W040
Unit
-100 -120
VCC = 3.3V±0.3V
CL = 30pF VCC = 3.3V±0.3V
Min Max Min Max
tWHQ7V1 (2) Write Enable High to DQ7 Valid
(Program, W Controlled) 12 12 µs
tWHQ7V2 (2) Write Enable High to DQ7 Valid
(Block Erase, W Controlled) 1.5 30 1.5 30 sec
tEHQ7V1 (2) Chip Enable High to DQ7 Valid
(Program, E Controlled) 12 12 µs
tEHQ7V2 (2) Chip Enable High to DQ7 Valid
(Block Erase, E Controlled) 1.5 30 1.5 30 sec
tQ7VQV Q7 Valid to Output Valid (Data Polling) 45 50 ns
tWHQV1 Write Enable High to Output Valid
(Program) 12 12 µs
tWHQV2 Write Enable High to Output Valid
(Block Erase) 1.5 30 1.5 30 sec
tEHQV1 Chip Enable High to Output Valid
(Program) 12 12 µs
tEHQV2 Chip Enable High to Output Valid
(Block Erase) 1.5 30 1.5 30 sec
Notes: 1. Al l other timin gs are defined in Read AC Characteri st i cs tab le .
2. tWHQ7V is the Program or Erase time.
Table 15A. Data Polling and Toggle Bit A C Characteristics (1)
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C)
19/31
M29W040
Symbol Alt Parameter
M29W040
Unit
-150 -200
VCC = 2.7V to 3.6V VCC = 2.7V to 3.6V
Min Max Min Max
tWHQ7V1 (2) Write Enable High to DQ7 Valid
(Program, W Controlled) 12 12 µs
tWHQ7V2 (2) Write Enable High to DQ7 Valid
(Block Erase, W Controlled) 1.5 30 1.5 30 sec
tEHQ7V1 (2) Chip Enable High to DQ7 Valid
(Program, E Controlled) 12 12 µs
tEHQ7V2 (2) Chip Enable High to DQ7 Valid
(Block Erase, E Controlled) 1.5 30 1.5 30 sec
tQ7VQV Q7 Valid to Output Valid (Data Polling) 55 70 ns
tWHQV1 Write Enable High to Output Valid
(Program) 12 12 µs
tWHQV2 Write Enable High to Output Valid
(Block Erase) 1.5 30 1.5 30 sec
tEHQV1 Chip Enable High to Output Valid
(Program) 12 12 µs
tEHQV2 Chip Enable High to Output Valid
(Block Erase) 1.5 30 1.5 30 sec
Notes: 1. All other timings are defined in Read AC Characteristics table.
2. tWHQ7V is the Program or Erase time.
Table 15B. Data Polling and Toggle Bit AC Charact eristics (1)
(TA = 0 to 70°C, –20 to 85°C or –40 to 85°C)
20/31
M29W040
AI01364B
E
G
W
A0-A18
DQ7
IGNORE
VALID
DQ0-DQ6
BYTE ADDRESS (WITHIN BLOCKS)
DATA OUTPUT VALID
tAVQV
tEHQ7V
tGLQV
tWHQ7V
VALID
tQ7VQV
DQ7
DATA POLLING (LAST) CYCLE DATA VERIFY
READ CYCLE
DATA POLLING
READ CYCLES
LAST CYCLE
OF PROGRAM
OR ERASE
tELQV
Figure 9. Data Polling DQ7 AC Waveforms
Notes: 1. All other timings are as a normal Read cycle.
2. DQ7 and DQ0-DQ6 can transmit to valid at any point during the data output valid period.
3. tWHQ7V is the Program or Eras e time.
4. During erasing operation Byte address must be within Block being erased.
21/31
M29W040
READ DQ5 & DQ7
at VALID ADDRESS
START
READ DQ7
FAIL PASS
AI01369
DQ7
=
DATA YES
NO
YES
NO
DQ5
= 1
DQ7
=
DATA YES
NO
Figure 10. Data Polling Flowchart
READ
DQ5 & DQ6
START
READ DQ6
FAIL PASS
AI01370
DQ6
=
TOGGLE NO
NO
YES
YES
DQ5
= 1
NO
YES
DQ6
=
TOGGLE
Figure 1 1. Data Toggle Flowchart
Parameter M29W040 Unit
Min Typ Max
Chip Program (Byte) 6 sec
Chip Erase (Preprogrammed) 2.5 30 sec
Chip Erase 8.5 sec
Block Erase (Preprogrammed) 1.5 30 sec
Block Erase 2 sec
Byte Program 12 2200 µs
Program/Erase Cycles (per Block) 100,000 cycles
Tab le 16. Program, Erase Times and Program, Erase Endurance Cycles
(TA = 0 to 70°C; VCC = 2.7V to 3.6V)
22/31
M29W040
AI01367
E
G
W
A0-A18
DQ6
DQ0-DQ5,
tAVQV
STOP TOGGLE
LAST CYCLE
OF PROGRAM
OF ERASE
VALID
VALID
VALID
IGNORE
DQ7
DATA TOGGLE
READ CYCLE READ CYCLE
tWHQV
tEHQV
tELQV
tGLQV
DATA
TOGGLE
READ CYCLE
Figure 12. Data Toggle DQ6 AC W aveforms
Note: All other timings are as a normal Read cycle.
23/31
M29W040
BLOCK ADDRESS
on A16, A17, A18
AI01368D
G, A9 = VID,
E = VIL
n = 0
Wait 4µs
Wait 100µs
W = VIL
W = VIH
G = VIH
READ DQ0 at PROTECTION
ADDRESS: A0, A6 = VIL, A1 = VIH and
A16, A17, A18 DEFINING BLOCK
A9 = VIH ++n
= 25
START
FAIL
PASS YES
NO
DQ0
= 1
YES
NO
A9 = VIH
Wait 4µs
Figure 13. Block Protection Flowchart
24/31
M29W040
PROTECT
ALL BLOCKS
AI01371E
A6, A12, A16 = VIH
E, G, A9 = VIH
DATA
E, G, A9 = VID
Wait 4µs
W = VIH
E, G = VIH
READ at UNPROTECTION
ADDRESS: A1, A6 = VIH, A0 = VIL and
A16, A17, A18 DEFINING BLOCK
(see Note 1)
Wait 10ms
Wait 4µs
=
00h
INCREMENT
BLOCK
n = 0
Wait 4µs
W = VIL
++n
= 1000
START
FAIL
YES
YESNO
PASS
NO LAST
SECT.
YES
NO
Figure 14. Block Unprotecting Flowchart
Note: 1. A6 is kept at VIH during unprotection algorithm in order to secure best unprotection verification. During all other protection status
reads, A6 must be kept at VIL.
25/31
M29W040
ORDERING INFORMATION SCHEME
Note: 1. This speed is obtained with a supply voltage range of VCC = 3.3V ± 0.3V and a load capacitance at 30pF.
M29W040 is replaced by the new version M29W040B
Device are shipped from the factory with the memory content erased (to FFh).
For a list of available options (Speed, Package, etc...) or for further information on any aspect of this device,
please contact the STMicroelectronics Sales Office nearest to you.
Operating Voltage
W 2.7V to 3.6V
Speed
-100 (1) 100ns
-120 120ns
-150 150ns
-200 200ns
Package
KPLCC32
N TSOP32
8 x 20mm
NZ TSOP32
8 x 14mm
Temp. Range
1 0 to 70 °C
5 –20 to 85 °C
6 –40 to 85 °C
Option
R Reverse
Pinout
TR Tape & Reel
Packing
Example: M29W040 -120 N 1 TR
26/31
M29W040
PLCC
D
Ne
E1 E
1 N
D1
Nd
CP
B
D2/E2 e
B1
A1
A
R
0.51 (.020)
1.14 (.045)
F
A2
Symb mm inches
Typ Min Max Typ Min Max
A 2.54 3.56 0.100 0.140
A1 1.52 2.41 0.060 0.095
A2 0.38 0.015
B 0.33 0.53 0.013 0.021
B1 0.66 0.81 0.026 0.032
D 12.32 12.57 0.485 0.495
D1 11.35 11.56 0.447 0.455
D2 9.91 10.92 0.390 0.430
E 14.86 15.11 0.585 0.595
E1 13.89 14.10 0.547 0.555
E2 12.45 13.46 0.490 0.530
e 1.27 0.050
F 0.00 0.25 0.000 0.010
R 0.89 0.035
N32 32
Nd 7 7
Ne 9 9
CP 0.10 0.004
Drawing is not to scale.
PLCC3 2 - 32 lead Plast i c Leaded C hi p Carrier, rect angular
27/31
M29W040
TSOP-a
D1
E
1N
CP
B
e
A2
A
N/2
D
DIE
C
LA1 α
Symb mm inches
Typ Min Max Typ Min Max
A 1.20 0.047
A1 0.05 0.15 0.002 0.007
A2 0.95 1.05 0.037 0.041
B 0.15 0.27 0.006 0.011
C 0.10 0.21 0.004 0.008
D 19.80 20.20 0.780 0.795
D1 18.30 18.50 0.720 0.728
E 7.90 8.10 0.311 0.319
e 0.50 - - 0.020 - -
L 0.50 0.70 0.020 0.028
α0°5°0°5°
N32 32
CP 0.10 0.004
Drawing is not to scale.
TSOP32 Normal Pinout - 32 lead Plastic Thin Small Outline, 8 x 20mm
28/31
M29W040
TSOP-b
D1
E
1 N
CP
B
e
A2
A
N/2
D
DIE
C
LA1 α
Symb mm inches
Typ Min Max Typ Min Max
A 1.20 0.047
A1 0.05 0.17 0.002 0.006
A2 0.95 1.05 0.037 0.041
B 0.15 0.27 0.006 0.011
C 0.10 0.21 0.004 0.008
D 19.80 20.20 0.780 0.795
D1 18.30 18.50 0.720 0.728
E 7.90 8.10 0.311 0.319
e 0.50 0.020
L 0.50 0.70 0.020 0.028
α0°5°0°5°
N32 32
CP 0.10 0.004
Drawing is not to scale.
TSO P32 Reverse Pi nout - 32 lead Plastic Thin Sma ll Outline, 8 x 20mm
29/31
M29W040
TSOP-a
D1
E
1N
CP
B
e
A2
A
N/2
D
DIE
C
LA1 α
Drawing is not to scale.
TSOP 32 - 32 lead Plast ic Thin Smal l O ut l i ne, 8 x 14mm
Symb mm inches
Typ Min Max Typ Min Max
A 1.20 0.047
A1 0.05 0.15 0.002 0.006
A2 0.95 1.05 0.037 0.041
B 0.17 0.27 0.007 0.011
C 0.10 0.21 0.004 0.008
D 13.80 14.20 0.543 0.559
D1 12.30 12.50 0.484 0.492
E 7.90 8.10 0.311 0.319
e 0.50 - - 0.020 - -
L 0.50 0.70 0.020 0.028
α0°5°0°5°
N32 32
CP 0.10 0.004
30/31
M29W040
Infor m ation fur ni shed is bel i eved to be ac curate and reliable. However, STM i croelectronics ass um es no r esponsib ility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to
change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critic al com ponent s in life suppo rt devices or system s without express writt en approval of STMicroelectro ni cs .
The ST logo is a registered trademark of STMicroelectronics
© 1999 STMicroelectronics - All Rights Reserved
All other names are the property of their respective owners.
STMicroelectronics GROUP OF COMPA NIES
Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco -
Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A.
http://www.st.com
31/31
M29W040