User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 340
UG585 (v1.11) September 27, 2016
Chapter 12: Quad-SPI Flash Controller
The MIO pins for the Quad-SPI controller conflict with both the NOR and NAND interfaces of the
SMC controller. The NOR/SRAM and NAND interfaces cannot be used when Quad-SPI is used. More
information about the MIO pins is provided in section 2.5 PS-PL MIO-EMIO Signals and Interfaces.
12.2 Functional Description
The Quad-SPI flash controller can operate in either I/O mode or linear addressing mode. For reads,
the controller supports single, dual and quad read modes in both I/O and linear addressing modes.
For writes, single and quad modes are supported in I/O mode. Writes are not supported in linear
addressing mode.
12.2.1 Operational Modes
Quad-SPI operating mode transitions are shown in Figure 12-3.
In I/O mode, software can choose varying degrees of control over different aspects of read data
management by setting appropriate register bits. In linear mode, the controller carries out all
necessary read data management and the memory reads like a ROM to software.
12.2.2 I/O Mode
In I/O mode, the software is responsible for preparing and formatting commands and data into
instructions according to the Quad-SPI protocol. The formatted instruction sequence, consisting of
CMD and data, is then pushed into a transmit FIFO by repeated writing into a TXD register. The
transmit logic serializes the content of the TxFIFO in accordance with the Quad-SPI interface
specification and send the data out to the flash memory. While the transmit logic is sending out the
X-Ref Target - Figure 12-3
Figure 12-3: Quad-SPI Operating Mode Transitions
Linear
Addressing
Mode
I/O Mode
UG585_c12_10_072612
Reset
Software
Reset
slcr.QSPI_RST_CTRL[QSPIx_REF_RST, LQSPIx_CPU1x_RST]
Software Reset:
Boot Mode
Quad-SPI