25lc512 Microchip Technology Inc., 25lc512 Datasheet - Page 9

no-image

25lc512

Manufacturer Part Number
25lc512
Description
512 Kbit Spi Bus Serial Eeprom
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
25lc512-E/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
25lc512-E/SM
Manufacturer:
MCP
Quantity:
450
Part Number:
25lc512-E/SM
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
25lc512-E/SM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
25lc512-E/SN
Manufacturer:
MCP
Quantity:
985
Part Number:
25lc512-E/SN
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
25lc512-I/MF
Manufacturer:
Microchip Technology
Quantity:
1 986
Part Number:
25lc512-I/MF
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
25lc512-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
25lc512-I/SM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
25lc512-I/SN
Quantity:
2 400
2.2
Prior to any attempt to write data to the 25AA512, the
write enable latch must be set by issuing the WREN
instruction (Figure 2-4). This is done by setting CS low
and then clocking out the proper instruction into the
25AA512. After all eight bits of the instruction are trans-
mitted, the CS must be brought high to set the write
enable latch. If the write operation is initiated immedi-
ately after the WREN instruction without CS being
brought high, the data will not be written to the array
because the write enable latch will not have been
properly set.
A write sequence includes an automatic, self timed
erase cycle. It is not required to erase any portion of the
memory prior to issuing a WRITE instruction.
Once the write enable latch is set, the user may
proceed by setting the CS low, issuing a WRITE instruc-
tion, followed by the 16-bit address, and then the data
to be written. Up to 128 bytes of data can be sent to the
device before a write cycle is necessary. The only
restriction is that all of the bytes must reside in the
same page. When doing a write of less than 128 bytes
the data in the rest of the page is refreshed along with
the data bytes being written. This will force the entire
page to endure a write cycle, for this reason endurance
is specified per page
FIGURE 2-2:
© 2007 Microchip Technology Inc.
SCK
CS
SO
SI
Write Sequence
0
0
0
1
Instruction
0
2
0
3
BYTE WRITE SEQUENCE
0
4
0
5
High-Impedance
1
6
0
7
15 14 13 12
8
9 10 11
16-bit Address
Preliminary
.
For the data to be actually written to the array, the CS
must be brought high after the Least Significant bit (D0)
of the n
brought high at any other time, the write operation will
not be completed. Refer to Figure 2-2 and Figure 2-3
for more detailed illustrations on the byte write
sequence and the page write sequence, respectively.
While the write is in progress, the STATUS register may
be read to check the status of the WPEN, WIP, WEL,
BP1 and BP0 bits (Figure 2-6). A read attempt of a
memory array location will not be possible during a
write cycle. When the write cycle is completed, the
write enable latch is reset.
21 22 23 24 25 26 27 28 29 30 31
2
Note:
1
th
0 7
data byte has been clocked in. If CS is
Page write operations are limited to writing
bytes within a single physical page,
regardless of the number of bytes
actually being written. Physical page
boundaries start at addresses that are
integer multiples of the page buffer size (or
‘page size’), and end at addresses that are
integer multiples of page size – 1. If a
Page Write command attempts to write
across a physical page boundary, the
result is that the data wraps around to the
beginning of the current page (overwriting
data previously stored there), instead of
being written to the next page as might be
expected. It is therefore necessary for the
application software to prevent page write
operations that would attempt to cross a
page boundary.
6
5
Data Byte
4
3
25AA512
2
1
DS22021C-page 9
0
Twc

Related parts for 25lc512