Part Number Hot Search : 
08100 100MB 200000 9S12D LC75824E IP5561C R305CHX BC184B
Product Description
Full Text Search
 

To Download M25PE10-VMN6P Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  january 2007 rev 3 1/60 1 m25pe20 m25pe10 1 and 2 mbit, low voltage, page- erasable serial flash memories with byte-alterability, 50 mh z spi bus, standard pinout features 1 or 2 mbit of page-erasable flash memory 2.7 v to 3.6 v single supply voltage spi bus compatible serial interface 50 mhz clock rate (maximum) page size: 256 bytes ? page write in 11 ms (typical) ? page program in 0.8 ms (typical) ? page erase in 10 ms (typical) subsector erase (32 kbits) sector erase (512 kbits) bulk erase (1 mbit for the m25pe10, 2 mbits for the m25pe20) deep power-down mode 1a (typical) electronic signature ? jedec standard two-byte signature (8012h for m25pe20 8011h for m25pe10) software write protection on a 64 kbyte sector basis more than 100 000 write cycles more than 20 year data retention hardware write protection of the memory area selected using the bp0 and bp1 bits package ? ecopack? (rohs compliant) so8n (mn) 150 mil width vfqfpn8 (mp) 6 5 mm www.st.com
contents m25pe20, m25pe10 2/60 contents 1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 important note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 signal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1 serial data output (q) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2 serial data input (d) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3 serial clock (c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4 chip select (s ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.5 reset (reset ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.6 top sector lock (tsl ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.7 write protect (w ) or top sector lock (tsl ) . . . . . . . . . . . . . . . . . . . . . . . . 9 2.8 v cc supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.9 v ss ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 spi modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4 operating features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.1 sharing the overhead of modifying data . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 an easy way to modify data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.3 a fast way to modify data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.4 polling during a write, program or erase cycle . . . . . . . . . . . . . . . . . . . . 13 4.5 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.6 active power, standby power and deep power-down modes . . . . . . . . . 13 4.7 status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.8 protection modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.8.1 protocol-related protections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.8.2 specific hardware and software protections . . . . . . . . . . . . . . . . . . . . . 15 5 memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6 instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.1 write enable (wren) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 6.2 write disable (wrdi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
m25pe20, m25pe10 contents 3/60 6.3 read identification (rdid) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 6.4 read status register (rdsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.4.1 wip bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.4.2 wel bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.4.3 bp1, bp0 bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.4.4 srwd bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.5 write status register (wrsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.6 read data bytes (read) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6.7 read data bytes at higher speed (fast_read) . . . . . . . . . . . . . . . . . . 31 6.8 read lock register (rdlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.9 page write (pw) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 6.10 page program (pp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.11 write to lock register (wrlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 6.12 page erase (pe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6.13 subsector erase (sse) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.14 sector erase (se) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.15 bulk erase (be) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 6.16 deep power-down (dp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 6.17 release from deep power-down (rdp) . . . . . . . . . . . . . . . . . . . . . . . . . . 43 7 power-up and power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 8 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9 initial delivery state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 10 maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 11 dc and ac parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 12 package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 13 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 14 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
list of tables m25pe20, m25pe10 4/60 list of tables table 1. signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 table 2. software protection truth table (sectors 0 to 3 for m25pe20 or sectors 0 to 1 for m25pe10, 64-kbyte granularity) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 3. protected area sizes for m25pe20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 table 4. protected area sizes for m25pe10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 table 5. m25pe20 memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 6. m25pe10 memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 7. instruction set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table 8. read identification (rdid) data-out sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 9. status register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 10. protection modes (t9hx process only, see important note on page 6 ) . . . . . . . . . . . . . . . 29 table 11. lock registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 12. lock register in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 13. power-up timing and vwi threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5 table 14. device status after a reset low pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 6 table 15. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 16. operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 17. ac measurement conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 18. capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 19. dc characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 20. ac characteristics (25 mhz operation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 0 table 21. ac characteristics (33 mhz operation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1 table 22. ac characteristics (50 mhz operation, t9hx (0.11m) process) . . . . . . . . . . . . . . . . . . . 52 table 23. reset conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 24. timings after a reset low pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 25. so8n ? 8 lead plastic small outline, 150 mils body width, package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 26. vfqfpn8 (mlp8), 8-lead very thin fine pitch quad flat package no lead, 6 5 mm, package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 27. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 28. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
m25pe20, m25pe10 l ist of figures 5/60 list of figures figure 1. logic diagram - previous t7x process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 2. logic diagram - new t9hx process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 3. vfqfpn and so connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 4. bus master and memory devices on the spi bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 5. spi modes supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 6. m25pe20 block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 7. m25pe10 block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 8. write enable (wren) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 9. write disable (wrdi) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 10. read identification (rdid) instruction sequence and data-out sequence . . . . . . . . . . . . . 25 figure 11. read status register (rdsr) instruction sequence and data-out sequence . . . . . . . . . . 27 figure 12. write status register (wrsr) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 13. read data bytes (read) instruction sequence and data-out sequence . . . . . . . . . . . . . . 30 figure 14. read data bytes at higher speed (fast_read) instruction sequence and data-out sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 15. read lock register (rdlr) instruction sequence and data-out sequence. . . . . . . . . . . . 32 figure 16. page write (pw) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4 figure 17. page program (pp) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 18. write to lock register (wrlr) instruction sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 19. page erase (pe) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 8 figure 20. subsector erase (sse) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 21. sector erase (se) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 0 figure 22. bulk erase (be) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 23. deep power-down (dp) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 24. release from deep power-down (rdp) instruction sequence . . . . . . . . . . . . . . . . . . . . . . 43 figure 25. power-up timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 figure 26. ac measurement i/o waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 figure 27. serial input timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 28. top sector lock (t7x process) or write protect (t9hx process) setup and hold timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 29. output timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 30. reset ac waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 figure 31. so8n ? 8 lead plastic small outline, 150 mils body width, package outline . . . . . . . . . . . 56 figure 32. vfqfpn8 (mlp8), 8-lead very thin fine pitch quad flat package no lead, 6 5 mm, package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
description m25pe20, m25pe10 6/60 1 description the m25pe20 and m25pe10 are 2 mbit (256 kb 8 bit) and 1 mbit (128 kb 8 bit) serial paged flash memories, respectively. they are accessed by a high speed spi-compatible bus. the memories can be written or programmed 1 to 256 bytes at a time, using the page write or page program instruction. the page write instruction consists of an integrated page erase cycle followed by a page program cycle. the m25pe20 memory is organized as 4 sectors, each containing 256 pages. each page is 256 bytes wide. thus, the whole memory can be viewed as consisting of 1024 pages, or 262,144 bytes. the m25pe10 memory is organized as 2 sectors, each containing 256 pages. each page is 256 bytes wide. thus, the whole memory can be viewed as consisting of 512 pages, or 131, 072 bytes. the memories can be erased a page at a time, using the page erase instruction, a subsector at a time, using the subsector erase instruction, a sector at a time, using the sector erase instruction or as a whole, using the bulk erase instruction. the memory can be write protected by either hardware or software using a mix of volatile and non-volatile protection features, depending on the application needs. the protection granularity is of 64 kbytes (sector granularity). in order to meet environmental requirements, st offers the m25pe20 and m25pe10 in ecopack? packages. ecopack? packages are lead-free and rohs compliant. ecopack is an st trademark. ecopack specifications are available at: www.st.com. important note this datasheet details the functionality of the m25pe20 and m25pe10 devices, based on the previous t7x process or based on the current t9hx process. delivery of parts in t9hx process starts from august 2007. what are the changes? the m25pe10/m25pe20 in t9hx process offers the following additional features: the whole memory array is partitioned into 4-kbyte subsectors five new instructions: write status register (wrsr), write to lock register (wrlr), read lock register (rdlr), 4-kbyte su bsector erase (sse) and bulk erase (be) status register: 3 bits can be written (bp0, bp1, srwd) wp input (pin 3): write protection limits are extended, depending on the value of the bp0, bp1, srwd bits. the wp write protection remains the same if bits (bp1, bp0) are set to (0, 1) or (1, 0) vfqfpn8 6 5 mm package added
m25pe20, m25pe10 description 7/60 figure 3. vfqfpn and so connections 1. there is an exposed central pad on the underside of the vfqfpn package. this is pulled, internally, to v ss , and must not be allowed to be connected to any other voltage or signal line on the pcb. 2. see package mechanical section for package dimensions , and how to identify pin-1. figure 1. logic diagram - previous t7x process figure 2. logic diagram - new t9hx process table 1. signal names signal name function direction c serial clock input d serial data input input q serial data output output s chip select input tsl or w (1) 1. in the previous t7x process the pin is a top sector lock input whereas in the new t9hx process, the pin is a write protect input (see figure 1 and figure 2 ). top sector lock or write protect input reset reset input v cc supply voltage v ss ground reset ai09713 s v cc m25pe20 m25pe10 v ss tsl q c d reset ai13808 s v cc m25pe10 m25pe20 v ss w q c d 1 ai09715b 2 3 4 8 7 6 5 d v ss c reset q sv cc tsl or w m25pe20 m25pe10
signal description m2 5pe20, m25pe10 8/60 2 signal description 2.1 serial data output (q) this output signal is used to transfer data serially out of the device. data is shifted out on the falling edge of serial clock (c). 2.2 serial data input (d) this input signal is used to transfer data serially into the device. it receives instructions, addresses, and the data to be programmed. values are latched on the rising edge of serial clock (c). 2.3 serial clock (c) this input signal provides the timing of the serial interface. instructions, addresses, or data present at serial data input (d) are latched on the rising edge of serial clock (c). data on serial data output (q) ch anges after the fa lling edge of serial clock (c). 2.4 chip select (s ) when this input signal is high, the device is deselected and serial data output (q) is at high impedance. unless an internal read, progra m, erase or write cycle is in progress, the device will be in the standby power mode (thi s is not the deep power-down mode). driving chip select (s ) low selects the device, placing it in the active power mode. after power-up, a falling edge on chip select (s ) is required prior to the start of any instruction. 2.5 reset (reset ) the reset (reset ) input provides a hardware reset for the memory. when reset (reset ) is driven high, the memory is in the normal operating mode. when reset (reset ) is driven low, the memory will enter th e reset mode. in this mode, the output is high impedance. driving reset (reset ) low while an internal operation is in progress will affect this operation (write, program or erase cycle) and data may be lost. 2.6 top sector lock (tsl ) this input signal puts the device in the hardware protected mode, when top sector lock (tsl ) is connected to v ss , causing the top 256 pages (upper addresses) of the memory to become read-only (protected from write, program and erase operations). when top sector lock (tsl ) is connected to v cc , the top 256 pages of memory behave like the other pages of memory.
m25pe20, m25pe10 signal description 9/60 2.7 write protect (w ) or top sector lock (tsl ) the write protect function is available in the t9hx process only (see important note on page 6 ). the write protect (w ) input is used to freeze the size of the area of memory that is protected against write, program and erase instructions (as specified by the values in thebp1 and bp0 bits of the status register. see section 6.4: read status register (rdsr) for a description of these bits). the top sector lock function is available in the t7x process only (see important note on page 6 ) . the input signal sets the device in the hardware protected mode, when top sector lock (tsl ) is connected to v ss , causing the top 256 pages (upper addresses) of the memory to become read-only (protected from write, program and erase operations). when top sector lock (tsl ) is connected to v cc , the top 256 pages of memory behave like the other pages of memory. 2.8 v cc supply voltage v cc is the supply voltage. 2.9 v ss ground v ss is the reference for the v cc supply voltage.
spi modes m25pe20, m25pe10 10/60 3 spi modes these devices can be driven by a microcontroller with its spi peripheral running in either of the two following modes: cpol=0, cpha=0 cpol=1, cpha=1 for these two modes, input data is latched in on the rising edge of serial clock (c), and output data is available from th e falling edge of serial clock (c). the difference between the two modes, as shown in figure 5 , is the clock polarity when the bus master is in standby mode and not transferring data: c remains at 0 for (cpol=0, cpha=0) c remains at 1 for (cpol=1, cpha=1) figure 4. bus master and memory devices on the spi bus 1. the write protect or top sector lock (w or tsl ) signal should be driven, hi gh or low as appropriate. figure 4 shows an example of three devices connected to an mcu, on an spi bus. only one device is selected at a time, so only one device drives the serial data output (q) line at a time, the other devices are high impedance. resistors r (represented in figure 4 ) ensure that the m25pe20 or m25pe10 is not selected if the bus master leaves the s line in the high impedance state. as the bus master may enter a state where all inputs/outputs are in high impedance at the same time (for example, when the bus master is reset), the clock line (c) must be connected to an external pull-down resistor so that, when all inputs/outputs become high impedance, the s line is pulled high while the c line is pulled low (thus ensuring that s and c do not become high at the same time, and so, that the t shch requirement is met). the typical value of r is 100 k ? , assuming that the time constant r*c p (c p = parasitic capacitance of the bus line) is shorter than the time during which the bus master leaves the spi bus in high impedance. ai13558 spi bus master spi memory device sdo sdi sck cqd s spi memory device cqd s spi memory device cqd s cs3 cs2 cs1 spi interface with (cpol, cpha) = (0, 0) or (1, 1) w or tsl hold w or tsl hold w or tsl hold rrr v cc v cc v cc v cc v ss v ss v ss v ss r
m25pe20, m25pe10 spi modes 11/60 example: c p = 50 pf, that is r*c p = 5 s <=> the application must ensure that the bus master never leaves the spi bus in the high impedance state for a time period shorter than 5s. figure 5. spi modes supported ai01438b c msb cpha d 0 1 cpol 0 1 q c msb
operating features m25pe20, m25pe10 12/60 4 operating features 4.1 sharing the overhead of modifying data to write or program one (or more) data bytes, two instructions are required: write enable (wren), which is one byte, and a page write (pw) or page program (pp) sequence, which consists of four bytes plus data. this is followed by the internal cycle (of duration t pw or t pp ). to share this overhead, the page write (pw) or page program (pp) instruction allows up to 256 bytes to be programmed (changing bits from 1 to 0) or written (changing bits to 0 or 1) at a time, provided that they lie in consecutive addresses on the same page of memory. 4.2 an easy way to modify data the page write (pw) instruction provides a convenient way of modifying data (up to 256 contiguous bytes at a time), and simply requires the start address, and the new data in the instruction sequence. the page write (pw) instruction is entered by driving chip select (s ) low, and then transmitting the instruction byte, three address bytes (a23-a0) and at least one data byte, and then driving chip select (s ) high. while chip select (s ) is being held low, the data bytes are written to the data buffer, starting at the address given in the third address byte (a7-a0). when chip select (s ) is driven high, the write cycle starts. the remaining, unchanged, bytes of the data buffer are automatically loaded with the values of the corresponding bytes of the addressed memory page. the addressed memory page then automatically put into an erase cycle. finally, the addressed memory page is programmed with the contents of the data buffer. all of this buffer management is handled internally, and is transparent to the user. the user is given the facility of being able to alter the contents of the memory on a byte-by-byte basis. for optimized timings, it is recommended to use the page write (pw) instruction to write all consecutive targeted bytes in a single sequence versus using several page write (pw) sequences with each containing only a few bytes (see page write (pw) and ta bl e 2 2 : ac characteristics (50 mhz operation, t9hx (0.11m) process) ).
m25pe20, m25pe10 operating features 13/60 4.3 a fast way to modify data the page program (pp) instruction provides a fast way of modifying data (up to 256 contiguous bytes at a time), provided that it only involves resetting bits to 0 that had previously been set to 1. this might be: when the designer is programming the device for the first time when the designer knows that the page has already been erased by an earlier page erase (pe), subsector erase ( sse), sector erase (se) or bu lk erase (be) instruction. this is useful, for example, when storing a fast stream of data, having first performed the erase cycle when time was available when the designer knows that the only changes involve resetting bits to 0 that are still set to 1. when this method is possible, it ha s the additional advantage of minimizing the number of unnecessary erase operations, and the extra stress incurred by each page. for optimized timings, it is recommended to use the page program (pp) instruction to program all consecutive targeted bytes in a single sequence versus using several page program (pp) sequences with each containing only a few bytes (see page program (pp) and table 22: ac characteristics (50 mhz operation, t9hx (0.11m) process) ). 4.4 polling during a write, program or erase cycle a further improvement in the write, program or erase time can be achieved by not waiting for the worst case delay (t pw , t pp , t pe , t be , t w or t se ). the write in progress (wip) bit is provided in the status register so that the application pr ogram can monitor its value, polling it to establish when the pr evious cycle is complete. 4.5 reset an internal power-on reset circuit helps protect against inadvertent data writes. addition protection is provided by driving reset (reset ) low during the power-on process, and only driving it high when v cc has reached the correct voltage level, v cc (min). 4.6 active power, standby powe r and deep power-down modes when chip select (s ) is low, the device is selected, and in the active power mode. when chip select (s ) is high, the device is deselected, but could remain in the active power mode until all internal cycles have completed (program, erase, write). the device then goes in to the standby power mode. the device consumption drops to i cc1 . the deep power-down mode is entered when the specific instruction (the deep power- down (dp) instruction) is executed. the device consumption drops further to i cc2 . the device remains in this mode until the rele ase from deep power-down instruction is executed. all other instructions are ignored while the device is in the deep power-down mode. this can be used as an extra software protection mechanism, when the device is not in active use, to protect the device from inadvertent write, program or erase instructions.
operating features m25pe20, m25pe10 14/60 4.7 status register the status register contains two status bits that can be read by the read status register (rdsr) instruction. see section 6.4: read stat us register (rdsr) for a detailed description of the status register bits. 4.8 protection modes the environments where non-volatile memory devices are used can be very noisy. no spi device can operate correctly in the presence of excessive noise. to help combat this, the m25pe10 and m25pe20 feature the following data protection mechanisms: 4.8.1 protocol-rel ated protections power on reset and an internal timer (t puw ) can provide protection against inadvertent changes while the power supply is outside the operating specification. program, erase and write instructions are checked that they consist of a number of clock pulses that is a multiple of eight, before they are accepted for execution. all instructions that modify data must be preceded by a write enable (wren) instruction to set the write enable latch (wel) bit. this bit is returned to its reset state by the following events: ?power-up ? reset (reset ) driven low ? write disable (wrdi) instruction completion ? page write (pw) instruction completion ? page program (pp) instruction completion ? write to lock register (w rlr) instruction completion ? page erase (pe) instruction completion ? subsector erase (sse) instruction completion ? sector erase (se) instruction completion ? bulk erase (be) instruction completion the reset (reset ) signal can be driven low to freeze and reset the internal logic. for the specific cases of program and wr ite cycles, the designer should refer to section 6.5: write status register (wrsr) , section 6.9: page write (pw) , section 6.10: page program (pp) , section 6.12: page erase (pe) , section 6.14: sector erase (se) , and section 6.13: subsector erase (sse) , and to table 14: device status after a reset low pulse . in addition to the low power consumption feature, the deep power-down mode offers extra software protection from inadvertent write, program and erase instructions while the device is not in active use.
m25pe20, m25pe10 operating features 15/60 4.8.2 specific hardware and software protections the m25pe20/m25pe20 features a hardware protected mode, hpm, and two software protected modes, spm1 and spm2, that can be combined to protect the memory array as required. they are described below: hpm hpm in t7x process (see important note on page 6 ) : the hardware protected mode (hpm) is entered when top sector lock (tsl ) is driven low, causing the top 256 pages of memory to become read-only. when top sector lock (tsl ) is driven high, the top 256 pages of memory behave like the other pages of memory and the protection depends on the block protect bits (see spm2 below). hpm in t9hx process (see important note on page 6 ) : the hardware protected mode (hpm) is used to write-protect the non-volatile bits of the status register (that is, the block protect bits, bp1 and bp0, and the status register write disable bit, srwd). hpm is entered by driving the write protect (w ) signal low with the srwd bit set to high. this additional protection allows the status register to be hardware-protected. (see also section 6.4.4: srwd bit ) spm1 and spm2 the first software protected mode (spm1) is managed by specific lock registers assigned to each 64-kbyte sector. the lock registers can be read and written using the read lock register (rdlr) and write to lock register (wrlr) instructions. in each lock register two bits control the protection of each sector: the write lock bit and the lock down bit. ? write lock bit: the write lock bit determines whether the contents of the sector can be modified (using the write, program or erase instructions). when the write lock bit is set, ?1?, the sector is write protected ? any operations that attempt to change the data in the sector will fail. when the write lock bi t is reset to ?0?, t he sector is not write protected by the lock register, and may be modified. ? lock down bit: the lock down bit provides a mechanism for protecting software data from simple hacking and malicious attack. when the lock down bit is set, ?1?, further modification to the write lock and lock down bits cannot be performed. a reset, or power-up, is required before changes to these bits can be made. when the lock down bit is reset, ?0?, the write lock and lock down bits can be changed. the write lock bit and the lock down bit are volatile and their value is reset to ?0? after a power-down or a reset.
operating features m25pe20, m25pe10 16/60 the second software protected mode (spm2) uses the block protect (bp1, bp0, see section 6.4.3 )) bits to allow part of the memory to be configured as read-only. table 2. software protection truth table (sectors 0 to 3 for m25pe20 or sectors 0 to 1 for m25pe10, 64-kbyte granularity) sector lock register protection status lock down bit write lock bit 00 sector unprotected from program/eras e/write operations, protection status reversible 01 sector protected from program/erase/ write operations, protection status reversible 10 sector unprotected from program/erase/write operations, sector protection status cannot be changed except by a reset or power-up. 11 sector protected from prog ram/erase/write operations, sector protection status cannot be changed except by a reset or power-up. table 3. protected area sizes for m25pe20 status register content memory content bp1 bit bp0 bit protected area unprotected area 0 0 none all sectors (1) (four sectors: 0 to 3) 1. the device is ready to accept a bulk erase instruction if, and only if, al l block protect bits (bp1, bp0) are 0. 0 1 upper quarter (sector 3) lower three quarters (three sectors: 0 to 2) 1 0 upper half (two sectors: 2 and 3) lower half (two sectors: 0 to 1) 1 1 all sectors (four sectors: 0 to 3) none table 4. protected area sizes for m25pe10 status register content memory content bp1 bit bp0 bit protected area unprotected area 0 0 none all sectors (1) (two sectors: 0 and 1) 1. the device is ready to accept a bulk erase instruction if, and only if, al l block protect bits (bp1, bp0) are 0. 0 1 upper half (1 sector: sector 1) lower half (one sector: sector 0) 1 0 upper half (1 sector: sector 1) lower half (one sector: sector 0) 1 1 all sectors (two sectors: 0 and 1) none
m25pe20, m25pe10 memory organization 17/60 5 memory organization the m25pe20 memory is organized as: 1024 pages (256 bytes each). 262,144 bytes (8 bits each) 64 subsectors (32 kbits, 4096 bytes each) 4 sectors (512 kbits, 65536 bytes each) the m25pe10 memory is organized as: 512 pages (256 bytes each). 131,074 bytes (8 bits each) 32 subsectors (32 kbits, 4096 bytes each) 2 sectors (512 kbits, 65536 bytes each) in the m25pe20 and m25pe10, each page can be individually: programmed (bits are programmed from 1 to 0) erased (bits are erased from 0 to 1) written (bits are changed to either 0 or 1) the device is page or sector erasable (bits are erased from 0 to 1). table 5. m25pe20 memory organization sector subsector address range 3 63 3f000h 3ffffh ... ... ... 48 30000h 30fffh 2 47 2f000h 2ffffh ... ... ... 32 20000h 20fffh 1 31 1f000h 1ffffh ... ... ... 16 10000h 10fffh 0 15 0f000h 0ffffh ... ... ... 4 04000h 04fffh 3 03000h 03fffh 2 02000h 02fffh 1 01000h 01fffh 0 00000h 00fffh
memory organization m25pe20, m25pe10 18/60 table 6. m25pe10 memory organization sector subsector address range 1 31 1f000h 1ffffh ... ... ... 16 10000h 10fffh 0 15 0f000h 0ffffh ... ... ... 4 04000h 04fffh 3 03000h 03fffh 2 02000h 02fffh 1 01000h 01fffh 0 00000h 00fffh
m25pe20, m25pe10 memory organization 19/60 figure 6. m25pe20 block diagram 1. these features (in gray) are onl y available in the t7x process. ai3294b s tsl or w control logic high voltage generator i/o shift register address register and counter 256 byte data buffer 256 bytes (page size) x decoder y decoder c d q status register 00000h 3ffffh 000ffh reset 2ffffh 3ff00h top 256 pages can be made read-only by using the tsl pin (1) the whole memory array can be made read-only on a 64 kbyte basis through the lock registers
memory organization m25pe20, m25pe10 20/60 figure 7. m25pe10 block diagram 1. these features (in gray) are onl y available in the t7x process. ai13295b s tsl or w control logic high voltage generator i/o shift register address register and counter 256 byte data buffer 256 bytes (page size) x decoder y decoder c d q status register 00000h 1ffffh 000ffh reset ffffh 1ff00h top 256 pages can be made read-only by using the tsl pin (1) the whole memory array can be made read-only on a 64 kbyte basis through the lock registers
m25pe20, m25pe10 instructions 21/60 6 instructions all instructions, addresses and data are shifted in and out of the device, most significant bit first. serial data input (d) is sampled on the first rising edge of serial clock (c) after chip select (s ) is driven low. then, the one-byte instruction code must be shifted in to the device, most significant bit first, on serial data input (d), each bit being latched on the rising edges of serial clock (c). the instruction set is listed in ta bl e 7 . every instruction sequence starts with a one-byte instruction code. depending on the instruction, this might be followed by address bytes, or by data bytes, or by both or none. in the case of a read data bytes (read), read data bytes at higher speed (fast_read), read status register (rdsr) or read to lock register (rdlr) instruction, the shifted-in instruction sequence is followed by a data-out sequence. chip select (s ) can be driven high after any bit of the data-out sequence is being shifted out. in the case of a page write (pw), page program (pp), page erase (pe), subsector erase (sse), sector erase ( se), bulk erase (be), write enable (wren), write disable (wrdi), write status register (wrsr), write to lock register (wrlr), deep power-down (dp) or release from deep power-down (rdp ) instruction, chip select (s ) must be driven high exactly at a byte boundary, otherwise the instruction is rejected, and is not executed. that is, chip select (s ) must driven high when the number of clock pulses after chip select (s ) being driven low is an exact multiple of eight. all attempts to access the memory array duri ng a write cycle, program cycle or erase cycle are ignored, and the internal write cycle, program cycle or erase cycle continues unaffected.
instructions m25pe20, m25pe10 22/60 table 7. instruction set instruction description one-byte instruction code addr bytes dummy bytes data bytes wren write enable 0000 0110 06h 0 0 0 wrdi write disable 0000 0100 04h 0 0 0 rdid read identification 1001 1111 9fh 0 0 1 to 3 rdsr (1) read status register 0000 0101 05h 0 0 1 to wrlr (1) write to lock register 1110 0101 e5h 3 0 1 wrsr (1) 1. instruction available only in the t9hx process (see important note on page 6 ). write status register 0000 0001 01h 0 0 1 rdlr read lock register 1110 1000 e8h 3 0 1 read read data bytes 0000 0011 03h 3 0 1 to fast_read read data bytes at higher speed 0000 1011 0bh 3 1 1 to pw page write 0000 1010 0ah 3 0 1 to 256 pp page program 0000 0010 02h 3 0 1 to 256 pe page erase 1101 1011 dbh 3 0 0 sse (1) subsector erase 0010 0000 20h 3 0 0 se sector erase 1101 1000 d8h 3 0 0 be (1) bulk erase 1100 0111 c7h 0 0 0 dp deep power-down 1011 1001 b9h 0 0 0 rdp release from deep power-down 1010 1011 abh 0 0 0
m25pe20, m25pe10 instructions 23/60 6.1 write enable (wren) the write enable (wren) instruction ( figure 8 ) sets the write enable latch (wel) bit. the write enable latch (wel) bit must be set prior to every page write (pw), page program (pp), page erase (pe), and sector erase (se) instruction. the write enable (wren) instruction is entered by drivin g chip select (s ) low, sending the instruction code, and then driving chip select (s ) high. figure 8. write enable (wren) instruction sequence c d ai02281e s q 2 1 34567 high impedance 0 instruction
instructions m25pe20, m25pe10 24/60 6.2 write disable (wrdi) the write disable (wrdi) instruction ( figure 9 ) resets the write enable latch (wel) bit. the write disable (wrdi) instruction is entered by driving chip select (s ) low, sending the instruction code, and then driving chip select (s ) high. the write enable latch (wel) bit is reset under the following conditions: power-up write disable (wrdi) instruction completion page write (pw) instruction completion page program (pp) instruction completion write status register (wrsr) instruction completion write to lock register (w rlr) instruction completion page erase (pe) instruction completion subsector erase (sse) instruction completion sector erase (se) instruction completion bulk erase (be) instruction completion figure 9. write disable (wrdi) instruction sequence c d ai03750d s q 2 1 34567 high impedance 0 instruction
m25pe20, m25pe10 instructions 25/60 6.3 read identification (rdid) the read identification (rdid) in struction allows the 8-bit manufacturer identification to be read, followed by two bytes of device identification. the manufacturer identification is assigned by jedec, and has the value 20h for stmicroelectronics. the device identification is assigned by the device manufacturer, and indicates the memory type in the first byte (80h), and the memory capacity of the device in the second byte (12h for the m25pe20 and 11h for the m25pe10). any read identification (rdid) instruction while an erase or pr ogram cycle is in progress, is not decoded, and has no effect on the cycle that is in progress. the device is first selected by driving chip select (s ) low. then, the 8-bit instruction code for the instruction is shifted in. this is follow ed by the 24-bit device identification, stored in the memory, being shifted out on serial data output (q), each bit being shifted out during the falling edge of serial clock (c). the instruction sequence is shown in figure 10 . the read identification (rdid) instruction is terminated by dr iving chip select (s ) high at any time during data output. when chip select (s ) is driven high, the device is put in the standby power mode. once in the standby power mode, the device waits to be selected, so that it can receive, decode and execute instructions. figure 10. read identification (rdid) instruction sequence and data-out sequence table 8. read identification (rdid) data-out sequence manufacturer identification device identification memory type memory capacity 20h 80h 12h (m25pe20) 20h 80h 11h (m25pe10) c d s 2 1 3456789101112131415 instruction 0 ai06809 q manufacturer identification high impedance msb 15 1413 3210 device identification msb 16 16 18 28 29 30 31
instructions m25pe20, m25pe10 26/60 6.4 read status register (rdsr) the read status register (rdsr) instruction allows the status register to be read. the status register may be read at any time, even while a program, erase or write cycle is in progress. when one of these cycles is in progre ss, it is recommended to check the write in progress (wip) bit before sending a new instruction to the device. it is also possible to read the status register continuously, as shown in figure 11 . the status bits of the status register are as follows: 6.4.1 wip bit the write in progress (wip) bit indicates whether the memory is busy with a write, program or erase cycle. when set to 1, such a cycle is in progress, when reset to 0 no such cycle is in progress. 6.4.2 wel bit the write enable latch (wel) bit indicates the status of the internal write enable latch. when set to 1 the internal write enable latch is set, when set to 0 the internal write enable latch is reset and no write, program or erase instruction is accepted. 6.4.3 bp1, bp0 bits the block protect (bp1, bp0) bits are non-volatile. they define the size of the area to be software protected against program and erase instructions. these bits are written with the write status register (wrsr) instruction. when one or both of the block protect (bp1, bp0) bits is set to 1, the relevant memory area (as defined in ta bl e 3 ) becomes protected against page program (pp), page erase (pe), sector erase (se) and subsector erase (sse) instructions. the block protect (bp1, bp0) bits can be written provided that the hardware protected mode has not been set. the bulk erase (be) instruction is executed if, and only if: all block protect (bp1, bp0) bits are 0 the lock register protection bits are not all set (?1?) 6.4.4 srwd bit the status register write disable (srwd) bit is operated in conjunction with the write protect (w ) signal. when the status register write disable (srwd) bit is set to 1, and write protect (w ) is driven low, the non-volatile bits of the status register (srwd, bp1, bp0) become read-only bits. in such a state, as the write status register (wrsr) instruction is no longer accepted for execution, the definition of the size of the write protected area cannot be further modified. table 9. status register format (1) (2) 1. srwd = status register write protect bit; bp0, bp1 = block protect bits ( only available with t9hx). 2. the bp bits and the srwd bit exist only in the t9hx process. b7 b0 srwd 0 0 0 bp1 bp0 wel (3) 3. wel (write enable latch) and wip (write in progress) are volatile read-only bits (wel is set and reset by specific instructions; wip is au tomatically set and reset by the internal logic of the device). wip (3)
m25pe20, m25pe10 instructions 27/60 figure 11. read status register (rdsr) instruction sequence and data-out sequence c d s 2 1 3456789101112131415 instruction 0 ai02031e q 7 6543210 status register out high impedance msb 7 6543210 status register out msb 7
instructions m25pe20, m25pe10 28/60 6.5 write status register (wrsr) the write status register (wrsr) instruction a llows new values to be written to the status register. note: the status register bpi and srwd bits are available in the t9hx process only. see important note on page 6 for more details. before the write status register (wrsr) instruction can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded and executed, the device sets the write enable latch (wel). the write status register (wrsr) instruct ion is entered by driving chip select (s ) low, followed by the instruction code and the data byte on serial data input (d). the instruction sequence is shown in figure 12 . the write status register (wrsr) instruction has no effect on b6, b5, b1 and b0 of the status register. b6 and b5 are always read as 0. chip select (s ) must be driven high after the eighth bit of the data byte has been latched in. if not, the write status register (wrsr) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed write stat us register cycle (whose duration is t w ) is initiated. while the write status register cycle is in progress , the status register may still be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed write status register cycle, and is 0 when it is completed. when the cycle is completed, the write enable latch (wel) is reset. the write status register (wrsr) instruction allows the user to change the values of the block protect (bp1, bp0) bits, to define the size of the area that is to be treated as read- only, as defined in ta b l e 3 . the write status register (wrsr) instruction also allows the user to set or reset the status register write disable (srwd) bit in accordance with the write protect (w ) signal (see section 6.4.4 ). if a write status register (wrsr) in struction is interr upted by a reset low pulse, the internal cycle of the write status register operation (whose duration is t w ) is first completed (provided that the supply voltage v cc remains within the operating range). after that the device enters the reset mode (see also table 14: device status after a reset low pulse and table 24: timings after a reset low pulse ). figure 12. write status register (wrsr) instruction sequence c d ai02282d s q 2 1 3456789101112131415 high impedance instruction status register in 0 765432 0 1 msb
m25pe20, m25pe10 instructions 29/60 the protection features of the device are summarized in ta bl e 1 0 . when the status register write disable (srwd) bit of the status register is 0 (its initial delivery state), it is possible to write to the status register provided that the write enable latch (wel) bit has previously been set by a write enable (wren) in struction, regardless of the whether write protect (w ) is driven high or low. when the status register write disable (srwd) bit of the status register is set to 1, two cases need to be considered, depending on the state of write protect (w ): if write protect (w ) is driven high, it is possible to write to the status register provided that the write enable latch (wel) bit has previously been set by a write enable (wren) instruction. if write protect (w ) is driven low, it is not possible to write to the status register even if the write enable latch (wel) bit has previously been set by a write enable (wren) instruction. (attempts to write to the status register are rejected, and are not accepted for execution). as a consequence, all the data bytes in the memory area that are software protected (spm2) by the block protect (bp1, bp0) bits of the status register, are also hardware protected against data modification. regardless of the order of the two events, the hardware protected mode (hpm) can be entered: by setting the status register write disabl e (srwd) bit after driving write protect (w ) low or by driving write protect (w ) low after setting the status register write disable (srwd) bit. the only way to exit the hardware protected mode (hpm) once entered is to pull write protect (w ) high. if write protect (w ) is permanently tied high, the hardware protected mode (hpm) can never be activated, and only the software protected mode (spm2), using the block protect (bp1, bp0) bits of the status register, can be used. table 10. protection modes (t9hx process only, see important note on page 6 ) w signal srwd bit mode write protection of the status register memory content protected area (1) 1. as defined by the values in the block protect ( bp1, bp0) bits of the status register, as shown in table 3 . unprotected area (1) 10 second software protected (spm2) status register is writable (if the wren instruction has set the wel bit) the values in the srwd, bp1 and bp0 bits can be changed protected against page program, sector erase and bulk erase ready to accept page program and sector erase instructions 00 11 01 hardware protected (hpm) status register is hardware write protected the values in the srwd, bp1 and bp0 bits cannot be changed protected against page program, sector erase and bulk erase ready to accept page program and sector erase instructions
instructions m25pe20, m25pe10 30/60 6.6 read data bytes (read) the device is first selected by driving chip select (s ) low. the instruction code for the read data bytes (read) instruction is followed by a 3-byte address (a23-a0), each bit being latched-in during the rising edge of serial clock (c). then the memory contents, at that address, is shifted out on serial data output (q), each bit being shifted out, at a maximum frequency f r , during the falling edge of serial clock (c). the instruction sequence is shown in figure 13 . the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. the whole memory can, therefore, be read with a single read data bytes (read) instruction. when the highest address is reached, the address counter rolls over to 000000h, allowing the read sequence to be continued indefinitely. the read data bytes (read) instruction is terminated by driving chip select (s ) high. chip select (s ) can be driven high at any time during data output. any read data bytes (read) instruction, while an erase, program or write cycl e is in progress, is rejected without having any effects on the cycle that is in progress. figure 13. read data bytes (read) instruction sequence and data-out sequence 1. address bits a23 to a18 are don?t care in the m25 pe20. address bits a23 to a17 are don?t care in the m25pe10. c d ai03748d s q 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 76543 1 7 0 high impedance data out 1 instruction 24-bit address 0 msb msb 2 39 data out 2
m25pe20, m25pe10 instructions 31/60 6.7 read data bytes at higher speed (fast_read) the device is first selected by driving chip select (s ) low. the instruction code for the read data bytes at higher speed (fas t_read) instruction is follow ed by a 3-byte address (a23- a0) and a dummy byte, each bit being latched-in during the rising edge of serial clock (c). then the memory contents, at that address, is shifted out on serial data output (q), each bit being shifted out, at a maximum frequency f c , during the falling edge of serial clock (c). the instruction sequence is shown in figure 14 . the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. the whole memory can, therefore, be read with a single read data bytes at higher speed (fast_read) instruction. when the highest address is reached, the address counter rolls over to 000000h, allowing the read sequence to be continued indefinitely. the read data bytes at higher speed (fast_rea d) instruction is terminated by driving chip select (s ) high. chip select (s ) can be driven high at any time during data output. any read data bytes at higher speed (fast_read) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 14. read data bytes at higher speed (fast_read) instruction sequence and data-out sequence 1. address bits a23 to a18 are don?t care in the m25 pe20. address bits a23 to a17 are don?t care in the m25pe10. c d ai04006 s q 23 2 1 345678910 28293031 2221 3210 high impedance instruction 24 bit address 0 c d s q 32 33 34 36 37 38 39 40 41 42 43 44 45 46 765432 0 1 data out 1 dummy byte msb 7 6543210 data out 2 msb msb 7 47 765432 0 1 35
instructions m25pe20, m25pe10 32/60 6.8 read lock register (rdlr) note: the read lock register (rdlr) instruction is decoded only in the t9hx process (see important note on page 6 ). the device is first selected by driving chip select (s ) low. the instruction code for the read lock register (rdlr) instruction is followed by a 3-byte address (a23-a0) pointing to any location inside the concerned sector (or subs ector). each address bit is latched-in during the rising edge of serial clock (c). then the value of the lock register is shifted out on serial data output (q), each bit being shifted out, at a maximum frequency f c , during the falling edge of serial clock (c). the instruction sequence is shown in figure 15 . the read lock register (rdl r) instruction is terminated by driving chip select (s ) high at any time during data output. any read lock register (rdlr) instruction, wh ile an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 15. read lock register (rdlr) instruction sequence and data-out sequence table 11. lock registers bit bit name value function b7-b4 reserved b1 sector lock down ?1? the write lock and lock down bits cannot be changed. once a ?1? is written to the lock down bit it cannot be cleared to ?0?, except by a reset or power-up. ?0? the write lock and lock down bits can be changed by writing new values to them. (default value). b0 sector write lock ?1? write, program and erase operations in this sector will not be executed. the memory co ntents will not be changed. ?0? write, program and erase operations in this sector are executed and will modify the sector contents. (default value). c d ai10783 s q 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 76543 1 0 high impedance lock register out instruction 24-bit address 0 msb msb 2 39
m25pe20, m25pe10 instructions 33/60 6.9 page write (pw) the page write (pw) instruction allows bytes to be written in the memory. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the page write (pw) instruction is entered by driving chip select (s ) low, followed by the instruction code, three address bytes and at least one data byte on serial data input (d). the rest of the page remains unchanged if no power failure occurs during this write cycle. the page write (pw) instruction performs a page erase cycle even if only one byte is updated. if the 8 least significant address bits (a7-a0) are not all zero, all transmitted data exceeding the addressed page boundary roll over, and are written from the start address of the same page (the one whose 8 least significant address bits (a7-a0) are all zero). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 16 . if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be written correctly within the same page. if less than 256 data bytes are sent to device, they are correctly written at the requested addresses without having any effects on the other bytes of the same page. for optimized timings, it is recommended to use the page write (pw) instruction to write all consecutive targeted bytes in a single sequence versus using several page write (pw) sequences with each containi ng only a few bytes (see table 22: ac characteristics (50 mhz operation, t9hx (0.11m) process) ). chip select (s ) must be driven high after the eighth bit of the last data byte has been latched in, otherwise the page write (pw) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed page write cycle (whose duration is t pw ) is initiated. while the page write cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed page write cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a page write (pw) instruction applied to a page that is hardware protected is not executed. any page write (pw) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress.
instructions m25pe20, m25pe10 34/60 figure 16. page write (pw) instruction sequence 1. address bits a23 to a18 are don?t care in the m25 pe20. address bits a23 to a17 are don?t care in the m25pe10. 2. 1 n 256 c d ai04045 s 42 41 43 44 45 46 47 48 49 50 52 53 54 55 40 c d s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address 0 765432 0 1 data byte 1 39 51 765432 0 1 data byte 2 765432 0 1 data byte 3 data byte n 765432 0 1 msb msb msb msb msb
m25pe20, m25pe10 instructions 35/60 6.10 page program (pp) the page program (pp) instruction allows bytes to be programmed in the memory (changing bits from 1 to 0, only). before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the page program (pp) instruction is entered by driving chip select (s ) low, followed by the instruction code, three address bytes and at least one data byte on serial data input (d). if the 8 least significant address bits (a7-a0) are not all zero, all transmitted data exceeding the addressed page boundary roll over, and are programmed from the start address of the same page (the one whose 8 least significant address bits (a7-a0) are all zero). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 17 . if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be programmed correctly within the same page. if less than 256 data bytes are sent to device, they are correctly programmed at the requested addresses without having any effects on the other bytes of the same page. for optimized timings, it is recommended to use the page program (pp) instruction to program all consecutive targeted bytes in a single sequence versus using several page program (pp) sequences with each containing only a few bytes (see ta b l e 2 2 : ac characteristics (50 mhz operation, t9hx (0.11m) process) ). chip select (s ) must be driven high after the eighth bit of the last data byte has been latched in, otherwise the page program (pp) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed page program cycle (whose duration is t pp ) is initiated. while the page program cy cle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed page progra m cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a page program (pp) instruction applied to a page that is hardware protected is not executed. any page program (pp) instruction, while an eras e, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress.
instructions m25pe20, m25pe10 36/60 figure 17. page program (pp) instruction sequence 1. address bits a23 to a18 are don?t care in the m25 pe20. address bits a23 to a17 are don?t care in the m25pe10. 2. 1 n 256 c d ai04044 s 42 41 43 44 45 46 47 48 49 50 52 53 54 55 40 c d s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address 0 765432 0 1 data byte 1 39 51 765432 0 1 data byte 2 765432 0 1 data byte 3 data byte n 765432 0 1 msb msb msb msb msb
m25pe20, m25pe10 instructions 37/60 6.11 write to lock register (wrlr) note: the write to lock register (wrlr) instruction is decoded only in the t9hx process (see important note on page 6 ). the write to lock register (wrlr) instruct ion allows bits to be changed in the lock registers. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the write to lock register (wrlr) instruct ion is entered by driving chip select (s ) low, followed by the instruction code, three address bytes (pointing to any address in the targeted sector and one data byte on serial data input (d). the instruction sequence is shown in figure 18 . chip select (s ) must be driven high after the eighth bit of the data byte has been latched in, otherwise the write to lock register (wrlr) instruction is not executed. lock register bits are volatile, and therefore do not require time to be written. when the write to lock register (wrlr) instruction has been successfully executed, the write enable latch (wel) bit is reset after a delay time less than t shsl minimum value. any write to lock register (wrlr) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 18. write to lock register (wrlr) instruction sequence table 12. lock register in sector bit value all sectors b7-b2 ?0? b1 sector lock down bit value b0 sector write lock bit value ai10784b c d s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address 0 765432 0 1 lock register value 39 msb msb
instructions m25pe20, m25pe10 38/60 6.12 page erase (pe) the page erase (pe) instruction sets to 1 (ffh) all bits inside the chosen page. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the page erase (pe) instruction is entered by driving chip select (s ) low, followed by the instruction code, and three address bytes on serial data input (d). any address inside the page is a valid address for the page er ase (pe) instructio n. chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 19 . chip select (s ) must be driven high after the eighth bit of the last address byte has been latched in, otherwise the page erase (pe) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed page erase cycle (whose duration is t pe ) is initiated. while the page erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self- timed page erase cycle, and is 0 when it is co mpleted. at some uns pecified time before the cycle is complete, the write enable latch (wel) bit is reset. a page erase (pe) instruction applied to a page that is hardware protected is not executed. any page erase (pe) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 19. page erase (pe) instruction sequence 1. address bits a23 to a18 are don?t care in the m25 pe20. address bits a23 to a17 are don?t care in the m25pe10. 24 bit address c d ai04046 s 2 1 3456789 293031 instruction 0 23 22 2 0 1 msb
m25pe20, m25pe10 instructions 39/60 6.13 subsector erase (sse) note: the subsector erase (sse) instruction is decoded only in the t9hx process (see important note on page 6 ). the subsector erase (sse) instruction sets to 1 (ffh) all bits inside the chosen subsector. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the subsector erase (se) instruction is entered by driving chip select (s ) low, followed by the instruction code, and three address bytes on serial data input (d). any address inside the subsector (see ta b l e 5 ) is a valid address for the subsector erase (se) instruction. chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 21 . chip select (s ) must be driven high after the eighth bit of the last address byte has been latched in, otherwise the subsector erase (se) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed subsector erase cycle (whose duration is t sse ) is initiated. while the subsector erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed subsector erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a subsector erase (sse) instruction applied to a subsector that contains a page that is hardware or software protected is not executed. any subsector erase (sse) inst ruction, while an erase, pr ogram or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. if reset (reset ) is driven low while a subsector er ase (sse) cycle is in progress, the subsector erase cycle is interrupted and data may not be erased correctly (see ta b l e 1 4 : device status after a reset low pulse ). on reset going low, the device enters the reset mode and a time of t rhsl is then required before the device can be re-selected by driving chip select (s ) low. for the value of t rhsl see table 24: timings after a reset low pulse in section 11: dc and ac parameters . figure 20. subs ector erase (sse) instruction sequence 1. address bits a23 to a18 are don?t care in the m25 pe20. address bits a23 to a17 are don?t care in the m25pe10. 24 bit address c d ai12356 s 2 1 3456789 293031 instruction 0 23 22 20 1 msb
instructions m25pe20, m25pe10 40/60 6.14 sector erase (se) the sector erase (se) instruction sets to 1 (ffh) all bits inside the chosen sector. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the sector erase (se) instruction is entered by driving chip select (s ) low, followed by the instruction code, and three address bytes on serial data input (d). any address inside the sector (see ta bl e 5 or ta bl e 6 ) is a valid address for the sector erase (se) instruction. chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 21 . chip select (s ) must be driven high after the eighth bit of the last address byte has been latched in, otherwise the sector erase (se) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed sector erase cycle (whose duration is t se ) is initiated. while the sector erase cycle is in pr ogress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed sector erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a sector erase (se) instruction applied to a sector that contains a page that is hardware protected is not executed. any sector erase (se) instructio n, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 21. sector erase (se) instruction sequence 1. address bits a23 to a18 are don?t care in the m25 pe20. address bits a23 to a17 are don?t care in the m25pe10. 24 bit address c d ai03751d s 2 1 3456789 293031 instruction 0 23 22 2 0 1 msb
m25pe20, m25pe10 instructions 41/60 6.15 bulk erase (be) note: the bulk erase (be) instruction is decoded only in the t9hx process (see important note on page 6 ). the bulk erase (be) instruction sets all bits to 1 (ffh). before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the bulk erase (be) instruction is entered by driving chip select (s ) low, followed by the instruction code on serial da ta input (d). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 22 . chip select (s ) must be driven high after the eighth bit of the instruction code has been latched in, otherwise the bulk erase instruction is not executed. as soon as chip select (s ) is driven high, the self-timed bulk erase cycle (whose duration is t be ) is initiate d. while the bulk erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed bulk erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. any bulk erase (be) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. a bulk erase (be) instruction is ignored if at least one sector or subsector is write-protected (hardware or software protection). if reset (reset ) is driven low while a bulk erase (be) cycle is in progress, the bulk erase cycle is interrupted and data may not be erased correctly (see table 14: device status after a reset low pulse ). on reset going low, the device enters the reset mode and a time of t rhsl is then required before the device can be re-selected by driving chip select (s ) low. for the value of t rhsl see table 24: timings after a reset low pulse in section 11: dc and ac parameters . figure 22. bulk erase (be) instruction sequence c d ai03752d s 2 1 34567 0 instruction
instructions m25pe20, m25pe10 42/60 6.16 deep power-down (dp) executing the deep power-down (dp) instruction is the only way to put the device in the lowest consumption mode (the deep power-down mode). it can also be used as an extra software protection mechanism, while the device is not in active use, since in this mode, the device ignores all write, program and erase instructions. driving chip select (s ) high deselects the device, and puts the device in standby power mode (if there is no internal cycle currently in progress). but this mode is not the deep power-down mode. the deep power-down mode can only be entered by executing the deep power-down (dp) instruction, subsequently reducing the standby current (from i cc1 to i cc2 , as specified in ta b l e 1 9 ). once the device has entered the deep power-down mode, all instructions are ignored except the release from deep power-down (rdp) instruction. this releases the device from this mode. the deep power-down mode automatically stops at power-down, and the device always powers-up in standby power mode. the deep power-down (dp) instruction is entered by driving chip select (s ) low, followed by the instruction code on serial data input (d). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 23 . chip select (s ) must be driven high after the eighth bit of the instruction code has been latched in, otherwise the deep power-down (dp) instruction is not executed. as soon as chip select (s ) is driven high, it requires a delay of t dp before the supply current is reduced to i cc2 and the deep power-down mode is entered. any deep power-down (dp) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 23. deep power-down (dp) instruction sequence c d ai03753d s 2 1 34567 0 t dp deep power-down mode standby power mode instruction
m25pe20, m25pe10 instructions 43/60 6.17 release from deep power-down (rdp) once the device has entered the deep power-down mode, all instructions are ignored except the release from deep power-down (rdp ) instruction. executing this instruction takes the device out of the deep power-down mode. the release from deep power-down (rdp) instruction is entered by driving chip select (s ) low, followed by the instruction code on serial data input (d). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 24 . the release from deep power-do wn (rdp) instruction is termin ated by driving chip select (s ) high. sending additional clock cycles on serial clock (c), while chip select (s ) is driven low, cause the instruction to be rejected, and not executed. after chip select (s ) has been driven high, followed by a delay, t rdp , the device is put in standby power mode. chip select (s ) must remain high at least un til this period is over. the device waits to be selected, so that it can receive, decode and execute instructions. any release from deep power-down (rdp) instru ction, while an erase, program or write cycle is in progress, is reject ed without having any effects on the cycle that is in progress. figure 24. release from deep power-down (rdp) instruction sequence c d ai06807 s 2 1 34567 0 t rdp standby power mode deep power-down mode q high impedance instruction
power-up and power-do wn m25pe20, m25pe10 44/60 7 power-up and power-down at power-up and power-down, the device must not be selected (that is chip select (s ) must follow the voltage applied on v cc ) until v cc reaches the correct value: v cc (min) at power-up, and then for a further delay of t vsl v ss at power-down a safe configuration is provided in section 3: spi modes . to avoid data corruption and inadvertent write operations during power up, a power on reset (por) circuit is included. the logic inside the device is held reset while v cc is less than the power on reset (por) threshold value, v wi ? all operations are disabled, and the device does not respond to any instruction. moreover, the device ignores all write enable (wren), page write (pw), page program (pp), page erase (pe) and sector erase (se) instructions until a time delay of t puw has elapsed after the moment that v cc rises above the v wi threshold. however, the correct operation of the device is not guaranteed if, by this time, v cc is still below v cc (min). no write, program or erase instructions should be sent until the later of: t puw after v cc passed the v wi threshold t vsl after v cc passed the v cc (min) level these values are specified in ta bl e 1 3 . if the delay, t vsl , has elapsed, after v cc has risen above v cc (min), the device can be selected for read instructions even if the t puw delay is not yet fully elapsed. as an extra protection, the reset (reset ) signal could be driven low for the whole duration of the power-up and power-down phases. at power-up, the device is in the following state: the device is in the standby power mode (not the deep power-down mode). the write enable latch (wel) bit is reset. the write in progress (wip) bit is reset the lock registers are reset (write lock bit, lock down bit) = (0, 0) normal precautions must be taken for supply rail decoupling, to st abilize the vcc supply. each device in a system should have the vcc rail decoupled by a suitable capacitor close to the package pins. (generally, this capacitor is of the order of 100 nf). at power-down, when vcc drops from the operating voltage, to below the power on reset (por) threshold voltage, vwi, all operations are disabled and the device does not respond to any instruction. (the designer needs to be aware that if a power-down occurs while a write, program or erase cycle is in progress, some data corruption can result.)
m25pe20, m25pe10 power-up and power-down 45/60 figure 25. power-up timing table 13. power-up timing and v wi threshold symbol parameter min. max. unit t vsl (1) 1. these parameters are char acterized only, over the te mperature range ?40c to +85c. v cc (min) to s low 30 s t puw (1) time delay before the first write, program or erase instruction 1 10 ms v wi (1) write inhibit voltage 1.5 2.5 v v cc ai04009c v cc (min) v wi reset state of the device chip selection not allowed program, erase and write commands are rejected by the device tvsl tpuw time read access allowed device fully accessible v cc (max)
reset m25pe20, m25pe10 46/60 8 reset driving reset (reset ) low while an internal operation is in progress will affect this operation (write, program or erase cycle) and data may be lost. all the lock bits are reset to 0 after a reset low pulse. ta bl e 1 4 shows the status of the device after a reset low pulse. table 14. device status after a reset low pulse conditions: reset pulse occurred lock bits status internal logic status addressed data while decoding an instruction (1) : wren, wrdi, rdid, rdsr, read, rdlr, fast_read, wrlr, pw, pp, pe, se, be, sse, dp, rdp 1. s remains low while reset is low. reset to 0 same as por not significant under completion of an erase or program cycle of a pw, pp, pe, sse, se, be operation reset to 0 equivalent to por addressed data could be modified under completion of a wrsr operation reset to 0 equivalent to por (after t w ) write is correctly completed device deselected (s high) and in standby mode reset to 0 same as por not significant
m25pe20, m25pe10 initial delivery state 47/60 9 initial delivery state the device is delivered with the memory arra y erased: all bits are set to 1 (each byte contains ffh). all usable status register bits are 0. 10 maximum rating stressing the device above the rating listed in the absolute maximum ratings table may cause permanent damage to the device. these are stress ratings only and operation of the device at these or any other conditions above those indicated in the operating sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. refer also to the stmicroelectronics sure program and other relevant quality documents. table 15. absolute maximum ratings symbol parameter min. max. unit t stg storage temperature ?65 150 c t lead lead temperature during soldering see note (1) 1. compliant with jedec std j-std-020c (for smal l body, sn-pb or pb assembly), the st ecopack ? 7191395 specification, and the european directive on re strictions on hazardous substances (rohs) 2002/95/eu. c v io input and output voltage (with respect to ground) ?0.6 v cc + 0.6 v v cc supply voltage ?0.6 4.0 v v esd electrostatic discharge voltage (human body model) (2) 2. jedec std jesd22-a114a (c1 = 100 pf, r1 = 1500 ? , r2 = 500 ? ) ?2000 2000 v
dc and ac parameters m25pe20, m25pe10 48/60 11 dc and ac parameters this section summarizes the operating and measurement conditions, and the dc and ac characteristics of the devices. the parameters in the dc and ac characteristic tables that follow are derived from tests performed under the measurement conditions summarized in the relevant tables. designers should check that the operating conditions in their circuit match the measurement conditions when relying on the quoted parameters. 1. output hi-z is defined as the point where data out is no longer driven. figure 26. ac measurement i/o waveform table 16. operating conditions symbol parameter min. max. unit v cc supply voltage 2.7 3.6 v t a ambient operating temperature ?40 85 c table 17. ac measurement conditions symbol parameter min. max. unit c l load capacitance 30 pf input rise and fall times 5 ns input pulse voltages 0.2v cc to 0.8v cc v input and output timing reference voltages 0.3v cc to 0.7v cc v table 18. capacitance (1) 1. sampled only, not 100% tested, at t a =25c and a frequency of 20mhz. symbol parameter test condition min. max. unit c out output capacitance (q) v out = 0v 8 pf c in input capacitance (other pins) v in = 0v 6 pf ai00825b 0.8v cc 0.2v cc 0.7v cc 0.3v cc input and output timing reference levels input levels
m25pe20, m25pe10 dc and ac parameters 49/60 table 19. dc characteristics symbol parameter test condition (in addition to those in table 16 ) min. max. unit i li input leakage current 2 a i lo output leakage current 2 a i cc1 standby current (standby and reset modes) s = v cc , v in = v ss or v cc 50 a i cc2 deep power-down current s = v cc , v in = v ss or v cc 10 a i cc3 operating current (fast_read) c = 0.1v cc / 0.9.v cc at 25 mhz, q = open 6 ma c = 0.1v cc / 0.9.v cc at 33 mhz, q = open 8 i cc4 operating current (pw) s = v cc 15 ma i cc5 operating current (se) s = v cc 15 ma v il input low voltage ? 0.5 0.3v cc v v ih input high voltage 0.7v cc v cc +0.4 v v ol output low voltage i ol = 1.6 ma 0.4 v v oh output high voltage i oh = ?100 av cc ?0.2 v
dc and ac parameters m25pe20, m25pe10 50/60 table 20. ac characteristics (25 mhz operation) test conditions specified in table 16 and table 17 symbol alt. parameter min. typ. max. unit f c f c clock frequency for the following instructions: fast_read, pw, pp, pe, se, dp, rdp, wren, wrdi, rdsr d.c. 25 mhz f r clock frequency for read instructions d.c. 20 mhz t ch (1) 1. t ch + t cl must be greater than or equal to 1/ f c t clh clock high time 18 ns t cl (1) t cll clock low time 18 ns clock slew rate (2) (peak to peak) 0.1 v/ns t slch t css s active setup time (relative to c) 10 ns t chsl s not active hold time (relative to c) 10 ns t dvch t dsu data in setup time 5 ns t chdx t dh data in hold time 5 ns t chsh s active hold time (relative to c) 10 ns t shch s not active setup time (relative to c) 10 ns t shsl t csh s deselect time 200 ns t shqz (2) 2. value guaranteed by characterizati on, not 100% tested in production. t dis output disable time 15 ns t clqv t v clock low to output valid 15 ns t clqx t ho output hold time 0 ns t thsl top sector lock setup time 50 ns t shtl top sector lock hold time 100 ns t dp (2) s to deep power-down 3 s t rdp (2) s high to standby power mode 30 s t pw (3) 3. when using pp and pw instructions to update consec utive bytes, optimized timi ngs are obtained with one sequence including all the bytes versus seve ral sequences of only a few bytes. (1 n 256) page write cycle time (256 bytes) 11 25 ms page write cycle time (n bytes) 10.2 + n*0.8/256 t pp (3) page program cycle time (256 bytes) 1.2 5ms page program cycle time (n bytes) 0.4 + n*0.8/256 t pe page erase cycle time 10 20 ms t se sector erase cycle time 1 5 s
m25pe20, m25pe10 dc and ac parameters 51/60 table 21. ac characteristics (33 mhz operation) 33mhz only available for products marked since week 40 of 2005 (1) test conditions specified in table 16 and table 17 1. details of how to find the date of marking are given in application note, an1995. symbol alt. parameter min. typ. max. unit f c f c clock frequency for the following instructions: fast_read, pw, pp, pe, se, dp, rdp, wren, wrdi, rdsr d.c. 33 mhz f r clock frequency for read instructions d.c. 20 mhz t ch (2) 2. t ch + t cl must be greater than or equal to 1/ f c t clh clock high time 13 ns t cl (2) t cll clock low time 13 ns clock slew rate (3) (peak to peak) 3. value guaranteed by characterizati on, not 100% tested in production. 0.1 v/ns t slch t css s active setup time (relative to c) 10 ns t chsl s not active hold time (relative to c) 10 ns t dvch t dsu data in setup time 3 ns t chdx t dh data in hold time 5 ns t chsh s active hold time (relative to c) 5 ns t shch s not active setup time (relative to c) 5 ns t shsl t csh s deselect time 200 ns t shqz (3) t dis output disable time 12 ns t clqv t v clock low to output valid 12 ns t clqx t ho output hold time 0 ns t thsl top sector lock setup time 50 ns t shtl top sector lock hold time 100 ns t dp (3) s to deep power-down 3 s t rdp (3) s high to standby power mode 30 s t pw (4) 4. when using pp and pw instructions to update consec utive bytes, optimized timi ngs are obtained with one sequence including all the bytes versus seve ral sequences of only a few bytes. (1 n 256) page write cycle time (256 bytes) 11 25 ms page write cycle time (n bytes) 10.2+ n*0.8/256 t pp (4) page program cycle time (256 bytes) 1.2 5ms page program cycle time (n bytes) 0.4+ n*0.8/256 t pe page erase cycle time 10 20 ms t se sector erase cycle time 1 5 s
dc and ac parameters m25pe20, m25pe10 52/60 table 22. ac characteristics (50 mhz operation, t9hx (0.11m) process (1) ) (2) (3) test conditions specified in table 16 and table 17 symbol alt. parameter min. typ. max. unit f c f c clock frequency for the following instructions: fast_read, rdlr, pw, pp, wrlr, pe, se, sse, dp, rdp, wren, wrdi, rdsr, wrsr d.c. 50 mhz f r clock frequency for read instructions d.c. 33 mhz t ch (4) t clh clock high time 9 ns t cl (4) t cll clock low time 9 ns clock slew rate 2 (peak to peak) 0.1 v/ns t slch t css s active setup time (relative to c) 5 ns t chsl s not active hold time (relative to c) 5 ns t dvch t dsu data in setup time 2 ns t chdx t dh data in hold time 5 ns t chsh s active hold time (relative to c) 5 ns t shch s not active setup time (relative to c) 5 ns t shsl t csh s deselect time 100 ns t shqz (5) t dis output disable time 8 ns t clqv t v clock low to output valid 8 ns t clqx t ho output hold time 0 ns t whsl (6) write protect setup time 50 ns t shwl (6) write protect hold time 100 ns t dp (5) s to deep power-down 3 s t rdp (5) s high to standby mode 30 s t w write status register cycle time 3 15 ms t pw (7) page write cycle time (256 bytes) 11 23 ms t pp (7) page program cycle time (256 bytes) 0.8 3ms page program cycle time (n bytes) int(n/8) 0.025 (8) t pe page erase cycle time 10 20 ms t se sector erase cycle time 1 5 s t sse subsector erase cycle time 40 150 ms t be bulk erase cycle time 4.5 10 s 1. see important note on page 6 . 2. preliminary data. 3. details of how to find the technology process in the marking are given in an1995, see also section 13: part numbering . 4. t ch + t cl must be greater than or equal to 1/ f c 5. value guaranteed by characterization, not 100% tested in production. 6. only applicable as a constraint for a wr sr instruction when srwd is set at 1. 7. when using pp and pw instructions to update consecutive bytes, optimiz ed timings are obtai ned with one sequence including all the bytes versus severa l sequences of only a few bytes (1 n 256). 8. int(a) corresponds to the upper integer part of a. e.g. int(12/8) = 2, int(32/8) = 4 int(15.3) =16.
m25pe20, m25pe10 dc and ac parameters 53/60 figure 27. serial input timing figure 28. top sector lock (t7x process) or write protect (t9hx process) setup and hold timing 1. for the differences bet ween devices produced in the two processes, see important note on page 6 . c d ai01447c s msb in q tdvch high impedance lsb in tslch tchdx tchcl tclch tshch tshsl tchsh tchsl c d s q high impedance tsl tthsl tshtl ai3559 twhsl tshwl w or
dc and ac parameters m25pe20, m25pe10 54/60 figure 29. output timing c q ai01449e s lsb out d addr.lsb in tshqz tch tcl tqlqh tqhql tclqx tclqv tclqx tclqv
m25pe20, m25pe10 dc and ac parameters 55/60 figure 30. reset ac waveforms table 23. reset conditions test conditions specified in ta bl e 1 6 and ta b l e 1 7 symbol alt. parameter conditions min. typ. max. unit t rlrh (1) t rst reset pulse width 10 s t shrh chip select high to reset high chip should have been deselected before reset is de-asserted 10 ns 1. value guaranteed by characterization, not 100% tested in production. table 24. timings after a reset low pulse (1)(2) test conditions specified in ta bl e 1 6 and ta bl e 1 7 symbol alt. parameter conditions: reset pulse occurred max. unit t rhsl t rec reset recovery time while decoding an instruction (3) : wren, wrdi, rdid, rdsr, read, rdlr, fast_read, wrlr, pw, pp, pe, se, be, sse, dp, rdp 30 s under completion of an erase or program cycle of a pw, pp, pe, se, be operation 300 s under completion of an erase cycle of an sse operation 3ms under completion of a wrsr operation t w (see ta b l e 2 2 ) ms device deselected (s high) and in standby mode 0 s 1. all the values are guaranteed by charac terization, and not 100% tested in production. 2. see table 14 for a description of the device status after a reset low pulse. 3. s remains low while reset is low. ai06808 reset trlrh s trhsl tshrh
package mechanical m25pe20, m25pe10 56/60 12 package mechanical figure 31. so8n ? 8 lead plastic small outline, 150 mils body width, package outline 1. drawing is not to scale. table 25. so8n ? 8 lead plastic small outline, 150 mils body width, package mechanical data symbol millimeters inches typ min max typ min max a1.750.069 a1 0.10 0.25 0.004 0.010 a2 1.25 0.049 b 0.28 0.48 0.011 0.019 c 0.17 0.23 0.007 0.009 ccc 0.10 0.004 d 4.90 4.80 5.00 0.193 0.189 0.197 e 6.00 5.80 6.20 0.236 0.228 0.244 e1 3.90 3.80 4.00 0.154 0.150 0.157 e1.27? ?0.050? ? h 0.25 0.50 0.010 0.020 k0808 l 0.40 1.27 0.016 0.050 l1 1.04 0.041 so-a e1 8 ccc b e a d c 1 e h x 45? a2 k 0.25 mm l l1 a1 gauge plane
m25pe20, m25pe10 package mechanical 57/60 figure 32. vfqfpn8 (mlp8), 8-lead very thin fine pitch quad flat package no lead, 6 5 mm, package outline 1. drawing is not to scale. table 26. vfqfpn8 (mlp8), 8-lead very thin fine pitch quad flat package no lead, 6 5 mm, package mechanical data symbol millimeters inches typ min max typ min max a 0.85 0.80 1.00 0.0335 0.0315 0.0394 a1 0.00 0.05 0.0000 0.0020 a2 0.65 0.0256 a3 0.20 0.0079 b 0.40 0.35 0.48 0.0157 0.0138 0.0189 d 6.00 0.2362 d1 5.75 0.2264 d2 3.40 3.20 3.60 0.1339 0.1260 0.1417 e 5.00 0.1969 e1 4.75 0.1870 e2 4.00 3.80 4.30 0.1575 0.1496 0.1693 e1.27? ?0.0500? ? r1 0.10 0.00 0.0039 0.0000 l 0.60 0.50 0.75 0.0236 0.0197 0.0295 12 12 aaa 0.15 0.0059 bbb 0.10 0.0039 ddd 0.05 0.0020 d e 70-me a2 a a3 a1 e1 d1 e e2 d2 l b r1 ddd bbb c cab aaa ca a b aaa cb m 0.10 ca 0.10 cb 2x
part numbering m25pe20, m25pe10 58/60 13 part numbering note: for a list of available options (speed, package, etc.), for further information on any aspect of this device or when ordering parts operating at 50 mhz (0.11 m, process digit ?4?), please contact your nearest st sales office. the category of second level interconnect is marked on the package and on the inner box label, in compliance with jedec standard jesd97. the maximum ratings related to soldering conditions are also marked on the inner box label. table 27. ordering information scheme example: m25pe20 ? v mn 6 t g device type m25pe = page-erasable serial flash memory device function 10 = 1 mbit (128k x 8) 20 = 2 mbit (256k x 8) operating voltage v = v cc = 2.7 v to 3.6 v package mn = so8n (150 mil width) mp = vfqfpn8 6 5 mm (mlp8) (1) 1. package only available for pr oducts in the t9hx process. device grade 6 = industrial: device tested with standard test flow over ?40 to 85 c option blank = standard packing t = tape and reel packing plating technology p or g = ecopack? (rohs compliant)
m25pe20, m25pe10 revision history 59/60 14 revision history table 28. document revision history date version changes 07-dec-2004 0.1 document written 21-dec-2004 0.2 notes 1 and 2 removed from table 27: ordering information scheme . s08n silhouette corrected on page 1 . 6-oct-2005 1.0 added table 21., ac characteristics (33 mhz operation). document status promot ed to full datasheet. an easy way to modify data , a fast way to modify data , page write (pw) and page program (pp) sections updated to explain optimal use of page write and page program instructions. clock slew rate changed from 0.03 to 0.1 v/ns. updated table 27., ordering information scheme. added ecopack? information. 10-jul-2006 2 document converted to the new st template. mlp package removed, so8n package specifications updated (see section 12: package mechanical ). figure 5: spi modes supported updated and note 2 added. timing line of t shqz moved in figure 29 . 25-jan-2007 3 50 mhz frequency added. vfqfpn package added (see section 12: package mechanical ). the sectors are further divided up into subsectors (see ta b l e 5 : m25pe20 memory organization and table 6: m25pe10 memory organization ). important note on page 6 added. figure 4: bus master and memory devices on the spi bus updated and explanatory paragraph added. vcc supply voltage and vss ground added. section 4.8: protection modes modified. section 8: reset added, reset timings table split into table 23: reset conditions and table 24: timings after a reset low pulse . at power-up the wip bit is reset and the lock registers are reset (see section 7: power-up and power-down ). v io max changed in table 15: absolute maximum ratings . m25pe20 and m25pe10 products processed in t9hx process added to datasheet: ?wp pin replaces tsl (t7x technology), see section 2.7: write protect (w) or top sector lock (tsl) ? read lock register (rdlr) , write to lock register (wrlr) , write status register (wrsr) , subsector erase (sse) and bulk erase (be) instructions added for t9hx process ? subsector protection granularity removed in t9hx process, still exists in t7x process ? table 5: m25pe20 memory organization and ta bl e 6 : m 2 5 p e 1 0 memory organization updated to show subsectors ? status register bp1, bp0 bits and srwd bit added. small text changes.
m25pe20, m25pe10 60/60 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2007 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of M25PE10-VMN6P

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]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X