User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 356
UG585 (v1.11) September 27, 2016
Chapter 12: Quad-SPI Flash Controller
operation) both device’s status information before writing the status data in the RXFIFO. Table 12-7
shows the data bit arrangement of a 32-bit data word for 8 bit parallel configuration. Table 12-8
shows Quad-SPI CMD behavior in Dual Quad-SPI parallel mode.
In 8 bit parallel configuration, total addressable memory size is 32 MB. This requires a 25-bit address.
All accesses to memory must be word aligned and have double-byte resolution. In linear mode, the
Quad-SPI controller divides the AXI address by 2 and sends the divided address to the Quad-SPI
device. In IO mode, software is responsible for doing the address translation to comply with SPI
24-bit address support.
Table 12-7: Quad-SPI Dual SS, 8-bit Parallel I/O Data Management
Single Device
7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 23 22 21 20 19 18 17 16 31 30 29 28 27 26 25 24
byte 0 byte 1 byte 2 byte 3
Dual Devices
Lower Memory
642 0 1412108 2220181630282624
Dual Devices
Upper Memory
753 1 1513119 2321191731292725
byte 0 byte 1 byte 2 byte 3
Table 12-8: Quad-SPI CMD Behavior in Dual Quad-SPI Parallel Mode
Command Dual Parallel Quad-SPI Controller Behavior
Sector Erase The Quad-SPI controller sends erase command to both chips; 64 KB erase operation is done
to each part. Effectively erases combined 128 KB from both memories.
Read ID Only takes received data from the lower flash bus and places it in RXD. Hence no need to
combine the data. It is therefore required that the upper and lower flash parts be identical
parts when using Parallel Flash Mode.
Page Program Even and odd bits are separated and programed in both memories. Refer to Table 12-7 for
more information.
Read Even and odd data bits are read from both device and are interleaved as shown in Table 12-7.
RDSR The WIP bit from both parts are OR'ed together to form the LSB .of the data read, the other
7 bits come just from the lower bus.