This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to change without notice.
1/38
M59DR032A, M59DR032B
Figure 2A. FBGA Connections (Top View)
87654321
A
B
C
D
E
F
A13
A14
DDQ
SS
Figure 2B. TSOP Connections
A15
1
A14
A13
A12
A11
A10DQ14
A9
A8
NC
A20
W
RP
12
M59DR032A
V
WP
A19
A18
A17
PP
A7
A6
A5
A4
A3
A2
A1
M59DR032B
13
2425
AI02533B
48
37
36
A8A11
DQ7V
DQ13
PP
RPA18
DQ11
DQ12
DQ4
WPA19
DQ2
DD
A7V
A5A17WA10
DQ0DQ9DQ3DQ6DQ15V
DQ1DQ10V
A4
A2
A1A3A6A20DUA9A12A15
A0EDQ8DQ5DQ14A16
V
SS
G
AI02532C
Table 1. Signal Names
A0-A20Address Inputs
A16
V
DDQ
V
SS
DQ15
DQ7
DQ6
DQ13
DQ5
DQ12
DQ4
V
DD
DQ11
DQ3
DQ10
DQ2
DQ9
DQ1
DQ8
DQ0
G
V
SS
E
A0
DQ0-DQ15Data Input/Outputs, Command Inputs
E
G
W
RP
WP
V
V
V
V
DD
DDQ
PP
SS
Chip Enable
Output Enable
Write Enable
Reset/Power Down
Write Protect
Circuitry Supp ly Voltage
Input/Output Buffers Supply Voltage
Optional Supply Voltage for
Fast Program & Erase
Ground
NCNot Connected Internally
DUDon’t use as internally connected
2/38
M59DR032A, M59DR032B
Table 2. Absolute Maximum Ratings
SymbolParameterValueUnit
T
A
T
BIAS
T
STG
(3)
V
IO
, V
V
DD
DDQ
V
PP
Note: 1. Except for th e rating "O perating T em perature R ange", stresses abo ve 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. Depends on range.
3. Minim um Voltage may undershoot to –2V duri ng transit i on and for less than 20ns.
Ambient Operating Temperature
Temperature Under Bias–40 to 125°C
Storage Temperature–55 to 155°C
Input or Output Voltage
Supply Voltage–0.5 to 2.7V
Program Voltage–0.5 to 13V
DESCRIPTION
The M59DR032 is a 32 Mbit non-volatile Flash
memory that m ay be erased electrically a t block
level and programmed i n-system on a Word-byWord basis using a 1.65V to 2.2V V
the circuitry. For Program and Erase operations
the necessary high voltages are g enerated internally. The device supports asynchronous page
mode from all the blocks of the memory array.
The array matrix organization allows each block to
be erased and reprogrammed without affecting
other blocks. All blocks are protected against programming and erase at Power Up. Blocks can be
unprotected to make changes in the application
and then reprotected.
Instructions for Read/Reset, Auto Select, Write
Configuration Register, Programming, Block
Erase, Bank Erase, Erase Suspend, Erase Resume, Block Protect, Block Unprotect, Block Locking, CFI Query, are written to the memory through
a Command Interface using standard microprocessor write timings.
The device is offered in TSOP48 (12 x 20 mm)
and in FBGA48 0.75 mm ball pitch packages.
When shipped all bits of the M59DR032 device are
at the logical level ‘1’.
Organization
The M59DR032 is organized as 2Mb x16 bits. A0A20 are the address lines, DQ0-DQ15 are the
Data Input/Output. Memory control is provided by
Chip Enable E
W
inputs.
, Output Enable G and Write Enable
(1)
supply for
DD
(2)
–40 to 85°C
Reset RP
–0.5 to V
is used to reset all the memory circuitry
DDQ
+0.5
V
and to set the chip in power down mode if this
function is enabled by a proper setting of the Configuration Register. Erase and Program operations
are controlled by an internal Program/Erase Controller (P/E.C.). Status Register data output on
DQ7 provides a Data Polling signal, DQ6 and DQ2
provide Toggle signals and DQ5 provides error bit
to indicate the state of the P/E.C operations.
Memory Blocks
The device features asymmetrically blocked architecture. M59DR032 has an array of 71 blocks and
is divided into two banks A and B, prov iding D ual
Bank operations. While programming or erasing in
Bank A, read operations are possible into Bank B
or vice versa. The memory also features an erase
suspend allowing to read or program in another
block within the same bank. Once suspended the
erase can be resumed. The Bank Size and Sectorization are summarized in Table 7. Parameter
Blocks are located at the top of the m emory address space for the M59DR032A, and at the bo ttom for the M59DR032B. The memory maps are
shown in Tables 3, 4, 5 and 6.
The Program and Erase operation s are managed
automatically by the P/E.C. Block protection
against Program or Erase provides additional data
security. All blocks are protected at Power Up. Instructions are provided to protect or unprotect any
block in the application. A second register locks
the protection status while WP
is low (see B lock
Locking description). The Reset command does
not affect the configurati on of unprotected blo cks
and the Configuration Register status.
Bank A4 Mbit8 blocks of 4 KWord7 blocks of 32 KWord
Bank B28 Mbit-56 blocks of 32 KWord
SIGNAL DESCRIPTIONS
See Figure 1 and Table 1.
Address Inputs (A0-A20). The address inputs
for the memory array are latched during a write operation on the falling edge of Chip Enable E
Write Enable W
, whichever occurs last.
or
Data Input/Output (DQ0-DQ15). The Input is
data to be programm ed in the memory array or a
command to be written to the Command Interface
(C.I.) Both input data and commands are latc hed
on the rising edge of Write Enable W
. The Ouput
is data from the Memory Array, the Common Flash
Interface, the Electronic Signature Manufacturer
or Device codes, the Block Protection status, the
Configuration Register status or the Status Register Data Polling bit DQ7, the Toggle Bits DQ6 and
DQ2, the Error bit DQ5. The data bus is high impedance when the chip is deselected, Output Enable G
is at VIH, or RP is at VIL.
Chip Enable (E
). The Chip Enable input acti-
vates the memory control logic, input buffers, decoders and sense amplifiers. E
at VIH deselects
the memory and red uces the power consumption
to the standby level. E
can also be used to control
writing to the command register and to the memory array, while W
Output Enable (G
remains at VIL.
). The Output Enable gates the
outputs through the data buffers during a read operation. When G
is at VIH the outputs are High im-
pedance.
Write Enable (W
). This input controls writing to
the Command Register and Data latches. Data are
latched on the rising edge of W
Write Protect (WP
). This input gives an addition-
.
al hardware protection level against program or
erase when pulled at V
, as described in the Block
IL
Lock instruction description.
Reset/Power Down Input (RP
). The RP input
provides hardware reset of the memory (without
affecting the Configuration Register status ), and/
or Power Down functions, depending on the Configuration Register status. Reset/Power Down of
the memory is achieved by pulling RP
least t
. When the reset pul se is given, if the
PLPH
to VIL for at
memory is in Read, Erase Suspend Read or
Standby, it will output new valid data in t
ter the rising edge of RP
. If the memory is in Erase
PHQ7V1
af-
or Program modes, the oper ation will be aborted
and the reset recovery will take a maximum ot
t
. The memory will recover from Power
PLQ7V
Down (when enabled) in t
edge of RP
and V
V
DD
. See Tables 25, 26 and Figure 9.
Supply Voltage (1.65V to 2.2V).
DDQ
PHQ7V2
after the rising
The main power supply for all operations (Read,
Program and Erase). V
and V
DD
must be at
DDQ
the same voltage.
V
Programming Voltage (11.4V to 12.6V ). Used
PP
to provide high voltage for fast factory programming. High voltage on V
pin is required to use
PP
the Double Word Program instruction. It is also
possible to perform word program or erase instructions with V
Ground. VSS is the reference for al l the vol t-
V
SS
pin grounded.
PP
age measurements.
DEVICE OPERATIONS
The following operations can be performed using
the appropriate bus cycles: Read Array (Random,
and Page Modes), Write command, Output Disable, Standby, Reset/Power Down and Block
Locking. See Table 8.
Read. Read operations are used to output the
contents of the Memory Array, the Electronic Signature, the Status Register, the CFI, the Block
Protection Status or the Configuration Register
status. Read operation of the memory array is performed in asynchronous page mode, that provides
fast access time. Data is internally read and stored
in a page buffer. The page has a size of 4 words
and is addressed by A0-A1 address inputs. Read
operations of the Electroni c Signature, th e Status
Register, the CFI, the Block Protection Status, the
Configuration Register status and the Security
Code are performed as single asyncronous read
cycles (Random Read). Both Chip Enabl e E
Output Enable G
must be at VIL in order to read the
and
output of the memory.
Write. Write operations are u sed to give Instruc-
tion Commands to the memory or to latch Input
Data to be programmed. A write operation is initiated when Chip Enable E
at V
with Output Enable G at VIH. Addresses are
IL
latched on the falling edge of W
and Write Enable W are
or E whichever occurs last. Commands and Input Data are latched
on the rising edge of W
Noise pulses of less than 5ns typical on E
signals do not start a write cycle.
G
or E whichever occurs first.
, W and
6/38
M59DR032A, M59DR032B
Table 8. User Bus Operations
(1)
OperationEGWRPWPDQ15-DQ0
Write
Output Disable
Standby
V
IL
V
IL
V
IH
Reset / Power DownXXX
Block Locking
Note: 1. X = Don’t care.
V
IL
V
IH
V
IH
V
IL
V
IH
XX
XX
V
V
V
V
V
Table 9. Read Electronic Signature (AS and Read CFI instructions)
CodeDeviceE
Manufacturer Code
M59DR032A
Device Code
M59DR032B
GWA0A1A7-A2
V
V
V
IL
IL
V
V
IL
IL
V
V
IL
IL
V
IH
IL
V
V
IH
IH
V
V
IH
IH
V
V
V
0Don’t Care00h20h
IL
0Don’t Care00hA0h
IL
0Don’t Care00hA1h
IL
Table 10. Read Block Protection (AS and Read CFI instructions)
Table 11. Read Configuration Register (AS and Read CFI instructions)
RP
FunctionEGWA0A1A7-A2Other AddressesDQ10
V
V
V
V
Reset
Reset/Power Down
IL
IL
IH
IH
V
V
V
IL
IL
V
IH
IH
Dual Bank Operations. The Dual Bank allows to
read data from one bank of memory while a program or erase operation is in progress in the other
bank of the memory. Read and Write cycles can
be initiated for simultaneous operations in different
banks without any d elay. Status Register du ring
Program or Erase must be monitored using an address within the bank being modified.
Output Disa bl e . The data outputs are high impedance when the Output Enable G
Write Enable W
at VIH.
is at VIH with
Standby. The memory is in standby when Chip
Enable E
is at VIH and the P/E.C. is idle. The power consumption is reduced to the standby level
and the outputs are high impedance, independent
of the Output Enable G
or Write Enable W input s.
V
V
0Don’t Care0Don’t Care
IH
0Don’t Care1Don’t Care
IH
Automatic Standby. When in Read mode, after
150ns of bus inactivity and when CMOS levels are
driving the addresses, the chip automatically enters a pseudo-standby mode where consumption
is reduced to the CMOS standby value, while outputs still drive the bus.
Power Down. The memory is in Power Down
when the Configuration Register is set for Power
Down and RP
is at VIL. The power consumption is
reduced to the Power Down level, and Outputs are
in high impedance, independent of the Chip Enable E
, Output Enable G or Write Enable W inputs.
Block Locking. Any combination of blocks can
be temporarily protected against Program or
Erase by setting the lock register and pulling WP
to VIL (see Block Lock instruction).
DQ9-DQ0
DQ15-DQ11
7/38
M59DR032A, M59DR032B
INSTRUCTIONS AND COMMANDS
Seventeen instructions are defined (see Table
14A), and the internal P /E.C. automatically handles all timing and verification of the Pr ogram and
Erase operations. The Status Register Dat a Polling, Toggle, Error bits can be read at any time, during programming or erase, to monitor the progress
of the operation.
Instructions, made up of one or more com mands
written in cycles, can be given to the Program/
Erase Controller through a Command Interface
(C.I.). The C.I. latches comma nds written to the
memory. Commands are made of address and
data sequences. Two Coded Cycles unlock the
Command Interface. They are followed by an input
command or a confirmation command. The Coded
Sequence consists of writing the dat a AAh at the
address 555h during the f irst cycle and the data
55h at the address 2AAh during the second cycle.
Instructi ons a re co mpose d of up to si x cycles. The
first two cycles input a Coded Sequence to the
Command Interface which is common to all instructions (see Table 14A). T he third cycle inputs
the instruction set-up command. Subseq uent cycles output the addressed data, Elect ronic Signature, Block Protection, Configuration Register
Status or CFI Query for Read operations. In order
to give additional data protection, the instructions
for Block Erase and Bank Erase require further
command inputs. For a Program instruction, the
fourth command cycle inputs the address and data
to be programmed. For a Double Word Programming instruction, the fourth and fifth co mmand cycles input the address and data to be
programmed. For a Block Eras e and Bank Erase
instructions, the fourth and fifth cycles input a further Coded Sequence before the Erase confirm
command on the sixth cycle. Any combination of
blocks of the same memory bank can be erased.
Erasure of a memory block may be suspended, in
order to read data from another block or to program data in another block, and then resumed.
When power is first applied the command interface
is reset to Read Array.
Command sequencing must be followed exactly.
Any invalid combination of commands will reset
the device to Read Array. The inc reased number
of cycles has been chosen to ensure maximum
data security.
Read/Reset (RD) Instruction. The Read/Reset
instruction consists of one write cycle giving the
command F0h. It can be optionally preceded by
the two Coded Cycles. Subsequent read operations will r ead the memory array a ddressed and
output the data read.
CFI Query (RCFI) Instruction. Common Flash
Interface Query mode is entered writing 98h at address 55h. The CFI data structure gives information on the device, such as the sectorization, the
command set and some el ectrical specifications.
Tables 15, 16, 17 and 18 show the addresses
used to retrieve each data. The CFI data structure
contains also a se curity area; in this section, a 64
bit unique security number is written, starting at
address 80h. This area can be accessed only in
read mode by the final user and there are no ways
of changing the code after it has been written by
ST. Write a read instruction (RD) to return to Read
mode.
Table 12. Commands
Hex CodeCommand
00hBypass Reset
10hBank Erase Confir m
20hUnlock Bypass
30hBlock Erase Resume/Confirm
40hDouble Word Program
Block Unprotect, or
Block Lock, or
Write Configuration Register
Read Electronic Signature, or
Block Protection Status, or
Configuration Register Status
8/38
M59DR032A, M59DR032B
Auto Select (AS) Instruction. This instruction
uses two Coded Cycles followed by one write cycle giving the command 90h to address 555h for
command set-up. A subsequent read will output
the Manufacturer or the Device Code (Electronic
Signature), the Block Protection status or the Configuration Register status depending on the levels
of A0 and A1 (see Tables 9, 10 and 11). A7-A2
must be at V
, while other address input are ig-
IL
nored. The bank address is don’t care for this instruction. The Electronic Signature can be read
from the memory allowing programming equipment or applications to automatically match their
interface to the characteristics of M59DR032. The
Manufacturer Code is output when the address
lines A0 and A1 are at V
put when A0 is at V
, the Device Code is out-
IL
with A1 at VIL.
IH
The codes are output on DQ0-DQ7 with DQ8DQ15 at 00h. The AS instruction also allows the
access to the Block Protection Status. After giving
the AS inst ructio n, A 0 is s et to V
with A1 at VIH,
IL
while A12-A20 define t he address of the block to
be verified. A read in these conditions will output a
01h if the block is protected and a 00h if the block
is not protected.
The AS Instruction finally allows the access to the
Configuration Register status if both A0 and A1
are set to V
is active as RP
. If DQ10 is '0' only the Reset function
IH
is set to VIL (default at power-up).
If DQ10 is '1' both the Reset and the Power Down
functions will be achieved by pulling RP
to VIL. The
other bits of the Configuration Register are reserved and must be ignored. A reset command
puts the device in read array mode.
Write Configuration Register (CR) Instruction. This instruction uses t wo Coded Cyc les fol-
lowed by one write cycle giving the command 60h
to address 555h. A further write cycle giving the
command 03h writes the conte nts of address bi ts
A0-A15 to the 16 bits configuration register. Bits
written by inputs A0-A9 and A11-A15 are reserved
for future use. Address input A10 defines the status of the Reset/Power Down functions. It must be
set to V
V
IH
to enable only the Reset function and to
IL
to enable also the Power Down function. At
Power Up all the Con figuration Register bits are
reset to '0'.
Enter Bypass Mode (EBY) Instruction. This instruction uses the two Coded cycles f ollowed by
one write cycle giving the command 20h to address 555h for mode set-up. Once in Bypass
mode, the device will accept the Exit Bypass
(XBY) and Program or Double Word Program in
Bypass mode (PGBY, DPGBY) commands. The
Bypass mode allows to reduce the overall programming time when large memory arrays need to
be programmed.
Exit B y pa ss Mode (XBY) Ins t r u c t i o n. This instruction uses two write cycles. The first inputs to
the memory the command 90h and the second inputs the Exit Bypass mode confirm (00h). After the
XBY instruction, the device resets to Read Memory Array mode.
Program in Bypass Mode (PGBY) Instruction. This instruction uses two write cycles. The
Program command A0h is written to any Address
on the first cycle and the second write cycle latches the Address on t he falling e dge of W or E and
the Data to be written on the rising edge and starts
the P/E.C. Read operations within the same bank
output the Status Regist er bits after th e programming has started. Memory programming is made
only by writing '0' in place of '1'. Status bits D Q6
and DQ7 determine if programming is on-going
and DQ5 allows verification of any possible error.
Program (PG) Instruction. This ins truction uses
four write cycles. The Program command A0h is
written to address 555h on the third cycle after two
Coded Cycles. A fourth write operation latches the
Address and the Dat a to be writte n a nd starts the
P/E.C. Read operations within the same bank output the Status Register bits after the programming
has started. Memory program ming is made only
by writing '0' in place of '1'. Status bits DQ6 and
DQ7 determine if programming is on-going and
DQ5 allows verification of any possible error. Programming at an address not in blocks being
erased is also possible during erase suspend.
Double Word Program (DPG) Instruction. This
feature is offered to improve the programming
throughput, writing a page of two adjacent words
in parallel. High voltage (11.4V to 12.6V) on V
PP
pin is required. This instruction uses five write cycles. The double word program command 40h is
written to address 555h on the third cycle after two
Coded Cycles. A fourth write cycle latches the address and data to be written to the first location. A
fifth write cycle latches the new data to be written
to the second location and starts the P/E.C.. Note
that the two locations must have the same address
except for the address bit A0. The Double Word
Program can be executed in Bypass mode (DPGBY) to skip the two coded cycles at the beginning
of each command.
Note: 1. All bl ocks are protected at pow er-up, so the default con figuratio n i s 001 or 101 according to WP status.
2. Current state a nd Next state gi ves the pr ot ection sta t us of a block . The protec tion status is defined by the write pr otect pin and by
DQ1 (= 1 for a loc ked block) an d DQ0 (= 1 for a prot ected block ) as read in the A ut oselect inst ruction with A1 = V
3. Next state is the protection status of a block after a Protect or Unprotect or Lock command has been issued or after WP
its logic value.
4. A WP
transition to VIH on a locked block will restore the previous DQ0 value, giving a 111 or 110.
Program/Erase
Allowed
Block Protect (BP), Blo ck Unprotect (BU),
Block Lock (BL) Instructions. All blocks are
protected at power-up. Each block of the array has
two levels of protection against program or erase
operation. The first level is set by the Block Protect
instruction; a protected block cannot be programmed or erased until a Block Unprotect instruction is given for that block. A second l evel of
protection is set by the Block Lock instruction, and
requires the use of the WP
following scheme:
– when WP
is at VIH, the Lock status is overridden
and all blocks can be protected or unprotected;
– when WP
is at VIL, Lock status is enabled; the
locked blocks are protected, regardless of their
previous protect state, and protection status
cannot be changed. Bloc ks that are not locked
can still change their protection status, and program or erase accordingly;
– the lock status is cleared for all blocks at power
up; once a block ha s been locke d state can be
cleared only with a reset command. The protection and lock status can be monit ored for each
block using the Autoselect (AS) instruction. Protected blocks will output a ‘1’ on DQ0 and locked
blocks will output a ‘1’ on DQ1.
Refer to Table 13 for a list of the protection states.
Block Erase (BE) Instruction. This instruction
uses a minimum of six write cycles. The Erase
Set-up command 80h is written to ad dress 555h
on third cycle after the two Coded cycles. The
Block Erase Confirm command 30h is similarly
written on the sixth cycle after another two Coded
cycles and an address within the block to be
erased is given and latched into the memory.
(1)
ProtectUnprotectLockWP transition
pin, according to t he
Next State After Event
(3)
111 or 110
IH
Additional block Erase Confirm commands and
block addresses can be written subsequently to
erase other blocks i n paral l el, wit h out fu rthe r Co ded cycles. All blocks must belong to the same
bank of memory; if a new block belonging to the
other bank is given, the operation is aborted. The
erase will start after an erase timeout period of
100µs. Thus, additional Erase Confirm commands
for other blocks must be given within this delay.
The input of a new Erase Confirm command will
restart the timeout period. The status of the in ternal 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). If the second command 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
block with 00h as the P/E.C. will do t his a uto matically before erasing to FFh. Read operations within the same bank, 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 Erase Suspend ES
instruction; the Read/Reset RD instruction is accepted during the 100µs time-out period. Data
Polling b it DQ7 retur ns '0' while the erasur e is in
progress and '1' when it has com pleted. The Toggle bit DQ6 toggles during the erase operation,
and stops when erase is completed.
After completion the Status Re gister bit DQ5 returns '1' if there has been an erase failure. In such
a situation, the Toggle bit DQ2 can be used to determine which block is not correctly erased. In the
case of erase failure, a Read/Reset RD instruction
is necessary in order to reset the P/E.C.
(4)
and A0 = VIL.
has changed
10/38
M59DR032A, M59DR032B
Bank Erase (BKE) Instruction. This instruction
uses six write cycles and is used to e rase all the
blocks belonging to the selected bank. The Erase
Set-up command 80h is written to ad dress 555h
on the third cycle after the two Coded cycles. The
Bank Erase Confirm command 10h is similarly
written on the sixth cycle after another two Coded
cycles at an address within the selected bank. If
the second command gi ven is not an erase confirm or if the Coded cy cles are wrong, the instruction aborts and the device is reset to Read A rray.
It is not necessary to program the array with 00h
first as the P/E.C. will automatically do this before
erasing it to FFh. Read operations within the same
bank 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., Data Polling bit DQ7 returns ’0’, then ’1’ on completion. The Toggle bit
DQ6 toggles during erase operation and stops
when erase is completed. After completion the
Status Register bit DQ5 returns ’1’ if there has
been an Erase Failure.
Erase Suspend (ES) Instruction. In a dual bank
memory the Erase Suspend instruction is used to
read data within the bank where erase is in
progress. It is also possible to program data in
blocks not being erased.
The Erase Suspend in struction con sists o f writing
the command B0h without any s pecific address.
No Coded Cycles are requ ired. Erase s uspend is
accepted only during the Block Erase i nstruction
execution. The Toggle bit DQ6 stops toggling
when the P/E.C. is suspended within 15µs after
the Erase Suspend (ES) command has been written. The device will then automatically be set to
Read Memory Array mode. When erase is suspended, a Read from blocks being erased will output DQ2 toggling and DQ 6 at '1'. A Read from a
block not being erased returns valid data. During
suspens ion the memory w ill respond only to the
Erase Resume ER and the Program PG instructions. A Program operation can be initiated during
erase suspend in one of the blocks not being
erased. It will result in DQ6 toggling when the data
is being programmed.
Erase Resume (ER) Instruction. If an Erase
Suspend instruction was previously exec uted, the
erase operation may be resumed by giving the
command 30h, at an address within the bank being erased and without any Coded Cycle.
Maximum number of bytes in multi-byte program or page = 2
bit 7 to 0 = x = number of Erase Block Regions
Note:1. x = 0 means no erase blocking, i.e. the device erases at once in "bulk."
2. x specifies the number of regions within the device containing one or more contiguous Erase Blo cks of the same siz e. Fo r ex ampl e, a 12 8KB devi ce ( 1Mb)
having blocking of 16KB, 8KB, four 2KB, two 16KB, and one 64KB is considered
to have 5 Erase Block Regions. Even thoug h two regions both contain 16KB
blocks, the f act that they are not c ontiguous means the y are separate Erase
Block Regions.
3. By definition, symmetrically block devices have only one blocking region.
bit 31 to 16 = z, where the Erase Block(s) within this Region are (z) times 256 bytes in
size. The value z = 0 is used for 128 byte block size.
e.g. for 64KB block size, z = 0100h = 256 => 256 * 256 = 64K
bit 15 to 0 = y, where y+1 = Number of Erase Blocks of identical size within the Erase
Block Region:
e.g. y = D15-D0 = FFFFh => y+1 = 64K blocks [maximum number]
y = 0 means no blocking (# blocks = y+1 = "1 block")
Note: y = 0 value must be used with number of block regions of one as indicated
by (x) = 0
in number of bytes
n
16/38
M59DR032A, M59DR032B
Table 19. Status Register Bits
(1)
DQNameLogic Level DefinitionNote
’1’
’0’Erase On-going
Data
7
Polling
DQ
DQ
Erase Complete or erase block
in Erase Suspend.
Program Complete or data of
non erase block during Erase
Suspend.
Program On-going
(2)
Indicates the P/E.C. status, check
during Program or Erase, and on
completion before checking bits DQ5
for Program or Erase Success.
’-1-0-1-0-1-0-1-’Erase or Program On-goingSuccessive reads output
complementary data on DQ6 while
Programming or Erase operations are
on-going. DQ6 remains at constant
level when P/E.C. operations are
completed or Erase Suspend is
acknowledged.
This bit is set to ’1’ in the case of
Programming or Erase failure.
6Toggle Bit
5Error Bit
DQProgram Complete
Erase Complete or Erase
’-1-1-1-1-1-1-1-’
Suspend on currently addressed
block
’1’Program or Erase Error
’0’Program or Erase On-going
4Reserved
P/E.C. Erase operation has started.
3
Erase Time
’1’Erase Timeout Period Expired
Bit
’0’Erase Timeout Period On-going
Only possible command entry is Erase
Suspend (ES)
An additional block to be erased in
parallel can be entered to the P/E.C:
Erase Suspend read in the
Erase Suspended Block.
’-1-0-1-0-1-0-1-’
Erase Error due to the currently
addressed block (when DQ5 =
2Toggle Bit
1
DQ
’1’).
Program on-going or Erase
Complete.
Erase Suspend read on non
Erase Suspend block.
Indicates the erase status and allows
to identify the erased block.
1Reserved
0Reserved
Note: 1. Logic level ’1’ is High, ’0’ is Low. -0-1-0 -0-0-1-1 -1-0- represent bit va l ue i n successi ve Read operations.
2. In case of double word program DQ7
refers to the last word input.
17/38
M59DR032A, M59DR032B
Table 20. P o ll in g and Toggle B its
ModeDQ7D Q6DQ2
ProgramDQ7
Erase0ToggleN/A
Erase Suspend Read
(in Erase Suspend
block)
Erase Suspend Read
(outside Erase Suspend
block)
Erase Suspend ProgramDQ7
DQ7DQ6DQ2
Toggle1
11Toggle
Toggle1
STATUS REGISTER BITS
P/E.C. status is indicated during execution by Data
Polling on D Q7, detection of T oggle on DQ6 and
DQ2, or Error on DQ5 bits. Any read attempt within
the Bank being modi fied and during Program or
Erase command e xecution will automa tically output these five Status Register bits. The P/E.C. automatically sets bits DQ2, DQ5, DQ6 and DQ7.
Other bits (DQ0, DQ1 and DQ4) are reserved for
future use and should be mas ked (see Tables 19
and 20). Read attemps within the bank not being
modified w ill ou t p ut arr ay d ata.
Data Polling Bit (DQ7). When Program ming operations are in progress, this bit out puts the complement of the bit being programmed on DQ7. In
case of a double word program operation, the
complement is done on DQ7 of the last word written to the command interface, i.e. the data written
in the fi fth cycl e. During E rase op eration, it output s
a ’0’. After completion of the operation, DQ7 wi ll
output the bit last programmed or a ’1’ after erasing. Data Polling is valid and only effective during
P/E.C. operation, that is after the fourth W
for programming or after the sixth W
pulse
pulse for
erase. It must be performed at t he address being
programmed or at an address within the block being erased. See Figure 12 for the Data Polling
flowchart and Figure 10 for the Data Polling waveforms. DQ7 will also flag the Erase Suspend mode
by switching from ’0’ to ’1’ at the start of the Erase
Suspend. In order to monitor DQ7 in the Erase
Suspend mode an address within a block being
erased must be provided. For a Read Operation in
Suspend mode, DQ7 will output ’1’ i f the read is attempted on a block being erased and the data value on other blocks. During Program operation in
Erase Suspend Mode, DQ7 will have the same behaviour as in the normal program exec ution outside of the suspend mode.
Toggle Bit (DQ6). When Programming or Erasing operations are in progress, successive attempts to read DQ6 will output complementary
data. DQ6 will toggle following toggling of either G
or E
when G is at VIL. 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 DQ6
is valid only during P/E.C. op erations, that is after
the fourth W
sixth W
pulse for programming or after the
pulse for Erase. DQ6 will be set to ’1’ if a
Read operation is attempted on an Erase Suspend
block. When erase is suspended DQ6 will toggle
during programming operations in a block different
from the block in E rase Suspend. Either E
or G
toggling will cause DQ6 to toggle. See Figure 13
for Toggle Bit flowchart and Fi gure 11 for Toggle
Bit waveforms.
Toggle Bit (DQ2). This toggle bit, together with
DQ6, can be used to det ermine the d evice status
during the Erase operations. During Erase Suspend a read from a block being erased will cause
DQ2 to toggle. A read from a block not being
erased will output data. DQ2 will be set to ’1’ during
program operation and to ‘0’ in Erase operation.
After erase completion and if the error bit DQ5 is
set to '1', DQ2 will toggle if the faulty block is addressed.
Error Bit (DQ5). This bit is set to '1' by the P/E.C.
when there is a failure of programming or block
erase, that results in invalid data in the memory
block. In case of an error in block erase or program, the block in which the error occurred or to
which the programmed data belongs, must be discarded. Other Blocks may still be used. The error
bit resets after a Read/Reset (RD) instruction. In
case of success of Program or Erase, the error bit
will be set to '0'.
Erase Timer Bit (DQ3). This bit is set to ‘0’ by the
P/E.C. when the last block Erase command has
been entered to the Co mmand Interface and it is
awaiting the Erase start. When the erase timeout
period is finished, DQ3 returns to ‘1’, in the range
of 80µs to 120µs.
,
18/38
M59DR032A, M59DR032B
Table 21. Program, Erase Times and Progr am, Erase End uran ce Cycl es
= 0 to 70°C; VDD = V
(T
A
Parameter
Parameter Block (4 KWord) Erase (Preprogrammed)2.50.150.4sec
Main Block (32 KWord) Erase (Preprogrammed)1013sec
Bank Erase (Preprogrammed, Bank A)26sec
Bank Erase (Preprogrammed, Bank B)1030sec
Chip Program
Chip Program (DPG, V
Word Program2001010µs
Program/Erase Cycles (per Block)100,000cycles
Note: 1. M ax values refer to the m a ximum time all owed by the int ernal algorithm before error bi t is set. Worst case condi tions pr ogram o r
2. Excl udes the time needed to exe cute the sequence for program instruction.
(2)
PP
erase shou l d perform significantl y better.
= 1.65V to 2.2V, VPP = VDD unless otherwise specified)
DDQ
M59DR032
Max
(1)
Typ
= 12V)
Min
(2)
Typical after
100k W/E Cycles
2025sec
10sec
Unit
POWE R SU PPLY
Power Down
The memory provides Reset/Power Down c ontrol
input RP
. The Power Down function can be activated only if the relevant Configuration Register bit
is set to ’1’. In this case, when the RP
pulled at V
(see Table 22), the memory is deselected and
I
CC2
the supply current drops to typically
SS
the outputs are in high impedance.If RP
to V
during a Program o r Erase operation, this
SS
operation is aborted in t
and the memory
PLQ7V
signal is
is pulled
content is no longer valid (see Reset/Power Down
input description).
Power Up
The memory Command Interface is reset on Power Up to Read Array. Either E
V
during Power Up to allow m aximum security
IH
or W must be tied to
and the possibility to write a command on the first
rising edge of W
.
Supply Rails
Normal precautions must be taken for supply voltage decoupling; each device in a system should
have the V
itor close to the V
rails decoupled with a 0.1µF capac-
DD
DD
, V
and VSS pins. The PCB
DDQ
trace widths should be sufficient to carry the required V
program and erase currents.
DD
19/38
M59DR032A, M59DR032B
Table 22. DC Characteristics
(TA = 0 to 70°C or –40 to 85°C; V
SymbolParameterTest ConditionMinTypMaxUnit
I
Input Leakage Current
LI
I
I
CC1
I
CC2
I
CC3
I
CC4
I
CC5
I
PP1
I
PP2
V
V
V
V
V
PP
Note: 1. Sampled only, not 100% tested.
Output Leakage Current
LO
Supply Current
(Read Mode)
Supply Current
(Power Down)
Supply Current (Standby)
Supply Current
(1)
(Program or Erase)
Supply Current
(1)
(Dual Bank)
VPP Supply Current
(Program or Erase)
VPP Supply Current
(Standby or Read)
Input Low Voltage–0.50.4V
IL
Input High Voltage
IH
Output Low Voltage
OL
Output High Voltage
OH
CMOS
VPP Supply Voltage
(2,3)
(Program or Erase)
2. V
may be conne ct ed to 12V pow er supply for a total of less than 100 hrs.
PP
3. For sta ndard prog ram/erase operation V
= V
DD
E
Word Program, Block Erase
= 1.65V to 2.2V)
DDQ
0V ≤ V
0V ≤ V
IN
OUT
≤ V
≤ V
DD
DD
= VIL, G = VIH, f = 6MHz
= VSS ± 0.2V
RP
E
= VDD ± 0.2V
in progress
±1µA
±5µA
1020mA
210µA
1550µA
1020mA
Program/Erase in progress
in one Bank, Read in the
2040mA
other Bank
V
= 12V ± 0.6V
PP
≤ V
V
PP
CC
= 12V ± 0.6V
V
PP
I
= 100µA
OL
= –100µAV
I
OH
V
–0.4V
DDQ
–0.1
DDQ
–0.4
510mA
0.25µA
100400µA
DDQ
0.1V
V
DD
Double Word Program11.412.6V
is don’t car e.
PP
+ 0.4
+ 0.4
V
V
V
20/38
M59DR032A, M59DR032B
Table 23. Capacitance
(T
= 25 °C, f = 1 MHz)
A
(1)
SymbolParameterTest ConditionMinMaxUnit
V
C
IN
C
OUT
Note: 1. Sampled only, not 100% tested.
Input Capacitance
Output Capacitance
Table 24. AC Measuremen t Cond itions
Input Rise and Fall Times
Input Pulse Voltages
Input and Output Timing Ref. Voltages
0 to V
V
4ns
≤
DDQ
DDQ
/2
= 0V
IN
V
= 0V
OUT
Figure 4. AC Testing Load Circuit
V
DDQ
6pF
12pF
/ 2
1N914
3.3kΩ
Figure 3. Tes ting Inp ut/ Output Wav ef orms
DEVICE
UNDER
V
DDQ
0V
V
DDQ
AI02315
/2
TEST
CL = 30pF
CL includes JIG capacitance
OUT
AI02316
21/38
M59DR032A, M59DR032B
Table 25. Read AC Characteristics
(TA = 0 to 70°C or –40 to 85°C; V
DD
= V
= 1.65V to 2.2V)
DDQ
M59DR032
SymbolAltParameterTest Condition
t
AVAV
t
AVQV
t
AVQV1
(1)
t
ELQX
(2)
t
ELQV
t
GLQX
t
GLQV
t
EHQX
t
EHQZ
t
GHQX
t
GHQZ
t
AXQX
t
PHQ7V1
t
PHQ7V2
t
PLQ7V
t
PLPH
Note: 1. Sampled only, not 100% tested.
2. G
t
t
PAGE
(1)
t
(2)
(1)
(1)
may be delayed by up to t
t
RC
ACC
t
LZ
t
CE
OLZ
t
OE
t
OH
t
HZ
t
OH
t
DF
t
OH
t
RP
Address Valid to Next
Address Valid
Address Valid to Output
Valid (Random)
Address Valid to Output
Valid (Page)
Chip Enable Low to Output
Transition
Chip Enable Low to Output
Valid
Output Enable Low to
Output Transition
Output Enable Low to
Output Valid
Chip Enable High to Output
T ransition
Chip Enable High to Output
Hi-Z
Output Enable High to
Output Transition
Output Enable High to
Output Hi-Z
Address Transition to
Output Transition
= VIL, G = V
E
= VIL, G = V
E
= VIL, G = V
E
= V
G
= V
G
= V
E
= V
E
= V
G
= V
G
= V
E
= V
E
= VIL, G = V
E
RP High to Data Valid
(Read Mode)
RP High to Data Valid
(Power Down enabled)
RP Low to Reset Complete
During Program/Erase
RP Pulse Width100100ns
- t
ELQV
after the fal ling edge of E without increasi ng t
GLQV
Unit100120
MinMaxMinMax
100120ns
IL
IL
IL
IL
IL
IL
IL
IL
IL
IL
IL
IL
100120ns
3545ns
00ns
100120ns
00ns
2535ns
00ns
2535ns
00ns
2535ns
00ns
150150ns
5050µs
15µs
.
ELQV
22/38
Figure 5. Random Read AC Waveforms
tEHQZ
tGHQZ
tGHQX
M59DR032A, M59DR032B
AI02624
VALID
tAVAV
A0-A20
VALID
tAVQVtAXQX
tELQV
tGLQV
tGLQX
tELQXtEHQX
E
G
DQ0-DQ15
Note: Wri te Enable (W) = High.
23/38
M59DR032A, M59DR032B
Figure 6. Page R ea d AC Wa v e form s
AI02538
VALID
VALID
VALIDVALID
tGLQV
tGHQZ
tEHQZ
VALID
tGHQX
tEHQX
tAVQV1
VALIDVALIDVALID
24/38
A2-A20
VALID
A0-A1
tELQV
tAVQV
E
G
DQ0-DQ15
Table 26. Write AC Characteristics, Write Enable Controlled
(T
= 0 to 70 °C or –40 to 85 °C; VDD = V
A
= 1.65V to 2.2V)
DDQ
M59DR032A, M59DR032B
M59DR032
SymbolAltParameter
t
AVAV
t
ELWL
t
WLWH
t
DVWH
t
WHDX
t
WHEH
t
WHWL
t
AVWL
t
WLAX
t
GHWL
t
VDHEL
t
WHGL
t
PLQ7V
t
Address Valid to Next Address Valid100120ns
WC
t
Chip Enable Low to Write Enable Low00ns
CS
t
Write Enable Low to Write Enable High5050ns
WP
t
Input Valid to Write Enable High5050ns
DS
t
Write Enable High to Input Transition00ns
DH
t
Write Enable High to Chip Enable High00ns
CH
t
Write Enable High to Write Enable Low3030ns
WPH
t
Address Valid to Write Enable Low00ns
AS
t
Write Enable Low to Address Transition5050ns
AH
Output Enable High to Write Enable Low00ns
t
VCSVDD
t
Write Enable High to Output Enable Low3030ns
OEH
RP Low to Reset Complete During
Program/Erase
High to Chip Enable Low
Unit100120
MinMaxMinMax
5050µs
1515µs
25/38
M59DR032A, M59DR032B
Table 27. Write AC Characteristics, Chip Enable Controlled
(T
= 0 to 70 °C or –40 to 85 °C; VDD = V
A
= 1.65V to 2.2V)
DDQ
M59DR032
SymbolAltParameter
t
AVAV
t
WLEL
t
ELEH
t
DVEH
t
EHDX
t
EHWH
t
EHEL
t
AVEL
t
ELAX
t
GHEL
t
VDHWL
t
EHGL
t
PLQ7V
t
Address Valid to Next Address Valid100120ns
WC
t
Write Enable Low to Chip Enable Low00ns
WS
t
Chip Enable Low to Chip Enable High5050ns
CP
t
Input Valid to Chip Enable High5050ns
DS
t
Chip Enable High to Input Transition00ns
DH
t
Chip Enable High to Write Enable High00ns
WH
t
Chip Enable High to Chip Enable Low3030ns
CPH
t
Address Valid to Chip Enable Low00ns
AS
t
Chip Enable Low to Address Transition5050ns
AH
Output Enable High Chip Enable Low00ns
t
VCSVDD
t
Chip Enable High to Output Enable Low3030ns
OEH
RP Low to Reset Complete During
Program/Erase
High to Write Enable Low
Unit100120
MinMaxMinMax
5050µs
1515µs
26/38
Figure 7. Write AC Waveforms, W Controlled
A0-A20
M59DR032A, M59DR032B
tAVAV
VALID
tWLAX
tAVWL
E
tELWL
G
tWLWHtGHWL
W
tDVWH
DQ0-DQ15
V
DD
tVDHEL
Note: Address are latched on the falling edge of W, Dat a i s latched on the ri sing edge of W.
VALID
tWHEH
tWHGL
tWHWL
tWHDX
AI02539
27/38
M59DR032A, M59DR032B
Figure 8. Write AC Waveforms, E Controlled
A0-A20
tAVAV
VALID
tELAX
tAVEL
W
tWLEL
G
tELEHtGHEL
E
tDVEH
DQ0-DQ15
V
DD
tVDHWL
Note: Address are latched on the falling edge of E, Dat a is latched on the risin g edge of E.
VALID
tEHWH
tEHGL
tEHEL
tEHDX
AI02540
28/38
M59DR032A, M59DR032B
Table 28. Data Polling and Toggle Bits AC Characteristics
(TA = 0 to 70 °C or –40 to 85 °C; VDD = V
SymbolParameter
t
WHQ7V
t
EHQ7V
t
Q7VQV
t
WHQV
t
EHQV
Note: 1. All other timings are defined in Read AC Characteristics table.
Write Enable High to DQ7 Valid (Program, W Controlled)10200µs
Write Enable High to DQ7 Valid (Block Erase, W
Chip Enable High to DQ7 Valid (Program, E Controlled)10200µs
Chip Enable High to DQ7 Valid (Block Erase, E
Q7 Valid to Output Valid (Data Polling)0ns
Write Enable High to Output Valid (Program)10200µs
Write Enable High to Output Valid (Block Erase)1.010sec
Chip Enable High to Output Valid (Program)10200µs
Chip Enable High to Output Valid (Block Erase)1.010sec
= 1.65V to 2.2V)
DDQ
Controlled)1.010sec
Controlled)1.010sec
(1)
M59DR032
Unit
MinMax
29/38
M59DR032A, M59DR032B
Figure 9. Read and Write AC Characteristics, RP Related
DQ7VALID
AI02619
tPLQ7V
tPLPH
PROGRAM / ERASE
READ
VALID
tPHQ7V
30/38
W
DQ7
RP
Figure 10. Data Polling DQ7 AC Waveforms
M59DR032A, M59DR032B
AI02625
ARRAY
READ CYCLE
ADDRESS (WITHIN BLOCKS)
tELQV
tAVQV
tEHQ7V
tGLQV
VALID
DQ7
tWHQ7V
VALID
tQ7VQV
IGNORE
DATA POLLING (LAST) CYCLEMEMORY
A0-A20
READ CYCLES
DATA POLLING
PROGRAM
OR ERASE
CYCLE OF
LAST WRITE
E
G
W
DQ7
DQ0-DQ6/
DQ8-DQ15
INSTRUCTION
31/38
M59DR032A, M59DR032B
Figure 11. Data Toggle DQ6, DQ2 AC Waveforms
AI02543
VALID
tAVQV
tEHQV
tELQV
tGLQV
VALID
tWHQV
STOP TOGGLE
VALID
IGNORE
READ CYCLE
MEMORY ARRAY
READ CYCLE
DATA TOGGLE
32/38
A0-A20
DATA
TOGGLE
READ CYCLE
OF ERASE
PROGRAM
CYCLE OF
LAST WRITE
DQ6,DQ2
DQ0-DQ1,DQ3-DQ5,
E
G
W
DQ7-DQ15
INSTRUCTION
Note: All other timings are as a norm a l Read cycle.
Devices are shipped from the factory with the memory content erased (to FFFFh).
For a list of available options (Speed, Pac kage, etc...) or for furthe r information on any aspect of this device, please contact the STMicroelectronics Sales Office nearest to you.
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
1999 STMi croelectr oni cs - All Rights Reserved
All other names are the property of their respective owners.
Australi a - Brazil - Chi na - Finland - F rance - Germ any - Hong K ong - India - Ita l y - Japan - Mala ysia - Malta - Moroc co -
Singapor e - Spain - Sweden - Switzerl and - United Kingdom - U .S .A.
STMicroelect ro n ics GRO UP OF COMPANI ES
http://www.st.com
38/38
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.