7 buffer read – Rainbow Electronics AT45DB041E User Manual

Page 9

Advertising
background image

9

AT45DB041E [ADVANCE DATASHEET]

8783B–DFLASH–11/2012

of the main memory array to read and the last 9 bits (BA8 - BA0) of the 20-bit address sequence specify the starting byte
address within the page. To perform a Continuous Array Read using the binary page size (256 bytes), the opcode 01h
must be clocked into the device followed by three address bytes (A18 - A0). Following the address bytes, additional clock
pulses on the SCK pin will result in data being output on the SO pin.

The CS pin must remain low during the loading of the opcode, the address bytes, and the reading 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
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 pin (SO). The maximum
SCK frequency allowable for the Continuous Array Read is defined by the f

CAR3

specification. The Continuous Array

Read bypasses both data buffers and leaves the contents of the buffers unchanged.

5.6

Main Memory Page Read

A Main Memory Page Read allows the reading of data directly from a single page in the main memory, bypassing both of
the data buffers and leaving the contents of the buffers unchanged. To start a page read using the standard DataFlash
page size (264 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 four dummy bytes. The first 11 bits (PA10 - PA0) of the 20-bit
address sequence specify the page in main memory to be read and the last nine bits (BA8 - BA0) of the 20-bit address
sequence specify the starting byte address within that page. To start a page read using the binary page size (256 bytes),
the opcode D2h must be clocked into the device followed by three address bytes and four dummy bytes. The first 11 bits
(A18 - A8) of the 19-bit address sequence specify which page of the main memory array to read, and the last eight bits
(A7 - A0) of the 19-bit address sequence specify the starting byte address within that page. The dummy bytes that follow
the address bytes are sent to initialize the read operation. Following the dummy bytes, the 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 dummy bytes, and the reading of
data. Unlike the Continuous Array Read command, when the end of a page in main memory is reached, the device will
continue reading back at the beginning of the same page rather than the beginning of the next 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 f

SCK

specification. The Main Memory Page

Read bypasses both data buffers and leaves the contents of the buffers unchanged.

5.7

Buffer Read

The SRAM data buffers can be accessed independently from the main memory array, and utilizing the Buffer Read
command allows data to be sequentially read directly from either one of 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 buffers. The D4h and D6h opcode can be used at
any SCK frequency up to the maximum specified by f

CAR1

while the D1h and D3h opcode can be used for lower

frequency read operations up to the maximum specified by f

CAR2

.

To perform a Buffer Read using the standard DataFlash buffer size (264 bytes), the opcode must be clocked into the
device followed by three address bytes comprised of 15 dummy bits and 9 buffer address bits (BFA8 - BFA0). To perform
a Buffer Read using the binary buffer size (256 bytes), the opcode must be clocked into the device followed by three
address bytes comprised of 16 dummy bits and eight buffer address bits (BFA7 - BFA0). Following the address bytes,
one dummy byte must be clocked into the device to initialize the read operation if using opcodes D4h or D6h. The CS pin
must remain low during the loading of the opcode, the address bytes, the dummy byte (if using opcodes D4h or D6h),
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).

Advertising