AT45DB642D-CNU [ATMEL]

64-megabit 2.7-volt Dual-interface DataFlash; 64兆位2.7伏双接口的DataFlash
AT45DB642D-CNU
型号: AT45DB642D-CNU
厂家: ATMEL    ATMEL
描述:

64-megabit 2.7-volt Dual-interface DataFlash
64兆位2.7伏双接口的DataFlash

闪存 存储 内存集成电路 时钟
文件: 总55页 (文件大小:1361K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
Features  
Single 2.7V - 3.6V Supply  
Dual-interface Architecture  
– RapidSSerial Interface: 66 MHz Maximum Clock Frequency  
SPI Compatible Modes 0 and 3  
– Rapid88-bit Interface: 50 MHz Maximum Clock Frequency  
User Configurable Page Size  
– 1024 Bytes per Page  
– 1056 Bytes per Page  
64-megabit  
2.7-volt  
Dual-interface  
DataFlash®  
Page Program Operation  
– Intelligent Programming Operation  
– 8192 Pages (1024/1056 Bytes/Page) Main Memory  
Flexible Erase Options  
– Page Erase (1 Kbyte)  
– Block Erase (8 Kbytes)  
– Sector Erase (256 Kbytes)  
– Chip Erase (64 Mbits)  
Two SRAM Data Buffers (1024/1056 Bytes)  
– Allows Receiving of Data while Reprogramming the Flash Array  
Continuous Read Capability through Entire Array  
– Ideal for Code Shadowing Applications  
Low-power Dissipation  
AT45DB642D  
– 10 mA Active Read Current Typical – Serial Interface  
– 10 mA Active Read Current Typical – 8-bit Interface  
– 25 µA Standby Current Typical  
– 9 µA Deep Power Down Typical  
Hardware and Software Data Protection Features  
– Individual Sector  
Permanent Sector Lockdown for Secure Code and Data Storage  
– Individual Sector  
Security: 128-byte Security Register  
– 64-byte User Programmable Space  
– Unique 64-byte Device Identifier  
JEDEC Standard Manufacturer and Device ID Read  
100,000 Program/Erase Cycles Per Page Minimum  
Data Retention – 20 Years  
Green (Pb/Halide-free/RoHS Compliant) Packaging Options  
Temperature Range  
– Industrial: -40°C to +85°C  
3542F–DFLASH–09/06  
1. Description  
The AT45DB642D is a 2.7-volt, dual-interface sequential access Flash memory ideally suited for  
a wide variety of digital voice-, image-, program code- and data-storage applications. The  
AT45DB642D supports RapidS serial interface and Rapid8 8-bit interface. RapidS serial inter-  
face is SPI compatible for frequencies up to 66 MHz. The dual-interface allows a dedicated  
serial interface to be connected to a DSP and a dedicated 8-bit interface to be connected to a  
microcontroller or vice versa. However, the use of either interface is purely optional. Its  
69,206,016 bits of memory are organized as 8,192 pages of 1,024 bytes (binary page size) or  
1,056 bytes (standard DataFlash page size) each. In addition to the main memory, the  
AT45DB642D also contains two SRAM buffers of 1,024 (binary buffer size) bytes/1,056 bytes  
(standard DataFlash buffer size) each. The buffers allow receiving of data while a page in the  
main Memory is being reprogrammed, as well as writing a continuous data stream. EEPROM  
emulation (bit or byte alterability) is easily handled with a self-contained three step read-modify-  
write operation. Unlike conventional Flash memories that are accessed randomly with multiple  
address lines and a parallel interface, the DataFlash uses either a RapidS serial interface or a  
8-bit Rapid8 interface to sequentially access its data. The simple sequential access dramatically  
reduces active pin count, facilitates hardware layout, increases system reliability, minimizes  
switching noise, and reduces package size. The device is optimized for use in many commercial  
and industrial applications where high-density, low-pin count, low-voltage and low-power are  
essential.  
To allow for simple in-system reprogrammability, the AT45DB642D does not require high input  
voltages for programming. The device operates from a single power supply, 2.7V to 3.6V, for  
both the program and read operations. The AT45DB642D is enabled through the chip select pin  
(CS) and accessed via a three-wire interface consisting of the Serial Input (SI), Serial Output  
(SO), and the Serial Clock (SCK), or an 8-bit interface consisting of the input/output pins (I/O7 -  
I/O0) and the clock pin (CLK).  
All programming and erase cycles are self-timed.  
2
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
2. Pin Configurations and Pinouts  
Table 2-1.  
Pin Configurations  
Asserted  
Symbol  
Name and Function  
State  
Type  
Chip Select: Asserting the CS pin selects the device. When the CS pin is deasserted, the device  
will be deselected and normally be placed in the standby mode (not Deep Power-Down mode),  
and the output pins (SO or I/O7 - I/O0) will be in a high-impedance state. When the device is  
deselected, data will not be accepted on the input pins (SI or I/O7 - I/O0).  
CS  
Low  
Input  
A high-to-low transition on the CS pin is required to start an operation, and a low-to-high  
transition is required to end an operation. When ending an internally self-timed operation such as  
a program or erase cycle, the device will not enter the standby mode until the completion of the  
operation.  
Serial Clock: This pin is used to provide a clock to the device and is used to control the flow of  
data to and from the device. Command, address, and input data present on the SI or I/O7 - I/O0  
pins are always latched on the rising edge of SCK/CLK, while output data on the SO or I/O7 -  
I/O0 pins are always clocked out on the falling edge of SCK/CLK.  
SCK/CLK  
Input  
Serial Input: The SI pin is used to shift data into the device. The SI pin is used for all data input  
including command and address sequences. Data on the SI pin is always latched on the rising  
edge of SCK. If the SER/BYTE pin is always driven low, the SI pin should be a “no connect”.  
SI  
Input  
Serial Output: The SO pin is used to shift data out from the device. Data on the SO pin is always  
clocked out on the falling edge of SCK. If the SER/BYTE pin is always driven low, the SO pin  
should be a “no connect”.  
SO  
Output  
8-bit Input/Output: The I/O7-I/O0 pins are bidirectional and used to clock data into and out of the  
device. The I/O7-I/O0 pins are used for all data input, including opcodes and address sequences.  
The use of these pins is optional, and the pins should be treated as “no connect” if the SER/BYTE  
pin is not connected or if the SER/BYTE pin is always driven high externally.  
Input/  
Output  
I/O7 - I/O0  
Write Protect: When the WP pin is asserted, all sectors specified for protection by the Sector  
Protection Register will be protected against program and erase operations regardless of whether  
the Enable Sector Protection command has been issued or not. The WP pin functions  
independently of the software controlled protection method.  
If a program or erase command is issued to the device while the WP pin is asserted, the device  
will simply ignore the command and perform no operation. The device will return to the idle state  
once the CS pin has been deasserted. The Enable Sector Protection command and Sector  
Lockdown command, however, will be recognized by the device when the WP pin is asserted.  
WP  
Low  
Input  
The WP pin is internally pulled-high and may be left floating if hardware controlled protection will  
not be used. However, it is recommended that the WP pin also be externally connected to VCC  
whenever possible.  
Reset: A low state on the reset pin (RESET) will terminate the operation in progress and reset  
the internal state machine to an idle state. The device will remain in the reset condition as long as  
a low level is present on the RESET pin. Normal operation can resume once the RESET pin is  
brought back to a high level.  
RESET  
Low  
Input  
The device incorporates an internal power-on reset circuit, so there are no restrictions on the  
RESET pin during power-on sequences. If this pin and feature are not utilized it is recommended  
that the RESET pin be driven high externally.  
Ready/Busy: This open drain output pin will be driven low when the device is busy in an  
internally self-timed operation. This pin, which is normally in a high state (through an external  
pull-up resistor), will be pulled low during programming/erase operations, compare operations,  
and page-to-buffer transfers.  
RDY/BUSY  
Output  
The busy status indicates that the Flash memory array and one of the buffers cannot be  
accessed; read and write operations to the other buffer can still be performed.  
3
3542F–DFLASH–09/06  
Table 2-1.  
Symbol  
Pin Configurations (Continued)  
Asserted  
State  
Name and Function  
Type  
Serial/8-bit Interface Control: The DataFlash may be configured to utilize either its serial port or  
8-bit port through the use of the serial/8-bit control pin (SER/BYTE). When the SER/BYTE pin is  
held high, the serial port (SI and SO) of the DataFlash will be used for all data transfers, and the  
8-bit port (I/O7 - I/O0) will be in a high impedance state. Any data presented on the 8-bit port  
while SER/BYTE is held high will be ignored. When the SER/BYTE is held low, the 8-bit port will  
be used for all data transfers, and the SO pin of the serial port will be in a high impedance state.  
While SER/BYTE is low, any data presented on the SI pin will be ignored. Switching between the  
serial port and 8-bit port should only be done while the CS pin is high and the device is not busy  
in an internally self-timed operation.  
SER/BYTE  
Low  
Input  
The SER/BYTE pin is internally pulled high; therefore, if the 8-bit port is never to be used, then  
connection of the SER/BYTE pin is not necessary. In addition, if the SER/BYTE pin is not  
connected or if the SER/BYTE pin is always driven high externally, then the 8-bit input/output pins  
(I/O7-I/O0), the VCCP pin, and the GNDP pin should be treated as “no connect”.  
Device Power Supply: The VCC pin is used to supply the source voltage to the device.  
VCC  
Power  
Operations at invalid VCC voltages may produce spurious results and should not be attempted.  
Ground: The ground reference for the power supply. GND should be connected to the system  
ground.  
GND  
Ground  
8-bit Port Supply Voltage: The VCCP pin is used to supply power for the 8-bit input/output pins  
(I/O7-I/O0). The VCCP pin needs to be used if the 8-bit port is to be utilized; however, this pin  
should be treated as “no connect” if the SER/BYTE pin is not connected or if the SER/BYTE pin is  
always driven high externally.  
VCCP  
Power  
8-bit Port Ground: The GNDP pin is used to provide ground for the 8-bit input/output pins (I/O7-  
I/O0). The GNDP pin needs to be used if the 8-bit port is to be utilized; however, this pin should  
be treated as “no connect” if the SER/BYTE pin is not connected or if the SER/BYTE pin is  
always driven high externally.  
GNDP  
Ground  
Figure 2-2. DataFlash Card(1)  
7
6 5 4 3 2 1  
Figure 2-1. TSOP Top View: Type 1  
RDY/BUSY  
RESET  
WP  
1
28  
27  
26  
25  
24  
23  
22  
21  
20  
19  
18  
17  
16  
15  
NC  
2
NC  
3
I/O7  
NC  
4
I/O6  
NC  
5
I/O5  
VCC  
GND  
NC  
6
I/O4  
7
VCCP  
GNDP  
I/O3  
8
NC  
9
Note:  
1. See AT45DCB008D Datasheet.  
NC  
10  
11  
12  
13  
14  
I/O2  
CS  
I/O1  
SCK/CLK  
SI  
I/O0  
Figure 2-3. CASON Top View through Package  
SER/BYTE  
NC  
SI  
SCK  
1
2
3
4
8
7
6
5
SO  
SO  
GND  
VCC  
WP  
RESET  
CS  
4
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
3. Block Diagram  
WP  
FLASH MEMORY ARRAY  
PAGE (1024/1056 BYTES)  
BUFFER 1 (1024/1056 BYTES)  
BUFFER 2 (1024/1056 BYTES)  
SCK/CLK  
CS  
I/O INTERFACE  
RESET  
VCC  
GND  
RDY/BUSY  
SER/BYTE  
SI SO  
I/O7 - I/O0  
4. Memory Array  
To provide optimal flexibility, the memory array of the AT45DB642D is divided into three levels of  
granularity comprising of sectors, blocks, and pages. The “Memory Architecture Diagram” illus-  
trates the breakdown of each level and details the number of pages per sector and block. All  
program operations to the DataFlash occur on a page by page basis. The erase operations can  
be performed at the chip, sector, block or page level.  
Figure 4-1. Memory Architecture Diagram  
SECTOR ARCHITECTURE  
BLOCK ARCHITECTURE  
PAGE ARCHITECTURE  
8 Pages  
BLOCK 0  
BLOCK 1  
BLOCK 2  
PAGE 0  
PAGE 1  
SECTOR 0  
SECTOR 0a = 8 Pages  
8192/8,448 bytes  
SECTOR 0b = 248 Pages  
253,952/261,888 bytes  
PAGE 6  
PAGE 7  
PAGE 8  
PAGE 9  
BLOCK 30  
BLOCK 31  
BLOCK 32  
BLOCK 33  
SECTOR 1 = 256 Pages  
262,144/270,336 bytes  
SECTOR 2 = 256 Pages  
262,144/270,336 bytes  
PAGE 14  
PAGE 15  
PAGE 16  
PAGE 17  
PAGE 18  
BLOCK 62  
BLOCK 63  
BLOCK 64  
BLOCK 65  
SECTOR 30 = 256 Pages  
262,144/270,336 bytes  
SECTOR 31 = 256 Pages  
262,144/270,336 bytes  
BLOCK 1022  
BLOCK 1023  
PAGE 8,190  
PAGE 8,190  
Block = 8,192/8,448 bytes  
Page = 1,024/1,056 bytes  
5
3542F–DFLASH–09/06  
5. Device Operation  
The device operation is controlled by instructions from the host processor. The list of instructions  
and their associated opcodes are contained in Table 15-1 on page 28 through Table 15-6 on  
page 31. A valid instruction starts with the falling edge of CS followed by the appropriate 8-bit  
opcode and the desired buffer or main memory address location. While the CS pin is low, tog-  
gling the SCK/CLK pin controls the loading of the opcode and the desired buffer or main memory  
address location through either the SI (serial input) pin or the 8-bit input pins (I/O7 - I/O0). All  
instructions, addresses, and data are transferred with the most significant bit (MSB) first.  
Buffer addressing for standard DataFlash page size (1056 bytes) is referenced in the datasheet  
using the terminology BFA10 - BFA0 to denote the 11 address bits required to designate a byte  
address within a buffer. Main memory addressing is referenced using the terminology PA12 -  
PA0 and BA10 - BA0, where PA12 - PA0 denotes the 13 address bits required to designate a  
page address and BA10 - BA0 denotes the 11 address bits required to designate a byte address  
within the page.  
For “Power of 2” binary page size (1024 bytes) the Buffer addressing is referenced in the  
datasheet using the conventional terminology BFA9 - BFA0 to denote the 10 address bits  
required to designate a byte address within a buffer. Main memory addressing is referenced  
using the terminology A22 - A0.  
6. Read Commands  
By specifying the appropriate opcode, data can be read from the main memory or from either  
one of the two SRAM data buffers. The DataFlash supports RapidS and Rapid8 protocols for  
Mode 0 and Mode 3. Please refer to the “Detailed Bit-level Read Timing” diagrams in this  
datasheet for details on the clock cycle sequences for each mode.  
6.1  
Continuous Array Read (Legacy Command: E8H): Up to 66 MHz  
By supplying an initial starting address for the main memory array, the Continuous Array Read  
command can be utilized to sequentially read a continuous stream of data from the device by  
simply providing a clock signal; no additional addressing information or control signals need to  
be provided. The DataFlash incorporates an internal address counter that will automatically  
increment on every clock cycle, allowing one continuous read operation without the need of  
additional address sequences. To perform a continuous read from the standard DataFlash page  
size (1056 bytes), an opcode of E8H must be clocked into the device followed by three address  
bytes (which comprise the 24-bit page and byte address sequence) and a series of don’t care  
bytes (4 bytes if using the serial interface or 19 bytes if using the 8-bit interface). The first 13 bits  
(PA12 - PA0) of the 24-bit address sequence specify which page of the main memory array to  
read, and the last 11 bits (BA10 - BA0) of the 24-bit address sequence specify the starting byte  
address within the page. To perform a continuous read from the binary page size (1024 bytes),  
the opcode (E8H) must be clocked into the device followed by three address bytes and a series  
of don’t care bytes (4 bytes if using the serial interface, or 19 bytes if using the 8-bit interface).  
The first 13 bits (A22 - A10) of the 24-bits sequence specify which page of the main memory  
array to read, and the last 10 bits (A9 - A0) of the 24-bits address sequence specify the starting  
byte address within the page. The don’t care bytes that follow the address bytes are needed to  
initialize the read operation. Following the don’t care bytes, additional clock pulses on the  
SCK/CLK pin will result in data being output on either the SO (serial output) pin or the eight out-  
put pins (I/O7- I/O0).  
6
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
The CS pin must remain low during the loading of the opcode, the address bytes, the don’t care  
bytes, and the reading of data. When the end of a page in main memory is reached during a  
Continuous Array Read, the device will continue reading at the beginning of the next page with  
no delays incurred during the page boundary crossover (the crossover from the end of one page  
to the beginning of the next page). When the last bit (or byte if using the 8-bit interface mode) in  
the main memory array has been read, the device will continue reading back at the beginning of  
the first page of memory. As with crossing over page boundaries, no delays will be incurred  
when wrapping around from the end of the array to the beginning of the array.  
A low-to-high transition on the CS pin will terminate the read operation and tri-state the output  
pins (SO or I/O7-I/O0). The maximum SCK/CLK frequency allowable for the Continuous Array  
Read is defined by the fCAR1 specification. The Continuous Array Read bypasses both data buff-  
ers and leaves the contents of the buffers unchanged.  
6.2  
Continuous Array Read (High Frequency Mode: 0BH): Up to 66 MHz  
This command can be used with the serial interface to read the main memory array sequentially  
in high speed mode for any clock frequency up to the maximum specified by fCAR1. To perform a  
continuous read array with the page size set to 1056 bytes, the CS must first be asserted then  
an opcode 0BH must be clocked into the device followed by three address bytes and a dummy  
byte. The first 13 bits (PA12 - PA0) of the 24-bit address sequence specify which page of the  
main memory array to read, and the last 11 bits (BA10 - BA0) of the 24-bit address sequence  
specify the starting byte address within the page. To perform a continuous read with the page  
size set to 1024 bytes, the opcode, 0BH, must be clocked into the device followed by three  
address bytes (A22 - A0) and a dummy byte. Following the dummy byte, additional clock pulses  
on the SCK pin will result in data being output on the SO (serial output) pin.  
The CS pin must remain low during the loading of the opcode, the address bytes, and the read-  
ing of data. When the end of a page in the main memory is reached during a Continuous Array  
Read, the device will continue reading at the beginning of the next page with no delays incurred  
during the page boundary crossover (the crossover from the end of one page to the beginning of  
the next page). When the last bit in the main memory array has been read, the device will con-  
tinue reading back at the beginning of the first page of memory. As with crossing over page  
boundaries, no delays will be incurred when wrapping around from the end of the array to the  
beginning of the array. A low-to-high transition on the CS pin will terminate the read operation  
and tri-state the output pin (SO). The maximum SCK frequency allowable for the Continuous  
Array Read is defined by the fCAR1 specification. The Continuous Array Read bypasses both  
data buffers and leaves the contents of the buffers unchanged.  
6.3  
Continuous Array Read (Low Frequency Mode: 03H): Up to 33 MHz  
This command can be used with the serial interface to read the main memory array sequentially  
without a dummy byte up to maximum frequencies specified by fCAR2. To perform a continuous  
read array with the page size set to 1056 bytes, the CS must first be asserted then an opcode,  
03H, must be clocked into the device followed by three address bytes (which comprise the 24-bit  
page and byte address sequence). The first 13 bits (PA12 - PA0) of the 24-bit address sequence  
specify which page of the main memory array to read, and the last 11 bits (BA10 - BA0) of the  
24-bit address sequence specify the starting byte address within the page. To perform a contin-  
uous read with the page size set to 1024 bytes, the opcode, 03H, must be clocked into the  
device followed by three address bytes (A22 - A0). Following the address bytes, additional clock  
pulses on the SCK pin will result in data being output on the SO (serial output) pin.  
7
3542F–DFLASH–09/06  
The CS pin must remain low during the loading of the opcode, the address bytes, and the read-  
ing of data. When the end of a page in the main memory is reached during a Continuous Array  
Read, the device will continue reading at the beginning of the next page with no delays incurred  
during the page boundary crossover (the crossover from the end of one page to the beginning of  
the next page). When the last bit in the main memory array has been read, the device will con-  
tinue reading back at the beginning of the first page of memory. As with crossing over page  
boundaries, no delays will be incurred when wrapping around from the end of the array to the  
beginning of the array. A low-to-high transition on the CS pin will terminate the read operation  
and tri-state the output pin (SO). The Continuous Array Read bypasses both data buffers and  
leaves the contents of the buffers unchanged.  
6.4  
Main Memory Page Read  
A main memory page read allows the user to read data directly from any one of the 8,192 pages  
in the main memory, bypassing both of the data buffers and leaving the contents of the buffers  
unchanged. To start a page read from the standard DataFlash page size (1056 bytes), an  
opcode of D2H must be clocked into the device followed by three address bytes (which comprise  
the 24-bit page and byte address sequence) and a series of don’t care bytes (4 bytes if using the  
serial interface or 19 bytes if using the 8-bit interface). The first 13 bits (PA12 - PA0) of the 24-bit  
address sequence specify the page in main memory to be read, and the last 11 bits (BA10 -  
BA0) of the 24-bit address sequence specify the starting byte address within that page. To start  
a page read from the binary page size (1024 bytes), the opcode D2H must be clocked into the  
device followed by three address bytes and a series of don’t care bytes (4 bytes if using the  
serial interface or 19 bytes if using the 8-bit interface). The first 13 bits (A22 - A10) of the 24-bits  
sequence specify which page of the main memory array to read, and the last 10 bits (A9 - A0) of  
the 24-bits address sequence specify the starting byte address within the page. The don’t care  
bytes that follow the address bytes are sent to initialize the read operation. Following the don’t  
care bytes, additional pulses on SCK/CLK result in data being output on either the SO (serial  
output) pin or the eight output pins (I/O7 - I/O0). The CS pin must remain low during the loading  
of the opcode, the address bytes, the don’t care bytes, and the reading of data. When the end of  
a page in main memory is reached, the device will continue reading back at the beginning of the  
same page. A low-to-high transition on the CS pin will terminate the read operation and tri-state  
the output pins (SO or I/O7 - I/O0). The maximum SCK/CLK frequency allowable for the Main  
Memory Page Read is defined by the fSCK specification. The Main Memory Page Read bypasses  
both data buffers and leaves the contents of the buffers unchanged.  
6.5  
Buffer Read  
The SRAM data buffers can be accessed independently from the main memory array, and utiliz-  
ing the Buffer Read Command allows data to be sequentially read directly from the buffers. In  
serial mode, four opcodes, D4H or D1H for buffer 1 and D6H or D3H for buffer 2 can be used for  
the Buffer Read Command. The use of each opcode depends on the maximum SCK frequency  
that will be used to read data from the buffer. The D4H and D6H opcode can be used at any  
SCK frequency up to the maximum specified by fCAR1. The D1H and D3H opcode can be used  
for lower frequency read operations up to the maximum specified by fCAR2  
.
In 8-bit mode, two opcodes, 54H for buffer 1 and 56H for buffer 2 can be used for the Buffer  
Read Command. The two opcodes, 54H and 56H, can be used at any SCK frequency up to the  
maximum specified by fCAR1. To perform a buffer read from the standard DataFlash buffer (1056  
bytes), the opcode must be clocked into the device followed by three address bytes comprised  
of 13 don’t care bits and 11 buffer address bits (BFA10 - BFA0). To perform a buffer read from  
the binary buffer (1024 bytes), the opcode must be clocked into the device followed by three  
address bytes comprised of 14 don’t care bits and 10 buffer address bits (BFA9 - BFA0).  
8
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
Following the address bytes, additional don’t care bytes (one byte if using the serial interface or  
two bytes if using the 8-bit interface) must be clocked in to initialize the read operation. The CS  
pin must remain low during the loading of the opcode, the address bytes, the don’t care bytes,  
and the reading of data. When the end of a buffer is reached, the device will continue reading  
back at the beginning of the buffer. A low-to-high transition on the CS pin will terminate the read  
operation and tri-state the output pins (SO or I/O7 - I/O0).  
7. Program and Erase Commands  
7.1  
Buffer Write  
Data can be clocked in from the input pins (SI or I/O7 - I/O0) into either buffer 1 or buffer 2. To  
load data into the standard DataFlash buffer (1056 bytes), a 1-byte opcode, 84H for buffer 1 or  
87H for buffer 2, must be clocked into the device, followed by three address bytes comprised of  
13 don’t care bits and 11 buffer address bits (BFA10 - BFA0). The 11 buffer address bits specify  
the first byte in the buffer to be written. To load data into the binary buffers (1024 bytes each), a  
1-byte opcode 84H for buffer 1 or 87H for buffer 2, must be clocked into the device, followed by  
three address bytes comprised of 14 don’t care bits and 10 buffer address bits (BFA9 - BFA0).  
The 10 buffer address bits specify the first byte in the buffer to be written. After the last address  
byte has been clocked into the device, data can then be clocked in on subsequent clock cycles.  
If the end of the data buffer is reached, the device will wrap around back to the beginning of the  
buffer. Data will continue to be loaded into the buffer until a low-to-high transition is detected on  
the CS pin.  
7.2  
Buffer to Main Memory Page Program with Built-in Erase  
Data written into either buffer 1 or buffer 2 can be programmed into the main memory. A 1-byte  
opcode, 83H for buffer 1 or 86H for buffer 2, must be clocked into the device. For the standard  
DataFlash page size (1056 bytes), the opcode must be followed by three address bytes consist  
of 13 page address bits (PA12 - PA0) that specify the page in the main memory to be written and  
11 don’t care bits. To perform a buffer to main memory page program with built-in erase for the  
binary page size (1024 bytes), the opcode 83H for buffer 1 or 86H for buffer 2, must be clocked  
into the device followed by three address bytes consisting of 13 page address bits (A22 - A10)  
that specify the page in the main memory to be written and 10 don’t care bits. When a low-to-  
high transition occurs on the CS pin, the part will first erase the selected page in main memory  
(the erased state is a logic 1) and then program the data stored in the buffer into the specified  
page in main memory. Both the erase and the programming of the page are internally self-timed  
and should take place in a maximum time of tEP. During this time, the status register and the  
RDY/BUSY pin will indicate that the part is busy.  
7.3  
Buffer to Main Memory Page Program without Built-in Erase  
A previously-erased page within main memory can be programmed with the contents of either  
buffer 1 or buffer 2. A 1-byte opcode, 88H for buffer 1 or 89H for buffer 2, must be clocked into  
the device. For the standard DataFlash page size (1056 bytes), the opcode must be followed by  
three address bytes consist of 13 page address bits (PA12 - PA0) that specify the page in the  
main memory to be written and 11 don’t care bits. To perform a buffer to main memory page pro-  
gram without built-in erase for the binary page size (1024 bytes), the opcode 88H for buffer 1 or  
89H for buffer 2, must be clocked into the device followed by three address bytes consist of  
13-page address bits (A22 - A10) that specify the page in the main memory to be written and  
10 don’t care bits. When a low-to-high transition occurs on the CS pin, the part will program the  
data stored in the buffer into the specified page in the main memory. It is necessary that the  
9
3542F–DFLASH–09/06  
page in main memory that is being programmed has been previously erased using one of the  
erase commands (Page Erase or Block Erase). The programming of the page is internally self-  
timed and should take place in a maximum time of tP. During this time, the status register and  
the RDY/BUSY pin will indicate that the part is busy.  
7.4  
Page Erase  
The Page Erase command can be used to individually erase any page in the main memory array  
allowing the Buffer to Main Memory Page Program to be utilized at a later time. To perform a  
page erase in the standard DataFlash page size (1056 bytes), an opcode of 81H must be loaded  
into the device, followed by three address bytes comprised of 13 page address bits (PA12 -  
PA0) that specify the page in the main memory to be erased and 11 don’t care bits. To perform  
a page erase in the binary page size (1024 bytes), the opcode 81H must be loaded into the  
device, followed by three address bytes consist of 13 page address bits (A22 - A10) that specify  
the page in the main memory to be erased and 10 don’t care bits. When a low-to-high transition  
occurs on the CS pin, the part will erase the selected page (the erased state is a logical 1). The  
erase operation is internally self-timed and should take place in a maximum time of tPE. During  
this time, the status register and the RDY/BUSY pin will indicate that the part is busy.  
7.5  
Block Erase  
A block of eight pages can be erased at one time. This command is useful when large amounts  
of data has to be written into the device. This will avoid using multiple Page Erase Commands.  
To perform a block erase for the standard DataFlash page size (1056 bytes), an opcode of 50H  
must be loaded into the device, followed by three address bytes comprised of 10 page address  
bits (PA12 -PA3) and 14 don’t care bits. The 10 page address bits are used to specify which  
block of eight pages is to be erased. To perform a block erase for the binary page size (1024  
bytes), the opcode 50H must be loaded into the device, followed by three address bytes consist-  
ing of 10 page address bits (A22 - A13) and 13 don’t care bits. The 10 page address bits are  
used to specify which block of eight pages is to be erased. When a low-to-high transition occurs  
on the CS pin, the part will erase the selected block of eight pages. The erase operation is inter-  
nally self-timed and should take place in a maximum time of tBE. During this time, the status  
register and the RDY/BUSY pin will indicate that the part is busy.  
Table 7-1.  
Block Erase Addressing  
PA12/  
A22  
PA11/  
A21  
PA10/  
A20  
PA9/  
A19  
PA8/  
A18  
PA7/  
A17  
PA6/  
A16  
PA5/  
A15  
PA4/  
A14  
PA3/  
A13  
PA2/  
A12  
PA1/  
A11  
PA0/  
A10  
Block  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
1
X
X
X
X
X
X
X
X
X
X
X
X
0
1
2
3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
0
1
0
1
X
X
X
X
X
X
X
X
X
X
X
X
1020  
1021  
1022  
1023  
10  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
7.6  
Sector Erase  
The Sector Erase command can be used to individually erase any sector in the main memory.  
There are 32 sectors and only one sector can be erased at one time. To perform sector 0a or  
sector 0b erase for the standard DataFlash page size (1056 bytes), an opcode of 7CH must be  
loaded into the device, followed by three address bytes comprised of 10 page address bits  
(PA12 - PA3) and 14 don’t care bits. To perform a sector 1-31 erase, the opcode 7CH must be  
loaded into the device, followed by three address bytes comprised of 5 page address bits (PA12  
- PA8) and 19 don’t care bits. To perform sector 0a or sector 0b erase for the binary page size  
(1024 bytes), an opcode of 7CH must be loaded into the device, followed by three address bytes  
comprised of 1 don’t care bit and 10 page address bits (A22 - A13) and 13 don’t care bits. To  
perform a sector 1-31 erase, the opcode 7CH must be loaded into the device, followed by three  
address bytes comprised of 1 don’t care bit and 5 page address bits (PA12 - PA8) and 18 don’t  
care bits. The page address bits are used to specify any valid address location within the sector  
which is to be erased. When a low-to-high transition occurs on the CS pin, the part will erase the  
selected sector. The erase operation is internally self-timed and should take place in a maximum  
time of tSE. During this time, the status register and the RDY/BUSY pin will indicate that the part  
is busy.  
Table 7-2.  
Sector Erase Addressing  
PA12/  
A22  
PA11/  
A21  
PA10/  
A20  
PA9/  
A19  
PA8/  
A18  
PA7/  
A17  
PA6/  
A16  
PA5/  
A15  
PA4/  
A14  
PA3/  
A13  
PA2/  
A12  
PA1/  
A11  
PA0/  
A10  
Sector  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
X
X
X
X
X
X
X
X
X
X
X
X
0a  
0b  
1
X
X
X
X
X
X
X
X
X
X
2
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
0
1
0
1
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
28  
29  
30  
31  
7.7  
Chip Erase(1)  
The entire main memory can be erased at one time by using the Chip Erase command.  
To execute the Chip Erase command, a 4-byte command sequence C7H, 94H, 80H and 9AH  
must be clocked into the device. Since the entire memory array is to be erased, no address  
bytes need to be clocked into the device, and any data clocked in after the opcode will be  
ignored. After the last bit of the opcode sequence has been clocked in, the CS pin can be deas-  
serted to start the erase process. The erase operation is internally self-timed and should take  
place in a time of tCE. During this time, the Status Register will indicate that the device is busy.  
The Chip Erase command will not affect sectors that are protected or locked down; the contents  
of those sectors will remain unchanged. Only those sectors that are not protected or locked  
down will be erased.  
11  
3542F–DFLASH–09/06  
The WP pin can be asserted while the device is erasing, but protection will not be activated until  
the internal erase cycle completes.  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Chip Erase  
C7H  
94H  
80H  
9AH  
Figure 7-1. Chip Erase  
CS  
Opcode  
Byte 1  
Opcode  
Byte 2  
Opcode  
Byte 3  
Opcode  
Byte 4  
SI  
Each transition  
represents 8 bits  
Note:  
1. Refer to the errata regarding Chip Erase on page 54.  
7.8  
Main Memory Page Program Through Buffer  
This operation is a combination of the Buffer Write and Buffer to Main Memory Page Program  
with Built-in Erase operations. Data is first clocked into buffer 1 or buffer 2 from the input pins (SI  
or I/O7-I/O0) and then programmed into a specified page in the main memory. To perform the  
main memory page program through buffer for the standard DataFlash page size (1056 bytes), a  
1-byte opcode, 82H for buffer 1 or 85H for buffer 2, must first be clocked into the device, fol-  
lowed by three address bytes. The address bytes are comprised of 13 page address bits,  
(PA12-PA0) that select the page in the main memory where data is to be written, and 11 buffer  
address bits (BFA10-BFA0) that select the first byte in the buffer to be written. To perform a  
main memory page program through buffer for the binary page size (1024 bytes), the opcode  
82H for buffer 1 or 85H for buffer 2, must be clocked into the device followed by three address  
bytes consisting of 13 page address bits (A22 - A10) that specify the page in the main memory  
to be written, and 10 buffer address bits (BFA9 - BFA0) that selects the first byte in the buffer to  
be written. After all address bytes are clocked in, the part will take data from the input pins and  
store it in the specified data buffer. If the end of the buffer is reached, the device will wrap  
around back to the beginning of the buffer. When there is a low-to-high transition on the CS pin,  
the part will first erase the selected page in main memory to all 1s and then program the data  
stored in the buffer into that memory page. Both the erase and the programming of the page are  
internally self-timed and should take place in a maximum time of tEP. During this time, the status  
register and the RDY/BUSY pin will indicate that the part is busy.  
8. Sector Protection  
Two protection methods, hardware and software controlled, are provided for protection against  
inadvertent or erroneous program and erase cycles. The software controlled method relies on  
the use of software commands to enable and disable sector protection while the hardware con-  
trolled method employs the use of the Write Protect (WP) pin. The selection of which sectors  
that are to be protected or unprotected against program and erase operations is specified in the  
nonvolatile Sector Protection Register. The status of whether or not sector protection has been  
enabled or disabled by either the software or the hardware controlled methods can be deter-  
mined by checking the Status Register.  
12  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
8.1  
Software Sector Protection  
8.1.1  
Enable Sector Protection Command  
Sectors specified for protection in the Sector Protection Register can be protected from program  
and erase operations by issuing the Enable Sector Protection command. To enable the sector  
protection using the software controlled method, the CS pin must first be asserted as it would be  
with any other command. Once the CS pin has been asserted, the appropriate 4-byte command  
sequence must be clocked in via the input pins (SI or I/O7-I/O0). After the last bit of the com-  
mand sequence has been clocked in, the CS pin must be deasserted after which the sector  
protection will be enabled.  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Enable Sector Protection  
3DH  
2AH  
7FH  
A9H  
Figure 8-1. Enable Sector Protection  
CS  
Opcode  
Byte 1  
Opcode  
Byte 2  
Opcode  
Byte 3  
Opcode  
Byte 4  
SI or IO7 - IO0  
Each transition  
represents 8 bits  
8.1.2  
Disable Sector Protection Command  
To disable the sector protection using the software controlled method, the CS pin must first be  
asserted as it would be with any other command. Once the CS pin has been asserted, the  
appropriate 4-byte sequence for the Disable Sector Protection command must be clocked in via  
the input pins (SI or I/O7-I/O0). After the last bit of the command sequence has been clocked in,  
the CS pin must be deasserted after which the sector protection will be disabled. The WP pin  
must be in the deasserted state; otherwise, the Disable Sector Protection command will be  
ignored.  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Disable Sector Protection  
3DH  
2AH  
7FH  
9AH  
Figure 8-2. Disable Sector Protection  
CS  
Opcode  
Byte 1  
Opcode  
Byte 2  
Opcode  
Byte 3  
Opcode  
Byte 4  
SI or IO7 - IO0  
Each transition  
represents 8 bits  
13  
3542F–DFLASH–09/06  
8.1.3  
Various Aspects About Software Controlled Protection  
Software controlled protection is useful in applications in which the WP pin is not or cannot be  
controlled by a host processor. In such instances, the WP pin may be left floating (the WP pin is  
internally pulled high) and sector protection can be controlled using the Enable Sector Protection  
and Disable Sector Protection commands.  
If the device is power cycled, then the software controlled protection will be disabled. Once the  
device is powered up, the Enable Sector Protection command should be reissued if sector pro-  
tection is desired and if the WP pin is not used.  
9. Hardware Controlled Protection  
Sectors specified for protection in the Sector Protection Register can be protected from program  
and erase operations by asserting the WP pin and keeping the pin in its asserted state. Any sec-  
tor specified for protection cannot be erased or reprogrammed as long as the WP pin is  
asserted.  
The WP pin will override the software controlled protection method but only for protecting the  
sectors. For example, if the sectors were not previously protected by the Enable Sector Protec-  
tion command, then simply asserting the WP pin would enable the sector protection within the  
maximum specified tWPE time. When the WP pin is deasserted; however, the sector protection  
would no longer be enabled (after the maximum specified tWPD time) as long as the Enable Sec-  
tor Protection command was not issued while the WP pin was asserted. If the Enable Sector  
Protection command was issued before or while the WP pin was asserted, then simply deassert-  
ing the WP pin would not disable the sector protection. In this case, the Disable Sector  
Protection command would need to be issued while the WP pin is deasserted to disable the sec-  
tor protection. The Disable Sector Protection command is also ignored whenever the WP pin is  
asserted.  
A noise filter is incorporated to help protect against spurious noise that may inadvertently assert  
or deassert the WP pin.  
The table below details the sector protection status for various scenarios of the WP pin, the  
Enable Sector Protection command, and the Disable Sector Protection command.  
Figure 9-1. WP Pin and Protection Status  
1
2
3
WP  
Table 9-1.  
WP Pin and Protection Status  
Time  
Period  
Disable Sector Protection  
Command  
Sector Protection  
Status  
WP Pin  
High  
Enable Sector Protection Command  
Command Not Issued Previously  
X
Disabled  
Disabled  
Enabled  
1
2
3
Issue Command  
Issue Command  
Low  
X
X
Enabled  
Command Issued During Period 1 or 2  
Not Issued Yet  
Issue Command  
Enabled  
Disabled  
Enabled  
High  
Issue Command  
14  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
9.1  
Sector Protection Register  
The nonvolatile Sector Protection Register specifies which sectors are to be protected or unpro-  
tected with either the software or hardware controlled protection methods. The Sector Protection  
Register contains 32 bytes of data, of which byte locations 0 through 31 contain values that  
specify whether sectors 0 through 31 will be protected or unprotected. The Sector Protection  
Register is user modifiable and must first be erased before it can be reprogrammed. Table 9-3  
illustrates the format of the Sector Protection Register.:  
Table 9-2.  
Sector Protection Register  
Sector Number  
Protected  
0 (0a, 0b)  
1 to 31  
FFH  
See Table 9-3  
Unprotected  
00H  
Table 9-3.  
Sector 0 (0a, 0b)  
0a  
(Page 0-7)  
Bit 7, 6  
00  
0b  
(Page 8-255)  
Data  
Value  
Bit 5, 4  
00  
Bit 3, 2  
xx  
Bit 1, 0  
xx  
Sectors 0a, 0b Unprotected  
Protect Sector 0a  
0xH  
CxH  
3xH  
11  
00  
xx  
xx  
Protect Sector 0b (Page 8-255)  
00  
11  
xx  
xx  
Protect Sectors 0a (Page 0-7), 0b  
(Page 8-255)(1)  
11  
11  
xx  
xx  
FxH  
Note:  
1. The default value for bytes 0 through 31 when shipped from Atmel is 00H.  
x = don’t care  
9.1.1  
Erase Sector Protection Register Command  
In order to modify and change the values of the Sector Protection Register, it must first be  
erased using the Erase Sector Protection Register command.  
To erase the Sector Protection Register, the CS pin must first be asserted as it would be with  
any other command. Once the CS pin has been asserted, the appropriate 4-byte opcode  
sequence must be clocked into the device via the SI or I/O7 - I/O0 pin. The 4-byte opcode  
sequence must start with 3DH and be followed by 2AH, 7FH, and CFH. After the last bit of the  
opcode sequence has been clocked in, the CS pin must be deasserted to initiate the internally  
self-timed erase cycle. The erasing of the Sector Protection Register should take place in a time  
of tPE, during which time the Status Register will indicate that the device is busy. If the device is  
powered-down before the completion of the erase cycle, then the contents of the Sector Protec-  
tion Register cannot be guaranteed.  
The Sector Protection Register can be erased with the sector protection enabled or disabled.  
Since the erased state (FFH) of each byte in the Sector Protection Register is used to indicate  
that a sector is specified for protection, leaving the sector protection enabled during the erasing  
of the register allows the protection scheme to be more effective in the prevention of accidental  
programming or erasing of the device. If for some reason an erroneous program or erase com-  
mand is sent to the device immediately after erasing the Sector Protection Register and before  
15  
3542F–DFLASH–09/06  
the register can be reprogrammed, then the erroneous program or erase command will not be  
processed because all sectors would be protected.  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Erase Sector Protection Register  
3DH  
2AH  
7FH  
CFH  
Figure 9-2. Erase Sector Protection Register  
CS  
Opcode  
Byte 1  
Opcode  
Byte 2  
Opcode  
Byte 3  
Opcode  
Byte 4  
SI or IO7 - IO0  
Each transition  
represents 8 bits  
9.1.2  
Program Sector Protection Register Command  
Once the Sector Protection Register has been erased, it can be reprogrammed using the Pro-  
gram Sector Protection Register command.  
To program the Sector Protection Register, the CS pin must first be asserted and the appropri-  
ate 4-byte opcode sequence must be clocked into the device via the SI or I/O7 - I/O0 pin. The 4-  
byte opcode sequence must start with 3DH and be followed by 2AH, 7FH, and FCH. After the  
last bit of the opcode sequence has been clocked into the device, the data for the contents of the  
Sector Protection Register must be clocked in. As described in Section 9.1, the Sector Protec-  
tion Register contains 32 bytes of data, so 32 bytes must be clocked into the device. The first  
byte of data corresponds to sector 0, the second byte corresponds to sector 1, and so on with  
the last byte of data corresponding to sector 31.  
After the last data byte has been clocked in, the CS pin must be deasserted to initiate the inter-  
nally self-timed program cycle. The programming of the Sector Protection Register should take  
place in a time of tP, during which time the Status Register will indicate that the device is busy. If  
the device is powered-down during the program cycle, then the contents of the Sector Protection  
Register cannot be guaranteed.  
If the proper number of data bytes is not clocked in before the CS pin is deasserted, then the  
protection status of the sectors corresponding to the bytes not clocked in can not be guaranteed.  
For example, if only the first two bytes are clocked in instead of the complete 32 bytes, then the  
protection status of the last 30 sectors cannot be guaranteed. Furthermore, if more than 32  
bytes of data is clocked into the device, then the data will wrap back around to the beginning of  
the register. For instance, if 33 bytes of data are clocked in, then the 33rd byte will be stored at  
byte location 0 of the Sector Protection Register.  
If a value other than 00H or FFH is clocked into a byte location of the Sector Protection Register,  
then the protection status of the sector corresponding to that byte location cannot be guaran-  
teed. For example, if a value of 17H is clocked into byte location 2 of the Sector Protection  
Register, then the protection status of sector 2 cannot be guaranteed.  
The Sector Protection Register can be reprogrammed while the sector protection enabled or dis-  
abled. Being able to reprogram the Sector Protection Register with the sector protection enabled  
allows the user to temporarily disable the sector protection to an individual sector rather than dis-  
abling sector protection completely.  
16  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
The Program Sector Protection Register command utilizes the internal SRAM buffer for process-  
ing. Therefore, the contents of the buffer will be altered from its previous state when this  
command is issued.  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Program Sector Protection Register  
3DH  
2AH  
7FH  
FCH  
Figure 9-3. Program Sector Protection Register  
CS  
Opcode  
Byte 1  
Opcode  
Byte 2  
Opcode  
Byte 3  
Opcode  
Byte 4  
Data Byte  
Data Byte  
n + 1  
Data Byte  
n + 31  
SI or IO7 - IO0  
n
Each transition  
represents 8 bits  
9.1.3  
Read Sector Protection Register Command  
To read the Sector Protection Register, the CS pin must first be asserted. Once the CS pin has  
been asserted, an opcode of 32H and a series of dummy bytes (3 dummy bytes if using the  
serial interface or 7 dummy bytes if using the 8-bit interface) must be clocked in via the SI or I/O7  
or I/O0 pins. After the last bit of the opcode and dummy bytes have been clocked in, any addi-  
tional clock pulses on the SCK/CLK pins will result in data for the content of the Sector  
Protection Register being output on the SO or I/O7-I/O0 pins. The first byte corresponds to sec-  
tor 0 (0a, 0b), the second byte corresponds to sector 1 and the last byte (byte 32) corresponds to  
sector 31. Once the last byte of the Sector Protection Register has been clocked out, any addi-  
tional clock pulses will result in undefined data being output on the SO or I/O pins. The CS must  
be deasserted to terminate the Read Sector Protection Register operation and put the output  
into a high-impedance state.  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Read Sector Protection Register  
32H  
xxH  
xxH  
xxH  
Note:  
xx = Dummy Byte  
Serial Interface = 3 Dummy Bytes  
8-bit Interface = 7 Dummy Bytes  
Figure 9-4. Read Sector Protection Register  
CS  
Opcode  
X
X
X
SI or IO7 - IO0  
SO or IO7 - IO0  
Data Byte  
n
Data Byte  
n + 1  
Data Byte  
n + 31  
Each transition  
represents 8 bits  
17  
3542F–DFLASH–09/06  
9.1.4  
Various Aspects About the Sector Protection Register  
The Sector Protection Register is subject to a limit of 10,000 erase/program cycles. Users are  
encouraged to carefully evaluate the number of times the Sector Protection Register will be  
modified during the course of the applications’ life cycle. If the application requires that the Sec-  
tor Protection Register be modified more than the specified limit of 10,000 cycles because the  
application needs to temporarily unprotect individual sectors (sector protection remains enabled  
while the Sector Protection Register is reprogrammed), then the application will need to limit this  
practice. Instead, a combination of temporarily unprotecting individual sectors along with dis-  
abling sector protection completely will need to be implemented by the application to ensure that  
the limit of 10,000 cycles is not exceeded.  
10. Security Features  
10.1 Sector Lockdown  
The device incorporates a Sector Lockdown mechanism that allows each individual sector to be  
permanently locked so that it becomes read only. This is useful for applications that require the  
ability to permanently protect a number of sectors against malicious attempts at altering program  
code or security information. Once a sector is locked down, it can never be erased or pro-  
grammed, and it can never be unlocked.  
To issue the Sector Lockdown command, the CS pin must first be asserted as it would be for  
any other command. Once the CS pin has been asserted, the appropriate 4-byte opcode  
sequence must be clocked into the device in the correct order. The 4-byte opcode sequence  
must start with 3DH and be followed by 2AH, 7FH, and 30H. After the last byte of the command  
sequence has been clocked in, then three address bytes specifying any address within the sec-  
tor to be locked down must be clocked into the device. After the last address bit has been  
clocked in, the CS pin must then be deasserted to initiate the internally self-timed lockdown  
sequence.  
The lockdown sequence should take place in a maximum time of tP, during which time the Status  
Register will indicate that the device is busy. If the device is powered-down before the comple-  
tion of the lockdown sequence, then the lockdown status of the sector cannot be guaranteed. In  
this case, it is recommended that the user read the Sector Lockdown Register to determine the  
status of the appropriate sector lockdown bits or bytes and reissue the Sector Lockdown com-  
mand if necessary.  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Sector Lockdown  
3DH  
2AH  
7FH  
30H  
Figure 10-1. Sector Lockdown  
CS  
Address  
Bytes  
Opcode  
Byte 1  
Opcode  
Byte 2  
Opcode  
Byte 3  
Opcode  
Byte 4  
Address  
Bytes  
Address  
Bytes  
SI or IO7 - IO0  
Each transition  
represents 8 bits  
18  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
10.1.1  
Sector Lockdown Register  
Sector Lockdown Register is a nonvolatile register that contains 32 bytes of data, as shown  
below:  
Sector Number  
Locked  
0 (0a, 0b)  
1 to 31  
FFH  
See Below  
Unlocked  
00H  
Table 10-1. Sector 0 (0a, 0b)  
0a  
(Page 0-7)  
Bit 7, 6  
00  
0b  
(Page 8-255)  
Data  
Value  
Bit 5, 4  
00  
Bit 3, 2  
00  
Bit 1, 0  
00  
Sectors 0a, 0b Unlocked  
00H  
C0H  
30H  
F0H  
Sector 0a Locked  
11  
00  
00  
00  
Sector 0b Locked (Page 8-255)  
Sectors 0a, 0b Locked (Page 0-255)  
00  
11  
00  
00  
11  
11  
00  
00  
10.1.2  
Reading the Sector Lockdown Register  
The Sector Lockdown Register can be read to determine which sectors in the memory array are  
permanently locked down. To read the Sector Lockdown Register, the CS pin must first be  
asserted. Once the CS pin has been asserted, an opcode of 35H and a series of dummy bytes  
(3 dummy bytes if using the serial interface or 7 dummy bytes if using the 8-bit interface) must  
be clocked into the device via the SI or I/O7-O0 pins. After the last bit of the opcode and dummy  
bytes have been clocked in, the data for the contents of the Sector Lockdown Register will be  
clocked out on the SO pin or the I/O7-O0 pins. The first byte corresponds to sector 0 (0a, 0b) the  
second byte corresponds to sector 1 and the las byte (byte 32) corresponds to sector 31. After  
the last byte of the Sector Lockdown Register has been read, additional pulses on the SCK pin  
will simply result in undefined data being output on the SO pin.  
Deasserting the CS pin will terminate the Read Sector Lockdown Register operation and put the  
SO pin or I/O7-O0 pins into a high-impedance state.  
Table 10-2 details the values read from the Sector Lockdown Register.  
Table 10-2. Sector Lockdown Register  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Read Sector Lockdown Register  
35H  
xxH  
xxH  
xxH  
Note:  
xx = Dummy Byte  
Serial Interface = 3 Dummy Bytes  
8-bit Interface = 7 Dummy Bytes  
Figure 10-2. Read Sector Lockdown Register  
CS  
Opcode  
X
X
X
SI or IO7 - IO0  
SO or IO7 - IO0  
Data Byte  
n
Data Byte  
n + 1  
Data Byte  
n + 31  
Each transition  
represents 8 bits  
19  
3542F–DFLASH–09/06  
10.2 Security Register  
The device contains a specialized Security Register that can be used for purposes such as  
unique device serialization or locked key storage. The register is comprised of a total of 128  
bytes that is divided into two portions. The first 64 bytes (byte locations 0 through 63) of the  
Security Register are allocated as a one-time user programmable space. Once these 64 bytes  
have been programmed, they cannot be reprogrammed. The remaining 64 bytes of the register  
(byte locations 64 through 127) are factory programmed by Atmel and will contain a unique  
value for each device. The factory programmed data is fixed and cannot be changed.  
Table 10-3. Security Register  
Security Register Byte Number  
0
1
• • •  
62  
63  
64  
65  
• • •  
126  
127  
Data Type  
One-time User Programmable  
Factory Programmed By Atmel  
10.2.1  
Programming the Security Register  
The user programmable portion of the Security Register does not need to be erased before it is  
programmed.  
To program the Security Register, the CS pin must first be asserted and the appropriate 4-byte  
opcode sequence must be clocked into the device in the correct order. The 4-byte opcode  
sequence must start with 9BH and be followed by 00H, 00H, and 00H. After the last bit of the  
opcode sequence has been clocked into the device, the data for the contents of the 64-byte user  
programmable portion of the Security Register must be clocked in.  
After the last data byte has been clocked in, the CS pin must be deasserted to initiate the inter-  
nally self-timed program cycle. The programming of the Security Register should take place in a  
time of tP, during which time the Status Register will indicate that the device is busy. If the device  
is powered-down during the program cycle, then the contents of the 64-byte user programmable  
portion of the Security Register cannot be guaranteed.  
If the full 64 bytes of data is not clocked in before the CS pin is deasserted, then the values of  
the byte locations not clocked in cannot be guaranteed. For example, if only the first two bytes  
are clocked in instead of the complete 64 bytes, then the remaining 62 bytes of the user pro-  
grammable portion of the Security Register cannot be guaranteed. Furthermore, if more than 64  
bytes of data is clocked into the device, then the data will wrap back around to the beginning of  
the register. For instance, if 65 bytes of data are clocked in, then the 65th byte will be stored at  
byte location 0 of the Security Register.  
The user programmable portion of the Security Register can only be programmed one  
time. Therefore, it is not possible to only program the first two bytes of the register and then pro-  
gram the remaining 62 bytes at a later time.  
The Program Security Register command utilizes the internal SRAM buffer for processing.  
Therefore, the contents of the buffer will be altered from its previous state when this command is  
issued.  
20  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
Figure 10-3. Program Security Register  
CS  
Opcode  
Byte 1  
Opcode  
Byte 2  
Opcode  
Byte 3  
Opcode  
Byte 4  
Data Byte  
n
Data Byte  
n + 1  
Data Byte  
n + x  
SI or IO7 - IO0  
Each transition  
represents 8 bits  
10.2.2  
Reading the Security Register  
The Security Register can be read by first asserting the CS pin and then clocking in an opcode  
of 77H followed by three dummy bytes if using the serial interface and seven dummy bytes if  
using the 8-bit interface. After the last don't care bit has been clocked in, the content of the  
Security Register can be clocked out on the SO or I/O7 - I/O0 pins. After the last byte of the  
Security Register has been read, additional pulses on the SCK/CLK pin will simply result in  
undefined data being output on the SO or I/O7 - I/O0 pins.  
Deasserting the CS pin will terminate the Read Security Register operation and put the SO or  
I/O7 - I/O0 pins into a high-impedance state.  
Figure 10-4. Read Security Register  
CS  
SI or IO7 - IO0  
SO or IO7 - IO0  
Opcode  
X
X
X
Data Byte  
n
Data Byte  
n + 1  
Data Byte  
n + x  
Each transition  
represents 8 bits  
21  
3542F–DFLASH–09/06  
11. Additional Commands  
11.1 Main Memory Page to Buffer Transfer  
A page of data can be transferred from the main memory to either buffer 1 or buffer 2. To start  
the operation for the standard DataFlash page size (1056 bytes), a 1-byte opcode, 53H for  
buffer 1 and 55H for buffer 2, must be clocked into the device, followed by three address bytes  
comprised of 13 page address bits (PA12 - PA0), which specify the page in main memory that is  
to be transferred, and 11 don’t care bits. To perform a main memory page to buffer transfer for  
the binary page size (1024 bytes), the opcode 53H for buffer 1 or 55H for buffer 2, must be  
clocked into the device followed by three address bytes consisting of 13 page address bits (A22  
- A10) which specify the page in the main memory that is to be transferred, and 10 don’t care  
bits. The CS pin must be low while toggling the SCK/CLK pin to load the opcode and the  
address bytes from the input pins (SI or I/O7 - I/O0). The transfer of the page of data from the  
main memory to the buffer will begin when the CS pin transitions from a low to a high state. Dur-  
ing the transfer of a page of data (tXFR), the status register can be read or the RDY/BUSY can be  
monitored to determine whether the transfer has been completed.  
11.2 Main Memory Page to Buffer Compare  
A page of data in main memory can be compared to the data in buffer 1 or buffer 2. To initiate  
the operation for standard DataFlash page size, a 1-byte opcode, 60H for buffer 1 and 61H for  
buffer 2, must be clocked into the device, followed by three address bytes consisting of 13 page  
address bits (PA12 - PA0) that specify the page in the main memory that is to be compared to  
the buffer, and 11 don’t care bits. To start a main memory page to buffer compare for a binary  
page size, the opcode 60H for buffer 1 or 61H for buffer 2, must be clocked into the device fol-  
lowed by three address bytes consisting of 13 page address bits (A22 - A10) that specify the  
page in the main memory that is to be compared to the buffer, and 10 don’t care bits. The CS pin  
must be low while toggling the SCK/CLK pin to load the opcode and the address bytes from the  
input pins (SI or I/O7 - I/O0). On the low-to-high transition of the CS pin, the data bytes in the  
selected main memory page will be compared with the data bytes in buffer 1 or buffer 2. During  
this time (tCOMP), the status register and the RDY/BUSY pin will indicate that the part is busy. On  
completion of the compare operation, bit 6 of the status register is updated with the result of the  
compare.  
11.3 Auto Page Rewrite  
This mode is only needed if multiple bytes within a page or multiple pages of data are modified in  
a random fashion within a sector. This mode is a combination of two operations: Main Memory  
Page to Buffer Transfer and Buffer to Main Memory Page Program with Built-in Erase. A page of  
data is first transferred from the main memory to buffer 1 or buffer 2, and then the same data  
(from buffer 1 or buffer 2) is programmed back into its original page of main memory. To start the  
rewrite operation for standard DataFlash page size (1056 bytes), a 1-byte opcode, 58H for buffer  
1 or 59H for buffer 2, must be clocked into the device, followed by three address bytes com-  
prised of 13 page address bits (PA12-PA0) that specify the page in main memory to be rewritten  
and 11 don’t care bits. To initiate an auto page rewrite for a binary page size (1024 bytes), the  
opcode 58H for buffer 1 or 59H for buffer 2, must be clocked into the device followed by three  
address bytes consisting of 13 page address bits (A22 - A10) that specify the page in the main  
memory that is to be written and 10 don’t care bits. When a low-to-high transition occurs on the  
CS pin, the part will first transfer data from the page in main memory to a buffer and then pro-  
gram the data from the buffer back into same page of main memory. The operation is internally  
self-timed and should take place in a maximum time of tEP. During this time, the status register  
and the RDY/BUSY pin will indicate that the part is busy.  
22  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
If a sector is programmed or reprogrammed sequentially page by page, then the programming  
algorithm shown in Figure 26-1 (page 48) is recommended. Otherwise, if multiple bytes in a  
page or several pages are programmed randomly in a sector, then the programming algorithm  
shown in Figure 26-2 (page 49) is recommended. Each page within a sector must be  
updated/rewritten at least once within every 10,000 cumulative page erase/program operations  
in that sector.  
11.4 Status Register Read  
The status register can be used to determine the device’s ready/busy status, page size, a Main  
Memory Page to Buffer Compare operation result, the Sector Protection status or the device  
density. To read the status register, an opcode of D7H must be loaded into the device. After the  
opcode is clocked in, the 1-byte status register will be clocked out on the output pins (SO or  
I/O7 - I/O0), starting with the next clock cycle. In case of applications with 8-bit interface, opcode  
D7H and two dummy clock cycles should be used. When using the serial interface, the data in  
the status register, starting with the MSB (bit 7), will be clocked out on the SO pin during the next  
eight clock cycles. After the one byte of the status register has been clocked out, the sequence  
will repeat itself (as long as CS remains low and SCK/CLK is being toggled). The data in the sta-  
tus register is constantly updated, so each repeating sequence will output new data.  
Ready/busy status is indicated using bit 7 of the status register. If bit 7 is a 1, then the device is  
not busy and is ready to accept the next command. If bit 7 is a 0, then the device is in a busy  
state. Since the data in the status register is constantly updated, the user must toggle SCK/CLK  
pin to check the ready/busy status. There are several operations that can cause the device to be  
in a busy state: Main Memory Page to Buffer Transfer, Main Memory Page to Buffer Compare,  
Buffer to Main Memory Page Program, Main Memory Page Program through Buffer, Page  
Erase, Block Erase, Sector Erase, Chip Erase and Auto Page Rewrite.  
The result of the most recent Main Memory Page to Buffer Compare operation is indicated using  
bit 6 of the status register. If bit 6 is a 0, then the data in the main memory page matches the  
data in the buffer. If bit 6 is a 1, then at least one bit of the data in the main memory page does  
not match the data in the buffer.  
Bit 1 in the Status Register is used to provide information to the user whether or not the sector  
protection has been enabled or disabled, either by software-controlled method or hardware-con-  
trolled method. A logic 1 indicates that sector protection has been enabled and logic 0 indicates  
that sector protection has been disabled.  
Bit 0 in the Status Register indicates whether the page size of the main memory array is config-  
ured for “power of 2” binary page size (1024 bytes) or standard DataFlash page size  
(1056 bytes). If bit 0 is a 1, then the page size is set to 1024 bytes. If bit 0 is a 0, then the page  
size is set to 1056 bytes.  
The device density is indicated using bits 5, 4, 3, and 2 of the status register. For the  
AT45DB642D, the four bits are 1111 The decimal value of these four binary bits does not equate  
to the device density; the four bits represent a combinational code relating to differing densities  
of DataFlash devices. The device density is not the same as the density code indicated in the  
JEDEC device ID information. The device density is provided only for backward compatibility.  
Table 11-1. Status Register Format  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
RDY/BUSY  
COMP  
1
1
1
1
PROTECT  
PAGE SIZE  
23  
3542F–DFLASH–09/06  
12. Deep Power-down  
After initial power-up, the device will default in standby mode. The Deep Power-down command  
allows the device to enter into the lowest power consumption mode. To enter the Deep Power-  
down mode, the CS pin must first be asserted. Once the CS pin has been asserted, an opcode  
of B9H command must be clocked in via input pins (SI or IO7-IO0). After the last bit of the com-  
mand has been clocked in, the CS pin must be de-asserted to initiate the Deep Power-down  
operation. After the CS pin is de-asserted, the will device enter the Deep Power-down mode  
within the maximum tEDPD time. Once the device has entered the Deep Power-down mode, all  
instructions are ignored except for the Resume from Deep Power-down command.  
Command  
Serial/8-bit  
Opcode  
Deep Power-down  
Both  
B9H  
Figure 12-1. Deep Power-down  
CS  
SI or IO7 - IO0  
Opcode  
Each transition  
represents 8 bits  
12.1 Resume from Deep Power-down  
The Resume from Deep Power-down command takes the device out of the Deep Power-down  
mode and returns it to the normal standby mode. To Resume from Deep Power-down mode, the  
CS pin must first be asserted and an opcode of ABH command must be clocked in via input pins  
(SI or IO7-IO0). After the last bit of the command has been clocked in, the CS pin must be de-  
asserted to terminate the Deep Power-down mode. After the CS pin is de-asserted, the device  
will return to the normal standby mode within the maximum tRDPD time. The CS pin must remain  
high during the tRDPD time before the device can receive any commands. After resuming form  
Deep Power-down, the device will return to the normal standby mode.  
Command  
Serial/8-bit  
Opcode  
Resume from Deep Power-down  
Both  
ABH  
Figure 12-2. Resume from Deep Power-Down  
CS  
Opcode  
SI or IO7 - IO0  
Each transition  
represents 8 bits  
24  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
13. “Power of 2” Binary Page Size Option  
“Power of 2” binary page size Configuration Register is a user-programmable nonvolatile regis-  
ter that allows the page size of the main memory to be configured for binary page size  
(1024 bytes) or standard DataFlash page size (1056 bytes). The “power of 2” page size is a  
One-time Programmable (OTP) register and once the device is configured for “power of  
2” page size, it cannot be reconfigured again. The devices are initially shipped with the page  
size set to 1056 bytes.  
13.1 Programming the Configuration Register  
To program the Configuration Register for “power of 2” binary page size, the CS pin must first be  
asserted as it would be with any other command. Once the CS pin has been asserted, the  
appropriate 4-byte opcode sequence must be clocked into the device in the correct order. The 4-  
byte opcode sequence must start with 3DH and be followed by 2AH, 80H, and A6H. After the  
last bit of the opcode sequence has been clocked in, the CS pin must be deasserted to initiate  
the internally self-timed program cycle. The programming of the Configuration Register should  
take place in a time of tP, during which time the Status Register will indicate that the device is  
busy. The device must be power-cycled after the completion of the program cycle to set the  
“power of 2” page size. If the device is powered-down before the completion of the program  
cycle, then setting the Configuration Register cannot be guaranteed. However, the user should  
check bit 0 of the status register to see whether the page size was configured for binary page  
size. If not, the command can be re-issued again.  
Command  
Byte 1  
Byte 2  
Byte 3  
Byte 4  
Power of Two Page Size  
3DH  
2AH  
80H  
A6H  
Figure 13-1. Erase Sector Protection Register  
CS  
Opcode  
Byte 1  
Opcode  
Byte 2  
Opcode  
Byte 3  
Opcode  
Byte 4  
SI or IO7 - IO0  
Each transition  
represents 8 bits  
14. Manufacturer and Device ID Read  
Identification information can be read from the device to enable systems to electronically query  
and identify the device while it is in system. The identification method and the command opcode  
comply with the JEDEC standard for “Manufacturer and Device ID Read Methodology for SPI  
Compatible Serial Interface Memory Devices”. The type of information that can be read from the  
device includes the JEDEC defined Manufacturer ID, the vendor specific Device ID, and the ven-  
dor specific Extended Device Information.  
To read the identification information, the CS pin must first be asserted and the opcode of 9FH  
must be clocked into the device. After the opcode has been clocked in, the device will begin out-  
putting the identification data on the SO pin during the subsequent clock cycles. The first byte  
that will be output will be the Manufacturer ID followed by two bytes of Device ID information.  
The fourth byte output will be the Extended Device Information String Length, which will be 00H  
indicating that no Extended Device Information follows. As indicated in the JEDEC standard,  
reading the Extended Device Information String Length and any subsequent data is optional.  
25  
3542F–DFLASH–09/06  
Deasserting the CS pin will terminate the Manufacturer and Device ID Read operation and put  
the SO pin into a high-impedance state. The CS pin can be deasserted at any time and does not  
require that a full byte of data be read.  
14.1 Manufacturer and Device ID Information  
14.1.1  
Byte 1 – Manufacturer ID  
JEDEC Assigned Code  
Hex  
Value  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
1FH  
0
0
0
1
1
1
1
1
Manufacturer ID  
1FH = Atmel  
14.1.2  
Byte 2 – Device ID (Part 1)  
Family Code  
Density Code  
Hex  
Family Code  
Density Code  
001 = DataFlash  
01000 = 64-Mbit  
Value  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
28H  
0
0
1
0
1
0
0
0
14.1.3  
Byte 3 – Device ID (Part 2)  
MLC Code  
Product Version Code  
Hex  
SLC Code  
000 = 1-bit/Cell Technology  
00000 = Initial Version  
Value  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
00H  
0
0
0
0
0
0
0
0
Product Version  
14.1.4  
Byte 4 – Extended Device Information String Length  
Byte Count  
Hex  
Value  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
00H  
0
0
0
0
0
0
0
0
Byte Count  
00H = 0 Bytes of Information  
CS  
9FH  
Opcode  
SI  
1FH  
28H  
00H  
00H  
Data  
Data  
SO  
Manufacturer ID  
Device ID  
Byte 1  
Device ID  
Byte 2  
Extended  
Device  
Extended  
Device  
Extended  
Device  
Byte n  
Information  
String Length  
Information  
Byte x  
Information  
Byte x + 1  
Each transition  
represents 8 bits  
This information would only be output  
if the Extended Device Information String Length  
value was something other than 00H.  
Note:  
Based on JEDEC publication 106 (JEP106), Manufacturer ID data can be comprised of any number of bytes. Some manufacturers may have  
Manufacturer ID codes that are two, three or even four bytes long with the first byte(s) in the sequence being 7FH. A system should detect code  
7FH as a “Continuation Code” and continue to read Manufacturer ID bytes. The first non-7FH byte would signify the last byte of Manufacturer ID  
data. For Atmel (and some other manufacturers), the Manufacturer ID data is comprised of only one byte.  
26  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
14.2 Operation Mode Summary  
The commands described previously can be grouped into four different categories to better  
describe which commands can be executed at what times.  
Group A commands consist of:  
1. Main Memory Page Read  
2. Continuous Array Read  
3. Read Sector Protection Register  
4. Read Sector Lockdown Register  
5. Read Security Register  
Group B commands consist of:  
1. Page Erase  
2. Block Erase  
3. Sector Erase  
4. Chip Erase  
5. Main Memory Page to Buffer 1 (or 2) Transfer  
6. Main Memory Page to Buffer 1 (or 2) Compare  
7. Buffer 1 (or 2) to Main Memory Page Program with Built-in Erase  
8. Buffer 1 (or 2) to Main Memory Page Program without Built-in Erase  
9. Main Memory Page Program through Buffer 1 (or 2)  
10. Auto Page Rewrite  
Group C commands consist of:  
1. Buffer 1 (or 2) Read  
2. Buffer 1 (or 2) Write  
3. Status Register Read  
4. Manufacturer and Device ID Read  
Group D commands consist of:  
1. Erase Sector Protection Register  
2. Program Sector Protection Register  
3. Sector Lockdown  
4. Program Security Register  
If a Group A command is in progress (not fully completed), then another command in Group A,  
B, C, or D should not be started. However, during the internally self-timed portion of Group B  
commands, any command in Group C can be executed. The Group B commands using buffer 1  
should use Group C commands using buffer 2 and vice versa. Finally, during the internally self-  
timed portion of a Group D command, only the Status Register Read command should be  
executed.  
27  
3542F–DFLASH–09/06  
15. Command Tables  
Table 15-1. Read Commands  
Command  
Serial/8-bit  
Both  
Opcode  
D2H  
E8H  
03H  
Main Memory Page Read  
Continuous Array Read (Legacy Command)  
Continuous Array Read (Low Frequency)  
Continuous Array Read  
Buffer 1 Read (Low Frequency)  
Buffer 2 Read (Low Frequency)  
Buffer 1 Read  
Both  
Serial  
Serial  
Serial  
Serial  
Serial  
Serial  
8-bit  
0BH  
D1H  
D3H  
D4H  
D6H  
54H  
Buffer 2 Read  
Buffer 1 Read  
Buffer 2 Read  
8-bit  
56H  
Table 15-2. Program and Erase Commands  
Command  
Serial/8-bit  
Both  
Opcode  
Buffer 1 Write  
84H  
Buffer 2 Write  
Both  
87H  
Buffer 1 to Main Memory Page Program with Built-in Erase  
Buffer 2 to Main Memory Page Program with Built-in Erase  
Buffer 1 to Main Memory Page Program without Built-in Erase  
Buffer 2 to Main Memory Page Program without Built-in Erase  
Page Erase  
Both  
83H  
Both  
86H  
Both  
88H  
Both  
89H  
Both  
81H  
Block Erase  
Both  
50H  
Sector Erase  
Both  
7CH  
Chip Erase  
Both  
C7H, 94H, 80H, 9AH  
Main Memory Page Program Through Buffer 1  
Main Memory Page Program Through Buffer 2  
Both  
82H  
85H  
Both  
28  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
Table 15-3. Protection and Security Commands  
Command  
Serial/8-Bit  
Both  
Opcode  
3DH + 2AH + 7FH + A9H  
3DH + 2AH + 7FH + 9AH  
3DH + 2AH + 7FH + CFH  
3DH + 2AH + 7FH + FCH  
32H  
Enable Sector Protection  
Disable Sector Protection  
Both  
Erase Sector Protection Register  
Program Sector Protection Register  
Read Sector Protection Register  
Sector Lockdown  
Both  
Both  
Both  
Both  
Both  
Both  
3DH + 2AH + 7FH + 30H  
35H  
Read Sector Lockdown Register  
Program Security Register  
Read Security Register  
9BH + 00H + 00H + 00H  
77H  
Table 15-4. Additional Commands  
Command  
Serial/8-bit  
Both  
Opcode  
53H  
Main Memory Page to Buffer 1 Transfer  
Main Memory Page to Buffer 2 Transfer  
Main Memory Page to Buffer 1 Compare  
Main Memory Page to Buffer 2 Compare  
Auto Page Rewrite through Buffer 1  
Auto Page Rewrite through Buffer 2  
Deep Power-down  
Both  
55H  
Both  
60H  
Both  
61H  
Both  
58H  
Both  
59H  
Both  
B9H  
ABH  
D7H  
9FH  
Resume from Deep Power-down  
Status Register Read  
Both  
Both  
Manufacturer and Device ID Read  
Serial  
29  
3542F–DFLASH–09/06  
Table 15-5. Detailed Bit-level Addressing Sequence for Binary Page Size (1024 Bytes)  
Page Size = 1024 bytes  
Address Byte  
Address Byte  
Address Byte  
Additional  
Don’t Care  
Bytes*  
Opcode  
03h  
0Bh  
50h  
53h  
54h  
55h  
56h  
58h  
59h  
60h  
61h  
77h  
7Ch  
81h  
82h  
83h  
84h  
85h  
86h  
87h  
88h  
89h  
9Fh  
B9h  
ABh  
D1h  
D2h  
D3h  
D4h  
D6h  
D7h  
E8h  
Opcode  
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
0
1
1
1
1
1
1
1
0
0
1
1
0
0
0
0
0
0
0
0
0
1
1
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
1
1
1
0
0
0
0
1
1
0
0
0
1
1
1
1
0
0
1
0
0
0
0
0
1
1
1
0
1
1
0
1
0
0
1
0
0
0
0
1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
1
0
1
1
0
1
1
0
1
0
1
0
0
1
0
1
1
0
1
0
1
0
1
0
1
0
1
1
1
1
1
0
1
0
0
1
0
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
A
A
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
N/A  
1
N/A  
N/A  
2*  
A
A
A
x
A
x
A
x
x
x
x
x
x
x
x
x
x
x
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
N/A  
2*  
A
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
N/A  
N/A  
N/A  
N/A  
0 or 4*  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
4 or 19*  
N/A  
1
A
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
x
x
x
x
x
x
x
x
x
x
A
x
x
x
x
x
x
x
x
x
x
A
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
A
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
A
A
A
A
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
A
A
A
A
x
A
A
A
x
A
A
A
x
A
A
A
x
A
A
A
x
A
A
A
x
A
A
A
x
A
A
A
x
x
X
A
X
A
A
x
x
x
x
x
x
x
x
x
A
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
x
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
x
x
x
x
x
x
x
x
x
x
N/A  
N/A  
N/A  
x
N/A  
N/A  
N/A  
x
N/A  
N/A  
N/A  
x
x
x
x
x
x
A
x
x
x
x
A
x
x
x
x
A
x
x
x
x
A
x
x
x
x
A
x
x
x
x
A
x
x
x
x
x
A
x
x
x
x
A
x
x
x
x
A
x
x
x
x
A
x
x
x
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
x
x
x
A
x
x
x
A
A
A
A
x
x
x
1
2*  
N/A  
A
N/A  
N/A  
4 or 19*  
x
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
Notes: x = Don’t Care  
A = Address Bit  
*The number with (*) is for 8-bit interface.  
30  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
Table 15-6. Detailed Bit-level Addressing Sequence for Standard DataFlash Page Size (1056 Bytes)  
Page Size = 1056 bytes  
Address Byte  
Address Byte  
Address Byte  
Additional  
Don’t Care  
Bytes*  
Opcode  
03h  
0Bh  
50h  
53h  
54h  
55h  
56h  
58h  
59h  
60h  
61h  
77h  
7Ch  
81h  
82h  
83h  
84h  
85h  
86h  
87h  
88h  
89h  
9Fh  
B9h  
ABh  
D1h  
D2h  
D3h  
D4h  
D6h  
D7h  
E8h  
Opcode  
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
0
1
1
1
1
1
1
1
0
0
1
1
0
0
0
0
0
0
0
0
0
1
1
0
1
1
1
1
1
1
0
0
1
0
0
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
1
1
1
0
0
0
0
1
1
0
0
0
1
1
1
1
0
0
1
0
0
0
0
0
1
1
1
0
1
1
0
1
0
0
1
0
0
0
0
1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
0
1
1
0
1
1
0
1
0
1
0
0
1
0
1
1
0
1
0
1
0
1
0
1
0
1
1
1
1
1
0
1
0
0
1
0
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
x
P
P
x
P
P
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
N/A  
1
N/A  
N/A  
2*  
P
x
P
x
P
x
x
x
x
x
x
x
x
x
x
x
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
N/A  
2*  
P
x
P
x
P
x
P
x
P
x
P
x
P
x
P
x
P
x
P
x
P
x
P
x
P
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
N/A  
N/A  
N/A  
N/A  
0 or 4*  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
N/A  
4 or 19*  
N/A  
1
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
P
P
P
P
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
P
P
P
x
P
P
P
x
P
P
P
x
P
P
P
x
P
P
P
x
P
P
P
x
P
P
P
x
P
P
P
x
x
x
x
x
x
x
x
x
x
x
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
B
B
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
P
P
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
B
x
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
P
x
x
x
x
x
x
x
x
x
x
x
N/A  
N/A  
N/A  
x
N/A  
N/A  
N/A  
x
N/A  
N/A  
N/A  
x
x
P
x
x
x
x
P
x
x
x
x
P
x
x
x
x
P
x
x
x
x
P
x
x
x
x
P
x
x
x
x
x
P
x
x
x
x
P
x
x
x
x
P
x
x
x
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
P
x
x
x
P
x
x
x
P
x
x
x
P
x
x
x
B
B
B
B
1
2*  
N/A  
N/A  
N/A  
4 or 19*  
P
P
P
P
P
P
P
P
P
P
P
P
P
B
B
B
B
B
B
B
B
B
B
B
P = Page Address Bit B = Byte/Buffer Address Bitx = Don’t Care  
*The number with (*) is for 8-bit interface.  
31  
3542F–DFLASH–09/06  
16. Power-on/Reset State  
When power is first applied to the device, or when recovering from a reset condition, the device  
will default to Mode 3. In addition, the output pins (SO or I/O7 - I/O0) will be in a high impedance  
state, and a high-to-low transition on the CS pin will be required to start a valid instruction. The  
mode (Mode 3 or Mode 0) will be automatically selected on every falling edge of CS by sampling  
the inactive clock state.  
16.1 Initial Power-up/Reset Timing Restrictions  
At power up, the device must not be selected until the supply voltage reaches the VCC (min.) and  
further delay of tVCSL. During power-up, the internal Power-on Reset circuitry keeps the device in  
reset mode until the VCC rises above the Power-on Reset threshold value (VPOR). At this time, all  
operations are disabled and the device does not respond to any commands. After power up is  
applied and the VCC is at the minimum operating voltage VCC (min.), the tVCSL delay is required  
before the device can be selected in order to perform a read operation.  
Similarly, the tPUW delay is required after the VCC rises above the Power-on Reset threshold  
value (VPOR) before the device can perform a write (Program or Erase) operation. After initial  
power-up, the device will default in Standby mode.  
Symbol  
Parameter  
Min  
Typ  
Max  
Units  
tVCSL  
VCC (min.) to Chip Select low  
50  
µs  
Power-Up Device Delay before Write  
allowed  
tPUW  
20  
ms  
V
VPOR  
Power-ON Reset Voltage  
1.5  
2.5  
17. System Considerations  
The RapidS serial interface is controlled by the clock SCK, serial input SI and chip select CS  
pins. The sequential 8-bit Rapid8 is controlled by the clock CLK, 8 I/Os and chip select CS pins.  
These signals must rise and fall monotonically and be free from noise. Excessive noise or ring-  
ing on these pins can be misinterpreted as multiple edges and cause improper operation of the  
device. The PC board traces must be kept to a minimum distance or appropriately terminated to  
ensure proper operation. If necessary, decoupling capacitors can be added on these pins to pro-  
vide filtering against noise glitches.  
As system complexity continues to increase, voltage regulation is becoming more important. A  
key element of any voltage regulation scheme is its current sourcing capability. Like all Flash  
memories, the peak current for DataFlash occur during the programming and erase operation.  
The regulator needs to supply this peak current requirement. An under specified regulator can  
cause current starvation. Besides increasing system noise, current starvation during program-  
ming or erase can lead to improper operation and possible data corruption.  
The device uses an adaptive algorithm during program and erase operations. In order to opti-  
mize the erase and program time, use the RDY/BUSY bit of the status register or the  
RDY/BUSY pin to determine whether the program or erase operation was completed. Fixed tim-  
ing is not recommended.  
32  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
18. Electrical Specifications  
Table 18-1. Absolute Maximum Ratings*  
*NOTICE:  
Stresses beyond those listed under “Absolute  
Maximum Ratings” may cause permanent dam-  
age to the device. This is a stress rating only and  
functional operation of the device at these or any  
other conditions beyond those indicated in the  
operational sections of this specification is not  
implied. Exposure to absolute maximum rating  
conditions for extended periods may affect device  
reliability.  
Temperature under Bias ................................ -55°C to +125°C  
Storage Temperature..................................... -65°C to +150°C  
All Input Voltages (including NC Pins)  
with Respect to Ground...................................-0.6V to +6.25V  
All Output Voltages  
with Respect to Ground.............................-0.6V to VCC + 0.6V  
Table 18-2. DC and AC Operating Range  
AT45DB642D  
-40°C to 85°C  
2.7V to 3.6V  
Operating Temperature (Case)  
VCC Power Supply  
Ind.  
Table 18-3. DC Characteristics  
Symbol  
Parameter  
Condition  
Min  
Typ  
Max  
Units  
CS, RESET, WP = VIH, all inputs at  
CMOS levels  
IDP  
Deep Power-down Current  
9
18  
µA  
CS, RESET, WP = VIH, all inputs at  
CMOS levels  
ISB  
Standby Current  
25  
10  
10  
50  
15  
15  
25  
25  
µA  
mA  
mA  
mA  
mA  
Active Current, Read Operation,  
Serial Interface  
f = 33 MHz; IOUT = 0 mA;  
(1)  
ICC1  
VCC = 3.6V  
Active Current, Read Operation,  
Rapid8 Interface  
f = 33 MHz; IOUT = 0 mA;  
(1)  
ICC2  
V
CC = 3.6V  
CC = 3.6V  
Active Current, Program Operation,  
Page Program  
ICC3  
ICC4  
V
Active Current, Page Erase, Block  
Erase, Sector Erase Operation  
VCC = 3.6V  
ILI  
Input Load Current  
Output Leakage Current  
Input Low Voltage  
VIN = CMOS levels  
VI/O = CMOS levels  
1
1
µA  
µA  
V
ILO  
VIL  
VIH  
VOL  
VOH  
VCC x 0.3  
Input High Voltage  
Output Low Voltage  
Output High Voltage  
VCC x 0.7  
V
IOL = 1.6 mA; VCC = 2.7V  
IOH = -100 µA  
0.4  
V
VCC - 0.2V  
V
Notes: 1. AICC1 and ICC2 during a buffer read is 25 mA maximum.  
2. All inputs are 5 volts tolerant.  
33  
3542F–DFLASH–09/06  
Table 18-4. AC Characteristics – RapidS/Serial Interface  
Symbol  
fSCK  
Parameter  
Min  
Typ  
Max  
66  
Units  
MHz  
MHz  
SCK Frequency  
fCAR1  
SCK Frequency for Continuous Array Read  
66  
SCK Frequency for Continuous Array Read  
(Low Frequency)  
fCAR2  
33  
MHz  
tWH  
tWL  
SCK High Time  
6.8  
6.8  
0.1  
0.1  
50  
5
ns  
ns  
V/ns  
V/ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
µs  
µs  
µs  
µs  
µs  
µs  
ms  
ms  
ms  
ms  
s
SCK Low Time  
(1)  
tSCKR  
SCK Rise Time, Peak-to-Peak (Slew Rate)  
SCK Fall Time, Peak-to-Peak (Slew Rate)  
Minimum CS High Time  
(1)  
tSCKF  
tCS  
tCSS  
tCSH  
tCSB  
tSU  
CS Setup Time  
CS Hold Time  
5
CS High to RDY/BUSY Low  
Data In Setup Time  
100  
2
3
0
tH  
Data In Hold Time  
tHO  
Output Hold Time  
tDIS  
tV  
Output Disable Time  
6
6
Output Valid  
tWPE  
tWPD  
tEDPD  
tRDPD  
tXFR  
tcomp  
tEP  
WP Low to Protection Enabled  
WP High to Protection Disabled  
CS High to Deep Power-down Mode  
CS High to Standby Mode  
Page to Buffer Transfer Time  
Page to Buffer Compare Time  
Page Erase and Programming Time (1,024/1,056 bytes)  
Page Programming Time (1,024/1,056 bytes)  
Page Erase Time (1,024/1,056 bytes)  
Block Erase Time (8,192/8,448 bytes)  
Sector Erase Time (262,144/270,336 bytes)  
Chip Erase Time  
1
1
3
30  
400  
400  
40  
6
17  
3
tP  
tPE  
15  
35  
100  
5
tBE  
45  
tSE  
1.6  
TBD  
tCE  
TBD  
s
tRST  
tREC  
RESET Pulse Width  
10  
µs  
µs  
RESET Recovery Time  
1
Note:  
1. Values are based on device characterization, not 100% tested in production.  
34  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
Table 18-5. AC Characteristics – Rapid8 8-bit Interface  
Symbol  
fSCK1  
fCAR1  
tWH  
Parameter  
Min  
Typ  
Max  
50  
Units  
MHz  
MHz  
ns  
CLK Frequency  
CLK Frequency for Continuous Array Read  
CLK High Time  
50  
9
9
tWL  
CLK Low Time  
ns  
tCS  
Minimum CS High Time  
CS Setup Time  
50  
5
ns  
tCSS  
tCSH  
tCSB  
tSU  
ns  
CS Hold Time  
5
ns  
CS High to RDY/BUSY Low  
Data In Setup Time  
100  
ns  
2
5
0
ns  
tH  
Data In Hold Time  
ns  
tHO  
Output Hold Time  
ns  
tDIS  
Output Disable Time  
12  
12  
1
ns  
tV  
Output Valid  
ns  
tWPE  
tWPD  
tEDPD  
tRDPD  
tXFR  
tcomp  
tEP  
WP Low to Protection Enabled  
WP High to Protection Disabled  
CS High to Deep Power-down Mode  
CS High to Standby Mode  
Page to Buffer Transfer Time  
Page to Buffer Compare Time  
Page Erase and Programming Time (1,024/1,056 bytes)  
µs  
1
µs  
3
µs  
30  
400  
400  
40  
µs  
µs  
µs  
17  
3
ms  
tP  
Page Programming Time (1,024/1,056 bytes)  
Page Erase Time (1,024/1,056 bytes)  
Block Erase Time (8,192/8,448 bytes)  
6
35  
100  
5
ms  
ms  
ms  
tPE  
tBE  
15  
45  
1.6  
tSE  
Sector Erase Time (262,144/270,336 bytes)  
RESET Pulse Width  
s
tRST  
tREC  
10  
µs  
µs  
RESET Recovery Time  
1
Note:  
Values are based on device characterization, not 100% tested in production.  
19. Input Test Waveforms and Measurement Levels  
2.4V  
AC  
AC  
DRIVING  
LEVELS  
1.5V  
MEASUREMENT  
LEVEL  
0.45V  
tR, tF < 2 ns (10% to 90%)  
20. Output Test Load  
DEVICE  
UNDER  
TEST  
30 pF  
35  
3542F–DFLASH–09/06  
21. AC Waveforms  
Six different timing waveforms are shown below. Waveform 1 shows the SCK/CLK signal being  
low when CS makes a high-to-low transition, and waveform 2 shows the SCK/CLK signal being  
high when CS makes a high-to-low transition. In both cases, output SO becomes valid while the  
SCK/CLK signal is still low (SCK/CLK low time is specified as tWL). Timing waveforms 1 and 2  
conform to RapidS serial interface but for frequencies up to 66 MHz. Waveforms 1 and 2 are  
compatible with SPI Mode 0 and SPI Mode 3, respectively.  
Waveform 3 and waveform 4 illustrate general timing diagram for RapidS serial interface. These  
are similar to waveform 1 and waveform 2, except that output SO is not restricted to become  
valid during the tWL period. These timing waveforms are valid over the full frequency range (max-  
imum frequency = 66 MHz) of the RapidS serial case. Waveform 5 and waveform 6 are for 8-bit  
Rapid8 interface over the full frequency range of operation (maximum frequency = 50 MHz).  
21.1 Waveform 1 – SPI Mode 0 Compatible (for Frequencies up to 66 MHz)  
tCS  
CS  
tCSS  
tWH  
tWL  
tCSH  
SCK/CLK  
tV  
tHO  
tDIS  
HIGH IMPEDANCE  
tSU  
HIGH IMPEDANCE  
SO  
SI  
VALID OUT  
tH  
VALID IN  
21.2 Waveform 2 – SPI Mode 3 Compatible (for Frequencies up to 66 MHz)  
tCS  
CS  
tCSS  
tWL  
tWH  
tCSH  
SCK/CLK  
SO  
tV  
tHO  
tDIS  
HIGH Z  
HIGH IMPEDANCE  
VALID OUT  
tH  
tSU  
VALID IN  
SI  
Note:  
To operate the device at 50 MHz in SPI mode, the combined CPU setup time and rise/fall time should be less than 2 ns.  
36  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
21.3 Waveform 3 – RapidS Mode 0 (FMAX = 66 MHz)  
tCS  
CS  
tCSS  
tWH  
tWL  
tCSH  
SCK/CLK  
tV  
tHO  
VALID OUT  
tDIS  
HIGH IMPEDANCE  
tSU  
HIGH IMPEDANCE  
SO  
SI  
tH  
VALID IN  
21.4 Waveform 4 – RapidS Mode 3 (FMAX = 66 MHz)  
tCS  
CS  
tCSS  
tWL  
tWH  
tCSH  
SCK/CLK  
SO  
tV  
tHO  
tDIS  
HIGH Z  
HIGH IMPEDANCE  
VALID OUT  
tH  
tSU  
VALID IN  
SI  
21.5 Waveform 5 – Rapid8 Mode 0 (FMAX = 50 MHz)  
tCS  
CS  
tCSS  
tWH  
tWL  
tCSH  
SCK/CLK  
tV  
tHO  
tDIS  
HIGH IMPEDANCE  
tSU  
HIGH IMPEDANCE  
I/O7 - I/O0  
(OUTPUT)  
VALID OUT  
tH  
I/O7 - I/O0  
(INPUT)  
VALID IN  
21.6 Waveform 6 – Rapid8 Mode 3 (FMAX = 50 MHz)  
tCS  
CS  
tCSS  
tWL  
tWH  
tCSH  
SCK/CLK  
tV  
tHO  
tDIS  
HIGH Z  
HIGH IMPEDANCE  
I/O7 - I/O0  
(OUTPUT)  
VALID OUT  
tH  
tSU  
VALID IN  
I/O7 - I/O0  
(INPUT)  
37  
3542F–DFLASH–09/06  
21.7 Utilizing the RapidSFunction  
To take advantage of the RapidS function's ability to operate at higher clock frequencies, a full  
clock cycle must be used to transmit data back and forth across the serial bus. The DataFlash is  
designed to always clock its data out on the falling edge of the SCK signal and clock data in on  
the rising edge of SCK.  
For full clock cycle operation to be achieved, when the DataFlash is clocking data out on the fall-  
ing edge of SCK, the host controller should wait until the next falling edge of SCK to latch the  
data in. Similarly, the host controller should clock its data out on the rising edge of SCK in order  
to give the DataFlash a full clock cycle to latch the incoming data in on the next rising edge of  
SCK.  
Figure 21-1. RapidS Mode  
Slave CS  
1
8
1
8
1
2
3
4
5
6
7
2
3
4
5
6
7
SCK  
B
E
A
C
D
MSB  
LSB  
MOSI  
MISO  
BYTE-MOSI  
H
G
I
F
MSB  
LSB  
BYTE-SO  
MOSI = Master Out, Slave In  
MISO = Master In, Slave Out  
The Master is the host controller and the Slave is the DataFlash  
The Master always clocks data out on the rising edge of SCK and always clocks data in on the falling edge of SCK.  
The Slave always clocks data out on the falling edge of SCK and always clocks data in on the rising edge of SCK.  
A. Master clocks out first bit of BYTE-MOSI on the rising edge of SCK.  
B. Slave clocks in first bit of BYTE-MOSI on the next rising edge of SCK.  
C. Master clocks out second bit of BYTE-MOSI on the same rising edge of SCK.  
D. Last bit of BYTE-MOSI is clocked out from the Master.  
E. Last bit of BYTE-MOSI is clocked into the slave.  
F. Slave clocks out first bit of BYTE-SO.  
G. Master clocks in first bit of BYTE-SO.  
H. Slave clocks out second bit of BYTE-SO.  
I. Master clocks in last bit of BYTE-SO.  
38  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
21.8 Utilizing the Rapid8Function  
The Rapid8 functions like RapidS but with 8 bits of data instead of 1 bit. A full clock cycle must  
be used to transmit data back and forth across the 8 bit bus. The DataFlash is designed to  
always clock its data out on the falling edge of the SCK signal and clock data in on the rising  
edge of SCK.  
For full clock cycle operation to be achieved, when the DataFlash is clocking data out on the fall-  
ing edge of SCK, the host controller should wait until the next falling edge of SCK to latch the  
data in. Similarly, the host controller should clock its data out on the rising edge of SCK in order  
to give the DataFlash a full clock cycle to latch the incoming data in on the next rising edge of  
SCK.  
Figure 21-2. Rapid8 Mode  
Slave CS  
1
2
3
4
5
6
7
8
9
10  
11  
12  
13  
14  
15  
SCK  
E
tV  
B
D
F
G
A
C
BYTE 1  
BYTE 2  
BYTE 3  
BYTE 4  
BYTE 5  
BYTE 6  
BYTE a  
BYTE b  
BYTE c  
BYTE d  
BYTE e  
BYTE f  
BYTE g  
BYTE h  
I/O7-0  
MOSI = Master Out, Slave In  
MISO = Master In, Slave Out  
The Master would be the ASIC/MCU and the Slave would be the memory device.  
The Master always clocks data out on the rising edge of SCK and always clocks data in on the falling edge of SCK.  
The Slave always clocks data out on the falling edge of SCK and always clocks data in on the rising edge of SCK.  
A. Master clocks out BYTE 1 on the rising edge of SCK.  
B. Slave clocks in BYTE 1 on the next rising edge of SCK.  
C. Master clocks out BYTE 2 on the same rising edge of SCK.  
D. Slave clocks in BYTE 6 (last input byte).  
E. Slave clocks out BYTE a (first output byte).  
F. Master clocks in BYTE a.  
G. Master clocks in BYTE h (last output byte).  
21.9 Reset Timing  
CS  
t
t
CSS  
REC  
SCK/CLK  
RESET  
t
RST  
HIGH IMPEDANCE  
HIGH IMPEDANCE  
SO or I/O7 - I/O0  
(OUTPUT)  
SI or I/O7 - I/O0  
(INPUT)  
Note:  
The CS signal should be in the high state before the RESET signal is deasserted.  
39  
3542F–DFLASH–09/06  
21.10 Command Sequence for Read/Write Operations for Page Size 1024 Bytes (Except Status  
Register Read, Manufacturer and Device ID Read)  
SI or I/O7 - I/O0  
CMD  
8 bits  
8 bits  
8 bits  
(INPUT)?  
X X X X X X X  
X X X X X X X X  
X X X X X X X X  
LSB  
MSB  
Page Address  
(A22 - A10)  
Byte/Buffer Address  
(A9 - A0/BFA9 - BFA0)  
21.11 Command Sequence for Read/Write Operations for Page Size 1056 Bytes (Except Status  
Register Read, Manufacturer and Device ID Read)  
SI or I/O7 - I/O0  
CMD  
8 bits  
8 bits  
8 bits  
(INPUT)?  
MSB  
X X X X X X X X  
X X X X X X X X  
X X X X X X X X  
LSB  
Page Address  
(PA12 - PA0)  
Byte/Buffer Address  
(BA10 - BA0/BFA10 - BFA0)  
22. Write Operations  
The following block diagram and waveforms illustrate the various write sequences available.  
FLASH MEMORY ARRAY  
PAGE (1024/1056 BYTES)  
BUFFER 1 TO  
MAIN MEMORY  
PAGE PROGRAM  
BUFFER 2 TO  
MAIN MEMORY  
PAGE PROGRAM  
BUFFER 1 (1024/1056 BYTES)  
BUFFER 2 (1024/1056 BYTES)  
BUFFER 1  
WRITE  
BUFFER 2  
WRITE  
I/O INTERFACE  
SI  
I/O7 - I/O0  
40  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
22.1 Buffer Write  
Completes writing into selected buffer  
CS  
BINARY PAGE SIZE  
14 DON'T CARE + BFA9-BFA0  
SI or I/O7 - I/O0  
n
n+1  
CMD  
X
BFA7-0  
X···X, BFA10-8  
Last Byte  
(INPUT)  
22.2 Buffer to Main Memory Page Program (Data from Buffer Programmed into Flash Page)  
Starts self-timed erase/program operation  
CS  
BINARY PAGE SIZE  
A22-A10 + 10 DON'T CARE BITS  
SI or I/O7 - I/O0  
XXXX XX  
CMD  
PA12-5  
PA4-0, XXX  
(INPUT)  
Each transition  
represents 8 bits  
n = 1st byte read  
n+1 = 2nd byte read  
23. Read Operations  
The following block diagram and waveforms illustrate the various read sequences available.  
FLASH MEMORY ARRAY  
PAGE (1024/1056 BYTES)  
MAIN MEMORY  
PAGE TO  
MAIN MEMORY  
PAGE TO  
BUFFER 2  
BUFFER 1  
BUFFER 1 (1024/1056 BYTES)  
BUFFER 2 (1024/1056 BYTES)  
BUFFER 1  
READ  
MAIN MEMORY  
PAGE READ  
BUFFER 2  
READ  
I/O INTERFACE  
SO  
I/O7 - I/O0  
41  
3542F–DFLASH–09/06  
23.1 Main Memory Page Read  
CS  
ADDRESS FOR BINARY PAGE SIZE  
A15-A8  
A22-A16  
A7-A0  
SI or I/O7 - I/O0  
CMD  
PA12-5, PA4-0  
BA10-8  
BA7-0  
X
X
(INPUT)  
4 Dummy Bytes for Serial  
19 Dummy Bytes for Parallel  
SO or I/O7 - I/O0  
(OUTPUT)  
n
n+1  
23.2 Main Memory Page to Buffer Transfer (Data from Flash Page Read into Buffer)  
Starts reading page data into buffer  
CS  
BINARY PAGE SIZE  
A22-A10 + 10 DON'T CARE BITS  
SI or I/O7 - I/O0  
CMD  
PA12-5  
XXXX XXXX  
PA4-0, XXX  
(INPUT)  
SO or I/O7 - I/O0  
(OUTPUT)  
23.3 Buffer Read  
CS  
BINARY PAGE SIZE  
14 DON'T CARE + BFA9-BFA0  
CMD  
X
X..X, BFA10-8  
BFA7- 0  
X
SI or IO7 - IO0  
SO or IO7 - IO0  
No Dummy Byte (Serial, opcodes D1H and D3H)  
1 Dummy Byte (Serial, opcodes D4H and D6H)  
2 Dummy Bytes (Parallel)  
n
n+1  
Each transition  
represents 8 bits  
42  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
24. Detailed Bit-level Read Waveform – RapidS Serial Interface Mode 0/Mode 3  
24.1 Continuous Array Read (Legacy Opcode E8H)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34  
62 63 64 65 66 67 68 69 70 71 72  
SCK  
SI  
OPCODE  
ADDRESS BITS  
32 DON'T CARE BITS  
1
1
1
0
1
0
0
0
A
A
A
A
A
A
A
A
A
X
X
X
X
X
X
MSB  
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
BIT 0 OF  
PAGE n+1  
BIT 8191/8447  
OF PAGE n  
24.2 Continuous Array Read (Opcode 0BH)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48  
SCK  
SI  
OPCODE  
ADDRESS BITS A23 - A0  
DON'T CARE  
X
0
0
0
0
1
0
1
1
A
A
A
A
A
A
A
A
A
X
X
X
X
X
X
X
MSB  
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
24.3 Continuous Array Read (Low Frequency: Opcode 03H)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34 35 36 37 38 39 40  
SCK  
SI  
OPCODE  
ADDRESS BITS A23-A0  
0
0
0
0
0
0
1
1
A
A
A
A
A
A
A
A
A
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
43  
3542F–DFLASH–09/06  
24.4 Main Memory Page Read (Opcode: D2H)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34  
62 63 64 65 66 67 68 69 70 71 72  
SCK  
SI  
OPCODE  
ADDRESS BITS  
32 DON'T CARE BITS  
1
1
0
1
0
0
1
0
A
A
A
A
A
A
A
A
A
X
X
X
X
X
X
MSB  
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
24.5 Buffer Read (Opcode D4H or D6H)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48  
SCK  
ADDRESS BITS  
BINARY PAGE SIZE = 14 DON'T CARE + BFA9-BFA0  
STANDARD DATAFLASH PAGE SIZE =  
13 DON'T CARE + BFA10-BFA0  
DON'T CARE  
OPCODE  
1
1
0
1
0
1
0
0
X
X
X
X
X
X
A
A
A
X
X
X
X
X
X
X
X
SI  
MSB  
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
24.6 Buffer Read (Low Frequency: Opcode D1H or D3H)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34 35 36 37 38 39 40  
SCK  
ADDRESS BITS  
BINARY PAGE SIZE = 14 DON'T CARE + BFA9-BFA0  
STANDARD DATAFLASH PAGE SIZE =  
13 DON'T CARE + BFA10-BFA0  
OPCODE  
1
1
0
1
0
0
0
1
X
X
X
X
X
X
A
A
A
SI  
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
44  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
24.7 Read Sector Protection Register (Opcode 32H)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34 35 36 37 38 39 40  
SCK  
SI  
OPCODE  
DON'T CARE  
0
0
1
1
0
0
1
0
X
X
X
X
X
X
X
X
X
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
24.8 Read Sector Lockdown Register (Opcode 35H)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34 35 36 37 38 39 40  
SCK  
SI  
OPCODE  
DON'T CARE  
0
0
1
1
0
1
0
1
X
X
X
X
X
X
X
X
X
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
24.9 Read Security Register (Opcode 77H)  
CS  
0
1
2
3
4
5
6
7
8
9
10 11 12  
29 30 31 32 33 34 35 36 37 38 39 40  
SCK  
SI  
OPCODE  
DON'T CARE  
0
1
1
1
0
1
1
1
X
X
X
X
X
X
X
X
X
MSB  
MSB  
DATA BYTE 1  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
45  
3542F–DFLASH–09/06  
24.10 Status Register Read (Opcode D7H)  
CS  
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  
SCK  
SI  
OPCODE  
1
1
0
1
0
1
1
1
MSB  
STATUS REGISTER DATA  
STATUS REGISTER DATA  
HIGH-IMPEDANCE  
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
SO  
MSB  
MSB  
MSB  
24.11 Manufacturer and Device Read (Opcode 9FH)  
CS  
0
6
7
8
14 15 16  
22 23 24  
30 31 32  
38  
SCK  
SI  
OPCODE  
9FH  
HIGH-IMPEDANCE  
1FH  
DEVICE ID BYTE 1 DEVICE ID BYTE 2  
00H  
SO  
Note: Each transition  
shown for SI and SO represents one byte (8 bits)  
46  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
25. Detailed 8-bit Read Waveforms – Rapid8 Mode 0/Mode 3  
25.1 Continuous Array Read (Opcode: E8H)  
CS  
0
1
2
3
26  
21  
22  
23  
24  
25  
CLK  
tSU  
BINARY & STANDARD  
DATAFLASH PAGE SIZE  
19 DUMMY BYTES  
I/O7-I/O0  
(INPUT)  
CMD ADDR ADDR ADDR  
X
X
X
tV  
DATA OUT  
I/O7-I/O0  
(OUTPUT)  
HIGH IMPEDANCE  
DATA DATA DATA  
DATA DATA DATA DATA DATA DATA  
BYTE 1023/1055  
OF  
BYTE 0  
OF  
PAGE n+1  
PAGE n  
25.2 Main Memory Page Read (Opcode: D2H)  
CS  
CLK  
0
1
2
3
19  
X
20  
21  
22  
23  
X
24  
25  
26  
tSU  
BINARY & STANDARD  
DATAFLASH PAGE SIZE  
19 DUMMY BYTES  
I/07-I/O0  
(INPUT)  
CMD ADDR ADDR ADDR  
X
X
X
tV  
DATA OUT  
HIGH IMPEDANCE  
I/07-I/O0  
(OUTPUT)  
DATA DATA DATA DATA  
25.3 Buffer Read (Opcode: 54H or 56H)  
CS  
CLK  
0
1
2
3
4
5
6
7
ADDRESS BYTES  
tSU  
BINARY & STANDARD  
DATAFLASH PAGE SIZE  
DUMMY BYTES  
I/O7-I/O0  
(INPUT)  
X
X
CMD  
X
ADDR ADDR  
tV  
DATA OUT  
HIGH IMPEDANCE  
I/O7-I/O0  
(OUTPUT)  
DATA DATA DATA  
47  
3542F–DFLASH–09/06  
25.4 Status Register Read (Opcode: D7H)  
CS  
CLK  
0
1
2
3
t
SU  
I/O7-I/O0  
(INPUT)  
CMD  
t
V
HIGH  
I/O7-I/O0  
DATA  
X
X
DATA  
(OUTPUT) IMPEDANCE  
STATUS REGISTER  
OUTPUT  
26. Auto Page Rewrite Flowchart  
Figure 26-1. Algorithm for Programming or Reprogramming of the Entire Array Sequentially  
START  
provide address  
and data  
BUFFER WRITE  
(84H, 87H)  
MAIN MEMORY PAGE PROGRAM  
THROUGH BUFFER  
(82H, 85H)  
BUFFER TO MAIN  
MEMORY PAGE PROGRAM  
(83H, 86H)  
END  
Notes: 1. This type of algorithm is used for applications in which the entire array is programmed sequentially, filling the array page-by-  
page.  
2. A page can be written using either a Main Memory Page Program operation or a Buffer Write operation followed by a Buffer  
to Main Memory Page Program operation.  
3. The algorithm above shows the programming of a single page. The algorithm will be repeated sequentially for each page  
within the entire array.  
48  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
Figure 26-2. Algorithm for Randomly Modifying Data  
START  
provide address of  
page to modify  
MAIN MEMORY PAGE  
If planning to modify multiple  
TO BUFFER TRANSFER  
(53H, 55H)  
bytes currently stored within  
a page of the Flash array  
BUFFER WRITE  
(84H, 87H)  
MAIN MEMORY PAGE PROGRAM  
THROUGH BUFFER  
(82H, 85H)  
BUFFER TO MAIN  
MEMORY PAGE PROGRAM  
(83H, 86H)  
AUTO PAGE REWRITE(2)  
(58H, 59H)  
INCREMENT PAGE  
ADDRESS POINTER(2)  
END  
Notes: 1. To preserve data integrity, each page of a DataFlash sector must be updated/rewritten at least once within every 10,000  
cumulative page erase and program operations.  
2. A Page Address Pointer must be maintained to indicate which page is to be rewritten. The Auto Page Rewrite command  
must use the address specified by the Page Address Pointer.  
3. Other algorithms can be used to rewrite portions of the Flash array. Low-power applications may choose to wait until 10,000  
cumulative page erase and program operations have accumulated before rewriting all pages of the sector. See application  
note AN-4 (“Using Atmel’s Serial DataFlash”) for more details.  
49  
3542F–DFLASH–09/06  
27. Ordering Information  
27.1 Green Package Options (Pb/Halide-free/RoHS Compliant)  
ICC (mA)  
fSCK  
(MHz)  
Active  
Standby  
Ordering Code  
Package  
Operation Range  
AT45DB642D-CNU  
8CN3  
Industrial  
66  
15  
0.05  
(-40°C to 85°C)  
AT45DB642D-TU  
28T  
Package Type  
28T  
8CN3  
28-lead, (8 x 13.4 mm) Plastic Thin Small Outline Package, Type I (TSOP)  
8-pad (6 mm x 8 mm) Chip Array Small Outline No Lead Package (CASON)  
50  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
28. Packaging Information  
28.1 28T – TSOP, Type 1  
PIN 1  
0º ~ 5º  
c
Pin 1 Identifier Area  
D1  
D
L
b
L1  
e
A2  
E
GAGE PLANE  
A
SEATING PLANE  
COMMON DIMENSIONS  
(Unit of Measure = mm)  
A1  
MIN  
MAX  
1.20  
0.15  
1.05  
13.60  
NOM  
NOTE  
SYMBOL  
A
A1  
A2  
D
0.05  
0.90  
13.20  
11.70  
7.90  
0.50  
1.00  
Notes:  
1. This package conforms to JEDEC reference MO-183.  
2. Dimensions D1 and E do not include mold protrusion. Allowable  
protrusion on E is 0.15 mm per side and on D1 is 0.25 mm per side.  
3. Lead coplanarity is 0.10 mm maximum.  
13.40  
11.80  
8.00  
D1  
E
11.90 Note 2  
8.10  
0.70  
Note 2  
L
0.60  
L1  
b
0.25 BASIC  
0.22  
0.17  
0.10  
0.27  
0.21  
c
e
0.55 BASIC  
12/06/02  
DRAWING NO. REV.  
28T  
TITLE  
2325 Orchard Parkway  
San Jose, CA 95131  
28T, 28-lead (8 x 13.4 mm) Plastic Thin Small Outline  
Package, Type I (TSOP)  
C
R
51  
3542F–DFLASH–09/06  
28.2 8CN3 – CASON  
Marked Pin1 Indentifier  
E
A
D
A1  
Top View  
Side View  
Pin1 Pad Corner  
L1  
0.10 mm  
TYP  
8
1
e
7
2
COMMON DIMENSIONS  
(Unit of Measure = mm)  
3
6
5
MIN  
MAX  
1.0  
NOM  
NOTE  
SYMBOL  
b
A
4
A1  
b
0.17  
0.21  
0.41 TYP  
8.00  
0.25  
4
e1  
L
D
7.90  
5.90  
8.10  
Bottom View  
E
6.00  
6.10  
e
1.27 BSC  
1.095 REF  
0.67 TYP  
0.97  
e1  
L
4
4
L1  
0.92  
1.02  
Notes: 1. All dimensions and tolerance conform to ASME Y 14.5M, 1994.  
2. The surface finish of the package shall be EDM Charmille #24-27.  
3. Unless otherwise specified tolerance: Decimal 0.05, Angular 2o.  
4. Metal Pad Dimensions.  
7/10/03  
DRAWING NO. REV.  
8CN3  
TITLE  
2325 Orchard Parkway  
San Jose, CA 95131  
8CN3, 8-pad (6 x 8 x 1.0 mm Body), Lead Pitch 1.27 mm,  
Chip Array Small Outline No Lead Package (CASON)  
B
R
52  
AT45DB642D  
3542F–DFLASH–09/06  
AT45DB642D  
29. Revision History  
Revision Level – Release Date History  
A – September 2005  
Initial release  
Changed tVCSL from 30 µs to 50 µs min.  
Changed tPUW from 10 ms to 20 ms max.  
Changed tDIS from 8 ns to 6 ns max.  
Changed tV from 8 ns to 6 ns max.  
B – November 2005  
Added text, in “Programming the Configuration Register”, to indicate  
that power cycling is required to switch to “power of 2” page size  
after the opcode has been executed.  
C – March 2006  
D – July 2006  
Corrected typographical errors.  
E – August 2006  
Added errata regarding Chip Erase.  
53  
3542F–DFLASH–09/06  
30. Errata  
30.1 Chip Erase  
30.1.1  
Issue  
In a certain percentage of units, the Chip Erase feature may not function correctly and may  
adversely affect device operation. Therefore, it is recommended that the Chip Erase commands  
(opcodes C7H, 94H, 80H, and 9AH) not be used.  
30.1.2  
30.1.3  
Workaround  
Resolution  
Use Block Erase (opcode 50H) as an alternative. The Block Erase function is not affected by the  
Chip Erase issue.  
The Chip Erase feature may be fixed with a new revision of the device. Please contact Atmel for  
the estimated availability of devices with the fix.  
54  
AT45DB642D  
3542F–DFLASH–09/06  
Atmel Corporation  
Atmel Operations  
2325 Orchard Parkway  
San Jose, CA 95131, USA  
Tel: 1(408) 441-0311  
Fax: 1(408) 487-2600  
Memory  
RF/Automotive  
Theresienstrasse 2  
Postfach 3535  
74025 Heilbronn, Germany  
Tel: (49) 71-31-67-0  
Fax: (49) 71-31-67-2340  
2325 Orchard Parkway  
San Jose, CA 95131, USA  
Tel: 1(408) 441-0311  
Fax: 1(408) 436-4314  
Regional Headquarters  
Microcontrollers  
2325 Orchard Parkway  
San Jose, CA 95131, USA  
Tel: 1(408) 441-0311  
Fax: 1(408) 436-4314  
1150 East Cheyenne Mtn. Blvd.  
Colorado Springs, CO 80906, USA  
Tel: 1(719) 576-3300  
Europe  
Atmel Sarl  
Route des Arsenaux 41  
Case Postale 80  
CH-1705 Fribourg  
Switzerland  
Tel: (41) 26-426-5555  
Fax: (41) 26-426-5500  
Fax: 1(719) 540-1759  
Biometrics/Imaging/Hi-Rel MPU/  
High Speed Converters/RF Datacom  
Avenue de Rochepleine  
La Chantrerie  
BP 70602  
44306 Nantes Cedex 3, France  
Tel: (33) 2-40-18-18-18  
Fax: (33) 2-40-18-19-60  
BP 123  
38521 Saint-Egreve Cedex, France  
Tel: (33) 4-76-58-30-00  
Fax: (33) 4-76-58-34-80  
Asia  
Room 1219  
Chinachem Golden Plaza  
77 Mody Road Tsimshatsui  
East Kowloon  
Hong Kong  
Tel: (852) 2721-9778  
Fax: (852) 2722-1369  
ASIC/ASSP/Smart Cards  
Zone Industrielle  
13106 Rousset Cedex, France  
Tel: (33) 4-42-53-60-00  
Fax: (33) 4-42-53-60-01  
1150 East Cheyenne Mtn. Blvd.  
Colorado Springs, CO 80906, USA  
Tel: 1(719) 576-3300  
Japan  
9F, Tonetsu Shinkawa Bldg.  
1-24-8 Shinkawa  
Chuo-ku, Tokyo 104-0033  
Japan  
Tel: (81) 3-3523-3551  
Fax: (81) 3-3523-7581  
Fax: 1(719) 540-1759  
Scottish Enterprise Technology Park  
Maxwell Building  
East Kilbride G75 0QR, Scotland  
Tel: (44) 1355-803-000  
Fax: (44) 1355-242-743  
Literature Requests  
www.atmel.com/literature  
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any  
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMELS TERMS AND CONDI-  
TIONS OF SALE LOCATED ON ATMELS WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY  
WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR  
PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDEN-  
TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT  
OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no  
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications  
and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided  
otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use  
as components in applications intended to support or sustain life.  
© 2006 Atmel Corporation. All rights reserved. Atmel®, logo and combinations thereof, Everywhere You Are®, DataFlash®, and others are  
registered trademarks; RapidS, Rapid8, and others are trademarks of Atmel Corporation or its subsidiaries. Other terms and product names  
may be trademarks of others.  
3542F–DFLASH–09/06  

相关型号:

SI9130DB

5- and 3.3-V Step-Down Synchronous Converters

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135LG-T1

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135LG-T1-E3

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9135_11

SMBus Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9136_11

Multi-Output Power-Supply Controller

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130CG-T1-E3

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130LG-T1-E3

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9130_11

Pin-Programmable Dual Controller - Portable PCs

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137DB

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9137LG

Multi-Output, Sequence Selectable Power-Supply Controller for Mobile Applications

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY

SI9122E

500-kHz Half-Bridge DC/DC Controller with Integrated Secondary Synchronous Rectification Drivers

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY