at25df321a ATMEL Corporation, at25df321a Datasheet - Page 7

no-image

at25df321a

Manufacturer Part Number
at25df321a
Description
32-megabit 2.7-volt Minimum Spi Serial Flash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at25df321a-CCU-T
Manufacturer:
Adesto Technologies
Quantity:
10 000
Part Number:
at25df321a-CCUF
Manufacturer:
LUCENT
Quantity:
40
Part Number:
at25df321a-SH
Manufacturer:
ATMEL
Quantity:
148
Part Number:
at25df321a-SH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at25df321a-SH-T
Manufacturer:
CYPRESS
Quantity:
1 872
Part Number:
at25df321a-SH-T
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at25df321a-SU
Manufacturer:
ATMEL
Quantity:
21 445
5. Device Operation
6. Commands and Addressing
3686C–DFLASH–12/08
The AT25DF321A is controlled by a set of instructions that are sent from a host controller, com-
monly referred to as the SPI Master. The SPI Master communicates with the AT25DF321A via
the SPI bus which is comprised of four signal lines: Chip Select (CS), Serial Clock (SCK), Serial
Input (SI), and Serial Output (SO).
The AT25DF321A features a dual-input program mode in which the SO pin becomes an input.
Similarly, the device also features a dual-output read mode in which the SI pin becomes an out-
put. In the Dual-Input Byte/Page Program command description, the SO pin will be referred to as
the SOI (Serial Output/Input) pin, and in the Dual-Output Read Array command, the SI pin will be
referenced as the SIO (Serial Input/Output) pin.
The SPI protocol defines a total of four modes of operation (mode 0, 1, 2, or 3) with each mode
differing in respect to the SCK polarity and phase and how the polarity and phase control the
flow of data on the SPI bus. The AT25DF321A supports the two most common modes, SPI
Modes 0 and 3. The only difference between SPI Modes 0 and 3 is the polarity of the SCK signal
when in the inactive state (when the SPI Master is in standby mode and not transferring any
data). With SPI Modes 0 and 3, data is always latched in on the rising edge of SCK and always
output on the falling edge of SCK.
Figure 5-1.
A valid instruction or operation must always be started by first asserting the CS pin. After the CS
pin has been asserted, the host controller must then clock out a valid 8-bit opcode on the SPI
bus. Following the opcode, instruction dependent information such as address and data bytes
would then be clocked out by the host controller. All opcode, address, and data bytes are trans-
ferred with the most-significant bit (MSB) first. An operation is ended by deasserting the CS pin.
Opcodes not supported by the AT25DF321A will be ignored by the device and no operation will
be started. The device will continue to ignore any data presented on the SI pin until the start of
the next operation (CS pin being deasserted and then reasserted). In addition, if the CS pin is
deasserted before complete opcode and address information is sent to the device, then no oper-
ation will be performed and the device will simply return to the idle state and wait for the next
operation.
Addressing of the device requires a total of three bytes of information to be sent, representing
address bits A23-A0. Since the upper address limit of the AT25DF321A memory array is
3FFFFFh, address bits A23-A22 are always ignored by the device.
SCK
SO
CS
SI
SPI Mode 0 and 3
MSB
AT25DF321A [Preliminary]
LSB
MSB
LSB
7

Related parts for at25df321a