AT45DB161D-TU Atmel, AT45DB161D-TU Datasheet - Page 14
![IC FLASH 16MBIT 66MHZ 28TSOP](/photos/7/21/72191/313-28-tsop_sml.jpg)
AT45DB161D-TU
Manufacturer Part Number
AT45DB161D-TU
Description
IC FLASH 16MBIT 66MHZ 28TSOP
Manufacturer
Atmel
Specifications of AT45DB161D-TU
Format - Memory
FLASH
Memory Type
DataFLASH
Memory Size
16M (4096 pages x 528 bytes)
Speed
66MHz
Interface
SPI, 3-Wire Serial
Voltage - Supply
2.7 V ~ 3.6 V
Operating Temperature
-40°C ~ 85°C
Package / Case
28-TSOP
Memory Configuration
4096 Pages X 528 Bytes
Interface Type
Serial, SPI
Clock Frequency
66MHz
Supply Voltage Range
2.5V To 3.6V, 2.7V To 3.6V
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT45DB161D-TU
Manufacturer:
ATMEL
Quantity:
5 510
Company:
Part Number:
AT45DB161D-TU
Manufacturer:
ATMEL
Quantity:
14
Part Number:
AT45DB161D-TU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
9.1.1
9.1.2
14
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 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 t
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 Protection 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 command is sent to the device immediately after erasing the Sector Protection
Register and before the register can be reprogrammed, then the erroneous program or erase command will not be
processed because all sectors would be protected.
Table 9-4.
Figure 9-2.
Program Sector Protection Register Command
Once the Sector Protection Register has been erased, it can be reprogrammed using the Program Sector
Protection Register command.
To program the Sector Protection Register, the CS pin must first be asserted and the appropriate 4-byte opcode
sequence must be clocked into the device via the SI 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
Protection Register contains 16-bytes of data, so 16-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 15.
After the last data byte has been clocked in, the CS pin must be deasserted to initiate the internally self-timed
program cycle. The programming of the Sector Protection Register should take place in a time of t
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 16-bytes, then the protection status of the last 14 sectors cannot be
Command
Erase Sector Protection Register
CS
Atmel AT45DB161D
SI
Each transition
represents eight bits
Erase Sector Protection Register Command
Erase Sector Protection Register
Opcode
Byte 1
Opcode
Byte 2
Opcode
Byte 3
Byte 1
3DH
Opcode
Byte 4
Byte 2
2AH
Byte 3
7FH
Byte 4
CFH
PE
Section
, during which time the
3500N–DFLASH–05/10
P
9.1, the Sector
, during which