The M25P40 is a 4 Mbit (512K x 8) Serial Flash
Memory, with advanced write protection mecha-
nisms, accessed by a high speed SPI-compatible
The memory can be programmed 1 to 256 bytes at
a time, using the Page Program instruction.
The memory is organized as 8 sectors, each con-
taining 256 pages. Each page is 256 bytes wide.
Thus, the whole memory can be viewed as con-
sisting of 2048 pages, or 524,288 bytes.
The whole memory can be erased using the Bulk
Erase instruction, or a sector at a time, using the
Sector Erase instruction.
Figure 2. Logic Diagram
Figure 3. SO and VFQFPN Connections
Note: 1. See page 31 (onwards) for package dimensions, and how
to identify pin-1.
Table 1. Signal Names
C Serial Clock
D Serial Data Input
Q Serial Data Output
S Chip Select
W Write Protect
VCC Supply Voltage