Figure 24.SO8N – 8 lead plastic small outline, 15 0 mils body widt h, pa ckage outline. . . . . . . . . . . . 43
Figure 25.MLP8, 8-lead very thin dual flat package no lead, 6 × 5 mm, package outline. . . . . . . . . . 44
5/47
DescriptionM45PE10
1 Description
The M45PE10 is a 1-Mbit (128 Kbit x 8 bit) serial paged flash memory accessed by a high
speed SPI-compatible bus.
The memory can be written or programmed 1 to 256 bytes at a time , using the pa ge write or
page program instruction. The page write instruction consists of an integrated page erase
cycle followed by a page program cycle.
The 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, 07 2 bytes.
The memory can be erased a page at a time , using the page erase instruction, or a sector at
a time, using the sector erase instruction.
Important note
This datasheet details the functionality of the M45PE10 de vices, based on the previous T7X
process or based on the current T9HX process (available since August 2007). Delivery of
parts operating with a maximum clock rate of 75 MHz starts from week 8 of 2008.
Figure 1.Logic diagram
V
D
C
S
W
Reset
M45PE10
V
Figure 2.SO and VDFPN connections
DQ
C
Reset
CC
SS
M45PE10
1
2
3
4
AI07404
Q
AI07403
8
V
7
SS
V
6
CC
WS
5
1. There is an exposed central pad on the underside of the VFQFPN package. This is pulled, internally, to
VSS, 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.
6/47
M45PE10Description
Table 1.Signal names
Signal nameFunctionDirection
C Serial ClockInput
D Serial Data inputInput
Q Serial Data outputOutput
SChip SelectInput
Write ProtectInput
W
ResetInput
Reset
V
CC
V
SS
Supply voltage
Ground
7/47
Signal descriptionsM45PE10
2 Signal descriptions
2.1 Serial Data output (Q)
This output signal is used to transf er data serially out of the de vice . 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 Cloc k (C). Data on
serial data output (Q) changes after the falling edge of Serial Clock (C).
2.4 Chip Select (S)
When this input signal is High, the device is deselect ed and se rial data output (Q) is at high
impedance. Unless an internal read, program, er ase or write cycle is in prog ress , the device
will be in the standby power mode (this is not the deep power-down mode). Driving Chip
Select (S
After power-up, a falling edge on Chip Select (S
instruction.
) Low selects the device, placing it in the active pow er mode.
2.5 Reset (Reset)
The Reset (Reset) input provides a hardw are reset f or the memory. In this mod e, the outputs
are high impedance.
When Reset (Reset
Reset (Reset
operation is currently in prog ress. Driving Reset (Reset
progress has no effect on that internal operation (a write cycle, program cycle, or erase
cycle).
) is driven High, the memory is in the normal operating mode. When
) is driven Low , the memory will enter the reset mode, pro vided that no internal
2.6 Write Protect (W)
This input signal puts the device in the hardware protected mode, when write protect (W) is
connected to V
them from write, program and erase operations. When write protect (W
V
, the first 256 pages of memor y be h ave like the other pages of memory.
CC
, causing the first 256 pages of memory to become read- only by pr otecting
SS
) is required prior to the start of any
) Low while an internal operation is in
) is connected to
8/47
M45PE10Signal descriptions
2.7 VCC supply voltage
VCC is the supply voltage.
2.8 VSS ground
VSS is the reference for the VCC supply voltage.
9/47
SPI modesM45PE10
3 SPI modes
These devices can be drive n 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 the falling edge of Serial Clock (C).
The difference between the two modes, as shown in Figure 4, 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 3.Bus master and memory devices on the SPI bus
V
SS
V
CC
R
SPI interface with
(CPOL, CPHA) =
(0, 0) or (1, 1)
SPI bus master
CS3CS2 CS1
1. The Write Protect (W) signal should be driven, High or Low as appropriate.
SDO
SDI
SCK
device
W
V
CC
Reset
CQD
V
SS
SPI memory
S
CQD
RR R
SPI memory
S
device
V
CC
W
Reset
V
CQD
SS
S
V
SPI memory
device
W
CC
Reset
AI12836c
V
SS
Figure 3 shows an examp le of three de vices 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.
The pull-up resistor R (represented in Figure 3) ensures that no device is selected if the bus
master leaves the S
line in the high impedance state.
In applications where the bus master might enter a state where all inputs/outputs SPI lines
are in high impedance at the same time (for example, if the bus master is reset during the
transmission of an instruction), the Clock line (C) must be connected to an external pulldown resistor so that, if all inputs/outputs become high impedance, the C line is pulled Low
(while the S
time, and so, that the t
line is pulled High). This ensures that S and C do not become High at the same
requirement is met.
SHCH
10/47
M45PE10SPI modes
The typical value of R is 100 kΩ, assuming that the time constant R*Cp (Cp = parasitic
capacitance of the bus line) is short enough, as the S
state (S
= High and C = Low) while the SPI bus is in high impedance.
and C lines must reach the correct
Example: C
= 50 pF, that is R*Cp = 5 µs <=> the application must ensure that the bus
p
master never leaves the SPI bus in the high impedance state for a time period shorter than
5µs.
Figure 4.SPI modes supported
CPHA
CPOL
C
0
0
1
1
C
D
Q
MSB
MSB
AI01438B
11/47
Operating featuresM45PE10
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 byte s plus data. This is followed by the internal cycle (of duration t
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.
PW
or tPP).
The page write (PW) instruction is entered by driving Chip Select (S
transmitting the instruction byte, three address bytes (A23-A0) and at least one data byte,
and then driving Chip Select (S
bytes are written to the data buffer, starting at the address given in the third address byte
(A7-A0). When Chip Select (S
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-b yte 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 Section 6.7: Page write (PW),
Table 14: AC characteristics (50 MHz operation), and Table 15: AC characteristics (75 MHz
operation, T9HX (0.11 µm) process)).
) High. While Chip Select (S) is being held Low, the data
) is driven High, the write cycle starts. The remaining,
) Low, and then
12/47
M45PE10Operating features
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), pro vided that it only inv olves 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) or sector erase (SE) 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 has 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 Section 6.8: Page
program (PP), Table 14: AC characteristics (50 MHz operation), and Table 15: AC
characteristics (75 MHz operation, T9HX (0.11 µm) process)).
4.4 Polling during a write, program or erase cycle
A further improvement in the write, progra m or erase time can be achie v ed by not w aiting f or
the worst case delay (t
status register so that the application program can monitor its value, polling it to establish
when the previous cycle is complete.
, tPP, tPE, or tSE). The write in progress (WIP) bit is provided in the
PW
4.5 Reset
An internal power on reset circuit helps protect against inadvertent data writes. Addition
protection is provided by driving Reset (Reset
driving it High when V
has reached the correct voltage level, VCC(min).
CC
) Low during the power-on process, and only
4.6 Active power, standby power 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
mode until all internal cycles have completed (program, er a se, write). The device then goe s
in to the standby power mode. The device consumption drops to I
The deep power-do wn mo de is en tere d when th e specific in struction (the de ep power-down
(DP) instruction) is executed. The device consumption drops further to I
remains in this mode until another specific instruction (the release from deep power-down
and read electronic signature (RES) instruction) is executed.
) is High, the device is dese lected, b ut could rema in in the activ e pow er
.
CC1
. The device
CC2
All other instructions are ignored while the de vice is in the deep pow er-down mo de. This can
be used as an extra softw are protection mech anism, when the device is not in active use, to
protect the device from inadvertent write, program or erase instructions.
13/47
Operating featuresM45PE10
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 status 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 comba t this, the
M45PE10 features the following data protection mechanisms:
●Power on reset and an internal timer (t
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: