-
Features
?
Single 2.7V - 3.6V Supply
?
RapidS? Serial
Interface: 66 MHz Maximum Clock
Frequency
–
SPI Compatible Modes 0 and 3
?
User
Configurable Page Size
–
512 Bytes per Page
–
528 Bytes per
Page
?
Page
Program Operation
–
Intelligent Programming Operation
–
8,192 Pages
(512/528 Bytes/Page) Main Memory
?
Flexible Erase
Options
–
Page
Erase (512 Bytes)
–
Block Erase (4
Kbytes)
–
Sector Erase (64 Kbytes)
–
Chip Erase (32
Mbits)
?
Two SRAM Data Buffers (512/528 Bytes)
–
Allows Receiving of Data while
Reprogramming the Flash
?
Continuous Read Capability through
Entire Array
–
Ideal for Code Shadowing Applications
?
Low-power
Dissipation
–
7
mA Active Read Current Typical
–
25
?
A Standby Current Typical
–
5 ?
A
Deep Power Down Typical
?
Hardware and Software Data Protection
Features
–
Individual Sector
?
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
?
Industrial
Temperature Range
?
Green (Pb/Halide-free/RoHS Compliant)
Packaging Options
特点
?单
2.7V -
3.6V
供应
?急流?串行接口:
66
MHz
的最大时钟频率
-
兼容
SPI
模式
0
p>
和
3
?用户可配置的页面大小
-
每页
512
字节
-
每页
528
字节
?页面编程操作
-
智能编程操作
- 8,192
页(
512/528<
/p>
字节
/
页)主内存
?灵活的擦除选项
-
页擦除(
512
字节)
-
块擦除(
4
字节)
-
扇区擦除(
64
千字节)
-
p>
芯片擦除(
32
兆位)
?两个
SRAM
数据缓冲区(<
/p>
512/528
字节)
-
允许的数据接收,同时重新编程闪存
?连续读取功能贯穿于整个阵列
-
代码遮蔽应用的理想选择
?低功耗
-
7
毫安有效的读电流典型
- 25<
/p>
μ
A
待机电流典型
- 5
μ
A
典型深度掉电
?硬件和软件数据保护功能
-
个别部门
?安全的代码和数据存储扇区锁定
-
个别部门
?安全性:
128
字节安全寄存器
-
64
字节用户可编程空间
-
唯一的
64
字节的设备标识符
?
JEDEC
标准制造商和
设备
ID
读
?
100,000
编程
/
擦除周期每页最低
?数据保存
-
20
年
?工业级温度范围
?绿色(
Pb
/
无卤化物
/
RoHS
标准)包装选项
1.
Description
The A
T45DB321D
is a 2.7-volt, serial-interface sequential access
Flash memory
ideally suited for a wide
variety of digital voice-, image-, program code-
and data-stor-
age applications. The
AT45DB321D supports RapidS serial interface for
applications
requiring very high speed
operations. RapidS serial interface is SPI
compatible for
frequencies up to 66
MHz. Its 34,603,008 bits of memory are organized
as 8,192
pages of 512 bytes or 528
bytes each. In addition to the main memory, the
AT45DB321D also contains two SRAM
buffers of 512/528 bytes each. The buffers
allow the 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 alterabil-
ity) 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 a RapidS serial interface
tosequentially
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 appli-
cations where high-density, low-pin
count, low-voltage and low-power are essential.
To allow for simple in-
system reprogrammability, the AT45DB321D 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
A
T45DB321D 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).
All programming and
erase cycles are self-timed.
1
。描述
A
T45DB321D
是
2.7
伏,串行
接口顺序访问闪存
非常适合用于各种各样的数字语音,图像,程序代码和数据存储
年龄的应用程序。
AT45DB32
1D
支持急流串行接口的应用
要求非
常高的速度操作。急流串行接口
SPI
兼容
频率高达
66
MHz
。
34603008
位的内存组织为
8,192
为
512
字节或
528
字节的页
。除了主存储器,
AT45DB321D
还包含两个
SRAM
缓冲器字节五百二十八分之五百一十二
的。缓冲区
允许接收的数据进行重新编程,而在主内存页面,
以及记录连续的数据流。
EEPRO
M
仿真(位或字节
alterabil
ITY
)一个自包含三个步骤的读
-
修改
-
写操作是很容易处理。
不同于传统的快闪记忆体,随机访问多个
地址线和一个并行接口,数据闪存使用一个急流的串行接口
tosequentia
lly
访问其数据。简
单的顺序访问,极大地减少了主动销
p>
算,有利于硬件布局,提高了系统的可靠性,最大限度地降低开关
噪声,
降低封装尺寸。该器件经过优化,使用在许多商业和工业应用
阳离子高密度,低引脚数,低电压和低功耗是至关重要的。
<
/p>
为了让简单的在系统重新编程,
A
T45
DB321D
不需要高投入
电压进行
编程。该器件工作在单电源供电,
2.7V
到
< br>3.6V
,
这两个计划的读操作。
A
T45DB321D
通过片选引脚启用
(
CS
)和访问通过一个三线的接口,包括串行
输入(
SI
)
,串行输出
(
SO
)和串行时钟(<
/p>
SCK
)
。
所有的编程和擦除周期是自定时。
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 pin (SO) will be in a
high-impedance state. When the device is
deselected, data
will not
be accepted on the input pin (SI).
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.
片选:断言
CS
引脚选择设备。当
CS
引脚置为无效,该装置
将被取消,通常被放置在
待机模式(不深掉电模式)
,
和输出
引脚(
SO
)将在高阻抗状态。当设备被取消,数据
将不被接受的输入引脚(
SI
< br>)
。
高到低的
CS
引脚上的过渡需要启动一个操作和一个低到高
过渡是必需的,以结束操作。当结束一个内部自定时操作,如
编程或擦除周期,该设备将不会进入待机模式,直到完成了
操作。
Serial Clock:
This pin is used to provide a clock to the device
and is used to control the flow of
ata to and from the device. Command,
address, and input data present on the SI pin is
always
atched on the rising
edge of SCK, while output data on the SO pin is
always clocked out on the
alling edge of SCK.
串行时钟:此引脚是用来提供时钟的装置,用于控制流
阿拉木图和从设备。命令,地址和
SI
引脚上
的输入数据总是
出动了
SCK
的上升沿,而输出数据总是同步输出的
SO
引
脚上的
阿灵阿
SCK
边缘。
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
引脚用于转移到设备的数据。
SI
引脚用于所有的数据输入
包括命令和地址序列。
SI
引脚上的数据总是锁存上升
SCK
边缘。如果
SER/ BYTE
引脚驱动为低,
SI
引脚应是一个“无
连接”
。
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
引脚用于数据从设备转移。
SO
引脚上的数据始终是
时钟
SCK
的下降沿。如果
SER/ BYTE
引脚总是驱动低,
SO
< br>引脚
应该是一个“无连接”
。
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.
After the WP pin goes low, the
content of the Sector Protection
Register cannot be modified.
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.
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.
写保护:当
WP
引脚断言,所有部门由部门指定的保护
保护寄存器将受到保护,无论对编程和擦除操作
启用扇区保护命令已发出与否。
WP
引脚功能
独立的软件控制的保护方法。
WP
引脚变为低电平后,
扇区保护寄存器的内容不能修改。
如
果一个程序或擦除命令发出到设备,而
WP
引脚断言,该设备<
/p>
将忽略命令,不进行任何操作。该设备将返回到空闲状态
p>
一旦
CS
脚已被释放。启用扇区保护命令和
部门
锁定命令,但是,将认可的
WP
引脚置设备时。
内部上拉
WP
引脚为高,并可能被悬空硬件控制保护
p>
不能使用。然而,它是建议
WP
引脚也可以
从外部连接到
VCC
只要有可能。
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.
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.
复位:复位引脚(
RESET
)低状态将终止正在进行
的操作和复位
内部状态机处于闲置状态。该装置将保持在复位状态,只要
<
/p>
一个较低的水平上的
RESET
引脚。一
旦
RESET
引脚操作就可以恢复正常
带回一个较高的水平。
该器件集成了一个内部上电复位电路,所以有没有限制
RESET
引脚在上电序列。如果这个引脚和功能都没有利用它建议<
/p>
RESET
引脚驱动外部高。
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.
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.
就绪
/
忙:这
种开漏输出引脚将被拉低,当设备在忙
内部自定时操作。此针,这通常是在高的状态(通过外部
p>
上拉电阻)
,将被拉低在编程
/
擦除操作,比较操作,
页面到缓冲区传输。
的忙状态,表示闪存阵列和一个缓冲区不能被
访问,读取和写入操作,仍然可以执行其他缓冲区。
Device Power
Supply: The VCC pin is used to supply the source
voltage to the device.
Operations at
invalid VCC voltages may produce spurious results
and should not be attempted.
设备电源:
VCC
引脚用于提供源电压的设备。
无效
VCC
电压的操作可能会产生虚假的结果,不
应尝试
Ground: The
ground reference for the power supply. GND should
be connected to the system
ground.
接地:接地参考电源。
GND
应连接到系统的
地面上。
4. Memory Array
To provide
optimal flexibility, the memory array of the
AT45DB321D is divided into three levels
of granularity comprising of
sectors, blocks, and pages. The “Memory
Architecture Diagram” illustrates 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.
4
。内存阵列
为了提供最佳的灵活性,
A
T45DB321D
的存储器阵列被划分为三个级别的粒度,包括
扇区,块,页。
“内存体系结构图”显示每个级别的细分,并详细介绍
每个扇区和块的页面数。所有的程序操作的
DataFlash
发生在逐页。擦除
操作可以被执行上面的芯片,扇区,块或页级别。
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-7 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 pin controls the
loading of the opcode and the desired buffer or
main memory
address location through
the SI (serial input) pin. All instructions,
addresses, and data are trans-
ferred
with the most significant bit (MSB) first.
Buffer addressing for the DataFlash
standard page size (528 bytes) is referenced in
the
datasheet using the terminology
BFA9 - BFA0 to denote the 10 address bits required
to desig-
nate a byte address within a
buffer. Main memory addressing is referenced using
the
terminology PA12 - PA0 and BA9 -
BA0, where PA12 - PA0 denotes the 13 address bits
required to designate a page address
and BA9 - BA0 denotes the 10 address bits required
to
designate a byte address within the
page.
For “Power of 2”
binary page size (512 bytes) the Buffer addressing
is referenced in the
datasheet using
the conventional terminology BFA8 - BFA0 to denote
the 9 address bits
required to
designate a byte address within a buffer. Main
memory addressing is referenced
using
the terminology A21 - A0, where A21 - A9 denotes
the 13 address bits required to desig-
nate a page address and A8 - A0 denotes
the 9 address bits required to designate a byte
address within a page
设备操作
该装置的操作由从主机处理器的指令。指令的列表
及其相关的操作码第
28
页表
15-1
通过表
15-7
第
p>
31
页。一个有效的指令开始,
CS
的下降沿其次是相应的
8
位
< br>
操作码和所需的缓冲区或主内存地址的位置。虽然
CS
引脚为低电平,过渡期补贴,
gli
ng
的
SCK
引脚控制装载操作码和所
需的缓冲区或主内存
通过
SI
(串行输入)引脚的地址位置。所有指令,地址和数据是跨
首先最重要的位(
MSB
)传来的。
缓冲区寻址标准的
DataFlash
页面大小(
528
字节)中引用
数据表使用的术语
BFA9 - BFA0
表示
10
位地址需要
D
ESIG-
内特缓冲区内的字节地址。使用主内存寻址引用
术语
PA12 -
PA0
和
BA9 -
BA0
,其中
PA12 - PA0
表
示
13
位地址
需要指定一个网页地址和
BA9 - BA0
< br>表示需要
10
位地址
在页面中指定一个字节的地址。
为“
Power2
”二进制页大小(
512
字节)的缓冲区寻址中引用
使用常规术语
BFA8 - BFA0
来表示的
9
位地址的数据表
需要指定缓冲区内的一个字节的地址。主存储器寻址引用
使用的术语
A21 -
A0
,
A21 - A9
代表的
13
个地址位需要
DESIG-
内特页面地址和
A8 - A0
表示<
/p>
9
位地址需要指定一个字节
一个页面内的地址
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 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
。读命令
通过指定适当的操作码,可以将数据从主存储器读出,或从任一
其中的两个
SRAM
数据缓冲区。数据
闪存支持模式
0
和急流协议
模式
3
。请参阅“详细位级读时序”图本数据表
为每个模式的时钟周期序列的详细信息。
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 DataFlash
standard page
size (528 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 4 don’t care
bytes.
The
first 13 bits
(PA12 - PA0) of the 23-bit address sequence
specify which page of the main mem-
ory
array to read, and the last 10 bits (BA9 - BA0) of
the 23-bit address sequence specify the
starting byte address within the page.
To perform a continuous read from the binary page
size
(512 bytes), the opcode (E8H) must
be clocked into the device followed by three
address bytes
and 4 don’t care bytes.
The first 13 bits (A21
- A9) of the
22-bits sequence specify which page of
the main memory array to read, and the
last 9 bits (A8 - A0) of the 22-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 cloc
k
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, 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 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 cross-
ing 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.1
连续阵列读取(传统命令:
E8H
)
:高达
66 MHz
通过提供一个初始的主存储器阵列的起始地址,连续阵列读
命令可以被用来顺序地读取从设备的连续的数据流
仅仅提供一个时钟信号
;
没有额外的寻址信息或控
制信号需要
被提供。数据闪存集成了一个内部地址计数器会自动
在每个时钟周期的增量,允许一个连续的读操作,而不需要
<
/p>
额外的地址序列。要执行连续读的
DataFlash
标准页面
大小(
528
字节)
,后跟三个地址的设备操作码的
E8H
必须移入
字节(其中包括
p>
24
位的网页地址和字节序列)和
4
不在乎字节。该
第
13
位(
PA12 - PA0
)的<
/p>
23
位地址序列指定页面的主要
MEM
ory
阵列读,最后
10
位(
BA9 - BA0
)的
23
位地址序列指定
起始字节地址内页。要执行连续读取二进制页大小
(
512
字节)
,操作码
(
E8H
)必须移入设备,然后通过三个地址字节
和
4
不在乎字节。的
p>
22
位序列的第
13
位(
A21 - A9
)指定页
<
/p>
主存储器阵列读,最后
9
位(
A8 - A0
)的
22
位的地址序列
指定页面内的起始字节地址。不在乎字节后面的地址
字节需要初始化读操作。继不在乎字节,额外的时钟
SCK
引脚上的脉冲会导致数据上的
SO
(串行输出)引脚输出。
CS
引脚必须保持低在加载过程中的操作码,地址字节,不关心
字节,而数据的读出。当在主存储器中的页面的结束达到阵列读期间
aCont
inuous
,该设备
将继续读取下一个页面的开始与
没有在页面边界交叉(交叉从一个页面的结束产生延误
下页的开头)
。当主存储器阵列中的最后一位被读取,
该设备将继续读取在存储器的第一页的开头。由于与交叉
p>
ING
在页边界时将产生环绕着结束的,没有延迟
< br>
数组的数组的开始。
从低到
高的
CS
引脚上的过渡将终止读操作和三态输出
引脚(
SO
)
。最高
SCK
频率连续阵列读允许定义
的
fCAR1
规范。连续
阵列读绕过这两个数据缓冲区和叶
内容缓冲器不变。
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 528 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 23-bit
address sequence specify which page of the
main memory array to read, and the last
10 bits (BA9 - BA0) of the 23-bit address sequence
specify the starting byte address
within the page. To perform a continuous read with
the page
size set to 512 bytes, the
opcode, 0BH, must be clocked into the device
followed by three
address bytes (A21 -
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.2
连续阵列读(高频模式:
p>
0BH
)
:高达
6
6 MHz
此命令可用于串行接口读取主存储器阵列顺序
<
/p>
在高速模式下最大由
fCAR1
指定任何
时钟频率高达。要执行
连续读取阵列的页面大小设置为
528
字节时,
CS
必须首先被断言然后
操作码
0BH<
/p>
必须移入三个地址字节和一个虚拟的设备
字节。
23
位地址序列的第
13
位(
PA12 -
PA0
)指定的哪一页
主存储器阵列
读,和最后一个
10
位的
23
位的地址序列(
BA9 -
BA0
)
指定页面内的起始字节地址。要执行连续读取页面
大小设置为
512
字节,操作码,
0BH
必须移入设备,然后由三个
地址字节(
A21 -
A0
)和一个空字节。虚拟字节,额外的时钟脉冲
在
SCK
引脚将导致数据上的
SO
(串行输出)引脚输出。
C
S
引脚必须保持低的加载过程中的操作码,地址字节,读
p>
ing
的数据。当在主内存中的页面年底时达到连续阵列
阅读时,设备将继续阅读下页开始发生没有延误
在页边界交叉(从结束一个页面的开始处的交叉
下页)
。当主存储器阵列中的最后一位被读取,该设备将配置
继续更新开始时读回的第一页存储器。跨越页
边界,没有延误时将产生从数组末尾回绕
开始的数组。从低到高的
CS
引脚上的过渡将终止读操作<
/p>
和三态输出引脚(
SO
)
。该最大
SCK
频率允许的
连续
阵列读定义由
fCAR1
规范。连续阵列读绕过两个
数据缓冲器和离开的缓冲区的内容不变。
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 528 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 23-bit address sequence
specify which page of the main memory
array to read, and the last 10 bits (BA9 - BA0) of
the
23-bit address sequence specify the
starting byte address within the page. To perform
a contin-
uous read with the page size
set to 512 bytes, the opcode, 03H, must be clocked
into the device
followed by three
address bytes (A21 - A0). Following the address
bytes, 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
Continuous Array Read bypasses both data buffers
and
leaves the contents of the buffers
unchanged.
6.3
连续阵列读取:高达
33 MH
z
(低频率模式:
03H
)
此命令可用于串行接口读取主存储器阵列顺序
没有一个空字节以指定的最大频率
fCAR2
< br>。要执行连续
读取阵列的页面大小设置为
528
字节时,
CS
必须首
先被断言一个操作码,
03H
,必须
移入三个地址字节(包括
24
位的设备
页面地址和字节序列)
。
23
位地址序列的第
13
位(
PA12 - PA0
)
指定读取主存储器阵列页,而最后
10
位(<
/p>
BA9 - BA0
)的
23
位地址序列指定页面内的起始字节地址。要执行康廷
uous
读的页面大小设置为
5
12
字节,操作码,
03H
,必须移入
设备
其次通过三个地址字节(
A21
- A0
)
。地址字节,额外的时钟脉冲之后
< br>
在
SCK
引脚将导致数据上的
SO
(串行输出)引脚输出。
CS
引脚必须保持低的加载过程中的操作码,地址字节,读
ing
的数据。当在主内存中的页面年底时达到
连续阵列
读取后,
设备将继续读取下
一个页面的开始与没有延迟期间产生的页边界交叉
(交叉从结束
一个页面的开头
下页)
。当主存储器
阵列中的最后一位被读取,该设备将配置
继续更新开始时读回的第一页存储器。跨越页
边界,没有延误时将产生从数组末尾回绕
开始的数组。从低到高的
CS
引脚上的过渡将终止读操作<
/p>
和三态输出引脚(
SO
)
。连续阵列读绕过两个数据缓冲区
离开的缓冲区的内容不变。
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 DataFlash standard page size (528 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 4 don’t care bytes. The
first 13 bits (PA12
- PA0) of
the 23-bit address sequence specify the
page in main memory to be read, and the last 10
bits
(BA9 - BA0) of the 23-bit address
sequence specify the starting byte address within
that page.
To start a page read from
the binary page size (512 bytes), the opcode D2H
must be
clocked into the device
followed by th
ree address bytes and 4
don’t care bytes. The first 13 bits
(A21 - A9) of the 22-bits sequence
specify which page of the main memory array to
read, and
the last 9 bits (A8 - A0) of
the 22-bits address sequence specify the starting
byte address within
the
p
age. The don’t care bytes that follow
the address bytes are sent to initialize the read
opera
-
tion. Following the
don’t care bytes, additional pulses on SCK 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, 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
pin (SO). The maximum SCK 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
主存储器页读
甲主存储器页面读取允
许用户直接读取数据,从
8192
页中的任一项
在主存储器中,绕过两个数据缓冲区和离开缓冲区的内容
p>
不变。要启动一个页面读取的
DataFlash
< br>标准页面大小(
528
字节)
,
操作码
D2H
必须移入设备,然后通
过三个地址字节(包括
24
位地址和
字节序列)和
4
不在乎字节。第
13<
/p>
位(
PA12 -
PA0
)
的
23
位的地址序列指定在主存储器中的页被读取,而最后
10<
/p>
位
(
BA9
- BA0
)的
23
位地址序列指定该
页面内的起始字节地址。
要启动一个页面读出的二进制页大小
(
512
字节)
,操作码
D2H
必须是
移入设备,
其次是三个地址字节和
4
不在乎字节。第
13
位
(
A21 - A9
)的
22
位序列中,指定页主存储器阵列读取,并
p>
在过去的
9
位(
A
8 - A0
)的
22
位地址序列内指
定的起始字节地址
的页面。不在乎字节后面的地址字节发送到初始化读操作
p>
重刑。继不在乎字节,额外的数据被输出的脉冲在
SCK
结果
SO
(串行输出)
引脚。在加载过程中的操作码,
CS
引脚必须保持低
地址字节,不在乎字节,读取数据。当一个页面的端部在
到达主存储器,该设备将继续上面的开头相同的回读
页面。从低到高的
CS
引脚上的过渡将终止读操
作和三态
输出引脚(
SO
)
。该最大
SCK
频率允
许的主存储器页读
由
fsck
规范定义。主存储器页读绕过两个数据缓冲区
叶的缓冲区的内容不变
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. 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.
To
perform a buffer read from the DataFlash standard
buffer (528 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). To perform a buffer read from
the binary buffer
(512 bytes), the
opcode must be clocked into the device followed by
three address bytes com-
prised of 15
don’t care bits and 9 buffer address bits (BFA8
- BFA0). Following the address
bytes, one don’t care byte must be
clocked in to initialize the read operation. The
CS pin must
remain low
during the loading of the opco
de, the
address bytes, the don’t care byte, 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 pin (SO).
6.5
缓冲区读
SRAM
数据缓冲区可以被独立地访问主存储器阵列,和利用率
ING
缓冲区读命令允许数据直接从缓冲区顺序读取。四
可用于缓冲器读操作码,
D4H
p>
或
D1H
缓冲区
1
和缓冲区
2
D6H
或
D3H
命令。每个操作码的
使用取决于将要使用的最大
SCK
频率
从缓冲区中读出的数据。
D4H
p>
和
D6H
操作码的可用于任何
SCK
频率
指定的最大<
/p>
fCAR1
。
D1H
和
D3H
操作码,可用于较低频
率的
读操作最大由
fCAR2
指定。
要执行一个缓冲区读取从数据闪存标
准缓冲液(
528
字节)
,操作码必须
是
不在乎移入设备,其次是三个地址字节组成的
14
位和
10
缓冲区地址的位(
BFA9 -
BFA0
)
。要执行从二进制缓冲区中读出的缓冲
(
512
字节)
,操作码必须移入设备,然后通过三个地址字节
COM-
不在乎珍贵的
15
位和
9<
/p>
缓冲区地址的位(
BFA8 -
BFA0
)
。继地址
字节,一个不在乎字节必须主频初始化读操作。
CS
引脚必须
期间保持低负荷的操作码,地址字节,不关心字节,和
读取的数据。当一个缓冲区的末端到达时,该设备将继续上面的回读
开始的缓冲区。从低到高的
CS
引脚上
的过渡将终止读操作
和三态输出引脚(
SO
)
。
7. Program and Erase Commands
7.1 Buffer Write
Data can be
clocked in from the input pin (SI) into either
buffer 1 or buffer 2. To load data into the
DataFlash standard buffer (528 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 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.
To load data into the binary buffers (512 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 15 don’t care bits and 9
buffer address bits (BFA8
- BFA0). The
9 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 con-
tinue to be loaded into the
buffer until a low-to-high transition is detected
on the CS pin.
7
。编程和擦除命令
7.1
缓冲区写
数据可以同步分为缓冲区
1
或缓冲区
2
从输入引脚(
SI
)
。为了将数据加载到
DataFlash
的标准缓冲液(
528
字节)
< br>,
1
个字节的操作码,缓冲区
1
或
87H84H
缓冲区
2
,
必须移入设备,其次是
三个地址字节组成的
14
位不在乎
<
/p>
和
10
缓冲区地址的位(
BFA9 - BFA0
)
。
10
缓冲区地址位在指定的第一个字节
要写入的缓冲区。将数据加载到二进制缓冲区(
512
字节)
,
1
个字节的操
作码
84H
缓冲
1
< br>或
87H
缓冲
2
,必须移入设备,其次通过三个地址字节
不在乎包括
15
位和
9
个
缓冲地址的位(
BFA8 -
BFA0
)
。
9
缓冲区地址
位指定要写入的缓冲区的第一个字节。最后一个地址字节后已移入
到设备中,然后将数据移入在随后的时钟周期。如果结束数据
达到缓冲区,该设备将环绕回缓冲区的开始。数据将
CON-
继续更新被加载到缓冲区中,直到
CS
引脚上检测到由低到高的过渡。
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 DataFlash
standard page size (528 bytes), the
opcode must be followed by three address bytes
consist of
1 don’t care bit, 13 page
address bits (PA12
- PA0) that specify
the page in the main memory to
be
written and 10 don’t care bits. To perform a
buffer to main memory page program with
built
-in
erase for the
binary page size (512 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 2 don’t care bits
13-page address bits (A21 - A9) that
specify the page in the main memory to be written
and
9 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.2
缓冲区主存储器页编程与内置
擦除
写入到缓冲器
1
或缓冲区
2
中的数据可以被编程到主存储器中。
1
字节
操作码,
83H
缓冲
1
或
86H
缓冲
2
,必须移入设备。对于数据闪存
标
准的页面大小(
528
字节)
,操作码
必须遵循三个地址字节组成
1
不在乎
位,
13
页地址位(
PA12 -
PA0
)指定的页面主存储器
写入和
10
位不在乎。要执行一个缓冲区,内置的主内存页面程序
p>
擦除的二进制页大小(
512
字节)
,操作码在缓冲区
2
缓冲区
1
或
86H83H
,必须
移入设备,然后由三个地址字节组成的<
/p>
2
位不在乎
13
页的地址位(
A21 -
A9
)指定页面在主存储器进行写
9
不在乎位。当一个由低到高的转变发生在
CS
< br>引脚,该部分将首先擦除
选择在主内存中的页(擦除状
态为逻辑
1
)
,然后程序存储的数据<
/p>
到指定的页面在主内存中的缓冲区。了擦除和编程的
页面内部自定时和
TEP
最大的时间应该发生。
在此期间,
状态寄存器和
RDY/
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 DataFlash standard page size (528
bytes), the opcode must be followed by
three address bytes consist of 1
don’
t care bit, 13 page address bits
(PA12 - PA0) that specify
the page in
the main memory to be written and 10 don’t care
bits. To perform a buffer to main
memory page program without built-in
erase for the binary page size (512 bytes), the
opcode
88H for buffer 1 or 89H for
buffer 2, must be clocked into the device followed
by three address
bytes consisting of 2
don’t care bits, 13 page address bits (A21
- A9) that specify the page in the
main memory to be written and 9 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 mem-
ory. It is necessary that the 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.3
缓冲区到主存储
器的页程序没有内置擦除
先前擦除主内存页面内的内容要么可以编程
< br>缓冲区
1
或缓冲区
2
。
1
个字节的操作码缓
冲区缓冲区
1
或
89H
,
88H
,必须移入
设备。对于标准的
DataFlash
页面大
小(
528
字节)
,操作码必须遵循<
/p>
三个地址字节包含
1
< br>位,
13
页地址位(
PA12
- PA0
)指定不在乎
要写入主存
储器和
10
页不在乎位。要执行一个缓冲区,以主
内存页程序没有内置擦除二进制页大小(
512<
/p>
字节)
,操作码
88H
缓冲
1
或
89H
缓冲
2
,必须后跟三个地址
的设备移入
由
2
字节不在乎位,
13
页地址位(
A
21 - A9
)
,在指定的页面
<
/p>
主存储器进行写和
9
位不在乎。当一个由
低到高的转变发生在
CS
引脚时,该部分将存储在缓冲器中的
数据编程到指定的页面中的主要的
mem-
ORY
。这是必要的,在主存储器中的页被编程的是先前已经
擦除使用擦除命令(页擦除或块擦除)之一。编程的
页面内部自定时和
TP
最大的时间应该发生。在
此期间,在
状态寄存器和
RDY/
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 DataFlash standard
page size (528 bytes), an opcode of 81H must be
loaded
into the device, followed by
three address bytes comprised of 1
don’t care bit, 13 page
address
bits (PA12 -
PA0) that specify the page in the main
memory to be erased and 10 don’t care
bits.
To perform a page
erase in the binary page size (512 bytes), the
opcode 81H must be loaded
into the
device, followed by three a
ddress bytes
consist of 2 don’t care bits, 13 page address
bits
(A21 -
A9)
that specify the page in the main memory to be
erased and 9 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 maxi-
mum 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 DataFlash standard page size (528
bytes), an opcode of 50H
must
be loaded into the device, followed by
three address bytes comprised of 1 don’t care
bit,
10 page address bits
(PA12 -
PA3) and 13 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 (512 bytes), the
opcode 50H must be loaded into the device,
followed by three address
bytes
consisting of 2 don’t care bits, 10 page address
bits (A21
-
A12) and 12
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
internally 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.
7.4
页擦除
页擦除命令可用于单独擦除任何页面在主存储器阵列
允许主内存页面编程缓冲区,利用在稍后的时间。要执行
p>
页擦除标准的
DataFlash
页面大小
(
528
字节)
,操作码
81H
必须加载
到设备,
其次是三个地址由
1
字节不关心位,
1
3
页地址
位(
PA12 - PA0
)指定在主
内存中的页面被删除,
10
位不在乎。
要执行页擦除的二进制页大小(
512
字节)
,必须被加载的操作码
81H
到设备,其次是三个地址字节由
2
位,
13
页地址位不在乎
(
A21 - A9
)指定的页面被删
除在主存储器和
9
位不在乎。当一个
由低到高的转变发生在
CS
引脚,该部
分将删除选定的页面(擦除
状态是一个逻辑
< br>1
)
。擦除操作是内部自定时的,应在马克西
妈妈时间
TPE
。在此
期间,状态寄存器和
RDY /
BUSY
脚将表明,
部分正忙。
7.5
块擦除
一次可擦除的块八页。此命令是有用的,当大量
的数据已被写入到器件中。这将避免使用多页擦除命令。
p>
要执行块擦除的
DataFlash
标准页
面大小(
528
字节)
,操作码
50H
必须加载到设备,然后由三个地址字节组成的
1
不在乎位,
10
页地址位(
PA12-PA3
)和
13
位不在乎。
10
页的地址位用来
指定块八页被擦除。要执行块擦除二进制页
< br>大小(
512
字节)
,操作码<
/p>
50H
必须加载到设备,后跟三个地址
由
2
字节不在乎位,
< br>10
页地址位(
A21 - A12
)和
12
位不在乎。
第
10
页的地址位被用于指定块八页被擦除。何时
一个由低到高的转变发生在
CS
p>
引脚,该部分将擦除选定块八
页面。擦除操作是内部自定时,并应采取最大的时间地点
p>
TBE
。在此期间,状态寄存器和
RDY
/ BUSY
脚将表明,部分正忙。
7.6 Sector Erase
The Sector
Erase command can be used to individually erase
any sector in the main memory.
There
are 64 sectors and only one sector can be erased
at one time. To perform sector 0a or
sector 0b erase for the DataFlash
standard page size (528 bytes), an opcode of 7CH
must be
loaded into the device,
followed by three address bytes comprised of 1
don’t care bit, 10 page
address bits (PA12 -
PA3)
and 13 don’t care bits. To perform a sector
1
-63 erase, the opcode
7CH
must be
loaded into the device,
followed by three address bytes comprised of 1
don’t
care bit, 4 page
address bits (PA12 -
PA9) and 19 don’t
care bits. To perform sector 0a or
sector
0b erase for the
binary page size (512 bytes), an opcode of 7CH
must be loaded into the
device,
followed by three address bytes comprised of 2
don’t care bit and 10 page address bits
(A21 -
A12) and 12 don’t
care bits. To perform a sector 1
-63
erase, the opcode 7CH must be
loaded
into the device, followed by three address bytes
compri
sed of 2 don’t care bits
and
4 page address bits (A21
-
A18) and 18 don’t care bits. The page
address bits are used to spec
-
ify 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.
7.6
扇区擦除
扇区擦除命令可用于单独擦除任何部门在主存储器。
有
64
个扇区,并在同一时间只有一个扇区可擦
除。要执行部门
0a
或
行业
0B
擦除的
DataF
lash
标准页面大小(
528
字节)
,操作码
7CH
必须
< br>
装入设备,由三个地址字节组成的
1
< br>不关心位,
10
页
地址位(
PA12 - PA3
)和<
/p>
13
位不在乎。要执行部门
1-63
p>
擦除,操作码
7CH
必须加载到设备,其次通过三个地址字节组成的
1
不
护理位,
4
页地址
位(
PA12 - PA9
)和
19<
/p>
位不在乎。要执行部门
0a
或部门
0B
擦除的二进制页大小(
512
字节)
,必须被加载到一个操作码
7CH
设备,然后由三个地址由
2
个字节不在乎位和
10
页地址位
(
A21 - A12
)和
12
位不在乎。要执行部门
1-63
擦除,操作码
7CH
必须
加载到设备,其次是三个地址由
2
个字节不关心位和
4
页地址位(
A21 - A18
p>
)和
18
位不在乎。该网页的地址位是用来
规范
IFY
是要被擦除的扇区内的任
何有效的地址位置。当低到高
过渡发生在
CS
引脚,该部分将删除选定的部门。擦除操作是
内部自定时的,应在谢的最大时间。在这段时间内,状态
注册和
RDY/
BUSY
脚将表明,部分正忙。
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.
The WP pin can be asserted while the
device is erasing, but protection will not be
activated until
the internal erase
cycle completes.
芯片擦除(
1
)
整个主存储器可擦除一次使用芯片擦除命令。
要执行芯片擦除命令,一个
4
字节的命令序列
C7H
,
94H
,
p>
80H
和
9AH
必须移入设备。由于整个存储器阵列是要被擦除,没有地址
字节需要被移入设备,并在操作码后的任何数据同步将
忽略。操作码序列的最后一位被移入后,
CS
引脚被拉
serted
开始擦除程序
。擦除操作是内部自定时,并应采取
放置在时间
TCE
。在此期间,状态寄存器将表明该设备是忙。
芯片擦除命令不会影响受保护的部门或锁定
;
< br>内容
这些部门将保持不变。只有这些部门不保护或锁定
下来将被删除。
WP
引脚可以断言,同时该设备擦除,但保障不会被激活,直到
内部擦除周期完成。
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 pin
(SI)
and
then programmed into a specified page in the main
memory. To perform a main memory
page
program through buffer for the DataFlash standard
page size (528 bytes), a 1-byte opcode,
82H for buffer 1 or 85H for buffer 2,
must first be clocked into the device, followed by
three
address bytes. The address bytes
are comprised of 1 don’t care bit, 13 page address
bits,
(PA12 - PA0) that
select the page in the main memory where data is
to be written, and 10 buffer
address
bits (BFA9 - 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 (512 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 2 don’t
care bits, 13 page address bits (A21
-
A9) that specify the page in the main
memory to be written, and 9 buffer
address bits (BFA8 - 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.
7.8
主存储器页方案通过缓冲区
此操作是一个组合的缓冲区写缓冲区到主存储器的页编程
p>
内置擦除操作。数据首先被移入缓冲区
1
或
缓冲区
2
从输入引脚(
SI
)
,然后编程到主存储器中的一个指定的页面。要执行的主存储器
页编程通过缓冲的
DataFlash
标准页面大小(
528
字节)
,
1
个字节的操作码,
缓冲区
1
或缓冲区
2
为
85H
,
82H
必须先移入设备,其次是三
地址字节。地址字节
是由
1
位,
13
页地址位不在乎,
(
PA12 -
PA0
)
,选择页面在主内存中的数据将被写入,
10
缓冲区
地址的位(
BFA9 -
BFA0
)选择要写入的第一个字节的缓冲区。要执行
主存储器的页缓冲区的程序通过二进制页大小(
512
字节)
,操作码
82H
缓冲
1
或
85H
缓
冲
2
,必须移入设备,然后通过三个地址字节
< br>
不在乎组成的
2
位,
13
页地址位(
A21 -
A9
)指定的页面在主
要写入的内存
,和
9
缓冲区地址的位(
BFA8 -
BFA0
)选择的第一个字节
要写入的缓冲区。毕竟地址字节的时钟,该部分将数据从输入
销和存储在指定的数据缓冲区。如果达到缓冲区的末尾,该设备将
绕回缓冲区的开始。当有一个从低到高的
CS
过渡
针,部分将首先删除选定的页面在主内存中所
有
1s
,然后编程
到那个内存页面中的缓冲区中存储的数据。了擦除和编程的
<
/p>
页面内部自定时和
TEP
最大的时间应该
发生。在此期间,
状态寄存器和
RDY /
BUSY
脚将表明,部分正忙。
8
。扇区保护
两种保护方法,硬件和软件控制,提供保护,防止
无意的或错误的编程和擦除周期。软件控制的方法依赖于
使用软件命令来启用和禁用部门的保护,同时硬件的
受控方法采用了写保护(
WP
)引脚。的选择,
其中扇区
是被保护的或未被保护的对编程和擦除操作中指定的
非易失性扇区保护寄存器。部门保护与否的状态一直
启用或禁用的软件或硬件控制的方法可以阻止
通过检查状态寄存器开采。
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
-
-
-
-
-
-
-
-
-
上一篇:软性电路板用基材
下一篇:X射线衍射分析技术综述详解