User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 358
UG585 (v1.11) September 27, 2016
Chapter 12: Quad-SPI Flash Controller
Single SS, Legacy I/O
The Quad-SPI controller can be operated in legacy single-bit serial interface mode for 1x, 2x and 4x
I/O modes as shown in Figure 12-8.
12.5.2 MIO Programming
The Quad-SPI signals can be routed to specific MIO pins, refer to Table 12-9, Quad-SPI Interface
Signals. Wiring diagrams are shown in Figure 12-5 to Figure 12-8. The general routing concepts and
MIO I/O buffer configurations are explained in section 2.4 PS–PL Voltage Level Shifter Enables.
If a four-bit I/O bus is used, then use Quad-SPI 0. If a bus frequency of greater than 40 MHz is
needed, then the Quad-SPI feedback clock must be routed on MIO pin 8.
Example: Program I/O for a Single Device
These steps are required for all of the Quad-SPI I/O interface connections listed above.
1. Configure MIO pin 1 for chip select 0 output. Write 0x0000_1202 to the slcr.MIO_PIN_01
register:
a. Route Quad-SPI 0 chip select to pin 1.
b. 3-state controlled by Quad-SPI (TRI_ENABLE = 0).
c. LVCMOS18 (refer to the register definition for other voltage options).
d. Slow CMOS edge (benign setting).
e. Enable internal pull-up resistor.
f. Disable HSTL receiver (disabled because LVCMOS is selected).
X-Ref Target - Figure 12-8
Figure 12-8: Quad-SPI Single SS, Legacy I/O
UG585_c12_09_102014
Quad-SPI
Controller
Zynq Device (SPI Master)
SPI
Slave
HOLD
QSPI0_SS_N
QSPI0_IO[2]
QSPI0_IO[3]
WP
SS
MISO
MOSI
CLK
QSPI0_SCLK
QSPI0_IO[0]
QSPI0_IO[1]