
512 Kbit / 1 Mbit 3.0 Volt-only, Serial Flash Memory With 25 MHz SPI Bus Interface
Block Write Protection - The Block Protect (BP1, BP0) bits allow part or entire of the memory to be configured as read-only.
Single Power Supply Operation - Low voltage range: 2.7 V - 3.6 V
Hardware Data Protection - Write Protect (WP#) pin will inhibit write operations to the status register
Cost Effective Sector/Block Architecture - Uniform 4 Kbyte sectors - Uniform 32 Kbyte blocks (8 sectors per block) - Two blocks with 32 Kbytes each (512 Kbit) - Four blocks with 32 Kbytes each (1 Mbit) - 128 pages per block
Single Cycle Reprogramming for Status Register - Build-in erase before programming
Serial Peripheral Interface (SPI) Compatible - Supports SPI Modes 0 (0,0) and 3 (1,1)
High Product Endurance - Guarantee 100,000 program/erase cycles per single
High Performance Read - 25 MHz clock rate (maximum)
sector (preliminary) - Minimum 20 years data retention
Page Mode for Program Operations - 256 bytes per page
Industrial Standard Pin-out and Package - 8-pin JEDEC SOIC - 8-contact WSON - Optional lead-free (Pb-free) packages
The Pm25LV512/010 are 512 Kbit/1 Mbits 3.0 Volt-only serial Flash memories. These devices are designed to use a single low voltage, range from 2.7 Volt to 3.6 Volt, power supply to perform read, erase and program operations. The devices can be programmed in standard EPROM programmers as well.
The device is optimized for use in many commercial applications where low-power and low-voltage operation are essential. The Pm25LV512/010 is enabled through the Chip Enable pin (CE#) and accessed via a 3-wire interface consisting of Serial Data Input (Sl), Serial Data Output (SO), and Serial Clock (SCK). All write cycles are com- pletely self-timed.
Block Write protection for top 1/4, top 1/2 or the entire memory array (1M) or entire memory array (512K) is enabled by programming the status register. Separate write enable and write disable instructions are provided for additional data protection. Hardware data protection is provided via the WP pin to protect against inadvertent write attempts to the status register. The HOLD pin may be used to suspend any serial communication without resetting the serial sequence.
The Pm25LV512/010 are manufactured on PMC’s advanced nonvolatile CMOS technology, P-FLASH™. The de- vices are offered in 8-pin JEDEC SOIC and 8-contact WSON packages with operation frequency up to 25 MHz.



SPI Chip Block Diagram
Serial /Parallel convert Logic
2KBit Page Buffer Status Register
Memory Array
X-DECODER

Pm25LV512/010 can be driven by a microcontroller on the SPI bus as shown in Figure 1. The serial communication term definitions are in the following section.
MASTER: The device that generates the serial clock.
SLAVE: Because the Serial Clock pin (SCK) is always an input, the Pm25LV512/010 always operates as a slave.
TRANSMITTER/RECEIVER: The Pm25LV512/010 has separate pins designated for data transmission (SO) and reception (Sl).
MSB: The Most Significant Bit (MSB) is the first bit transmitted and received.
SERIAL OP-CODE: After the device is selected with CE# going low, the first byte will be received. This byte contains the op-code that defines the operations to be performed.
INVALID OP-CODE: If an invalid op-code is received, no data will be shifted into the Pm25LV512/010, and the serial output pin (SO) will remain in a high impedance state until the falling edge of CE# is detected again. This will reinitialize the serial communication.
SDO
SPI Interface with (0, 0) or (1, 1)
SCK SO SI
SCK SO SI SCK SO SI
CS3 CS2 CS1
CE# WP# HOLD# HOLD# HOLD#
CE# WP# CE# WP#

SPI MODES
These devices can be driven by microcontroller with its SPI peripheral running in either of the two following modes: Mode 0 = (0, 0) Mode 3 = (1, 1)
available from the falling edge of Serial Clock (SCK).
The difference between the two modes, as shown in Figure 2, is the clock polarity when the bus master is in Stand-by mode and not transfering data: - Clock remains at 0 (SCK = 0) for Mode 0 (0, 0) - Clock remains at 1 (SCK = 1) for Mode 3 (1, 1)
For these two modes, input data is latched in on the rising edge of Serial Clock (SCK), and output data is
Mode 0 (0 0)
Mode 3 (1 1)


WRITE ENABLE (WREN): The device will power up in the write disable state when Vcc is applied. All write instructions must therefore be preceded by the WREN instruction.
WRITE DISABLE (WRDI): To protect the device against inadvertent writes, the WRDI instruction disables all write commands. The WRDI instruction is independent of the status of the WP# pin.
READ STATUS REGISTER (RDSR): The RDSR instruction provides access to the status register. The READY/ BUSY and write enable status of the device can be determined by the RDSR instruction. Similarly, the Block Write Protection bits indicate the extent of protection employed. These bits are set by using the WRSR instruction. During internal write cycles, all other commands will be ignored except the RDSR instruction.
Table 3. Status Register Format
Table 4. Read Status Register Bit Definition
WRITE STATUS REGISTER (WRSR): The WRSR instruction allows the user to select one of four levels of protec- tion for the Pm25LV010. The Pm25LV010 is divided into four blocks where the top quarter (1/4), top half (1/2), or all of the memory blocks can be protected (locked out) from write. The Pm25LV512 is divided into 2 blocks where all of the memory blocks can be protected (locked out) from write. Any of the locked-out blocks will therefore be READ only. The locked-out block and the corresponding status register control bits are shown in Table 5.
The three bits, BP0, BP1, and WPEN, are nonvolatile cells that have the same properties and functions as the regular memory cells (e.g., WREN, RDSR).


READ: Reading the Pm25LV512/010 via the SO (Serial Output) pin requires the following sequence. After the CE# line is pulled low to select a device, the READ instruction is transmitted via the Sl line followed by the byte address to be read (Refer to Table 7). Upon completion, any data on the Sl line will be ignored. The data (D7-D0) at the specified address is then shifted out onto the SO line. If only one byte is to be read, the CE# line should be driven high after the data comes out. The READ instruction can be continued since the byte address is automati- cally incremented and data will continue to be shifted out. For the Pm25LV512/010, when the highest address is reached, the address counter will roll over to the lowest address allowing the entire memory to be read in one continuous READ instruction.
FAST_READ: The device is first selected by driving CE# low. The FAST READ instruction is followed by a 3-byte address (A23-A0) and a dummy byte, each bit being latched-in during the rising edge of SCK (Serial Clock). Then the memory contents, at that address, is shifted out on SO (Serial Output), each bit being shifted out, at a maximum frequency fFR, during the falling edge of SCK (Serial Clock).
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. When the highest address is reached, the address counter will roll over to the lowest address allowing the entire memory to be read with a single FAST READ instruction. The FAST READ instruction is terminated by driving CE# high.
PAGE PROGRAM (PG_PROG): In order to program the Pm25LV512/010, two separate instructions must be executed. First, the device must be write enabled via the WREN instruction. Then the PAGE PROGRAM instruc- tion can be executed. Also, the address of the memory location(s) to be programmed must be outside the pro- tected address field location selected by the Block Write Protection Level. During an internal self-timed program- ming cycle, all commands will be ignored except the RDSR instruction.
The PAGE PROGRAM instruction requires the following sequence. After the CE# line is pulled low to select the device, the PAGE PROGRAM instruction is transmitted via the Sl line followed by the address and the data (D7-D0) to be programmed (Refer to Table 7). Programming will start after the CE# pin is brought high. The low-to-high transition of the CE# pin must occur during the SCK low time immediately after clocking in the D0 (LSB) data bit.
The READY/BUSY status of the device can be determined by initiating a RDSR instruction. If Bit 0 = 1, the program cycle is still in progress. If Bit 0=0, the program cycle has ended. Only the RDSR instruction is enabled during the program cycle. A single PROGRAM instruction programs 1 to 256 consecutive bytes within a page if it is not write protected. The starting byte could be anywhere within the page. When the end of the page is reached, the address will wrap around to the beginning of the same page. If the data to be programmed are less than a full page, the data of all other bytes on the same page will remain unchanged. If more than 256 bytes of data are provided, the address counter will roll over on the same page and the previous data provided will be replaced. The same byte cannot be reprogrammed without erasing the whole sector/block first. The Pm25LV512/010 will automatically return to the write disable state at the completion of the PROGRAM cycle.
standby state, when CE# is brought high. A new CE# falling edge is required to re-initiate the serial communication.
Table 7. Address Key

SECTOR_ERASE, BLOCK_ERASE: Before a byte can be reprogrammed, the sector/block which contains the byte must be erased. In order to erase the Pm25LV512/010, two separate instructions must be executed. First, the device must be write enabled via the WREN instruction. Then the SECTOR ERASE or BLOCK ERASE instruction can be executed.
Table 8. Block Addresses
The BLOCK ERASE instruction erases every byte in the selected block if the block is not locked out. Block address is automatically determined if any address within the block is selected. The BLOCK ERASE instruction is internally controlled; it will automatically be timed to completion. During this time, all commands will be ignored, except RDSR instruction. The Pm25LV512/010 will automatically return to the write disable state at the completion of the BLOCK ERASE cycle.
CHIP_ERASE: As an alternative to the SECTOR and BLOCK ERASE, the CHIP ERASE instruction will erase every byte in all blocks that are not locked out. First, the device must be write enabled via the WREN instruction. Then the CHIP ERASE instruction can be executed. The CHIP ERASE instruction is internally controlled; it will automatically be timed to completion. The CHIP ERASE cycle time maximum is 100 miliseconds. During the internal erase cycle, all instructions will be ignored except RDSR. The Pm25LV512/010 will automatically return to the write disable state at the completion of the CHIP ERASE.
HOLD: The HOLD# pin is used in conjunction with the CE# pin to select the Pm25LV512/010. When the device is selected and a serial sequence is underway, HOLD# pin can be used to pause the serial communication with the master device without resetting the serial sequence. To pause, the HOLD# pin must be brought low while the SCK pin is low. To resume serial communication, the HOLD# pin is brought high while the SCK pin is low (SCK may still toggle during HOLD). Inputs to the Sl pin will be ignored while the SO pin is in the high impedance state.
HARDWARE WRITE PROTECT: The Pm25LV512/010 has a write lockout feature that can be activated by assert- ing the write protect pin (WP#). When the lockout feature is activated, locked-out sectors will be READ only. The write protect pin will allow normal read/write operations when held high. When the WP# is brought low and WPEN bit is "1", all write operations to the status register are inhibited. WP# going low while CE# is still low will interrupt a write to the status register. If the internal status register write cycle has already been initiated, WP# going low will have no effect on any write operation to the status register. The WP# pin function is blocked when the WPEN bit in the status register is "0". This will allow the user to install the Pm25LV512/010 in a system with the WP# pin tied to ground and still be able to write to the status register. All WP# pin functions are enabled when the WPEN bit is set to "1".


Applicable over recommended operating range from: TAC = 0°C to +85°C, VCC = +2.7 V to +3.6 V (unless otherwise noted).
Condition
ICC1 Vcc Active Read Current 10 15 mA
VCC = 3.6V at 25 MHz, SO = Open
ICC2 Vcc Program/Erase Current 15 30 mA
VCC = 3.6V at 25 MHz, SO = Open
ISB1 Vcc Standby Current CMOS 0.1 5 µA
ISB2 Vcc Standby Current TTL 0.05 3 mA
VCC = 3.6V, CE# = VIH to VCC
ILI Input Leakage Current 1 µA
VIN = 0V to VCC
VIN = 0V to VCC, TAC = 0oC to 85oC
ILO Output Leakage Current 1 µA
VIL Input Low Voltage -0.5 0.8 V
VIH Input HIgh Voltage 0.7VCC VCC + 0.3 V
VOL Output Low Voltage IOL = 2.1 mA 0.45 V
VOH Output High Voltage IOH = -100 µA VCC - 0.2 V 2.7V < VCC < 3.6V

Applicable over recommended operating range from TA = 0°C to +85°C, VCC = +2.7 V to +3.6 V CL = 1TTL Gate and 30 pF (unless otherwise noted).
l o b m y S r e t e m a r a P n i M p y T x a M s ti n U
f R F r o f y c n e u q e r F k c ol C
D A E R _ T S A F 0 5 2 z H M
fR s n o itc u rts n i D A E R r o f y c n e u q e r F k c ol C 0 0 2 z H M
t I R e m iT e si R tu p nI 0 2 s n
t I F e m iT lla F tu p nI 0 2 s n
t H K C e m iT h g i H K C S 0 2 s n
t L K C e m iT w o L K C S 0 2 s n
t H E C e m iT h g i H E C 5 2 s n
t S C e m iT p u t e S E C 5 2 s n
t H C e m iT dlo H E C 5 2 s n
t S D e m iT p u t e S nI a t a D 5 s n
t H D e m iT dlo H n i a t a D 5 s n
t S H e m iT p u t e S dlo H 5 1 s n
t D H e m iT dlo H 5 1 s n
tV d ila V tu p tu O 5 1 s n
t H O e m iT dlo H tu p tu O 0 s n
t Z L Z w o L tu p tu O o t dlo H 0 0 2 s n
t Z H Z h g i H tu p tu O o t dlo H 0 0 2 s n
t S I D e m iT elb a si D tu p tu O 0 0 1 s n
t C E e m iT e s a r E p ih C /k c ol B /r e tc e S 0 4 0 0 1 s m
t p p e m iT m a r g o r P e g a P 2 5 s m
tw e m it r e tsig e R s u t a t S e tir W 0 4 0 0 1 s m




PIN CAPACITANCE ( f = 1 MHz, T = 25°C )
p y T x a M s ti n U s n o iti d n o C
C N I 4 6 F p V N I V 0 =
C T U O 8 2 1 F p V T U O V 0 =


0 1 8 31 38 39 46 47 54

0 1 2 3 5 6 7 8 9 10 11 12 13 14 4
INSTRUCTION = 0000 0101b
SO 7 6 5 4 3 2 1 0 HIGH IMPEDANCE
WRSR Timing
0 1 2 3 5 6 7 8 9 10 11 12 13 14 4 15
INSTRUCTION = 0000 0001b
7 6 5 4 3 2 1 0
READ Timing
0 1 2 3 4 5 6 7 8 9 10 11 28 29 30 31 32 33 34 36 35 37 38
... 23 22 21 3 2 1 0
INSTRUCTION = 0000 0011b
7 6 5 4 3 2 1 0

0 1 2 3 4 5 6 7 8 9 10 11 28 29 30 31
... 23 22 21 3 2 1 0
INSTRUCTION = 0000 1011b
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
7 6 5 3 0
7 6 5 4 3 2 1 0 HIGH IMPEDANCE
7 6 5 4 3 2 1 0
0 1 2 3 4 5 6 7 8 9 10 11 28 29 30 31 32 33 34
1st BYTE DATA-IN 256th BYTE DATA-IN
INSTRUCTION = 0000 0010b
0 7 6 5 3 2 2 1 1 4 3 0 23 22 21

0 1 2 3 4 5 6 7 8 9 10 11 28 29 30 31
0 1 2 3 21 22 23 ...
INSTRUCTION = 1101 0111b
BLOCK ERASE Timing
0 1 2 3 4 5 6 7 8 9 10 11 28 29 30 31
0 1 2 3 21 22 23 ...
INSTRUCTION = 1101 1000b
CHIP ERASE Timing
0 1 2 3 4 5 6 7
INSTRUCTION = 1100 0111b

r e t e m a r a P ti n U p y T x a M s k r a m e R
e m iT e s a r E r o tc e S s m 0 4 0 0 1 n o it elp m o c e s a r e o t d n a m m o c e s a r e g n itir w m o r F
e m iT e s a r E k c ol B s m 0 4 0 0 1 n o it elp m o c e s a r e o t d n a m m o c e s a r e g n itir w m o r F
e m iT e s a r E p ih C s m 0 4 0 0 1 n o it elp m o c e s a r e o t d n a m m o c e s a r e g n itir w m o r F
e m iT g n i m m a r g o r P e g a P s m 2 5 m a r g o r p o t d n a m m o c m a r g o r p g n itir w m o r F
n o it elp m o c
r e t e m a r a P n i M p y T ti n U d o h t e M t s e T
e c n a r u d n E 0 0 0 , 0 0 1 ) 2 ( s elc y C 7 1 1 A d r a d n a t S C E D E J
n o itn e t e R a t a D 0 2 s r a e Y 3 0 1 A d r a d n a t S C E D E J
le d o M y d o B n a m u H - D S E 0 0 0 , 2 stlo V 4 1 1 A d r a d n a t S C E D E J
le d o M e n ih c a M - D S E 0 0 2 stlo V 5 1 1 A d r a d n a t S C E D E J
p U - h ct a L I + 0 0 1 1 C C A m 8 7 d r a d n a t S C E D E J

8S 8-Pin JEDEC Small Outline Integrated Circuit (SOIC) Package (measure in millimeters)
Top View Side View
0.51 0.33
5.00 4.80
4.00 3.80
0.25 0.10
6.20 5.80 1.75 1.35
0.25 0.19
1.27 0.40
End View



e t a D . o N n o i s i v e R s e g n a h C f o n o it p ir c s e D . o N e g a P
2 0 0 2 ,r e b o t c O 0 . 1 c e p S y r a n i m il e r P , n o it a cil b u p w e N ll A
2 0 0 2 ,r e b m e c e D 1 . 1 e s a el e R l a m r o F ll A
3 0 0 2 , n u J 2 . 1 n o it p o e g a k c a p N O S W d e d d A 3 2 , 3 , 2 , 1
s n o it p o e g a k c a p e e rf- d a e L d e d d A 2 1 , 3 , 1
0 0 0 , 0 5 m o rf s elc y c e s a r e / m a r g o r p d e e t n a r u g d e d a r g p U
3 0 0 2 ,r e b m e c e D 3 . 1
) y r a n i m il e r p ( 0 0 0 , 0 0 1 o t 1 2 , 1
n o is n e m i d e g a k c a p d e w a r d e r d n a d e t a d p U 3 2 , 2 2
4 0 0 2 ,y r a u r b e F 4 . 1 e g n a r e r u t a r e p m e t n o it a r e p o e v o r p m I ll A
Eigenaren en ons team reageren doorgaans binnen een dag — en uw vraag helpt ook de volgende persoon.
Stel als eerste een vraag — andere eigenaren of ons team geven antwoord.