Datasheet
2015 Microchip Technology Inc. Preliminary DS60001320B-page 327
PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family
20.0 SERIAL QUAD INTERFACE
(SQI)
The SQI module is a synchronous serial interface that
provides access to serial Flash memories and other
serial devices. The SQI module supports Single Lane
(identical to SPI), Dual Lane, and Quad Lane modes.
Key features include:
• Supports Single, Dual, and Quad Lane modes
• Supports Single Data Rate (SDR) and Double
Data Rate (DDR) modes
• Programmable command sequence
• eXecute-In-Place (XIP)
• Data transfer:
- Programmed I/O mode (PIO)
- Buffer descriptor DMA
• Supports SPI Mode 0 and Mode 3
• Programmable Clock Polarity (CPOL) and Clock
Phase (CPHA) bits
• Supports up to two Chip Selects
• Supports up to four bytes of Flash address
• Programmable interrupt thresholds
• 32-byte transmit data buffer
• 32-byte receive data buffer
• 4-word controller buffer
FIGURE 20-1: SQI MODULE BLOCK DIAGRAM
Note: This data sheet summarizes the features
of the PIC32MZ EF family of devices. It is
not intended to be a comprehensive
reference source. To complement the
information in this data sheet, refer to
Section 46. “Serial Quad Interface
(SQI)” (DS60001244) in the “PIC32
Family Reference Manual”, which is
available from the Microchip web site
(
www.microchip.com/PIC32).
Note: Once the SQI module is configured,
external devices are memory mapped
into KSEG2 and KSEG3 (see Figure 4-1
through Figure 4-2 in Section 4.0
“Memory Organization” for more
information). The MMU must be enabled
and the TLB must be set up to access
this memory (refer to Section 50. “CPU
for Devices with MIPS32
®
microAptiv™ and M-Class Cores”
(DS60001192) of the “PIC32 Family
Reference Manual” for more information).
Transmit
Buffer
SQI Master
Interface
Control and
Status
Registers
(PIO)
System Bus
Receive
Buffer
DMA
Bus Slave
Bus Master
Control
Buffer
Note 1: When configuring the REFCLKO2 clock source, a value of ‘0’ for the ROTRIM<8:0> bits must be selected.
2: This clock source is only used for SQI Special Function Register (SFR) access.
PBCLK5
(2)
REFCLKO2
(1)
(TBC)
SQID0
SQID1
SQID2
SQID3
SQICLK
SQICS0
SQICS1