– 1 Boot Block
– 4 Main Blocks and 2 Parameter Blocks
■ PROGRAM/ERA SE CON T ROL LER
– Embedded Byte Program and Block/Chip
Erase algorithms
– Status Register Bits
■ PROGRAM and ERASE SUSPEND
■ FOR USE in PC BIOS APPLICATIONS
■ ELECTRONIC SIGNATURE
– Manufacturer Code: 20h
– Device Code: 3Bh
M50LPW012
2 Mbit (256Kb x8, Boot Block)
PRELIMINARY DATA
PLCC32 (K)
Figure 1. Logic Diagram (LPC Interface)
V
ID0-ID3
GPI0-
GPI4
LFRAME
CLK
IC
RP
INIT
V
4
5
M50LPW012
V
CC
SS
PP
4
LAD0LAD3
WP
TBL
AI06949
September 2002
This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to change without notice.
1/35
Page 2
M50LPW012
Figure 2. Logic Diagram (A/A Mux Interface)
V
A0-A10
RC
IC
W
RP
V
11
M50LPW012
G
V
CC
SS
PP
8
DQ0-DQ7
RB
AI06950
DESCRIPTION
The M50LPW012 is a 2Mbit (256Kb x8) nonvolatile memory that can be read, erased and
reprogrammed. These operations can be
performed using a single low voltage (3.0 to 3.6V)
supply. For fast pro gramming and fast erasing in
production lines an optional 12V power supply can
be used to reduce the programming and the
erasing times.
The memory is divided into blocks that can be
erased independently so it is pos sible to pres erve
valid data while old data is erased. Blocks can be
protected individually to prevent accidental
Program or Erase commands from modifying the
memory. Program and Erase commands are
written to the Command Interface of the m emory.
An on-chip Program/Erase Controller simplifies
the process of programming or erasing the
memory by taking care of all of the special
operations that are required to update the memory
contents. The end of a program or erase operation
can be detected and any error conditions
identified. The command set required to control
the memory is consistent with JEDEC standards.
Two different bus interfaces are supported by t he
memory. The primary interface is the Low Pin
Count (or LPC) Standard Interface. This has been
designed to remove the need for the ISA bus in
Figure 3. PLCC Connections
A/A MuxA/A Mux
A7
A6
A5
A4
A3
A2
A1
A0
DQ0
Note: Pins 27 and 28 are not internally connected.
GPI1
GPI0
WP
TBL
ID3
ID2
ID1
ID0
LAD0
GPI2
9
LAD1
DQ1
RPA8VPPV
A9
RP
VPPV
GPI3
1
32
M50LPW012
17
SS
V
V
SS
RFU
LAD3
DQ3
DQ4
LAD2
DQ2
CC
CC
RC
CLK
RFU
DQ5
A10
GPI4
25
RFU
DQ6
IC (VIL)
NC
NC
V
SS
V
CC
INIT
LFRAME
RFU
RFU
IC (VIH)
NC
NC
V
SS
V
CC
G
W
RB
DQ7
A/A MuxA/A Mux
AI06951
2/35
Page 3
M50LPW012
current PC Chipsets; the M50LPW012 acts as the
PC BIOS on the Low P in Count bus for these P C
Chipsets.
The secondary interface, the Address/Address
Multiplexed (or A/A Mux) Int erface, is design ed t o
be compatible with current Flash Programmers for
production line programming prior to fitting to a PC
Motherboard.
The memory is offered in a PLCC32 package and
is supplied with all the bits erased (set to 1).
System Memory Mapping
The LPC address sequence is 32 bits long. The
M50LPW012 responds to addresses mapped to
the top of the 4 GByte memory space, from
FFFF FFFFh. Address bits A31-A24, A22 must be
set to 1. A23 is set to 1 for array access, and to 0
for register access.
The M50LPW012 also responds to addresses
mapped to the bottom of the 4 GByte memory
space, from 0000 0000h. A ddress bits A31-A24,
A22 must be set to 0. A23 is set to 0 for array
access, and to 1 for register access.
For A21-A18, see Table 2. A17-A0 are for array
addresses.
or floating VIL or floating VIL or floating VIL or floating
V
IL
V
or floating VIL or floating VIL or floatingV
IL
V
or floating VIL or floatingV
IL
V
or floating VIL or floatingV
IL
V
or floatingV
IL
V
or floatingV
IL
V
or floatingV
IL
V
or floatingV
IL
V
IH
V
IH
V
IH
V
IH
V
IH
V
IH
V
IH
V
IH
IH
IH
IH
IH
VIL or floating VIL or floating VIL or floating
VIL or floating VIL or floatingV
VIL or floatingV
VIL or floatingV
V
IH
V
IH
V
IH
V
IH
IH
IH
VIL or floating VIL or floating
VIL or floatingV
V
IH
V
IH
IH
IH
VIL or floating VIL or floating
VIL or floatingV
V
IH
V
IH
VIL or floating
VIL or floating
VIL or floating
VIL or floating
TopBottom
A 21A 20A 19A 18A 21A 20A 19A
18
11110011
IH
11100010
11010001
V
IH
11000000
10110111
IH
10100110
10010101
V
IH
10000100
01111011
IH
01101010
01011001
V
IH
01001000
00111111
IH
00101110
00011101
V
IH
00001100
3/35
Page 4
M50LPW012
Table 3. System Memory Map
A31:24, A22
TopFFh, 1b10
Bottom00h, 0b01
A23
ArrayRegister
SIGNAL DESCRIPTIONS
There are two different bus interfaces available on
this part. The active interface is selected before
power-up or during Reset using the Interface Configur a tion Pin, IC.
The signals for each interface are discussed in the
Low Pin Count (LPC) Signal Descriptions section
and the Address/Address M ultiplexed (A/A Mux)
Signal Descriptions section below. The supply signals are discussed in the Supply S ignal Descriptions section below.
Low Pin Count (LPC) Signal Descriptions
For the Low Pin Count (LPC) Interface see Figure
1, Logic Diagram, and Table 1, Signal Names.
Input/Output Communications (LAD0-LAD3). All
Input and Output Communication with the memory
take place on these pi ns. Addresses and Data for
Bus Read and Bus W rite operations are en coded
on these pins.
Input Communication Frame (LFRAME
Input Communication Frame (LFRAME
). The
) signals
the start of a bus operation. When Input Communication Frame is Low, V
, on the rising edge of
IL
the Clock a new bus operat ion is in itiated. If Input
Communication Frame is L ow, V
, during a bus
IL
operation then the operation is aborted. When Input Communication Frame is High, V
, the cur-
IH
rent bus operation is proceeding or the bus is idle.
Identification Inputs (ID0-ID3). The Identification
Inputs (ID0-ID3) allow to address up to 16
memories on a bus. The value on addresses A18A21 is compared to the hardware strapping on the
ID0-ID3 pins to select which memory is being
addressed, as shown in Table 2.
General Purpose Inputs (GPI0-GPI4). The General Purpose Inputs can be used as digital inputs for
the CPU to read. The General Purpose Input Register holds the values on these pins. The pins must
have stable data from before the start of the cycle
that reads the General Purpose Input Register until after the cycle is complete. These pins must not
be left to float, they should be driven Low, V
High, V
.
IH
IL,
or
Interface Configuration (IC). The Interface Configuration input selects whether the Low Pin Count
(LPC) or the Address/Address Multiplexed (A/A
Mux) Interface is used. The chosen interface must
be selected before power-up or during a Reset
and, thereafter, cannot be change d. The state of
the Interface Configuration, IC, should not be
changed during operation.
To select the Low Pin Count (LPC) Interface the
Interface Configuration pin should be left to float or
driven Low, V
; to select the Address/Address
IL
Multiplexed (A/A Mux) Interface t he pin should be
driven High, V
included with a value of R
current of I
. An internal pull-down resistor is
IH
through each pin when pulled to VIH;
LI2
; there will be a leakage
IL
see Table 21.
Interface Reset (RP
). The Interface Reset (RP)
input is used to reset the memory. When Interface
Reset (RP
) is set Low, VIL, the memor y i s i n R ese t
mode: the outputs are put to high impedance and
the current consumption is minimized. When RP
set High, V
, the memory is in no rmal operat ion.
IH
is
After exiting Reset mode, the memory enters
Read mode.
CPU Reset (INIT
). The CPU Reset, INIT, pin is
used to Reset the memory when the CPU is reset .
It behaves identically to Interface Reset, RP
, and
the internal Reset lin e is the logical OR (elec tric al
AND) of RP
and INIT.
Clock (CLK). The Clock, CLK, input is used to
clock the signals in and out of the Input/Output
Communication Pins, LAD0-LAD3. The Clock
conforms to the PCI specification.
Top Block Lock (TB L
). The Top Block Lock
input is used to pre vent the Top Block (Block 6)
from being chan ged. When Top Block Loc k, TBL
is set Low, V
, Program and Block Erase
IL
operations in the Top Block have no effect,
regardless of the state of the Lock Register. When
Top Block Lock, TBL
, is set High, VIH, the
protection of the Block is determined by the Lock
Register. The state of Top Block Lock, TBL
, does
not affect the protection of the Main Blocks (Blocks
0 to 5).
Top Block Lock, TBL
, must be set prior to a Program or Block Erase operation is initiated and
must not be changed until the operation completes
or unpredictable results may occur. Care should
be taken to avoid unpredictable behavior by
changing TBL
Write Protect (WP
during Program or Erase Suspend.
). The Write Protect input is
used to prevent the Main Blocks (Blocks 0 to 5)
from being changed. W hen Write P rotect, WP
set Low, V
, Program and Block Erase operations
IL
, is
in the Main Blocks have no effect, regardless of
the state of the Lock Register. When Write Protect,
, is se t H i g h , VIH, the protection of the Block is
WP
determined by the Lock Register. The state of
Write Protect, WP
, does not affect the protection of
the Top Block (Block 6).
Write Protect, WP
, must be set prior to a Program
or Block Erase operation is initiated and must not
,
4/35
Page 5
M50LPW012
be changed until the operation completes or unpredictable results may occur. Care should be taken to avoid unpredictable behavior by changing
during Program or Erase Suspend.
WP
Reserved for Future Use (RFU). These pins do
not have assigned functions in this revision of the
part. They may be left disconnected or driven Low,
V
, or High, VIH.
IL
Address/Address Multiplexed (A/A Mux)
Signal Descriptions
For the Address/Address Multiplexed (A/A Mux)
Interface see Figure 2, Logic Diagram, and Tabl e
4, Signal Names.
Address Inputs (A0-A10). The Address Inputs
are used to set th e R ow A ddre ss bit s ( A0- A1 0) an d
the Column Address bits (A11-A17). They are
latched during any bus operation by the Row/C olumn Address Select input, RC
.
Data Inputs/Outputs (DQ0-DQ7). The Data Inputs/Outputs hold the data that is written to or read
from the mem ory. They output the data stored at
the selected address during a Bus Read operation. During Bus Write operations they represent
the commands sent to the Command Interface of
the internal state machine . The Data Inputs/Outputs, DQ0-DQ7, are latched during a Bus Write
operation.
Output Enable (G
). The Output Enable, G, con-
trols the Bus Read operation of the memory.
Write Enable (W
). The Write Enable, W, controls
the Bus Write operation of the memory’s Command Interface.
Row/Column Address Select (RC
). The Row/
Column Address Select input selects whether t he
Address Inputs should be latched into the Row
Address bits (A0-A10) or the Column Address bits
(A11-A17). The Ro w Address bits are latched on
the falling edge of RC
whereas the Column
Address bits are latched on the rising edge.
Ready/Busy Output (RB
). The Ready/Busy pin
gives the status of the memory’s P rogram/Erase
Controller. When Ready/Busy is Low, V
OL
, the
memory is busy with a Program or Erase operation
and it will not accept any additional Program or
Erase command except the Program/Erase
Suspend command. When Ready/Busy is High,
, the memory is ready for any Read, Pr ogram
V
OH
or Erase operation.
Supply Signal Descriptions
The Supply Signals are the same for both interfaces.
Supply Voltage. The VCC Supply Voltage
V
CC
supplies the power for all operations (Read, Program, Erase etc.).
The Command Interface is disabled when the V
CC
Supply Voltage is less than t he Lockout Voltage,
Table 4. Signal Names (A/A Mux Interface)
ICInterface Configuration
A0-A10Address Inputs
DQ0-DQ7Data Inputs/Outputs
G
W
RC
RB
RP
V
CC
V
PP
V
SS
NCNot Connected Intern ally
V
. This prevents Bus Write operations from
LKO
Output Enable
Write Enable
Row/Column Address Select
Ready/Busy Output
Interface Reset
Supply Voltage
Optional Supply Voltage for Fast
Program and Fast Erase
Operations
Ground
accidentally damaging the data during power up,
power down and power surges. If the Program/
Erase Controller is programming or erasing during
this time then the operation aborts and the
memory contents being altered will be invalid.
After V
becomes valid the Comma nd Interface
CC
is reset to Read mode.
A 0.1µF capacitor should be connected between
the V
Supply Voltage pins and the VSS Ground
CC
pin to decouple the current surges from the power
supply. Both V
Supply Voltage pins must be
CC
connected to the power supply. The PCB track
widths must be sufficient to carry the currents
required during program and erase operations.
Optional Supply Voltage. The VPP Optional
V
PP
Supply Voltage pin is used to select the Fast
Program (see the Quadruple Byte Program
Command description) and Fast Erase options of
the memo r y . V
V
Fast Program (if a Quadruple Byte Program
PPH
can be left floating. When VPP=
PP
Command is performed) and Fast Erase
operations are used.
should not be set to V
V
PP
for more than 80
PPH
hours during the life of the memory.
V
Ground. VSS is the reference for al l the vol t-
SS
age measurements.
5/35
Page 6
M50LPW012
Table 5. Absolute Maximum Ratings
SymbolParameterValueUnit
T
A
T
BIAS
T
STG
(2)
V
IO
V
CC
V
PP
Note: 1. Exc ept for the rating "Operating T em perature R ange", str esses above those listed in the T able "Absol ute Maxim um 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 indi cated in t he Operating sect i ons of thi s specifi cation i s not impl i ed. Exposure to Absolute M aximum Rating c onditions for extended per iods may aff ect device reliabilit y. Refer also to the STMicroel ectronics SURE Program an d other relevan t qual ity docum en ts .
2. Minimum Vo l tage may undershoot to -2V and for less than 20ns duri ng trans iti ons. Maxim um Voltage may overshoot t o V
and for less th an 20ns duri ng t ransitions.
Ambient Operating Temperature0 to 70°C
Temperature Under Bias–50 to 125°C
Storage Temperature–65 to 150°C
Input or Output Voltage
Supply Voltage–0.6 to 4V
Program Voltage–0.6 to 13V
BUS OPERATIONS
The two interfaces have similar bus operations but
the signals and tim ings are comple tely different.
The Low Pin Count (LPC) In terface is the usual
interface and all of the functionality of the part is
available through this interfac e. Only a subset of
functions are available through the Address/
Address Multiplexed (A/A Mux) Interface.
Follow the section Low Pin Count (LPC) Bus
Operations below and the section Address/
Address Multiplexed (A/A Mux) Interface Bus
Operations below for a description of the bus
operations on each interface.
Low Pin Count (LPC) Bus Operations
The Low Pin Count (LPC) Interface consists of
four data signals (LAD0-LAD3), one control line
(LFRAME
) and a clock (CLK). In addition
protection against accidental or malicious data
corruption can be achieved using two further
signals (TBL
(RP
and INIT) are available to put the memory into
and WP). Finally two reset signals
a known state.
The data signals, control signal and clock are
designed to be compatible with PCI electrical
specifications. The interface operates with clock
speeds up to 33MHz.
The following operations can be performed using
the appropriate bus cycles: Bus Read, Bus Write,
Standby, Reset and Block Protection.
Bus Read. Bus Read operations read from the
memory cells, specific registers in the Command
Interface or Low Pin Count Registers. A valid Bus
Read operation starts when Input Communication
Frame, LFRAME
, is Low, VIL, as Clock rises and
(1)
–0.6 to V
CC
+ 0.6
V
+2V
CC
following clock cycles the Host will send the Cycle
Type + Dir, Address and other control bits on
LAD0-LAD3. The memory responds by outputting
Sync data until the wait-states have elapsed
followed by Data0-Data3 and Data4-Data7.
Refer to Table 7, LPC Bus Read Field Definitions,
and Figure 4, LPC Bus Read Waveforms, for a description of the Field definitions for each clock cycle of the transfer. See Table 23, LPC Interface AC
Signal Timing Characteristics and Figure 9, LPC
Interface AC Signal Timing Waveforms, for details
on the timings of the signals.
Bus Write. Bus Write operations write to the
Command Interface or Low Pin Count Registers. A
valid Bus Write operation starts when Input
Communication Frame, LFRAME
, is Low, VIL, as
Clock rises and the correct Start cycle is on LAD0LAD3. On the following Clock cycles the Host will
send the Cycle Type + Dir, Add ress, other c ontrol
bits, Data0-Data3 and Data4-Data7 on LAD0LAD3. The memory outputs Sync data until the
wait-states have elapsed.
Refer to Table 8, LPC Bus Write Field Definitions,
and Figure 5, LPC Bus Write Waveforms, for a
description of the Field definitions for each clock
cycle of the transfer. See Table 23, LPC Interface
AC Signal Timing Characteristics and Figure 9,
LPC Interface AC Signal Timing Wa veforms, for
details on the timings of the signals.
Bus Abort. The Bus Abort operation can be used
to immediately abort the current bus operation. A
Bus Abort occurs when LFRAME
V
, during the bus o peration; the m emory wi ll tri-
IL
is driven Low,
state the Input/Output Communication pins,
LAD0-LAD3.
Note that, during a Bus Write operation, the
Command Interface starts executing the
command as soon a s the data is f ully received; a
Bus Abort during the final TAR cycles is not
guaranteed to abort the command; the bus,
however, will be released immediately.
Standby. When LFRAME
is High, VIH, the
memory is put into Standb y mode where LA D0LAD3 are put into a high-impedance state and the
Supply Current is reduced to the Standby level,
.
I
CC1
Reset. During Reset mode all internal circuits are
switched off, the memory is deselected and the
outputs are put in high-impedance. The memory is
in Reset mode when Interface Reset, RP
Rese t, IN IT
Low, V
, is Low, VIL. RP or IN IT must be held
, for t
IL
. The memory resets to Read
PLPH
, or CPU
mode upon return from Res et mo de and the Lock
Registers return to their default states regardless
of their state before Reset, see Table 16. If RP
INIT
goes Low, VIL, during a Program or Erase
or
operation, the operation is aborted and the
memory cells affected no longer contain valid
data; the memory can take up to t
PLRH
to abort a
Program or Erase operation.
Block Protection. Block Protection can be
forced using the signals Top Block Lock, TBL
Write Protect, WP
, regardless of the state of the
, and
Lock Registers.
Address/Address Multiplexed (A/A Mux) Bus
Operations
The Address/Address Multiplexed (A/A Mux)
Interface has a more traditional style interface.
The signals consist of a multiplexed address
signals (A0-A10), data signals, (DQ0-DQ7) and
three control signals (RC
signal, RP
, can be used to reset the memory.
, G, W). An additional
The Address/Address Multiplexed (A/A Mux)
Interface is included for use by Flash
Programming equipment for faster factory
programming. Only a subset of the features
available to the Low Pin Count (LPC) Interface are
available; these include all the Commands but
exclude the Security features and other registers.
The following operations can be performed using
the appropriate bus cycles: Bus Read, Bus Write,
Output Disable and Reset.
When the Address/Address Multiplexed (A/A Mux)
Interface is selected all the blocks are
unprotected. It is not possible to protect any blocks
through this interface.
Bus Read. Bus Read operations are used to
output the contents of the Memory Array, the
Electronic Signature and the Status Register. A
valid Bus Read operation begins by latching the
Row Address and Column Address signals into
the memory using the Address Inputs, A0-A10,
and the Row/Column Address Select RC
Write Enable (W
be High, V
) and Interface Reset (RP) must
, and Output Enable, G, Low, VIL, in
IH
. Then
order to perform a Bus Read operation. The Data
Inputs/Outputs will output the value, see Figure
11, A/A Mux Interface Read AC Waveforms , and
Table 25, A/A Mux Interface Read AC
Characteristics, for details of when the output
becomes valid.
Bus Write. Bus Write operations write to the
Command Interface. A valid Bus Write operation
begins by latching the Row Address and Column
Address signals into the memory using the
Address Inputs, A0-A10, and the Row/Column
Address Select RC
the Data Inputs/Outputs; Output Enable, G
Interface Reset, RP
Enable, W
, must be Low, VIL. The Data Inputs/
. The data should be set up on
, and
, must be High, VIH and Write
Outputs are latched on the rising edge of Write
Enable, W
. See Figure 12, A/A Mux Interface
Write AC Waveforms, and Table 26, A/A Mux
Interface Write AC Characteristics, for details of
the timing requirements.
Output Disa bl e . The data outputs are high-impedance when the Output Enable, G
, is at VIH.
Reset. During Reset mode all internal circuits are
switched off, the memory is deselected and the
outputs are put in high-impedance. The memory is
in Reset mode when RP
held Low, V
for t
IL
is Low, VIL. RP must be
. If RP is goes Low, VIL,
PLPH
during a Program or Erase operation, the
operation is aborted and the memory cells affected
no longer contain valid data; the memory can take
up to t
to abort a Program or Erase operation.
PLRH
7/35
Page 8
M50LPW012
Table 7. LPC Bus Read Field Definitions
Clock
Cycle
Number
Clock
Cycle
Count
Field
LAD0-
LAD3
Memory
I/O
Description
11ST ART0000bI
CYCTY
21
PE +
0100bI
DIR
3-108ADDRXXXXI
111TAR1111bI
121TAR
1111b
(float)
13-142WSYNC0101bO
151RSYNC0000bO
16-172DATAXXXXO
181TAR1111bO
On the rising edge of CLK with LFRAME
Low, the contents
of LAD0-LAD3 must be 0000b to indicate the start of a LPC
cycle.
Indicates the type of cycle. Bits 3:2 must be 01b. Bit 1
indicates the direction of transfer: 0b for read. Bit 0 is ‘0’.
A 32-bit address phase is transferred starting with the most
significant nibble first. See Tables 3, 2 and 6 for the field
description.
The host drives LAD0-LAD3 to 1111b to indicate a
turnaround cycle.
The LPC Flash Memory takes control of LAD0-LAD3 during
O
this cycle.
The LPC Flash Memory drives LAD0-LAD3 to 0101b (short
wait-sync) for two clock cycles, indicating that the data is not
yet available. Two wait-states are always included.
The LPC Flash Memory drives LAD0-LAD3 to 0000b,
indicating that data will be available during the next clock
cycle.
Data transfer is two CLK cycles, starting with the least
significant nibble.
The LPC Flash Memory drives LAD0-LAD3 to 1111b to
indicate a turnaround cycle.
191TAR
1111b
(float)
Figure 4. LPC Bus Read Waveforms
CLK
LFRAME
LAD0-LAD3
Number of
clock cycles
START
CYCTYPE
+ DIR
1182322
N/A
ADDRTARSYNCDATATAR
The LPC Flash Memory floats its outputs, the host takes
control of LAD0-LAD3.
AI04429
8/35
Page 9
Table 8. LPC Bus Write Field Definitions
Clock
Cycle
Number
Clock
Cycle
Count
Field
LAD0-
LAD3
Memory
I/O
M50LPW012
Description
11ST ART0000bI
CYCTY
21
PE +
011XbI
DIR
3-108ADDRXXXXI
11-122DATAXXXXI
131TAR1111bI
141TAR
1111b
(float)
151SYNC0000bO
161TAR1111bO
171TAR
1111b
(float)
N/A
On the rising edge of CLK with LFRAME
Low, the contents
of LAD0-LAD3 must be 0000b to indicate the start of a LPC
cycle.
Indicates the type of cycle. Bits 3:2 must be 01b. Bit 1
indicates the direction of transfer: 1b for write. Bit 0 is don’t
care (X).
A 32-bit address phase is transferred starting with the most
significant nibble first. See Tables 3, 2 and 6 for the field
description.
Data transfer is two cycles, starting with the least significant
nibble.
The host drives LAD0-LAD3 to 1111b to indicate a
turnaround cycle.
The LPC Flash Memory takes control of LAD0-LAD3 during
O
this cycle.
The LPC Flash Memory drives LAD0-LAD3 to 0000b,
indicating it has received data or a command.
The LPC Flash Memory drives LAD0-LAD3 to 1111b,
indicating a turnaround cycle.
The LPC Flash Memory floats its outputs and the host takes
control of LAD0-LAD3.
Figure 5. LPC Bus Write Waveforms
CLK
LFRAME
LAD0-LAD3
Number of
clock cycles
START
1182212
CYCTYPE
+ DIR
ADDRDATATARSYNCTAR
AI04430
9/35
Page 10
M50LPW012
Table 9. A/A Mux Bus Operations
OperationGWRP
Bus Read
Bus Write
Output Disable
Reset
V
IL
V
IH
V
IH
V
or V
IL
IH
Table 10. Manufacturer and Device Codes
OperationG
Manufacturer Code
Device Code
V
IL
V
IL
V
IH
V
IL
V
IH
VIL or V
WRPA18-A1A0DQ7-DQ0
V
IH
V
IH
V
PP
V
IH
V
IH
V
IH
IH
V
IL
V
IH
V
IH
Don’t CareData Output
Float or VCC or V
Don’t CareHi-Z
Don’t CareHi-Z
V
IL
V
IL
PPH
V
IL
V
IH
DQ7-DQ0
Data Input
20h
3Bh
COMMAND INTERFACE
All Bus Write operations to the memory are
interpreted by the Command Interface.
Commands consist of one or more sequential Bus
Write operations.
After power-up or a Reset operation the memory
enters Read mode.
The commands are summarized in Table 12,
Commands. Refer to Tab le 1 2 in conjun ction with
the text descriptions below.
Read Memory A rray Command. The Read Memory Array command returns the memory to its
Read mode where it behaves like a ROM or
EPROM. One Bus Write cycle is required to issue
the Read Memory Array command and return the
memory to Read mode. Once the command is issued the memory remains in Read mode until another command is issued. From Read mode Bus
Read operations will access the memory array.
While the Program/Erase Controller is executing a
Program or Erase operation the m emory will not
accept the Read Memory Array command until the
operation completes.
Read Statu s Register Command. The Read Status Register command is used to read the Status
Register. One Bus Write cycle is required to issue
the Read Status Register command. Once the
command is issued subsequent Bus Read operations read the Status Register until another command is issued. See the section on the Status
Register for details on the definitions of the Status
Register bits.
Read Electronic Signature Command. The Read
Electronic Signature command is used to read the
Manufacturer Code and the Device Code. One
Bus Write cycle is required to issue the Read
Electronic Signature command. Once the
command is issued subsequent Bus Read
operations read the Manufacturer Code or the
Device Code until another command is issued.
After the Read Electronic Signature Command is
issued the Manufacturer Code and Devi ce Code
can be read using Bus Read op erations us ing the
addresses in Table 11.
Program Command. The Program command
can be used to program a value to one address in
the memory array at a time. Two Bus Write
operations are required to issue the command; the
second Bus Write cycle latches the address and
data in the internal state m achine and starts the
Program/Erase Controller. Once the command is
issued subsequent Bus R ead operations read the
Status Register. See the section on the Status
Register for details on the definitions of the Status
Register bits.
If the address falls in a pro tected block then the
Program operation will abort, the data in the
memory array will no t be changed and the S tatus
Register will output the error.
During the Program operation the memory will
only accept the Read Status Register command
and the Program/Erase Suspend command. All
other commands will be ignored. Typical Program
times are given in Table 13.
Note that the Program command cannot change a
bit set at ‘0’ back to ‘1’ and attempting to do so will
not cause any modification on its value. One of the
Erase commands must be used to set all of the
bits in the block to ‘1’.
See Figure 13, Program Flowchart and Pseudo
Code, for a suggested flowchart on using the
Program command.
10/35
Page 11
M50LPW012
Quadruple Byte Program Command. The Qua-
druple Byte Program Comman d c an be only used
in A/A Mux mode to program four adjacent B ytes
in the memory array at a time. The four Bytes must
differ only for the addresses A0 and A1.
Programming should not be attempted when V
is not at V
is below V
if V
PP
. The operation can also be executed
PPH
, but result could be uncertain.
PPH
PP
Five Bus Write operations are required to issue the
command. The second, the third and the fourth
Bus Write cycle latches respectively the address
and data of the first, the second and the third Byte
in the internal state machi ne. The fifth Bus Write
cycle latches the address and data of the fourth
Byte in the internal sta te machine and starts the
Program/Erase Controller. Once the command is
issued subsequent Bus R ead operations read the
Status Register. See the section on the Status
Register for details on the definitions of the Status
Register bits.
During the Quadruple Byte Program operation the
memory will only accept the Read Status register
command and the Program/Erase Suspe nd command. All other commands will be ignored. Typical
Quadruple Byte Program times are given in Table
13.
Note that the Quadruple Byte Program comm and
cannot change a bit set to ‘0’ back to ‘1’ and
attempting to do so will not cause any modification
on its value. One of the Erase commands must be
used to set all of the bits in the block to ‘1’.
See Figure 14, Quadruple Byte Program Flowchart and Pseudo Code, for a suggested flowchart
on using the Quadruple Byte Program command.
Chip Erase Command. The Chip Erase Command can be only used in A/A Mux mode to erase
the entire chip at a time. Erasing should not be attempted when V
is not at V
PP
can also be executed if V
PP
. The operation
PPH
is b elow V
PPH
, but result could be uncertain. Two Bus Write operations
are required to issue the com mand and start the
Program/Erase Controller. Once the command is
issued subsequent Bus R ead operations read the
Status Register. See the section on the Status
Register for details on the definitions of the Status
Register bits. During the Chip Erase operation the
memory will only accept the Read Status Register
command. All other commands will be ignored.
Typical Chip Erase times are given in T able 13.
The Chip Erase command sets all of the bits in the
memory to ‘1’. See Figure 16, Chip Erase Flowchart and Pseudo Code, for a suggested flowchart
on using the Chip Erase command.
Block Erase Command. The Block Erase command can be used to erase a block. Two Bus Write
operations are required to issue the command; the
second Bus Write cycle latches the block address
in the internal stat e machine and starts th e Pro-
Table 11. Read Electronic Signature
CodeAddressData
Manufacturer Code00000h20h
Device Code00001h3Bh
Note: For A19:18 values, see Table 2.
gram/Erase Controller. Once the command is issued subsequent Bus Read ope rations read the
Status Register. See the section on the Status
Register for details on the definitions of the Status
Register bits.
If the block is protected then the Block Erase
operation will abort, the data in the block will not be
changed and the Status Register will output the
error.
During the Block Erase operation the me mory wi ll
only accept the Read Status Register command
and the Program/Erase Suspend command. All
other commands will be ignored. Typical Block
Erase times are given in Table 13.
The Block Erase command sets all of the bits in
the block to ‘1’. All previous data in the block is
lost.
See Figure 17, Block Erase Flowchart and Pseudo
Code, for a suggested flowchart on using the
Block Erase command.
Clear Status Register Command. The Clear Status Register command can be used to reset bits 1,
3, 4 and 5 in the Status Register to ‘0’. One Bus
Write is required to issue the Clear Status Register
command. Once the command is issued the memory returns to its previous mode, subs equent Bus
Read operations continue to output the same data.
The bits in the Status Register are stic ky and do
not automatically return to ‘0’ when a new Program
or Erase command is issued. If an error occurs
then it is essential to clear any error bits in the Status Register by issuing the Clear Status Register
command before attempting a new Program or
Erase command.
Program/Erase Suspend Command. The Program/Erase Suspend command can be used to
pause a Program or B lock Erase operation. O ne
Bus Write cycle is required to issue the Program/
Erase Suspend command and pause the Program/Erase Controller. Once the command is issued it is necessary to poll the Program/Erase
Controller Status bit to find out when the Program/
Erase Controller has paused; no other commands
will be accep ted until the Prog ram/ Erase Cont roller has paused. After the Program/Erase Cont roller has paused, the memory will continue to output
the Status Register until another command is issued.
Note: X Don’t Care, PA Program Address, PD Program Data, A
Read Memory Array. After a Read M em ory Array command, read the memory as normal unti l another comm and is issued.
Read Status Register. After a Read Status Register command, read the Status Register as normal until another command is issued.
Read Electronic Signature. Af t er a Read Electronic Signature command, read Manufacturer Code, Device Code until another co m -
mand is issued.
Block Erase, Program. After th ese com man ds re ad t he S tat us Re gist er un t il th e comm an d comp l etes and an othe r c omma nd is is sued.
Quadruple Byte Program. This command is only valid in A/A Mux mode. Addresses A
differing only for address bit A0 and A1. After this command read the Status Register until the command completes and another command is issued.
Chip Er ase. This command is only valid in A /A Mux mode. After this command read the St atus Registe r until t he c ommand complete s
and another command is issued.
Clear Status Register. After the Clear St atus Register command bits 1, 3, 4 and 5 in the Stat us Register a re reset to ‘0’.
Program/Erase Susp end. After the Program /Erase Sus pend command has been accept ed, issue Read Mem ory Array, Read Status
Register, Program (during Era se suspend ) and Program/ Erase resum e commands.
Program/Erase Resu me. After the Program/Erase Resume command the suspended Program/Erase operation resumes, read the
Status Register unti l the Program/ E rase Contr ol l er completes and the mem ory returns to Read Mode.
Invalid/Reserved . Do not use In valid or Res erved commands.
1st2nd3rd4th5th
AddrDataAddrDataAddrDataAddrDataAddrData
A
PD
1
X
10h
Consecut i ve Addresses, BA Any address in the Block.
1,2,3,4
A
PD
2
, A2, A3 and A4 must be consecutive addresses
1
A
PD
3
A
PD
4
12/35
Page 13
M50LPW012
Table 13. Program and Erase Times
= 0 to 70°C; VCC = 3.0 to 3.6V)
(T
A
ParameterInterfaceTest ConditionMin
Byte Program10200
= 12V ± 5%
Quadruple Byte ProgramA/A Mux
Chip Erase A/A Mux
Block Program (64 KBytes)
Block Erase (64 KBytes)
Program/Erase Suspend to Program pause
Program/Erase Suspend to Block Erase pause
Note: 1. TA = 25°C, VCC = 3.3V
2. This time is obt ai ned executi ng the Quadruple Byte Prog ram Comma nd.
3. Sampled only, not 100% tested.
4. 10µs to program 4 Bytes.
(3)
A/A Mux
(3)
V
PP
V
= 12V ± 5%
PP
V
= 12V ± 5%
PP
< 12V – 5%
V
PP
= 12V ± 5%
V
PP
< 12V – 5%
V
PP
(1)
Typ
10
0.1
0.45sec
0.758sec
MaxUnit
(4)
3sec
(2)
110sec
200
5
5
30
µ
µ
sec
µ
µ
s
s
s
s
During the polling period between issuing the
Program/Erase Suspend command and the
Program/Erase Controller pausing it is possible for
the operation to complete. Once Program/Erase
Controller Status bit indicates that the Program/
Erase Controller is no longer active, the Program
Suspend Status bit or the Erase Suspend Status
bit can be used to d etermine if the operatio n has
completed or is suspended. For timing on the
delay between issuing the Program/Erase
Suspend command and the Program/Erase
Controller pausing see Table 13.
During Program/Erase Suspend the Read
Memory Array, Read Status Register, Read
Electronic Signature and Program/Erase Resume
commands will be accepted by the Command
Interface. Additionally, if the suspe nded operation
was Block Erase then the Program com mand will
also be accepte d; only the blocks no t being erased
may be read or programmed correctly.
See Figures 15, Program Suspend & Resume
Flowchart and Pseudo Code, and 18, Erase
Suspend & Resume Flowchart and Pseudo Code,
for suggested flowcharts on using the Program/
Erase Suspend command.
Program / Erase Resum e Command. The Program/Erase Resume com m and c an be used to restart the Program/Erase Controller after a
Program/Erase Suspend has p aused it. One Bus
Write cycle is required to issue the Program/Erase
Resume command. O nc e the command is iss ued
subsequent Bus Read operations read the Status
Register.
STATUS REGISTER
The Status Register provides information on the
current or previous Program or Erase operation.
Different bits in the Status Register convey
different information and errors on the operation.
To read the Status Register the Read Status
Register command can be issued. The Status
Register is automatically read after Program,
Erase and Program/Erase Resume commands
are issued. The Status Register c an be read from
any address.
The Status Register bits are summarized in Table
14, Status Register Bits. Refer to Table 14 in conjunction with the text descriptions below.
Program/Erase Controller Status (Bit 7). The Progra m/Erase Controller Status bit indicates whether
the Program/Erase Controller is active or inactive.
When the Program/Erase Controller Status bit is
‘0’, the Program/Erase Controller is active; when
the bit is ‘1’, the Program/Erase Controller is inactive.
The Program/Erase Controller Status is ‘0’ immediately after a Program/Erase Su spend c om m and
is issued until the Program/Erase Controller pauses. After the Program/Erase Controller pauses the
bit is ‘1’.
During Program and Erase operation the Program/Erase Controller Status bit can be pol led to
find the end of the operation. The other bits in the
Status Register should not be tested until the Program/Erase Controller completes the operation
and the bit is ‘1’.
13/35
Page 14
M50LPW012
Table 14. Status Register Bits
OperationBit 7Bit 6Bit 5Bit 4Bit 2Bit 1
(1)
Program active0
Program suspended1
Program completed successfully1
Program failure due to Block Protection (LPC Interface only)1
Program failure due to cell failure 1
Erase active000000
Block Erase suspended110000
Erase completed successfully100000
Block Erase failure due to Block Protection (LPC Interface only)100001
Erase failure due to failed cell(s)101000
Note: 1. F or Program o perations during Erase Suspend Bit 6 is ‘1’, otherwise Bi t 6 is ‘0’.
X
X
X
X
X
0000
(1)
0010
(1)
0000
(1)
0001
(1)
0100
After the Program/Erase Cont roller completes its
operation the Erase S tatus, Program Status and
Block Protection Status bits should be tested for
errors.
Erase Suspend Status (Bit 6). The Erase Suspend Status bit indicates that a Block E rase operation has been suspended and is waiting to be
resumed. The Erase Suspend Status should only
be considered valid when the Program/Erase
Controller Status bit is ‘1’ (Program/Erase Controller inactive); after a Program/Erase Suspend command is issued the memory may still complete the
operation rather than entering the Suspend mode.
When the Erase Suspend Status bit is ‘0’ the Program/Erase Controller is active or has com pleted
its operation; when the bit is ‘1’ a Program/Erase
Suspend command has been issued and the
memory is waiting for a Program/Erase Resume
command.
When a Program/Erase Re sume command is issued the Erase Suspend Status bit returns to ‘0’.
Erase Status (Bit 5). The Erase Status bit can be
used to identify if the memory has applied the
maximum number of erase pulses to the block(s)
and still failed to verify that the block(s) has erased
correctly. The Erase Status bit should be read
once the Program/Erase Controller Status bit is ‘1’
(Program/Erase Controller inactive).
When the Erase Status bit is ‘0’ the memory has
successfully verified that the block(s) has erased
correctly; when the Erase Status bit is ‘ 1’ the P rogram/Erase Controller has applied the maximum
number of pulses to the block(s) an d still failed to
verify that the block(s) has erased correctly.
Once the Erase Status bit is set to ‘1’ it can only be
reset to ‘0’ by a Clear Status Register command or
a hardware reset. If it is set to ‘1’ it should be reset
before a new Program or Erase comma nd is issued, otherwise the new command will appear to
fail.
Program Status (Bit 4). The Program Status bit
can be used to identify if the memory has applied
the maximum number of program pulses to the
Byte and still failed to verify that the Byte has programmed correctly. The Program Status bit should
be read once the Program/Erase Controller Status
bit is ‘1’ (Program/Erase Controller inactive).
When the Program Status bit is ‘0’ the memory has
successfully verified that the Byte has programmed correctly; when the Program Status bit is
‘1’ the Program/Erase Controller has appli ed the
maximum number of pulses to the Byte and still
failed to verify that the Byte has programm ed correctly.
Once the Program Status bit is set to ‘1’ it can only
be reset to ‘0’ by a Clear Status Register command or a hardware reset. If it is set to ‘1’ it should
be reset before a new Program or Erase command
is issued, otherwise the new command will appear
to fail.
Reserved (Bit 3). This status bit is reserved for
future use. Its val ue should be masked out wh enever the status register is read.
Program Suspend Status (Bit 2). The Program
Suspend Status bit indicates that a Program operation has been suspended and is waiting to be resumed. The Program Suspend Status should only
be considered valid when the Program/Erase
Controller Status bit is ‘1’ (Program/Erase Controller inactive); after a Program/Erase Suspend command is issued the memory may still complete the
operation rather than entering the Suspend mode.
14/35
Page 15
M50LPW012
When the Program Suspend Status bit is ‘0’ the
Program/Erase Controller is active or has completed its operation; when the bit is ‘1’ a Program/
Erase Suspend command has been issued and
the memory is waiting for a Program/Erase Resume command.
When a Program/Erase Re sume command is issued the Program Suspend Status bit returns to
‘0’.
Block Protection Status (Bit 1). The Block Protection Status bit can be used to identify if the Program or Block Erase operation has tried to modify
the contents of a protected block. When the Block
Protection Status bit is to ‘0’ no Program or Block
Erase operations have been attempted to protected blocks since the last Clear Status Register
command or hardware reset; when the Block Protection Status bit is ‘1’ a Program or Block E rase
operation has been attempted on a protected
block.
Once it is set to ‘1 ’ the Block Protection Stat us bit
can only be reset to ‘0’ by a Clear Status Register
command or a hardware reset . If it is set to ‘1’ it
should be reset before a new Program or Block
Erase command is issued, otherwise the new
command will appear to fail.
Using the A/A Mux Interface the Block Protection
Status bit is always ‘0’.
Reserved (Bit 0). Bit 0 of the Status Register is
reserved. Its value should be masked.
When the Low Pin Count Interface is selected several additional registers can be accessed. These
registers control the protection status of the Blocks
and read the General Purpose Input pins. See Table 15 for an example of the Register Configuration map, valid for the boot memory, that is, ID0ID3 can be left floating or driven Low, V
.
IL
Lock Registers
The Lock Registers control the protection status of
the Blocks. Each Block has its own Lock Regi ster.
Three bits within each Lock Register control the
protection of each block, the W rite Lock Bit, the
Read Lock Bit and the Lock Down Bit.
The Lock Registers can be read and written,
though care should be taken when writing as, once
the Lock Down Bi t is set, ‘1’, further modifications
to the Lock Register cannot be made until cleared,
to ‘0’, by a reset or power-up.
See Table 16 for details on the bit definitions of the
Lock Registers.
Write Lock. The Write Lock Bit determines
whether the contents of the Block can be modified
(using the Program or Block Erase Command).
When the Write Lock Bit is set, ‘1’, the block is
write protected; any operations that attempt to
change the data in the block will fail and the Status
Register will report the error. When the Write Lock
Bit is reset, ‘0’, the block is not write protected
through the Lock Register and may be modified
unless write protected through some other means.
If Top Block Lock, TBL
, is Low, VIL, then the Boot
Block (Block 6) is w rite protected and cannot be
modified. Similarly, if Write Protect, WP
V
, then the Main Blocks (Blocks 0 to 5) are write
IL
, is Low,
protected and cannot be modified.
After power-up or reset the Write Lock Bit is al-
ways set to ‘1’ (write protected).
Read Lock. The Read Lock bit determines
whether the contents of the Block can be read
(from Read mode). When the Read Lock Bit is set,
‘1’, the block is read prot ected; an y operat ion that
attempts to read the contents of the block will read
00h instead. When the Read Lock Bit is reset, ‘0’,
read operations in the Block return the data programmed into the block as expected.
After power-up or reset the Read Lock B it is always reset to ‘0’ (not read protected).
Lock Down. The Lock Down Bit provides a
mechanism for protecting software data from simple hacking and malicious attack. When the Lock
Down Bit is set, ‘1’, further modification to the
Write Lock, Read Lock and Lock Down Bits cannot
be performed. A reset or power-up is required before changes to these bits can be made. When the
Lock Down Bit is reset, ‘0’, the Write L ock, Read
Lock and Lock Down Bits can be changed.
General Purpose Input Register
The General Purpose Input Register holds the
state of the General Purpose Input pins, GPI0GPI4. When this register is read, the state of these
pins is returned. This register is read-only and writing to it has no effect.
The signals on the General Purpose Input pins
should remain constant throughout the whole Bus
Read cycle in order to guarantee that the correct
data is read.
Note: 1. Thi s map is referred to the boo t memory (I D0-ID3 fl oating or dri ven, Low).
(1)
Memory Address
TopBottom
Default
Value
Access
16/35
Page 17
M50LPW012
Tabl e 16. Lock R egister Bit Defini t i ons
(1)
BitBit NameValueFunction
7-3Reserved
‘1’Bus Read operations in this Block always return 00h.
2Read-Lock
Bus read operations in this Block return the Memory Array contents. (Default
‘0’
value).
Changes to the Read-Lock bit and the Write-Lock bit cannot be performed. Once a
‘1’
‘1’ is written to the Lock-Down bit it cannot be cleared to ‘0’; the bit is always reset
1Lock-Down
to ‘0’ following a Reset (using RP
Read-Lock and Write-Lock can be changed by writing new values to them. (Default
‘0’
value).
Program and Block Erase operations in this Block will set an error in the Status
‘1’
Register. The memory contents will not be changed. (Default value).
or INIT) or after power-up.
0Write-Lock
Program and Block Erase operations in this Block are executed and will modify the
‘0’
Block contents.
Note: 1. Applies to Top Block Lock Register (T_BLOCK_LK) and Top Block [-1] Lock Register (T_MINUS01_LK) to Top Block [-6] Lock Reg-
Table 17. General Purpose Input Regi s te r D ef i ni tion
ister (T_MINUS06_LK).
(1)
BitBit NameValueFunction
7-5Reserved
Input Pin GPI4 is at V
‘1’
4GPI4
Input Pin GPI4 is at V
‘0’
Input Pin GPI3 is at V
‘1’
3GPI3
Input Pin GPI3 is at V
‘0’
Input Pin GPI2 is at V
‘1’
2GPI2
Input Pin GPI2 is at V
‘0’
Input Pin GPI1 is at V
‘1’
1GPI1
Input Pin GPI1 is at V
‘0’
Input Pin GPI0 is at V
‘1’
0GPI0
Input Pin GPI0 is at V
‘0’
Note: 1. App l i e s to t h e General Purpose Input Regis t er (GPI_REG).
IH
IL
IH
IL
IH
IL
IH
IL
IH
IL
17/35
Page 18
M50LPW012
Table 18. LPC Interface AC Measurement Conditions
ParameterValueUn it
V
Supply Voltage
CC
Load Capacitance (C
)
L
Input Rise and Fall Times
3.0 to 3.6V
10pF
1.4ns
≤
Input Pulse Voltages
Input and Output Timing Ref. Voltages
Figure 6. LPC Interface AC Testing Input Output Waveforms
0.6 V
CC
0.2 V
CC
Input and Output AC Testing Waveform
IO < I
LO
Output AC Tri-state Testing Waveform
IO > I
LO
IO < I
0.4 V
LO
AI03404
0.2 V
CC
and 0.6 V
CC
0.4 V
CC
CC
V
V
18/35
Page 19
M50LPW012
Table 19. A/A Mux Interface AC Measurement Conditions
ParameterValueUnit
V
Supply Voltage
CC
3.0 to 3.6V
Load Capacitance (C
Input Rise and Fall Times
)
L
30pF
10ns
≤
Input Pulse Voltages0 to 3V
Input and Output Timing Ref. Voltages1.5V
Figure 7. A/A Mux I nte rfac e AC Testing In put Output Wav ef orm
3V
1.5V
0V
AI01417
Table 20. Impedance
(T
= 25 °C, f = 1 MHz)
A
SymbolParameterTest ConditionMinMaxUnit
(1)
C
IN
(1)
C
CLK
(2)
L
PIN
Note: 1. Sampled only, not 100% tested.
2. See PCI Specification.
Input Capacitance
Clock Capacitance
Recommended Pin
Inductance
V
= 0V
IN
V
IN
= 0V
312pF
13pF
20nH
19/35
Page 20
M50LPW012
Table 21. DC Characteristics
(T
= 0 to 70°C; VCC = 3.0 to 3.6V)
A
SymbolParameterInterfaceTest ConditionMinMaxUnit
V
V
IH
IL
V
V
V
IH
V
IL
(INIT)
(INIT)
(2)
I
LI
I
LI2
R
IL
V
OH
V
OL
I
LO
PPH
LKO
I
CC1
Input High Voltage
Input Low Voltage
Input High VoltageLPC1.35
INIT
Input Low VoltageLPC–0.5
INIT
Input Leakage Current
IC, IDx Input Leakage
Current
IC, IDx Input Pull Low
Resistor
Output High Voltage
Output Low Voltage
Output Leakage Curren t
VPP Voltage (Fast
Program/Fast Erase)
(1)
VCC Lockout Volt age
Supply Current (Standby)L PC
LPC
A/A Mux
LPC–0.5
0.5 V
0.7 V
CCVCC
CCVCC
+ 0.5
+ 0.3
0.3 V
CC
A/A Mux-0.50.8V
V
+ 0.5
CC
0.2 V
CC
0V ≤ V
IC, ID0, ID1, ID2, ID3 = V
IN
≤ V
CC
CC
±10
200µA
20100k
LPCI
A/A MuxI
LPC
A/A Mux
= –500µA
OH
= –100µA
OH
I
= 1.5mA0.1 V
OL
I
= 1.8mA
OL
0V ≤ V
OUT
≤ V
CC
0.9 V
V
CC
CC
– 0.4
CC
0.45V
±10
11.412.6V
1.82.3V
LFRAME
All other inputs 0.9 VCC to 0.1 V
= 0.9 V
CC
CC
100
VCC = 3.6V, f(CLK) = 33MHz
V
V
V
V
V
µA
V
V
V
µA
µ
Ω
A
I
CC2
Supply Current (Standby)L PC
LFRAME
All other inputs 0.9 VCC to 0.1 V
= 0.1 V
CC
VCC = 3.6V, f(CLK) = 33MHz
= VCC max
Supply Current
I
CC3
I
CC4
I
CC5
I
PP
I
PP1
Note: 1. Sampled only, not 100% tested.
(Any internal operation
active)
Supply Current (Read)A/A Mux
Supply Current
(1)
(Program/Erase)
VPP Supply Current
(Read/Standby)
VPP Supply Current
(1)
(Program/Erase active)
2. Input leakag e currents include Hig h-Z output leakage for all bi -directi onal buffers wi th tri-state output s.
LPC
A/A MuxProgram/Erase Controller Active20mA
V
CC
f(CLK) = 33MHz
= 0mA
I
OUT
G
= VIH, f = 6MHz
V
V
>
PP
CC
V
= V
PP
CC
V
= 12V ± 5%
PP
20/35
CC
10mA
60mA
20mA
400
5
15mA
A
µ
A
µ
Page 21
M50LPW012
Table 22. LPC Interface Clock Characteristics
(T
= 0 to 70°C; VCC = 3.0 to 3.6V)
A
SymbolParameterTest ConditionValueUnit
t
CYC
CLK Cycle Time
(1)
Min30ns
t
HIGH
t
LOW
CLK High TimeMin11ns
CLK Low TimeMin11ns
Min1V/ns
CLK Slew Ratepeak to peak
Max4V/ns
Note: 1. Devi ces on the PC I Bus must work with a ny clock frequency be tween DC an d 33MHz. Be l ow 16MHz dev i ces may be guarantee d
by design rather than tested. Refer to PCI Specification.
Figure 8. LPC Interface Clock Waveform
tCYC
tHIGHtLOW
0.6 V
CC
0.5 V
0.4 V
0.3 V
0.2 V
CC
CC
CC
CC
0.4 VCC,
(minimum)
p-to-p
AI03403
21/35
Page 22
M50LPW012
Table 23. LPC Interface AC Signal Timing Characteristics
(T
= 0 to 70°C; VCC = 3.0 to 3.6V)
A
Symbol
PCI
Symbol
ParameterTest ConditionValueUnit
t
CHQV
(1)
t
CHQX
t
CHQZ
t
AVCH
t
DVCH
t
CHAX
t
CHDX
Note: 1. The timing measurements for Active/Float transitions are defined when the current through the pin equals the leakage current spec-
ification.
2. Applies to all inputs except CLK.
t
t
t
CLK to Data Out
val
CLK to Active
on
(Float to Active Delay)
CLK to Inactive
off
(Active to Float Delay)
t
su
Input Set-up Time
t
h
Input Hold Time
(2)
(2)
Min2ns
Max11ns
Min2ns
Max28ns
Min7ns
Min0ns
Figure 9. LPC Interface AC Signal Timing Waveforms
CLK
LAD0-LAD3
tCHQV
VALID OUTPUT DATAFLOAT OUTPUT DATAVALID INPUT DATA
tCHQZ
tCHQX
tDVCH
tCHDX
VALID
AI04431
22/35
Page 23
M50LPW012
Table 24. Reset AC Characteristics
(T
= 0 to 70°C; VCC = 3.0 to 3.6V)
A
SymbolParameterTest ConditionValueUnit
t
PLPH
t
PLRH
t
PHFL
t
PHWL
t
PHGL
Note: 1. See Chapter 4 of the PCI Specif i cation.
RP or INIT Reset Pulse WidthMin100ns
RP or INIT Low to Reset
or INIT Slew Rate
RP
(1)
RP or INIT High to LFRAME LowLPC Interface onlyMin30
RP High to Write Enable or Output
Enable Low
Figure 10. Reset AC Waveforms
RP, INIT
W, G, LFRAME
Program/Erase InactiveMax100ns
Program/Erase ActiveMax30
Rising edge onlyMin50mV/ns
A/A Mux Interface onlyMin50
tPLPH
tPHWL, tPHGL, tPHFL
tPLRH
s
µ
s
µ
s
µ
RB
AI04432
23/35
Page 24
M50LPW012
Table 25. A/A Mux Interface Read AC Characteristics
(T
= 0 to 70°C; VCC = 3.0 to 3.6V)
A
SymbolParameterTest ConditionValueUnit
t
AVAV
t
AVCL
t
CLAX
t
AVCH
t
CHAX
t
CHQV
t
GLQV
t
PHAV
t
GLQX
t
GHQZ
t
GHQX
Note: 1. G may be delayed up to t
Read Cycle TimeMin250ns
Row Address Valid to RC LowMin50ns
RC Low to Row Address TransitionMin50ns
Column Address Valid to RC highMin50ns
RC High to Column Address TransitionMin50ns
(1)
RC High to Output ValidMax150ns
(1)
Output Enable Low to Output ValidMax50ns
RP High to Row Address ValidMin1
Output Enable Low to Output TransitionMin0ns
Output Enable High to Output Hi-ZMax50ns
Output Hold from Output Enable HighMin0ns
– t
CHQV
after the ri si ng edge of RC without impact on t
GLQV
Figure 11. A/A Mux Interface Read AC Waveforms
tAVAV
CHQV
s
µ
.
A0-A10
RC
G
DQ0-DQ7
W
RP
ROW ADDR VALIDNEXT ADDR VALID
tAVCLtAVCH
tCLAXtCHAX
tPHAV
COLUMN ADDR VALID
tCHQV
tGLQV
tGLQX
tGHQZ
tGHQX
VALID
AI03406
24/35
Page 25
M50LPW012
Table 26. A/A Mux Interface Write AC Characteristics
(T
= 0 to 70°C; VCC = 3.0 to 3.6V)
A
SymbolParameterTest ConditionValueUnit
t
WLWH
t
DVWH
t
WHDX
t
AVCL
t
CLAX
t
AVCH
t
CHAX
t
WHWL
t
CHWH
t
WHGL
t
WHRL
Write Enable Low to Write Enable HighMin100ns
Data Valid to Write Enable HighMin50ns
Write Enable High to Data TransitionMin5ns
Row Address Valid to RC LowMin50ns
RC Low to Row Address TransitionMin50ns
Column Address Valid to RC HighMin50ns
RC High to Column Address TransitionMin50ns
Write Enable High to Write Enable LowMin100ns
RC High to Write Enable HighMin50ns
Write Enable High to Output Enable LowMin30ns
Write Enable High to RB LowMin0ns
25/35
Page 26
M50LPW012
Figure 12. A/A Mux Interface Write AC Waveforms
A0-A10
RC
W
G
RB
DQ0-DQ7
Write erase or
program setup
R1
tAVCL
tWLWH
C1
tCLAX
tWHWL
Write erase confirm or
valid address and data
R2C2
tAVCH
tCHAX
D
IN1
tWHRL
Automated erase
or program delay
tCHWH
D
IN2
tWHGL
tWHDXtDVWH
Read Status
Register Data
VALID SRD
Ready to write
another command
AI06817
26/35
Page 27
Figure 13. Program Flow c hart and Ps e ud o C ode
Start
M50LPW012
LPC
Interface
Only
Write 40h or 10h
Write Address
& Data
Read Status
Register
b7 = 1
YES
b4 = 0
YES
b1 = 0
YES
End
NO
NO
NO
NO
Suspend
Program to Protected
Block Error (1, 2)
YES
Suspend
Program
Error (1, 2)
Program command:
– write 40h or 10h
– write Address & Data
(memory enters read status state after
the Program command)
do:
–read Status Register if Program/Erase
Suspend command given execute
suspend program loop
Loop
while b7 = 1
If b4 = 1, Program error:
– error handler
If b1 = 1, Program to protected block error:
– error handler
AI06818
Note: 1. A Status check of b1 (Protected Block) and b4 (Program Error) can be made after each Program operation by following the correct
command sequence.
2. If an error is found, the Stat us Registe r must be clea red before fu rt her Program / Erase Con troller operations.
27/35
Page 28
M50LPW012
Figure 14. Quadruple Byte Program Flowchart and Pseudo Code (A/A Mux Interface Only)
Start
Write 30h
Write Address 1
Write Address 2
Write Address 3
Write Address 4
Read Status
& Data 1
& Data 2
& Data 3
& Data 4
Register
b7 = 1
b4 = 0
(3)
(3)
(3)
(3)
YES
NO
NO
NO
Suspend
YES
Suspend
Program
Error (1, 2)
Loop
Quadruple Byte Program command:
– write 30h
– write Address 1 & Data 1
– write Address 2 & Data 2
– write Address 3 & Data 3
– write Address 4 & Data 4
(memory enters read status state after
the Quadruple Byte Program command)
do:
– read Status Register if Program/Erase
Suspend command given execute
suspend program loop
while b7 = 1
If b4 = 1, Program error:
– error handler
(3)
(3)
(3)
(3)
YES
End
Note: 1. A St atus check of b4 (Program Er ror) can be ma de after eac h Program operation by f ol l owing the correct command sequence.
2. If an error is found, the Stat us Register must be cleared befor e further Program/Erase Contr ol l er operations.
3. Address 1, Address 2, Address 3 and Address 4 must be consecuti ve addresse s differing only for addre ss bits A0 and A 1.
AI06819
28/35
Page 29
Figure 15. Program Suspend and Resume Flowchart, and Pseudo Code
Start
Write B0h
Program/Erase Suspend command:
Write 70h
Read Status
Register
– write B0h
– write 70h
do:
– read Status Register
M50LPW012
b7 = 1
YES
b2 = 1
YES
Write a read
Command
Read data from
another address
Write D0h
Program Continues
NO
NO
Program Complete
Write FFh
Read Data
while b7 = 1
If b2 = 0 Program completed
Program/Erase Resume command:
– write D0h to resume the program
– if the Program operation completed
then this is not necessary.
The device returns to Read as
normal (as if the Program/Erase
suspend was not issued).
If b1 = 1, Erase to protected block error:
– error handler
AI04434
Note: 1. If an error is found, the Status Register must be cleared befor e further Program/Erase Contr ol l er operations.
31/35
Page 32
M50LPW012
Figure 18. Erase Suspend and Resume Flow chart, and Pseudo Code
Start
Write B0h
Program/Erase Suspend command:
Write 70h
– write B0h
– write 70h
Read Status
Register
b7 = 1
YES
b6 = 1
YES
Read data from
another block
or
Program
Write D0h
Erase Continues
NO
NO
Erase Complete
Write FFh
Read Data
do:
– read Status Register
while b7 = 1
If b6 = 0, Erase completed
Program/Erase Resume command:
– write D0h to resume erase
– if the Erase operation completed
then this is not necessary.
The device returns to Read as
normal (as if the Program/Erase
suspend was not issued).
32/35
AI03410
Page 33
Table 27. Ordering Information Scheme
Example:M50LPW012 K 1 T
Device Type
M50
Architecture
LP = Low Pin Count Interface
Operating Voltage
W = 3.0 to 3.6V
Device Function
012 = 2 Mbit (256Kb x8), Boot Block
Package
K = PLCC32
Temperature Range
1 = 0 to 70 °C
Option
T = Tape & Reel Packing
M50LPW012
For a list of available options or for furt her information on any aspect of this device, please contact the ST
Sales Office nearest to you.
Table 28. Revision History
DateVersionRevision Details
17-Jun-2002-01First Issue
29-Aug-20021.1
16-Sep-20021.2
PC Chipsets without automapping memory features mentioned on page 1
Value of A19 inverted for Memory Identification Input Configuration (and
Register Configuration Map) for Bottom Boot Block devices
33/35
Page 34
M50LPW012
PLCC32 – 32 lead Plastic Leaded Chip Carrier, Package Outline
E3
Note: Drawing is not to scale.
D
D1
1 N
D3
D2D2
E1 E
F
0.51 (.020)
1.14 (.045)
R
A1
A2
B1
E2
e
B
E2
A
CP
PLCC-A
PLCC32 – 32 lead Plastic Leaded Chip Carrier, Package Mechanical Data
Information furnished is believed to be ac curate and reli able. Howev er, STMicroel ectronics assumes no responsibilit y for the consequence s
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 implic ation or otherwise under any patent or patent rights of STMi croelectr onics. Specifications mentioned in thi s publicati on are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as cri tical comp onents in life support dev i ces or systems wi t hout express written ap proval of STMi croelect ro nics.
The ST log o i s registered trademark of STMicroelectronics
All other nam es are the pro perty of their respective owners