![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
1/53 product preview may 2000 this is preliminary information on a new product now in development. details are subject to change without notice. M58LW064a M58LW064b 64 mbit (x16 and x16/x32, block erase) low voltage flash memories n M58LW064a x16 organisation, n M58LW064b x16/x32 selectable n multi-bit cell for high density and low cost n supply voltage v dd = 2.7v to 3.6v supply voltage v ddq = 2.7v to 3.6v or 1.8v to 2.5v input/output supply voltage n pipelined synchronous burst interface n synchronous/asynchronous read synchronous burst read asynchronous random and latch enabled controlled read, with page read n access time synchronous burst read up to 66mhz asynchronous page mode read 150/25ns, random read 150ns n programming time 16 word or 8 double-word write buffer 12us word effective programming time n memory blocks 64 equal blocks of 1 mbit n electronic signature manufacturer code: 20h device code M58LW064a: 17h device code M58LW064b: 14h description the M58LW064 is a non-volatile flash memory that may be erased electrically at the block level and programmed in-system on a 16 word or 8 double-word basis using a 2.7v to 3.6v supply for the circuit and a supply down to 1.8v for the input and output buffers. the M58LW064a is organised as 4m by 16 bit. the M58LW064b has 4m by 16 bit or 2m by 32 bit organisation selectable by the word organisation word input. both devices are internally configured as 64 blocks of 1 mbit each. fbga 86 1 tsop56 (nf) lbga54 (za) pqfp80 (t) tsop86 ii (nh) figure 1. logic diagram note: 1. only on M58LW064b. ai03223 22 a1-a22 w dq0-dq31 v dd M58LW064a M58LW064b e v ss 32 g rp l v ddq b k rb r v pp word (1)
M58LW064a, M58LW064b 2/53 the devices support asynchronous random and latch enable controlled read with page mode as well as synchronous burst read with a config- urable burst. they also support pipelined synchro- nous burst read. writing is asynchronous or asynchronous latch enable controlled. the configurable synchronous burst read interface allows a high data transfer rate controlled by the burst clock k signal. it is capable of bursting fixed or unlimited lengths of data. the burst type, laten- cy and length are configurable and can be easily adapted to a large variety of system clock frequen- cies and microprocessors. a 16 word or 8 double- word write buffer improves effective program- ming speed by up to 20 times when data is pro- grammed in full buffer increments. effective word programming takes typically 12 m s. the array ma- trix organisation allows each block to be erased and reprogrammed without affecting other blocks. program and erase operations can be suspended in order to perform either read or program in any other block and then resumed. all blocks are pro- tected against spurious programming and erase cycles at power-up. any block can be separately protected at any time. the block protection bits can also be deleted, this is executed as one se- quence for all blocks simultaneously. block protec- tion can be temporarily disabled. each block can be programmed and erased over 100,000 cycles. block erase is performed in typically 1 second. an internal command interface (c.i.) decodes in- structions to access/modify the memory content. the program/erase controller (p/e.c.) automati- cally executes the algorithms taking care of the timings required by the program and erase opera- tions. verification is internally performed and a status register tracks the status of the operations. the ready/busy output rb indicates the comple- tion of operations. instructions are written to the memory through the command interface (c.i.) using standard micro- processor write timings. the device supports the common flash interface (cfi) command set defi- nition. a reset/power-down mode is entered when the rp input is low. in this mode the power consump- tion is lower than in the normal standby mode, the device is write protected and both the status and the burst configuration registers are cleared. a recovery time is required when the rp input goes high. the device is offered in various package versions, tsop56 (14 x 20 mm), tsop86 type ii (11.76 x 22.22 mm) and lbga54 1mm ball pitch for the M58LW064a and pqfp80 for the M58LW064b. table 1. signal names a1-a22 address inputs x16 organisation a2-a22 address inputs x32 organisation dq0-dq7 data input/output x16 and x32 organisation command input, electronic signature output, block protection ststus output, status register output dq8-dq15 data input/output x16 and x32 organisation dq16-dq31 data input/output x32 organisation b burst address advance e chip enable g output enable k burst clock l latch enable r valid data ready (open drain output) rb ready/busy (open drain output) rp reset/power-down v pp program/erase enable w write enable word word organisation (M58LW064b only) v dd supply voltage v ddq input/output supply voltage v ss ground nc no internal connection du don't use (internally connected) 3/53 M58LW064a, M58LW064b figure 2. tsop56 connections dq3 dq9 dq2 dq0 dq6 a16 a17 a18 dq14 dq12 dq10 rb v ddq dq4 dq7 ai03224 M58LW064a 14 1 15 28 29 42 43 56 dq8 v dd dq1 dq11 b a20 a21 nc a19 w a22 r e l k a6 a3 a8 a9 a10 a2 a7 v pp a1 a4 a5 a12 a13 a11 a15 a14 rp v ss nc dq13 dq15 v dd dq5 g v ss v ss figure 3. tsop86 type ii connections dq7 v ss dq6 dq12 a16 v ss v ss a8 v dd a20 dq14 a14 r a21 v dd ai03634 M58LW064a 21 1 22 43 44 65 66 86 dq5 a7 dq13 dq15 dq4 a10 a11 e a9 a12 v pp rp a2 v ddq v ddq dq2 dq11 dq9 dq1 dq8 v ss v dd a1 v ss dq3 dq10 a3 a4 dq0 a6 a5 b v dd v ddq a18 a15 v ss a19 a13 a17 a22 dq22 dq17 dq24 dq16 dq30 dq20 nc g w dq23 dq25 nc nc word nc nc nc nc l k dq27 dq19 dq18 dq26 dq21 dq31 dq28 nc dq29 rb M58LW064a, M58LW064b 4/53 figure 4. lbga connections for M58LW064a (top view through package) ai03536 dq6 a1 v ss v dd dq10 v dd dq7 dq5 v ddq dq2 b h dq14 v ss dq13 d a16 a20 e a9 c a17 a21 a11 a15 k a8 b r a19 a2 a13 a14 a 8 7 6 5 4 3 2 1 a7 a3 a4 a5 g f e dq0 l a6 v pp a22 a18 a10 a12 rp dq15 r/b dq9 dq8 dq1 dq4 dq3 g dq12 dq11 w v ss 5/53 M58LW064a, M58LW064b figure 5. pqfp connections ai03546 32 12 M58LW064b 53 dq18 dq16 dq24 a5 a6 a7 a4 a1 nc nc nc a3 dq27 dq17 l k nc dq19 dq25 dq8 dq1 dq9 b dq0 dq5 dq11 dq13 dq12 a9 a10 a11 rp a13 e a16 a14 a15 a12 a17 a21 a20 a19 r nc nc nc w dq15 dq7 dq6 dq14 dq20 a2 dq26 dq3 dq2 dq10 v ss v ddq dq4 g word a22 a8 a18 73 v dd v ss v ss rb dq28 dq21 dq29 dq22 dq30 dq23 dq31 v dd v pp v ss v ddq 1 M58LW064a, M58LW064b 6/53 table 2. absolute maximum ratings (1) note: 1. except for the rating ooperating temperature rangeo, stresses above those listed in the table oabsolute maximum ratingso may cause permanent damage to the device. these are stress ratings only and operation of the device at these or any other conditions above those indicated in the operating sections of this specification is not implied. exposure to absolute maximum rating condi- tions for extended periods may affect device reliability. refer also to the stmicroelectronics sure program and other relevant qual- ity documents. 2. cumulative time at a high voltage level of 10v should not exceed 80 hours on rp pin. symbol parameter value unit t a ambient operating temperature grade 1 0 to 70 c grade 6 40 to 85 t bias temperature under bias 40 to 125 c t stg storage temperature 55 to 150 c v io input or output voltage 0.6 to v ddq +0.6 v v dd ,v ddq supply voltage 0.6 to 5.0 v v hh rp hardware block unlock voltage 0.6 to 10 (2) v 7/53 M58LW064a, M58LW064b figure 6. memory map ai03228 1mbit or 64 kwords 3fffffh 3f0000h 1mbit or 64 kwords 01ffffh 010000h 1mbit or 64 kwords 00ffffh 000000h x64 1mbit or 32 kdouble-words 1fffffh 1f8000h 1mbit or 32 kdouble-words 00ffffh 008000h 1mbit or 32 kdouble-words 007fffh 000000h x64 M58LW064a, M58LW064b word (x16) organisation address lines a1-a22 M58LW064b double-word (x32) organisation address lines a2-a22 (a1 is don't care) organisation memory control is provided by chip enable e, out- put enable g and write enable w inputs. a latch enable l input latches an address for both read and write operations. the burst clock k and the burst address advance b inputs synchronize the memory to the microprocessor during burst read. reset/power-down rp is used to reset all the memory circuitry, excluding the block protection bits, and to set the chip in deep power down mode. erase and program operations are controlled by an internal program/erase controller (p/e.c.). a status register data output on dq7 provides a ready/busy signal to indicate the state of the p/ e.c. operations. a ready/busy rb output also in- dicates the completion of the internal algorithms. a valid data ready r output indicates the memory data output valid status during the synchronous burst mode operations. a word organisation word input selects the x16 or x32 data width for the M58LW064b. for the x16 only organisation of the M58LW064a or the x16 organisation of the M58LW064b the address lines are a1-a22 and the data input/output is on dq0- dq15. for the x32 organisation of the M58LW064b the address lines are a2-a22 and the data input/output is dq0-dq31. memory blocks the device has a uniform block architecture with an array of 64 separate blocks of 1mbit each. the memory features a software erase suspend of a block allowing read or programming within any other block. a suspended erase operation can be resumed to complete block erasure. a program suspend operation on a block allows reading only within any other block. a suspend program opera- tion can be resumed to complete programming. at any moment of the sequence the status register indicates the status of the operation. each block is erased separately. an erase or pro- gram operation is managed automatically by the p/e.c. individual block protection against program or erase provides additional data security. all blocks are protected during power-up. a software instruction is provided to cancel all block protec- tion bits simultaneously in an application and a higher level input on rp can temporarily disable the protection mechanism. a software instruction is provided to allow protection of some or all of the blocks in an application. all program or erase op- erations are blocked when the program/erase en- able input v pp is low. M58LW064a, M58LW064b 8/53 bus operations the following operations can be performed using the appropriate bus configuration: asynchronous read array read electronic signature read block protection read status register read query write output disable standby reset/power-down synchronous address latch burst read burst read suspend burst read interrupt burst read resume burst address advance see tables 3, 4, 5, 6 and 7. command interface instructions, made up of commands written in cy- cles, can be given to the program/erase controller (p/e.c.) by writing to the command interface (c.i.). at power-up or on exit from power down or if v dd is lower than v lko , the command interface is reset to read array. any incorrect command will reset the device to read array. any improper com- mand sequence will cause the status register to report the error condition and the device will de- fault to read status register. the internal program/erase controller (p/e.c.) automatically handles all timing and verification of the program and erase operations. the status register information p/ecs on dq7 can be read at any time, during programming or erase, to mon- itor the progress of the operation. table 3. asynchronous bus operations (1) note: 1. x = don't care v il or v ih . high = v ih or v hh . 2. ? = need to check with designers - x or v il ??? operation e g w rp l dq0-dq31 read array v il v il v ih high x data output read electronic signature or block protection status v il v il v ih high x manufacturer or device code output block protection status read status p/e.c. active v il v il v ih high x status register output read query v il v il v ih high x cfi query output write v il v ih v il high v il data input output disable v il v ih v ih high x high z standby v ih x x high x high z reset/power-down x x x v il x high z 9/53 M58LW064a, M58LW064b table 4. synchronous burst read operations (1) note: 1. x = don't care, v il or v ih . 2. ? need to check with designers for various x and clock _/ definitions table 5. asynchronous read electronic signature operation note: 1. for M58LW064b, a1 = dont'care table 6. M58LW064a cfi block protection status query operation (1) note: 1. x = dont'care, v il or v ih . table 7. M58LW064b cfi block protection status query operation (1) note: 1. x = dont'care, v il or v ih . operation e g rp k l b a1-a22 dq0-dq31 address latch v il v ih v ih _/ v il v ih addess input burst read v il v il v ih _/ v ih v ih data output burst read suspend v il v ih v ih x v ih v ih high z burst read interrupt (e) v ih x v ih x v ih v ih high z burst read interrupt (rp) x x v il x x x high z burst read resume v il v il v ih _/ v ih v il data output burst address advance v il v ih v ih _/ v ih v il high z no data output burst address advance with valid data output v il v il v ih _/ v ih v il data output code device e g w a22-a1 a22-a2 dq7-dq0 manufacturer all v il v il v ih 00000h 00000h 20h device M58LW064a v il v il v ih 00001h 17h M58LW064b (1) v il v il v ih 00001h 14h block status e g w a1 a2 a3-a16 a17-a22 dq7-dq0 protected v il v il v ih v ih v ih x block address 01h unprotected v il v il v ih v ih v ih x block address 00h block status e g w a1 a2 a3 a4-a16 a17-a22 dq7-dq0 protected v il v il v ih x v ih v ih x block address 01h unprotected v il v il v ih x v ih v ih x block address 00h M58LW064a, M58LW064b 10/53 signal descriptions see figure 1 and table 1. address inputs (a1-a22). a1 is used to select between the high and low word in the x16 config- uration of the M58LW064a or b. for the M58LW064b a1 is not used in the x32 mode. when chip enable e is at v il the address bus is used to input addresses for the memory array in read mode, or addresses for the data to be pro- grammed, or to input addresses associated with commands to be written to the command inter- face. the address latch is transparent when latch enable l is at v il . the address inputs for the memory array are latched on the rising edge of chip enable e or latch enable l or write enable w, whichever occurs first in a write operation. the address is also internally latched in the command for an erase or program instruction. data inputs/outputs (dq0-dq31). input data for a write to buffer and program operation and for writing commands to the command interface are latched on the rising edge of write enable w or chip enable e, whichever occurs first. when chip enable e and output enable g are at v il data is output from the array, the electronic signature - the manufacturer and the device code - the block protection status, the cfi query infor- mation or the status register. the data bus is high impedance when the device is deselected with chip enable e at v ih , output enable g is at v ih or rp is at v il . when the p/e.c. is active the status register content is output on dq0-dq7 and dq8- dq31 are at v il . chip enable (e). the chip enable e input acti- vates the memory control logic, input buffers, de- coders and sense amplifiers. chip enable e at v ih deselects the memory and reduces the power con- sumption to the standby level. output enable (g). the output enable g gates the outputs through the data output buffers during a read operation. when output enable g is at v ih the outputs are high impedance. output enable g can be used to suspend the data output in a burst read operation. write enable (w). the write enable w input controls writing to the command interface, input address and data latches. both addresses and data are latched on the rising edge of w (see also latch enable l). reset/power-down (rp). the reset/power- down rp input provides a hardware reset of the memory and power-down functions. reset/power- down of the memory is achieved by pulling rp to v il for at least t plph . writing is inhibited to protect data, the command interface and the p/e.c. are reset. the status register information is cleared and power consumption is reduced to deep power- down level. the device acts as deselected, that is the data outputs are high impedance. when rp rises to v ih , the device will be available for new operations after a delay of t phqv and will be configured by default for asynchronous ran- dom read. the minimum delay required to access the command interface by a write cycle is t phwl . if the rp input is activated during a block erase, a write to buffer and program or a block protect/un- protect operation the cycle is aborted and data is altered and may be corrupted. the ready/busy output rb may remain low for a maximum time of t plph +t phrh beyond the completion of the reset/ power-down rp pulse. applying the higher voltage v hh to the reset/pow- er-down input rp temporarily unprotects and en- ables erase and program operations on all blocks. thus it acts as a hardware block unprotect input. in an application, it is recommended to associate rp to the reset signal of the microprocessor. oth- erwise, if a reset operation occurs while the device is performing an erase or program cycle, the flash memory may output the status register in- formation instead of being re-initialized to the de- fault asynchronous random read. latch enable (l). latch enable l latches the ad- dress bits a1-a22 on its rising edge for the asyn- chronous latch enable controlled read or write, or synchronous burst read operations. the ad- dress latch is transparent when latch enable l is at v il . latch enable l must remain at v il for asyn- chronous random read and write operations. 11/53 M58LW064a, M58LW064b burst clock (k). the burst clock k is used only in burst mode. it is the fundamental synchronous signal that allows internal latching of the address from the address bus, together with latch enable l; increment of the internal address counter in as- sociation with burst address advance b; and to in- dicate valid data on the external data bus. all these operations are synchronously controlled on the valid edge of the burst clock k, which can be selected to be the rising or falling edge depending on the definition in the burst configuration regis- ter. for asynchronous read or write, the burst clock k input level is don't care. for synchronous burst read the address is latched on the first valid clock edge when latch enable l is at v il , or the rising edge of latch enable l, whichever occurs first. burst address advance (b). burst address ad- vance b enables increment of the internal address counter when it falls to v il during synchronous burst read. it is sampled on the last valid edge of the burst clock k at the expiry of the x-latency time. if sampled at v il , new data will be output on the next burst clock k valid edge (or second next depending on the definition in the burst configura- tion register). if it is at v ih when sampled, the pre- vious data remains on the data outputs. the burst address advance b may be tied to v il . ready (r). the valid data ready r is an output signal used during synchronous burst read. it in- dicates, at the valid clock edge (or one cycle be- fore depending on the definition in the burst configuration register), if valid data is ready on the data outputs. new data outputs are valid if valid data ready r is at v ih , the previous data outputs remain active if valid data ready r is at v il . in all operations except burst read, valid data ready r is at v ih . it may be tied to other compo- nents with the same valid data ready r signal to create a unique system ready signal. the valid data ready r output has an internal pull-up resis- tor of around 1 m w powered from v ddq , designers should use an external pull-up resistor of the cor- rect value to meet the external timing require- ments for r going to v ih . word organisation (word). the word organi- sation word input is present only on the M58LW064b and selects x16 or x32 organisation. the word input selects the data width as word wide (x16) or double-word wide (x32). when word is at v il , word-wide x16 width is selected and data is read and programmed on dq0-dq15, dq16-dq31 are at high impedance and a1 is the lsb address. when word is at v ih , the double- word wide x32 width is selected and the data is read and programmed on dq0-dq31, and a2 is the lsb address. ready/busy (rb). ready/busy rb is an open- drain output and gives the internal state of the p/ e.c. when ready/busy rb is at v il the device is busy with a program or erase operation and it will not accept any additional program or erase in- structions except for the program or erase sus- pend instructions. when a program or erase suspend is given the rb signal rises to v ih , after a latency time, to indicate that the command inter- face is ready for a new instruction. when rb is at v ih , the device is ready for any read, program or erase operation. ready/busy rb is also at v ih when the memory is in erase/program suspend or standby modes. program/erase enable (v pp ). program/erase enable v pp automatically protects all blocks from programming or erasure when at v il . supply voltage (v dd ). the supply voltage v dd is the main power supply for all operations (read, program and erase). input/output supply voltage (v ddq ). the in- put/output supply voltage v ddq is the input and output buffer power supply for all operations (read, program and erase). ground (v ss ). ground v ss is the reference for all the voltage measurements. M58LW064a, M58LW064b 12/53 device operations see tables 5, 6, 7 and 10. address latch. an address is latched on the ris- ing edge of the latch enable l input for asynchro- nous latch enable controlled read. for asynchrouns latch enable controlled write, the address is latched on the rising edge of chip en- able e, write enable w or latch enable l, which- ever occurs first. for synchronous burst read the address is latched on the first valid burst clock k edge when latch enable l is at low, or on the rising edge of latch enable l, whichever occurs first. asynchronous random read. asynchronous random read outputs the contents of the array. both chip enable e and output enable g must be low in order to read the output of the memory. by first writing the appropriate instruction, the electronic signature (rsig), the status register (rsr), the read query instruction (rcfi) or the block protection status (rsig) can be read. asynchronous random read is the default read mode which the device enters on power-up or on return from reset/power-down. asynchronous page read. asynchronous page read may be used for random or latch en- able controlled reads of the array, which are per- formed independent of the burst clock signal. a page has a size of 4 words or 2 double-words and is addressed by the address inputs a1 and a2 in the x16, or a2 only in the x32 organisation. data is read internally and stored in the page buffer. the page read starts when both chip enable e and output enable g are low. the first data is in- ternally read and is output after the normal access time t avqv . successive words or double-words can be read with a much reduced access time of t avqv1 by changing only the low address bits. synchronous burst read. the memory sup- ports different types of burst access using a burst configuration register to configure the burst type, length and latency. in continuous burst read, one burst read operation can access the entire memory sequentially by keeping the burst address advance b low for the appropriate number of clock cycles. at the end of the memory address space the burst read restarts from the beginning at address 000000h. synchronous burst read is activated when the burst clock k input is clocking and chip enable e is low. the burst start address is latched and loaded into the internal burst address counter on the valid burst clock k edge (rising or falling de- pending on the m6 bit value for the burst clock edge configuration in the burst configuration register) when latch enable l is low, or upon the rising edge of latch enable l when the burst clock k is valid. after an initial memory latency time, the memory outputs data each clock cycle (or two clock cycles depending on m9 bit value de- fined in the burst configuration register). the burst address advance b input controls the mem- ory burst output. the second burst output is on the next clock valid edge after the burst address ad- vance b has been pulled low. the valid data ready output signal r monitors if the memory burst boundary is exceeded and the burst controller of the microprocessor needs to in- sert wait states. when valid data ready r is low on the active clock edge, no new data is available and the memory does not increment the internal address counter at the active clock edge even if burst address advance b is low. synchronous burst read will be suspended when burst address advance b is high. the valid data ready signal r may be configured (by bit m8 of burst configuration register) to be valid immedi- ately at the valid clock edge or one data cycle be- fore the valid clock edge. to increase the data throughput the device has been built with an internal pipelined architecture allowing the user to enter a burst read input com- mand and the next starting address location to be read while the device is filling the output data bus with its current burst content. this pipelined struc- ture is intended to produce no wait-states on the output data bus for successive burst read mode operations. asynchronous and latch enable controlled write. asynchronous write is used to give com- mands to the command interface for instructions to the memory or to latch addresses and input data to be programmed. to perform any instruction the command interface is activated starting with a write cycle. a write cycle is also required give the instruction to clear the status register informa- tion. two write cycles are needed to define the block erase and the write to buffer and program instructions. the first write cycle defines the in- struction selection and the second indicates the appropriate block address to be erased for the block erase instruction, or the address locations to program with the number of words or double- words in the write to buffer and program instruc- tion. an asynchronous write is initiated when chip en- able e, write enable w and latch enable l are low with output enable g high. commands and input data are latched on the rising edge of chip enable e or write enable w, whichever occurs first. for an asynchronous latch enable con- trolled write the address is latched on the rising edge of latch enable l, write enable w or chip enable e, whichever occurs first. 13/53 M58LW064a, M58LW064b data to be programmed in the array is internally latched in the write buffer before the programming operation starts and a minimum of 4 words or 2 double-words need to be programmed in the same sequence and must be contained in the same address location boundary defined by a1 to a2 for the x16 and a2 for the x32 organisation. write operations are asynchronous and the burst clock signal k is ignored during a write operation. output disable. the data outputs are high im- pedance when the output enable g is high. standby. the memory is in standby when chip enable e goes high 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 inputs. automatic low power. after a short time of bus inactivity (no chip enable e, latch enable l or ad- dress transitions) the chip automatically enters a pseudo-standby mode where consumption is re- duced to the automatic low power standby value, while the outputs may still drive the bus. the auto- matic low power feature is available only for asynchronous read. power-down. the memory is in power-down when reset/power-down rp is low. the power consumption is reduced to the power-down level and the outputs are high impedance, independent of the chip enable e, output enable g or write enable w inputs. electronic signature. two codes identifying the manufacturer and the device can be read from the memory allowing programming equipment or ap- plications to automatically match their interface to the characteristics of the memory. the electronic signature is output by giving the rsig instruction. the manufacturer code is output when all the ad- dress inputs are low. the device code is output when a1 (M58LW064a) or a2 (M58LW064b) in- put is high, the other pins a3-a22 must be low. the codes are output on dq0-dq7. a return to read mode is achieved by writing the read array instruction. initialization the device must be powered up and initialized in a predefined manner. procedures other than specified may result in undefined operation. power should be applied simultaneously to v dd and v ddq with the rp input held low. when the supplies are stable rp is taken high. the output enable g, chip enable e and write enable w in- puts should also be held high during power-up. the memory will be ready to accept the first in- struction after the power-up time t pur . the device is automatically configured for asynchronous ran- dom read at power-up or after leaving reset/ power-down. burst configuration register see tables 8, 9, 10 and 11. the synchronous burst read, asynchronous random read, asynchronous latch enable con- trolled read are selected using the burst configu- ration register. for synchronous read the register defines the x and y latencies, valid data ready signal timing, burst type, valid clock edge and burst length. the burst configuration register is programmed using the set burst configuration register (sbcr) instruction and will retain the stored information until it is programmed again or the device is reset or goes into the reset/power-down. the burst configuration register bits m2-m0 specify the burst length (1, 2, 4, 8 or continuous); bit m3 specifies asynchronous random read or asynchronous latch enable controlled read; bits m4 and m5 are not used; bit m6 specifies the rising or falling burst clock edge as valid; bit m7 specifies the burst type (sequential or interleaved); m8 specifies the valid data ready output period; bit m9 specifies the y-latency; bit m10 is not used; m14-m11 specify the x-latency; and bit m15 se- lects between synchronous burst read or asyn- chronous read. m10, m5 and m4 are reserved for future use. m15 read select the device features three kinds of read operation: asynchronous random read, asynchronous latch enable controlled read and synchronous burst read. page read may be used in either of the asynchronous read operations. the burst configuration register bit m15 selects between synchronous burst and asynchronous read. m14 - m11 and m9 x and y latency. the values of x and y are used to define the burst latency for the data sequence. the x-latency de- fines the number of clock cycles before the output of the first data from the clock edge that latches the address. the x-latency can be set from 7 to 16. a value of 7 is only valid for continuous burst. the y-latency is the number of clock cycles need- ed to output the next data from the burst register, following the first data output. the latency can be set to 1 or 2 clock cycles. the minimum x-latency value to consider de- pends on the burst clock k signal frequency. the burst performance in terms of frequency is listed in table 11 and indicates the minimum x-latency and y-latency values (x.y.y.y) related to the burst type, burst length and x16 or x32 organisation. M58LW064a, M58LW064b 14/53 m8 valid data ready r signal configuration. the valid data ready r output signal indicates when valid data is on the data outputs synchro- nous with the valid burst clock egde. it can be as- serted by the device synchronously with the valid clock edge or one clock cycle before. m7 burst type. accesses within a given burst may be pro- grammed to be either sequential or interleaved. this is referred to as the burst type and is selected by the burst configuration register m7 bit. the ac- cess order within a burst is determined by the burst length, the burst type and the starting ad- dress (see table 8). m6 valid clock edge configuration. all the synchronous operations such as burst read, output data or ready signal validation can be synchronized on the valid rising or on the falling edge of the burst clock signal k. m2 - m0 burst length. synchronous reads have a programmable burst length, set using the m2 - m0 bits of the burst con- figuration register. the burst length corresponds to the maximum number of words or double- words that can be output. burst lengths of 1, 2, 4 or 8 are available for both the sequential and in- terleaved burst types, and a continuous burst is available for the sequential type. the burst length of 8 is not available in the x32 configuration. when a read command is issued, a block of words or double-words equal to the burst length is selected. all accesses for that burst take place within this block, meaning that the burst wraps within the burst block if a boundary is reached. if a continuous burst read has been initiated the device will output data synchronously. depending on the starting address of the read, the device ac- tivates the valid data ready r output to indicate that it needs a delay to complete the internal read operation before outputing data. if the starting ad- dress is aligned to a four word boundary the con- tinuous burst mode will run without activating the valid data ready r output. if the starting address is not aligned to a four word boundary, valid data ready r is activated at the beginning of the con- tinuous burst read to indicate that the device needs an internal delay to read the content of the four successive words in the array. pipelined burst read. an overlapping burst read operation is possible. that is, the address and data phases of consecu- tive synchronous read operations can be over- lapped by several clock cycles. this is done by applying a pulse on latch enable l input to latch a new address before the completion of the data output of the current cycle. this reduces or avoids wait-states in the data output for the burst read mode. the minimum clock edge number for the following read sequence must be six before the last data output of the previous read cycle. the pipelined burst read mode is available in the x16 organisation for both burst length definitions of four and eight, and in the x32 organisation for the burst length of four. it is not possible for a burst length of one or two. 15/53 M58LW064a, M58LW064b table 8. burst type definition (x16 mode) table 9. burst type definition (x32 mode) burst length starting address (binary) sequential (decimal) interleaved (decimal) a3-a2-a1 2 0-0-0 0-1 0-1 0-0-1 1-0 1-0 4 0-0-0 0-1-2-3 0-1-2-3 0-0-1 1-2-3-0 1-0-3-2 0-1-0 2-3-0-1 2-3-0-1 0-1-1 3-0-1-2 3-2-1-0 8 0-0-0 0-1-2-3-4-5-6-7 0-1-2-3-4-5-6-7 0-0-1 1-2-3-4-5-6-7-0 1-0-3-2-5-4-7-6 0-1-0 2-3-4-5-6-7-0-1 2-3-0-1-6-7-4-5 0-1-1 3-4-5-6-7-0-1-2 3-2-1-0-7-6-5-4 1-0-0 4-5-6-7-0-1-2-3 4-5-6-7-0-1-2-3 1-0-1 5-6-7-0-1-2-3-4 5-4-7-6-1-0-3-2 1-1-0 6-7-0-1-2-3-4-5 6-7-4-5-2-3-0-1 1-1-1 7-0-1-2-3-4-5-6 7-6-5-4-3-2-1-0 burst length starting address (binary) sequential (decimal) interleaved (decimal) a2-a1 2 0-0 0-1 0-1 0-1 1-0 1-0 4 0-0 0-1-2-3 0-1-2-3 0-1 1-2-3-0 1-0-3-2 1-0 2-3-0-1 2-3-0-1 1-1 3-0-1-2 3-2-1-0 M58LW064a, M58LW064b 16/53 table 10. burst configuration register (1) note: 1. the bcr defines both the read mode and the burst configuration. 2. synchronous burst length is defined as word or double-word, the data bus width depends only on the word input. asynchronous page read is two words or one double-word. 3. a burst length of 8 is not available for x32 organisation. 4. at f k > 50mhz when x-latency = 10 or 12, y-latency = 2 independent of the value of m9. at f k = 66mhz when x-lantency = 14 or 16, y-latency = 2 indepedent of the value of m9. 5. latency 7 valid only for continuous burst. otherwisw latency = 8. 6. latency 10 valid only for continuous burst. otherwisw latency = 12. 7. latency 11 valid only for continuous burst. otherwisw latency = 12. 8. latency 14 valid only for continuous burst. otherwisw latency = 16. bcr mode bit description value description m15 read select 0 synchronous burst read 1 asynchronous read m14-m11 x-latency (4) 0001 reserved 0010 7, only for f k = 33mhz (5) 0011 8, only for f k = 33mhz 0100 9, only for f k = 33mhz 0101 10, only for f k = 50mhz (6) 0110 11, only for f k = 50mhz (7) 1001 12, only for f k = 50mhz 1010 13, only for f k = 50mhz 1011 14, only for f k = 66mhz (8) 1101 16, only for f k = 66mhz m9 y-latency (4) 0 one burst clock cycle 1 two burst clock cycles m8 valid data ready 0 r valid low during valid burst clock edge 1 r valid low one data cycle before valid burst clock edge m7 burst type 0 interleaved 1 sequential m6 valid clock edge 0 falling burst clock edge 1 rising burst clock edge m3 asynchronous 0 random read 1 latch enable controlled read m2-m0 burst length (2) 100 1 word or double-word 101 2 words or double-words 001 4 words or double-words 010 8 words or double-words (3) 111 continuous 17/53 M58LW064a, M58LW064b table 11. burst performance (1) note: 1. the burst length of 8 is not available in the x32 organisation. x-y latencies (minimum) clock frequency x16 organisation x32 organisation x16 organisation x32 organisation sequential interleaved sequential interleaved v dd = 2.7 to 3.6v burst length: 1,2,4,8 burst length: 1,2,4,8 burst length: 1,2,4 burst length: 1,2,4 continuo us burst 8.1.1.1 8.1.1.1 8.1.1.1 8.1.1.1 7.1.1.1 7.1.1.1 33 mhz 12.1.1.1 12.1.1.1 12.1.1.1 12.1.1.1 10.1.1.1 10.1.1.1 50 mhz t.b.a. t.b.a. t.b.a. t.b.a. t.b.a. t.b.a. 60 mhz 16.2.2.2 16.2.2.2 16.2.2.2 16.2.2.2 14.2.2.2 14.2.2.2 66 mhz M58LW064a, M58LW064b 18/53 read electronic signature instruction (rsig). an electronic signature can be read from the memory allowing programming equipment or ap- plications to automatically match their interface to the characteristics of the device. the electronic signature instruction consists of a first write cycle giving the command 90h, followed by a subsequent read which will output the manu- facturer code, the device code or the block pro- tection status. the manufacturer code is output when all the address inputs are at vil. the device code is output when a1 (for the M58LW064a) or a2 (for the M58LW064b) is at v ih , with all other address inputs at v il . the code is output on dq0- dq7 with dq8-dq31 at v il . the rsig instruction also allows access to the block protection status for the selected block ad- dress defined by a17-a22. after the read elec- tronic signature (rsig) command, a1-a2 (for the M58LW064a) or a2-a3 (for the M58LW064b) are set to v ih , while a17-a22 define the address of the block to be queried. a read operation outputs 01h if the block is protected and 00h if the block is not protected. read query instruction (rcfi). the read que- ry instruction is initiated with one write cycle giving the command 98h at any address. subsequent read operations, depending on the address speci- fied, will output the block status information, the common flash interface id string, the system in- terface information, the device geometry config- uration or stmicroelectronics specific query information. the address mapping for the informa- tion is shown in table 14. read status register instruction (rsr). the read status register instruction consists of one write cycle giving the command 70h. subsequent read operations, independent of the address, out- put the status register information that indicates if a block erase, write to buffer and program, block protect or block unprotect operation has been completed successfully. see table 12. once initi- ated the rsr instruction is active until another command is given to the command interface. for asynchronous read, the status register in- formation is present on the output data bus when both chip enable e and output enable g are low. in synchronous burst read the status register in- formation is output on the data bus dq1-dq7 when latch enable l goes high or on a valid burst clock k edge (m6 in the burst configuration reg- ister specifies the rising or falling valid clock edge) when latch enable l is low. an interactive update of the status register information is possible by toggling output enable g, or when the device is instructions and commands the command interface latches commands writ- ten to the memory. instructions are made up of one or more commands to perform: read array (rd), read electronic signature or read block pro- tection (rsig), read status register (rsr), read query (rcfi), clear status register (clrs), block erase (ee), write to buffer and program (wbpr), erase/program suspend (pes), erase/program resume (per), set burst configuration register (sbcr), block protect (bp), and block unprotect (bu). instructions (see table 12) are composed of a first write sequence followed by either a second write sequence needed to confirm an erase or program instruction or by a read operation in order to read data from the array, the electronic signature, the block protection information, the cfi or the status register information. the instructions for write to buffer and program and block erase operations consist of two commands written into the memory command interface (c.i.) that start the automatic p/e.c. operation. erasure of a memory block may be suspended, in order to read data from or to pro- gram data in an other block, and then be resumed. write to buffer and program operation may be suspended, in order to read data from another block, and then be resumed. at power-up the command interface is reset to read array. the appropriate instruction must be given to access read query (rcfi), read elec- tronic signature or block protection status (rsig) or read status register (rsr). reading of the memory array is disabled during a block protect/ unprotect (bp, bu), a block erase (ee) or a write to buffer and program (wbpr) instruction. a erase/program suspend instruction (pes) must be given to read under these conditions. read array instruction (rd). the read array instruction consists of one write cycle giving the command ffh. subsequent read operations will read the array content addressed and output the corresponding data. the read array instruction remains active until another one is written into the command interface. at power-up or at the exit of the reset/power-down mode, the device is by de- fault initialised to read array. 19/53 M58LW064a, M58LW064b table 12. instructions mne- monic instruction cycles 1st cycle 2nd cycle comments op . address data op. add ress data rd read array 1+ write x ffh read array until a new write cycle is initiated rsig read manufacturer code 2 write x 90h read 000000h 20h read manufacturer code rsig read device code or block protection status 2 write x 90h read iah idh read device id code rsr read status register 2 write x 70h read x srdh srd = status register data rcfi read query 2 write x 98h read qah qdh qa = query address qd = query data clrs clear status register 1 write x 50h ee block erase 2 write x 20h write bah d0h ba = block address to erase wbpr write to buffer and program 2 write bah e8h write bah n ba = block address n = word/double-word count argument pes erase/ program suspend 1 write x b0h per erase/ program resume 1 write x d0h confirm command for write to buffer and program instruction sbcr set burst configuration register 2 write bcrh 60h write bcrh 03h bcr = burst configuration register bp block protect 2 write bah 60h write bah 01h keep the block protect bit active of the selected block ba = block address bu block unprotect 2 write x 60h write x d0h clear all the block protect bits simultaneously dis-activated by chip enable e high and then re- activated by chip enable e and output enable g low, during an erase or program operation. the content of status register may also be read at the completion of an erase/program and/or suspend operation.during a block erase, write to buffer and program, block protect or block unprotect in- struction, dq7 indicates the p/e.c. status. it is val- id until the operation is completed or suspended, dq0-dq7 output the status register content and dq8-dq31 are low. M58LW064a, M58LW064b 20/53 table 13. status register definition note: 1. dq0-dq6 are high impedance when dq7 is indicating that the part is busy. status register p/ecs bit7 indicates the p/e. c. status, check during program or erase, and on completion before checking bit4 or bit5 for program or erase success. 2. dq6 indicates the erase suspend status. on an erase suspend instruction p/ecs and ess bits are set to '1'. ess bit remains '1' until an erase resume instruction is given. 3. erase status, es bit5 is set to '1' if the p/e. c. has applied the maximum number of erase pulses to the block without achieving an erase verify. 4. program status, ps bit4 is set to '1' if the p/e.c . has failed to program a word or double-word. 5. dq2 indicates the program suspend status. on a program suspend instruction p/ecs and pss bits are set to '1'. pss bit remains '1' until an program resume instruction is given. 6. dq1 defines the status of an erase or write to buffer and program instruction defined in a protected block. rp pin must be held at v hh to temporarily override the block protect feature once it has been enabled. 7. dq5 and dq4 simultaneously at '1' after an erase or block unprotect instruction indicates that an improper command was entered. mnemonic dq function status p/ecs dq7 p/e.c. status 1 = ready 0 = busy (1) ess dq6 erase suspend status 1 = block erase suspended 0 = block erase in progress/completed (2) es dq5 erase/block unprotect status (7) 1 = error in block erase operation or block unprotect 0 = successful block erase operation or block unprotect (3) ps dq4 write to buffer and program/block protect status (7) 1 = error in write to buffer and program, block protect (4) 0 = write to buffer and program, block protect completed successfully dq3 not used pss dq2 program suspend status 1 = program suspended 0 = program operation in progress/completed (5) eppb dq1 erase/write to buffer and program in a protected block 1 = error in the defined operation 0 = operation in progress/completed (6) dq0 not used 21/53 M58LW064a, M58LW064b clear status register instruction (clrs). the clear status register instruction is given with the command 50h at any address location. it is a reset instruction that resets dq5, dq4 and dq1 in the status register to '0'. if an operation such as block erase, write to buff- er and program block protect or block unprotect has failed, the p/e.c. will set dq5, dq4 or dq1 to '1' depending on the failure detected (see table 12, status register definition). the clear status register instruction must be given before restart- ing any corrective erase/program instruction. the clrs instruction should be given also after an erase or program suspend instruction failure or before a resume instruction if the previous in- struction has been detected to have failed. it is also a software reset solution that may allow the execution of several operations such as cumulat- ed erase or block protect operations of multiple blocks. the clear status register instruction is valid when the p/e.c. is inactive or the device is in a suspend mode and it is also valid independent of the voltage v ih or v hh applied on the rp input. write to buffer and program instruction (wb- pr). the write to buffer and program instruction is used to program the memory array. up to 16 words or 8 double-words can be loaded into the write buffer and programmed into the device. the write to buffer and program instruction is com- posed of three successive steps. the first step is to give the write to buffer and program command, e8h with the selected memory block address where the program operation should occur. the status register dq7 bit then indicates the obuffer availableo status. if the write buffer is not available (indicated by dq7 = 0) then the software can ei- ther continue monitoring dq7 until it transitions to 1, or else re-try later by reloading first the wbpr command, e8h, and then again monitoring the val- ue of dq7. once the owrite buffer availableo condition is valid (indicated by dq7 = 1), the second step is to write the block address again, along with the value n, where n+1 is the number of words (x16 organisa- tion) or double-words (x32 organisation) to be programmed. in the third step, a sequence of n+1 write cycles loads the addresses and data to the write buffer (see boundary constraints below). the addresses must lie between the starting address and the starting address + (n+1). the array must be programmed in 4 word or 2 double-word blocks, which must be aligned with an a2 = a1 = 0 starting address (or a2 = 0 for x32 organisation). invalid data will be flagged and the operation will abort with the status register bits dq4 and dq5 set to 1. the confirm command, d0h (the same as erase/ program resume per instruction) needs to be given immediately after the completion of the write to buffer and program instruction. it represents the last (that is the n+2) write operation. the p/e.c. is enabled only if the whole previous sequence is fully respected. otherwise an invalid command/sequence error will be generated with the status register dq5 and dq4 set to '1'. for additional write to buffer and program operations, after the initial input command the software can check the availability of the write buffer by check- ing dq7 status from the status register. if an error appears during a program sequence, the device will stop its operation and dq4 of the status register will be set to '1' to indicate a pro- gram failure. dq5 will indicate if an error has been detected during a block erase operation. if these bits, dq4 or dq5 are set to '1', the write to buffer and program input command is not accepted by the device until the status register has been cleared. additionally, if the block is protected and v ih |
Price & Availability of M58LW064
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |