Explorer les Livres électroniques
Catégories
Explorer les Livres audio
Catégories
Explorer les Magazines
Catégories
Explorer les Documents
Catégories
www.Jameco.com ✦ 1-800-831-4242
The content and copyrights of the attached
material are the property of its owner.
FEATURES SUMMARY
■ 8 Mbit of Flash Memory Figure 1. Packages
■ Page Program (up to 256 Bytes) in 2 ms
(typical)
■ Sector Erase (512 Kbit) in 2 s (typical)
■ Bulk Erase (8 Mbit) in 10 s (typical)
■ 2.7 V to 3.6 V Single Supply Voltage
■ SPI Bus Compatible Serial Interface
■ 25 MHz Clock Rate (maximum)
■ Deep Power-down Mode 1 µA (typical)
8
■ Electronic Signature (13h)
■ More than 100,000 Erase/Program Cycles per 1
Sector SO8 (MW)
■ More than 20 Year Data Retention 200 mil width
SUMMARY DESCRIPTION
The M25P80 is a 8 Mbit (1M x 8) Serial Flash Figure 3. SO Connections
Memory, with advanced write protection mecha-
nisms, accessed by a high speed SPI-compatible
bus.
The memory can be programmed 1 to 256 bytes at
a time, using the Page Program instruction.
The memory is organized as 16 sectors, each con-
taining 256 pages. Each page is 256 bytes wide. M25P80
Thus, the whole memory can be viewed as con-
sisting of 4096 pages, or 1,048,576 bytes. S 1 8 VCC
The whole memory can be erased using the Bulk Q 2 7 HOLD
Erase instruction, or a sector at a time, using the W 3 6 C
Sector Erase instruction. VSS 4 5 D
AI04965
Figure 2. Logic Diagram
VCC
D Q
S M25P80
HOLD
VSS
AI04964
S Chip Select
W Write Protect
HOLD Hold
VSS Ground
2/34
M25P80
SIGNAL DESCRIPTION
Serial Data Output (Q). This output signal is (this is not the Deep Power-down mode). Driving
used to transfer data serially out of the device. Chip Select (S) Low enables the device, placing it
Data is shifted out on the falling edge of Serial in the active power mode.
Clock (C). After Power-up, a falling edge on Chip Select (S)
Serial Data Input (D). This input signal is used to is required prior to the start of any instruction.
transfer data serially into the device. It receives in- Hold (HOLD). The Hold (HOLD) signal is used to
structions, addresses, and the data to be pro- pause any serial communications with the device
grammed. Values are latched on the rising edge of without deselecting the device.
Serial Clock (C).
During the Hold condition, the Serial Data Output
Serial Clock (C). This input signal provides the (Q) is high impedance, and Serial Data Input (D)
timing of the serial interface. Instructions, address- and Serial Clock (C) are Don’t Care.
es, or data present at Serial Data Input (D) are
To start the Hold condition, the device must be se-
latched on the rising edge of Serial Clock (C). Data
lected, with Chip Select (S) driven Low.
on Serial Data Output (Q) changes after the falling
edge of Serial Clock (C). Write Protect (W). The main purpose of this in-
Chip Select (S). When this input signal is High, put signal is to freeze the size of the area of mem-
ory that is protected against program or erase
the device is deselected and Serial Data Output
instructions (as specified by the values in the BP2,
(Q) is at high impedance. Unless an internal Pro-
BP1 and BP0 bits of the Status Register).
gram, Erase or Write Status Register cycle is in
progress, the device will be in the Standby mode
3/34
M25P80
SPI MODES
These devices can be driven by a microcontroller is available from the falling edge of Serial Clock
with its SPI peripheral running in either of the two (C).
following modes: The difference between the two modes, as shown
– CPOL=0, CPHA=0 in Figure 5, is the clock polarity when the bus mas-
– CPOL=1, CPHA=1 ter is in Stand-by mode and not transferring data:
For these two modes, input data is latched in on – C remains at 0 for (CPOL=0, CPHA=0)
the rising edge of Serial Clock (C), and output data – C remains at 1 for (CPOL=1, CPHA=1)
SDO
SPI Interface with
SDI
(CPOL, CPHA) =
(0, 0) or (1, 1) SCK
C Q D C Q D C Q D
Bus Master
(ST6, ST7, ST9,
ST10, Others)
SPI Memory SPI Memory SPI Memory
Device Device Device
CS3 CS2 CS1
AI03746D
Note: 1. The Write Protect (W) and Hold (HOLD) signals should be driven, High or Low as appropriate.
CPOL CPHA
0 0 C
1 1 C
D MSB
Q MSB
AI01438B
4/34
M25P80
OPERATING FEATURES
Erase, Write Status Register). The device then
Page Programming goes in to the Stand-by Power mode. The device
To program one data byte, two instructions are re- consumption drops to I CC1.
quired: Write Enable (WREN), which is one byte, The Deep Power-down mode is entered when the
and a Page Program (PP) sequence, which con- specific instruction (the Enter Deep Power-down
sists of four bytes plus data. This is followed by the Mode (DP) instruction) is executed. The device
internal Program cycle (of duration tPP). consumption drops further to ICC2. The device re-
To spread this overhead, the Page Program (PP) mains in this mode until another specific instruc-
instruction allows up to 256 bytes to be pro- tion (the Release from Deep Power-down Mode
grammed at a time (changing bits from 1 to 0), pro- and Read Electronic Signature (RES) instruction)
vided that they lie in consecutive addresses on the is executed.
same page of memory. All other instructions are ignored while the device
is in the Deep Power-down mode. This can be
Sector Erase and Bulk Erase used as an extra software protection mechanism,
The Page Program (PP) instruction allows bits to when the device is not in active use, to protect the
be reset from 1 to 0. Before this can be applied, the device from inadvertant Write, Program or Erase
bytes of memory need to have been erased to all instructions.
1s (FFh). This can be achieved either a sector at a
time, using the Sector Erase (SE) instruction, or
throughout the entire memory, using the Bulk Status Register
Erase (BE) instruction. The Status Register contains a number of status
and control bits that can be read or set (as appro-
priate) by specific instructions.
Polling During a Write, Program or Erase Cycle WIP bit. The Write In Progress (WIP) bit indicates
A further improvement in the time to Write Status whether the memory is busy with a Write Status
Register (WRSR), Program (PP) or Erase (SE or Register, Program or Erase cycle.
BE) can be achieved by not waiting for the worst WEL bit. The Write Enable Latch (WEL) bit indi-
case delay (tW, tPP, tSE, or tBE). The Write In cates the status of the internal Write Enable Latch.
Progress (WIP) bit is provided in the Status Regis-
BP2, BP1, BP0 bits. The Block Protect (BP2,
ter so that the application program can monitor its
BP1, BP0) bits are non-volatile. They define the
value, polling it to establish when the previous size of the area to be software protected against
Write cycle, Program cycle or Erase cycle is com-
Program and Erase instructions.
plete.
SRWD bit. The Status Register Write Disable
(SRWD) bit is operated in conjunction with the
Active Power, Stand-by Power and Deep Write Protect (W) signal. The Status Register
Power-Down Modes Write Disable (SRWD) bit and Write Protect (W)
When Chip Select (S) is Low, the device is en- signal allow the device to be put in the Hardware
abled, and in the Active Power mode. Protected mode. In this mode, the non-volatile bits
of the Status Register (SRWD, BP2, BP1, BP0)
When Chip Select (S) is High, the device is dis- become read-only bits.
abled, but could remain in the Active Power mode
until all internal cycles have completed (Program,
5/34
M25P80
6/34
M25P80
HOLD
Hold Hold
Condition Condition
AI02029D
7/34
M25P80
MEMORY ORGANIZATION
The memory is organized as: Each page can be individually programmed (bits
■ 1,048,576 bytes (8 bits each) are programmed from 1 to 0). The device is Sector
or Bulk Erasable (bits are erased from 0 to 1) but
■ 16 sectors (512 Kbits, 65536 bytes each) not Page Erasable.
■ 4096 pages (256 bytes each).
8/34
M25P80
HOLD
High Voltage
W Control Logic Generator
S
D
I/O Shift Register
Q
FFFFFh
Size of the
Y Decoder
read-only
memory area
00000h 000FFh
256 Bytes (Page Size)
X Decoder
AI04987
9/34
M25P80
INSTRUCTIONS
All instructions, addresses and data are shifted in At the end of a Page Program (PP), Sector Erase
and out of the device, most significant bit first. (SE), Bulk Erase (BE) or Write Status Register
Serial Data Input (D) is sampled on the first rising (WRSR) instruction, Chip Select (S) must be driv-
edge of Serial Clock (C) after Chip Select (S) is en High exactly at a byte boundary, otherwise the
driven Low. Then, the one-byte instruction code instruction is rejected, and is not executed. That is,
must be shifted in to the device, most significant bit Chip Select (S) must driven High when the number
first, on Serial Data Input (D), each bit being of clock pulses after Chip Select (S) being driven
latched on the rising edges of Serial Clock (C). Low is an exact multiple of eight.
The instruction set is listed in Table 4. All attempts to access the memory array during a
Write Status Register cycle, Program cycle or
Depending on the instruction, the one-byte in- Erase cycle are ignored, and the internal Write
struction code is followed by address bytes, or by
Status Register cycle, Program cycle or Erase cy-
data bytes, or by both or none. Chip Select (S)
cle continues unaffected.
must be driven High after the last bit of the instruc-
tion sequence has been shifted in.
10/34
M25P80
0 1 2 3 4 5 6 7
Instruction
High Impedance
Q
AI02281E
0 1 2 3 4 5 6 7
Instruction
High Impedance
Q
AI03750D
– Power-up
Write Disable (WRDI) – Write Disable (WRDI) instruction completion
The Write Disable (WRDI) instruction (Figure 9) – Write Status Register (WRSR) instruction com-
resets the Write Enable Latch (WEL) bit. pletion
The Write Disable (WRDI) instruction is entered by – Page Program (PP) instruction completion
driving Chip Select (S) Low, sending the instruc-
tion code, and then driving Chip Select (S) High. – Sector Erase (SE) instruction completion
The Write Enable Latch (WEL) bit is reset under – Bulk Erase (BE) instruction completion
the following conditions:
11/34
M25P80
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Instruction
MSB MSB
AI02031E
12/34
M25P80
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Instruction Status
Register In
D 7 6 5 4 3 2 1 0
13/34
M25P80
1 0 Status Register is
Writable (if the WREN
0 0 Software instruction has set the Protected against Page Ready to accept Page
Protected WEL bit) Program, Sector Erase Program and Sector
(SPM) The values in the SRWD, and Bulk Erase Erase instructions
1 1 BP2, BP1 and BP0 bits
can be changed
Status Register is
Hardware Hardware write protected Protected against Page Ready to accept Page
0 1 Protected The values in the SRWD, Program, Sector Erase Program and Sector
(HPM) BP2, BP1 and BP0 bits and Bulk Erase Erase instructions
cannot be changed
Note: 1. As defined by the values in the Block Protect (BP2, BP1, BP0) bits of the Status Register, as shown in Table 2.
14/34
M25P80
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31 32 33 34 35 36 37 38 39
D 23 22 21 3 2 1 0
MSB
Data Out 1 Data Out 2
High Impedance
Q 7 6 5 4 3 2 1 0 7
MSB
AI03748D
15/34
M25P80
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31
D 23 22 21 3 2 1 0
High Impedance
Q
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
Dummy Byte
D 7 6 5 4 3 2 1 0
Q 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7
AI04006
16/34
M25P80
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31 32 33 34 35 36 37 38 39
D 23 22 21 3 2 1 0 7 6 5 4 3 2 1 0
MSB MSB
2072
2073
2074
2075
2076
2077
2078
2079
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
D 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
17/34
M25P80
0 1 2 3 4 5 6 7 8 9 29 30 31
D 23 22 2 1 0
MSB
AI03751D
18/34
M25P80
0 1 2 3 4 5 6 7
Instruction
AI03752D
19/34
M25P80
0 1 2 3 4 5 6 7 tDP
Instruction
20/34
M25P80
Figure 18. Release from Deep Power-down and Read Electronic Signature (RES) Sequence
0 1 2 3 4 5 6 7 8 9 10 28 29 30 31 32 33 34 35 36 37 38
D 23 22 21 3 2 1 0
MSB
Electronic Signature Out
High Impedance
Q 7 6 5 4 3 2 1 0
MSB
AI04047C
21/34
M25P80
0 1 2 3 4 5 6 7 tRES1
Instruction
High Impedance
Q
22/34
M25P80
VCC(min)
tPUW
time AI04009C
23/34
M25P80
24/34
M25P80
MAXIMUM RATING
Stressing the device above the rating listed in the plied. Exposure to Absolute Maximum Rating con-
Absolute Maximum Ratings" table may cause per- ditions for extended periods may affect device
manent damage to the device. These are stress reliability. Refer also to the STMicroelectronics
ratings only and operation of the device at these or SURE Program and other relevant quality docu-
any other conditions above those indicated in the ments.
Operating sections of this specification is not im-
VIO Input and Output Voltage (with respect to Ground) –0.6 4.0 V
VCC Supply Voltage –0.6 4.0 V
25/34
M25P80
DC AND AC PARAMETERS
This section summarizes the operating and mea- ment Conditions summarized in the relevant
surement conditions, and the DC and AC charac- tables. Designers should check that the operating
teristics of the device. The parameters in the DC conditions in their circuit match the measurement
and AC Characteristic tables that follow are de- conditions when relying on the quoted parame-
rived from tests performed under the Measure- ters.
CL Load Capacitance 30 pF
0.8VCC
0.7VCC
0.3VCC
0.2VCC
AI00825
26/34
M25P80
27/34
M25P80
28/34
M25P80
tSHSL
tDVCH tCHCL
tCHDX tCLCH
D MSB IN LSB IN
High Impedance
Q
AI01447C
tHLCH
tCHHL tHHCH
tCHHH
tHLQZ tHHQX
HOLD
AI02032
29/34
M25P80
tCH
tCLQX tCLQX
Q LSB OUT
tQLQH
tQHQL
D ADDR.LSB IN
AI01449D
30/34
M25P80
PACKAGE MECHANICAL
SO8 wide – 8 lead Plastic Small Outline, 200 mils body width
A2 A
C
B
e CP
E H
1
A1 α L
SO-b
SO8 wide – 8 lead Plastic Small Outline, 200 mils body width
mm inches
Symb.
Typ. Min. Max. Typ. Min. Max.
A 2.03 0.080
A1 0.10 0.25 0.004 0.010
A2 1.78 0.070
B 0.35 0.45 0.014 0.018
C 0.20 – – 0.008 – –
D 5.15 5.35 0.203 0.211
E 5.20 5.40 0.205 0.213
e 1.27 – – 0.050 – –
H 7.70 8.10 0.303 0.319
L 0.50 0.80 0.020 0.031
α 0° 10° 0° 10°
N 8 8
CP 0.10 0.004
31/34
M25P80
PART NUMBERING
Example: M25P80 – V MW 6 T
Device Type
M25P
Device Function
80 = 8 Mbit (1M x 8)
Operating Voltage
V = VCC = 2.7 to 3.6V
Package
MW = SO8 (200 mil width)
Temperature Range
6 = –40 to 85 °C
Option
T = Tape & Reel Packing
32/34
M25P80
REVISION HISTORY
33/34
M25P80
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
STMicroelectronics group of companies Australia - Brazil - Canada - China - Finland - France - Germany - Hong Kong -
India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States.
www.st.com
34/34