Professional Documents
Culture Documents
Nor Flash Datasheet Microchip
Nor Flash Datasheet Microchip
Nor Flash Datasheet Microchip
SuperFlash
X - Decoder Memory
Address
Buffers
and
Latches
Y - Decoder
I/O Buffers
Control Logic and
Data Latches
Serial Interface
SO 2 7 HOLD# SO 2 7 HOLD#
Top View Top View
WP# 3 6 SCK WP# 3 6 SCK
VSS 4 5 SI VSS 4 5 SI
CE# 1 8 VDD
SO 2 7 HOLD#
Top View
WP# 3 6 SCK
VSS 4 5 SI
8-Contact USON
25135 08-uson Q3A P1.0
VSS Ground
3.0 MEMORY ORGANIZATION used to select the device, and data is accessed through
the Serial Data Input (SI), Serial Data Output (SO), and
The SST25PF020B SuperFlash memory array is orga- Serial Clock (SCK).
nized in uniform 4 KByte erasable sectors with 32
The SST25PF020B supports both Mode 0 (0,0) and
KByte overlay blocks and 64 KByte overlay erasable
Mode 3 (1,1) of SPI bus operations. The difference
blocks.
between the two modes, as shown in Figure 4-1, is the
state of the SCK signal when the bus master is in
4.0 DEVICE OPERATION Standby mode and no data is being transferred. The
SCK signal is low for Mode 0 and SCK signal is high for
The SST25PF020B is accessed through the SPI (Serial
Mode 3. For both modes, the Serial Data In (SI) is sam-
Peripheral Interface) bus compatible protocol. The SPI
pled at the rising edge of the SCK clock signal and the
bus consist of four control lines; Chip Enable (CE#) is
Serial Data Output (SO) is driven after the falling edge
of the SCK clock signal.
CE#
MODE 3 MODE 3
SI Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 DON'T CARE
MSB
HIGH IMPEDANCE
SO Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
MSB 25135 SPIprot.0
SCK
HOLD#
25135 HoldCond.0
4.5 Instructions
Instructions are used to read, write (Erase and Pro- SCK starting with the most significant bit. CE# must be
gram), and configure the SST25PF020B. The instruc- driven low before an instruction is entered and must be
tion bus cycles are 8 bits each for commands (Op driven high after the last bit of the instruction has been
Code), data, and addresses. Prior to executing any shifted in (except for Read, Read-ID, and Read-Status-
Byte-Program, Auto Address Increment (AAI) program- Register instructions). Any low to high transition on
ming, Sector-Erase, Block-Erase, Write-Status-Regis- CE#, before receiving the last bit of an instruction bus
ter, or Chip-Erase instructions, the Write-Enable cycle, will terminate the instruction in progress and
(WREN) instruction must be executed first. The com- return the device to standby mode. Instruction com-
plete list of instructions is provided in Table 4-5. All mands (Op Code), addresses, and data are all input
instructions are synchronized off a high to low transition from the most significant bit (MSB) first.
of CE#. Inputs will be accepted on the rising edge of
CE#
MODE 3 0 1 2 3 4 5 6 7 8 15 16 23 24 31 32 39 40 47 48 55 56 63 64 70
SCK MODE 0
4.5.2 HIGH-SPEED-READ (80/50 MHZ) through all addresses until terminated by a low to high
transition on CE#. The internal address pointer will
The High-Speed-Read instruction, supporting up to 80
automatically increment until the highest memory
MHz (2.7-3.6V operation) or 50 MHz (2.3-2.7V opera-
address is reached. Once the highest memory address
tion) Read, is initiated by executing an 8-bit command,
is reached, the address pointer will automatically incre-
0BH, followed by address bits [A23-A0] and a dummy
ment to the beginning (wrap-around) of the address
byte. CE# must remain active low for the duration of the
space. Once the data from address location 3FFFH
High-Speed-Read cycle. See Figure 4-4 for the High-
has been read, the next output will be from address
Speed-Read sequence.
location 00000H.
Following a dummy cycle, the High-Speed-Read
instruction outputs the data starting from the specified
address location. The data output stream is continuous
CE#
MODE 3 0 1 2 3 4 5 6 7 8 15 16 23 24 31 32 39 40 47 48 55 56 63 64 71 72 80
SCK MODE 0
CE#
MODE 3 0 1 2 3 4 5 6 7 8 15 16 23 24 31 32 39
SCK MODE 0
SO HIGH IMPEDANCE
25135 ByteProg.0
4.5.4 AUTO ADDRESS INCREMENT (AAI) Word Program instruction. Check the BUSY status
WORD-PROGRAM before entering the next valid command. Once the
device indicates it is no longer busy, data for the next
The AAI program instruction allows multiple bytes of
two sequential addresses may be programmed, fol-
data to be programmed without re-issuing the next
lowed by the next two, and so on.
sequential address location. This feature decreases
total programming time when multiple bytes or entire When programming the last desired word, or the high-
memory array is to be programmed. An AAI Word pro- est unprotected memory address, check the busy sta-
gram instruction pointing to a protected memory area tus using either the hardware or software (RDSR
will be ignored. The selected address range must be in instruction) method to check for program completion.
the erased state (FFH) when initiating an AAI Word Once programming is complete, use the applicable
Program operation. While within AAI Word Program- method to terminate AAI. If the device is in Software
ming sequence, only the following instructions are End-of-Write Detection mode, execute the Write-Dis-
valid: for software end-of-write detection—AAI Word able (WRDI) instruction, 04H. If the device is in AAI
(ADH), WRDI (04H), and RDSR (05H); for hardware Hardware End-of-Write Detection mode, execute the
end-of-write detection—AAI Word (ADH) and WRDI Write-Disable (WRDI) instruction, 04H, followed by the
(04H). There are three options to determine the com- 8-bit DBSY command, 80H. There is no wrap mode
pletion of each AAI Word program cycle: hardware during AAI programming once the highest unprotected
detection by reading the Serial Output, software detec- memory address is reached. See Figures 4-8 and 4-9
tion by polling the BUSY bit in the software status reg- for the AAI Word programming sequence.
ister, or wait TBP. Refer to“End-of-Write Detection” for
details. 4.5.5 END-OF-WRITE DETECTION
Prior to any write operation, the Write-Enable (WREN) There are three methods to determine completion of a
instruction must be executed. Initiate the AAI Word program cycle during AAI Word programming: hard-
Program instruction by executing an 8-bit command, ware detection by reading the Serial Output, software
ADH, followed by address bits [A23-A0]. Following the detection by polling the BUSY bit in the Software Status
addresses, two bytes of data are input sequentially, Register, or wait TBP. The Hardware End-of-Write
each one from MSB (Bit 7) to LSB (Bit 0). The first byte detection method is described in the section below.
of data (D0) is programmed into the initial address [A23-
A1] with A0=0, the second byte of Data (D1) is pro-
grammed into the initial address [A23-A1] with A0=1.
CE# must be driven high before executing the AAI
CE#
MODE 3 0 1 2 3 4 5 6 7
SCK MODE 0
SI 70
MSB
SO HIGH IMPEDANCE
25135 EnableSO.0
CE#
MODE 3 0 1 2 3 4 5 6 7
SCK MODE 0
SI 80
MSB
SO HIGH IMPEDANCE
25135 DisableSO.0
CE#
MODE 3 0 7 0 7 0 7 8 15 16 23 24 31 32 39 40 47 0 7 8 15 16 23
SCK MODE 0
SI EBSY WREN AD A A A D0 D1 AD D2 D3
SO
CE# cont.
0 7 8 15 16 23 0 7 0 7 0 7 8 15
SCK cont.
SO cont. DOUT
1
Check for Flash Busy Status to load next valid command
Note: 1. Valid commands during AAI programming: AAI command or WRDI command
2. User must configure the SO pin to output Flash Busy status during AAI programming
25135 AAI.HW.3
CE#
MODE 3 0 7 8 15 16 23 24 31 32 39 40 47 0 7 8 15 16 23 0 7 8 15 16 23 0 7 0 7 8 15
SCK MODE 0
SO DOUT
Note: 1. Valid commands during AAI programming: AAI command, RDSR command, or WRDI command
25135 AAI.SW.2
CE#
MODE 3 0 1 2 3 4 5 6 7 8 15 16 23 24 31
SCK MODE 0
SO HIGH IMPEDANCE
25135 SecErase.0
4.5.8 32-KBYTE AND 64-KBYTE BLOCK- nificant Address) are used to determine block address
ERASE (BAX), remaining address bits can be VIL or VIH. CE#
must be driven high before the instruction is executed. The
The 32-KByte Block-Erase instruction clears all bits in
64-KByte Block-Erase instruction is initiated by executing an
the selected 32 KByte block to FFH. A Block-Erase
8-bit command D8H, followed by address bits [A23-A0].
instruction applied to a protected memory area will be
Address bits [AMS-A16] are used to determine block address
ignored. The 64-KByte Block-Erase instruction clears all bits
(BAX), remaining address bits can be VIL or VIH. CE# must
in the selected 64 KByte block to FFH. A Block-Erase
be driven high before the instruction is executed. The user
instruction applied to a protected memory area will be
may poll the Busy bit in the software status register or wait
ignored. Prior to any Write operation, the Write-Enable
TBE for the completion of the internal self-timed 32-
(WREN) instruction must be executed. CE# must remain
KByte Block-Erase or 64-KByte Block-Erase cycles.
active low for the duration of any command sequence.
See Figures 4-11 and 4-12 for the 32-KByte Block-
The 32-KByte Block-Erase instruction is initiated by
Erase and 64-KByte Block-Erase sequences.
executing an 8-bit command, 52H, followed by address
bits [A23-A0]. Address bits [AMS-A15] (AMS = Most Sig-
CE#
MODE 3 0 1 2 3 4 5 6 7 8 15 16 23 24 31
SCK MODE 0
SO HIGH IMPEDANCE
25135 32KBklEr.0
CE#
MODE 3 0 1 2 3 4 5 6 7 8 15 16 23 24 31
SCK MODE 0
SO HIGH IMPEDANCE
25135 63KBlkEr.0
CE#
MODE 3 0 1 2 3 4 5 6 7
SCK MODE 0
SI 60 or C7
MSB
SO HIGH IMPEDANCE
25135 ChEr.0
CE#
MODE 3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
SCK MODE 0
SI 05
MSB
HIGH IMPEDANCE
SO Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
MSB Status
Register Out
25135 RDSRseq.0
4.5.11 READ-STATUS-REGISTER (RDSR1) remain low until the status data is read. Read-Status-
Register 1 is continuous with ongoing clock cycles until
The Read-Status-Register 1 (RDSR1) instruction
it is terminated by a low to high transition of the CE#.
allows reading of the status register 1. CE# must be
See Figure 4-15 for the RDSR instruction sequence.
driven low before the RDSR instruction is entered and
CE#
MODE 3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
SCK MODE 0
SI 35
MSB
HIGH IMPEDANCE
SO Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
MSB Status
Register Out
25135 RDSR1seq.0
CE#
MODE 3 0 1 2 3 4 5 6 7
SCK MODE 0
SI 06
MSB
SO HIGH IMPEDANCE
25135 WREN.0
4.5.13 WRITE-DISABLE (WRDI) ress. Any program operation in progress may continue
up to TBP after executing the WRDI instruction. CE#
The Write-Disable (WRDI) instruction resets the Write-
must be driven high before the WRDI instruction is exe-
Enable-Latch bit and AAI bit to 0 disabling any new
cuted.
Write operations from occurring. The WRDI instruction
will not terminate any programming operation in prog-
CE#
MODE 3 0 1 2 3 4 5 6 7
SCK MODE 0
SI 04
MSB
SO HIGH IMPEDANCE
25135 WRDI.0
CE#
MODE 3 0 1 2 3 4 5 6 7 MODE 3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
STATUS
REGISTER IN
SI 50 or 06 01 7 6 5 4 3 2 1 0
MSB MSB MSB
SO HIGH IMPEDANCE
25135 EWSR.0
The Write-Status-Register instruction also writes new ‘1’ to lock-down the status registers, but cannot be
values to the Status Register 1. To write values to Sta- reset from ‘1’ to ‘0’. When WP# is high, the lock-down
tus Register 1, the WRSR sequence needs a word- function of the BPL bit is disabled and the BPL, BP0,
data input—the first byte being the Status Register bits, BP1, TSP, and BSP bits in the status register can all be
followed by the second byte Status Register 1 bits. CE# changed. As long as BPL bit is set to 0 or WP# pin is
must be driven low before the command sequence of driven high (VIH) prior to the low-to-high transition of the
the WRSR instruction is entered and driven high before CE# pin at the end of the WRSR instruction, the bits in
the WRSR instruction is executed. See Figure 4-19 for the status register can all be altered by the WRSR
EWSR or WREN and WRSR instruction word-data instruction. In this case, a single WRSR instruction can
input sequences. set the BPL bit to “1” to lock down the status register as
Executing the Write-Status-Register instruction will be well as altering the BPL, BP0, BP1, TSP, and BSP bits
ignored when WP# is low and BPL bit is set to ‘1’. When at the same time. See Table 4-1 for a summary descrip-
the WP# is low, the BPL bit can only be set from ‘0’ to tion of WP# and BPL functions.
CE#
MODE 3 0 1 2 3 4 5 6 7 MODE 3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
STATUS STATUS
REGISTER REGISTER 1
SI 50 or 06 01 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
MSB MSB MSB MSB
SO HIGH IMPEDANCE
25135 EWSR1.0
CE#
MODE 3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
SCK MODE 0
SI 9F
HIGH IMPEDANCE BF
SO 25 8C
MSB MSB
25135 JEDECID.1
CE#
MODE 3 0 1 2 3 4 5 6 7 8 15 16 23 24 31 32 39 40 47 48 55 56 63
SCK MODE 0
SI 90 or AB 00 00 ADD1
MSB MSB
HIGH
HIGH IMPEDANCE IMPEDANCE
SO BF Device ID BF Device ID
MSB
Note: The manufacturer's and device ID output stream is continuous until terminated by a low to high transition on CE#.
Device ID = 8CH for SST25PF020B
1. 00H will output the manfacturer's ID first and 01H will output device ID first before toggling between the two.
25135 RdID.0
Absolute Maximum Stress Ratings (Applied conditions greater than those listed under “Absolute Maxi-
mum Stress Ratings” may cause permanent damage to the device. This is a stress rating only and func-
tional operation of the device at these conditions or conditions greater than those defined in the operational
sections of this data sheet is not implied. Exposure to absolute maximum stress rating conditions may
affect device reliability.)
1. Output shorted for no more than one second. No more than one output shorted at a time.
TABLE 5-4: CAPACITANCE (TA = 25°C, F=1 MHZ, OTHER PINS OPEN)
Parameter Description Test Condition Maximum
COUT1 Output Pin Capacitance VOUT = 0V 12 pF
CIN1 Input Capacitance VIN = 0V 6 pF
1. This parameter is measured only for initial qualification and after a design or process change that could affect this parameter.
1. This parameter is measured only for initial qualification and after a design or process change that could affect this parameter.
TCPH
CE#
SCK
TDS TDH
TSCKR
MSB LSB
SI
SO
HIGH-Z HIGH-Z
25135 SerIn.0
CE#
TSCKH TSCKL
SCK
TOH
TCLZ TCHZ
SO MSB LSB
TV
SI
25135 SerOut.0
CE#
SCK
THLH
THZ TLZ
SO
SI
HOLD#
25135 Hold.0
1. This parameter is measured only for initial qualification and after a design or process change that could affect this parameter.
VDD
VDD Max
Chip selection is not allowed.
Commands may not be accepted or properly
interpreted by the device.
VDD Min
TPU-READ
Device fully accessible
TPU-WRITE
Time
25135 PwrUp.0
VDD
VOFF
GND
25135 F28.1
TOFF
VIHT
VHT VHT
INPUT REFERENCE POINTS OUTPUT
VLT VLT
VILT
25135 IORef.0
AC test inputs are driven at VIHT (0.9VDD) for a logic “1” and VILT (0.1VDD) for a logic “0”. Measurement
reference points for inputs and outputs are VHT (0.6VDD) and VLT (0.4VDD). Input rise and fall times
TO TESTER
TO DUT
CL
25135 TstLd.0
Operating 80 = 80 MHz
Frequency:
Pin #1
Identifier
TOP VIEW SIDE VIEW
7°
4 places
0.51
5.0 0.33
4.8
1.27 BSC
END VIEW
45° 7°
0.25 4 places
0.10
4.00
3.80
1.75
6.20 1.35 0.25 0°
5.80 0.19
8°
1.27
Note: 1. Complies with JEDEC publication 95 MS-012 AA dimensions, 0.40
08-soic-5x6-SA-8
although some dimensions may be more stringent.
2. All linear dimensions are in millimeters (max/min).
3. Coplanarity: 0.1 mm
4. Maximum allowable mold flash is 0.15 mm at the package ends and 0.25 mm between leads. 1mm
FIGURE 7-1: 8-LEAD SMALL OUTLINE INTEGRATED CIRCUIT (SOIC) 150MIL BODY WIDTH (5MM X 6MM)
PACKAGE CODE: SA
0.70
0.05 Max 0.50
6.00 ± 0.10
0.80
0.70
CROSS SECTION
Note: 1. All linear dimensions are in millimeters (max/min).
2. Untoleranced dimensions (shown with box surround)
are nominal target dimensions. 0.80
3. The external paddle is electrically connected to the 0.70
die back-side and possibly to certain VSS leads. 1mm
This paddle can be soldered to the PC board;
8-wson-5x6-QA-9.0
it is suggested to connect this paddle to the VSS of the unit.
Connection of this paddle to any other voltage potential can
result in shorts and/or electrical malfunction of the device.
Pin # 1
Pin #1 0.25
(laser ±0.05 1.60
engraved 2.00
see note 2) 0.5 BSC
±0.10
1mm
8-uson-2x2-Q3A-1.1
Note: 1. Similar to JEDEC JEP95 MO-252 variant U2030D, though number of contacts and some dimensions may be different.
2. The topside pin #1 indicator is laser engraved; its approximate shape and location is as shown.
3. From the bottom view, the pin #1 indicator may be either a curved indent or a 45-degree chamfer.
4. Untoleranced dimensions are nominal target dimensions.
5. All linear dimensions are in millimeters (max/min).
6. Lead-frame nominal thickness 0.127mm or 0.15mm (supplier-dependent).
• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
QUALITY MANAGEMENT SYSTEM Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
CERTIFIED BY DNV Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
== ISO/TS 16949 == are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.