25
AT45DB161B
2224G–DFLSH–5/03
Detailed Bit-level Read Timing – SPI Mode 3 (Continued)
Buffer Read (Opcode: D4H or D6H)
Status Register Read (Opcode: D7H)
SI
1
1
0
10
XXX
CS
SO
SCK
12345 37 38 39 40 41 42 43
XX
HIGH-IMPEDANCE
D
7
D
6
D
5
DATA OUT
COMMAND OPCODE
MSB
t
SU
t
V
D
4
44
SI
1
1
0
10
111
CS
SO
SCK
12345 7891011 12 17 18
HIGH-IMPEDANCE
D
7
D
6
D
5
STATUS REGISTER OUTPUT
COMMAND OPCODE
MSB
t
SU
t
V
6
D
4
D
0
D
7
LSB MSB
D
6
26
AT45DB161B
2224G–DFLSH–5/03
Figure 1. Algorithm for Sequentially Programming or Reprogramming the Entire Array
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.
START
MAIN MEMORY PAGE PROGRAM
THROUGH BUFFER
(82H, 85H)
END
provide address
and data
BUFFER WRITE
(84H, 87H)
BUFFER TO MAIN
MEMORY PAGE PROGRAM
(83H, 86H)
27
AT45DB161B
2224G–DFLSH–5/03
Figure 2. Algorithm for Randomly Modifying Data
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/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/program operations have accumulated before rewriting all pages of the sector. See application note
AN-4 (“Using Atmels Serial DataFlash”) for more details.
Sector Addressing
PA11 PA10 PA9 PA8 PA7 PA6 PA5 PA4 PA3 Sector
0 0 0 000000 0
0 0 0 0XXXXX 1
0 0 0 1XXXXX 2
0 0 1 0XXXXX 3
••••••
••••••
••••••
1 1 0 0XXXXX 13
1 1 0 1XXXXX 14
1 1 1 0XXXXX 15
1 1 1 1XXXXX 16
START
MAIN MEMORY PAGE
TO BUFFER TRANSFER
(53H, 55H)
INCREMENT PAGE
ADDRESS POINTER
(2)
AUTO PAGE REWRITE
(2)
(58H, 59H)
END
provide address of
page to modify
If planning to modify multiple
bytes currently stored within
a page of the Flash array
MAIN MEMORY PAGE PROGRAM
THROUGH BUFFER
(82H, 85H)
BUFFER WRITE
(84H, 87H)
BUFFER TO MAIN
MEMORY PAGE PROGRAM
(83H, 86H)

AT45DB161B-CI

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
NOR Flash 16M bit
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union