GD32W51x User Manual
711
21.
Serial/Quad Parallel Interface (SQPI)
21.1.
Overview
Serial/Quad Parallel Interface (SQPI) is a controller for external serial/dual/quad parallel
interface memory peripheral. For example: SQPI-PSRAM and SQPI-FLASH.
With this controller, users can use external SQPI interface memory as SRAM simply.
21.2.
Characteristics
SQPI controller has two independent sets of configure registers for write operation and
read operation.
SQPI controller support ID length setting.
SQPI controller can configure the sampling edge of the SQPI_CLK during the read
operation.
SQPI controller support configuring the length of command phase, address phase, and
waitcycle phase.
SQPI controller support configuring output clock frequency which is divided by HCLK.
SQPI controller support no address phase and data phase operation which is named
special command by the controller.
SQPI controller support READ ID command which is more than 32 bit data during one
AHB command.
SQPI controller support AHB burst operation and 8/16/32 bit AHB command.
SQPI controller support 256MB external memory space.
Logic memory address range: 0x6000_0000 - 0x6FFF_FFFF.
SQPI controller support 6 types mode for different combination of command, address,
waitcycle, and data phase.
21.3.
Function overview
21.3.1.
SQPI mode definition
In mode name, the first character indicates command phase valid IO number, the second
indicates address phase valid IO number, and the third indicates data phase valid IO number.
For each character, S means single (1 IO), D means dual (2 IO), Q means quad (4 IO)
Table 21-1.
SQPI controller mode definition
Signal
Direction
Operation Mode
SSS
SSQ
SQQ
QQQ
SSD
SDD
SQPI_CLK
Output
Serial Clock