15 Quad Synchronous Serial Interface (QSPI)
15-2
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
QSPI Ch.n
Timer
CPU core
Clock/shift
register control
circuit
Pull-up/down
control circuit
I/O and slave
select control
circuit
16-bit timer
Underflow
Receive data buffer
RXD[15:0]
Transmit data buffer
TXD[15:0]
Interrupt
control circuit
QSPICLKn
#QSPISSn
1/2
CPOL
PUEN
DIR
MST
MSTSSO
Clock
generator
CLK_QSPIn
Inter
nal data
bu
s
TENDIE
RBFIE
TBEIE
TENDIF
OEIE
OEIF
RBFIF
TBEIF
DMA
controller
DMA request
control circuit
MODEN
BSY
Memory
mapped access
control circuit
TCSH[3:0]
RMADR[31:20]
DUMDL[3:0]
DUMLN[3:0]
DATTMOD[1:0]
DUMTMOD[1:0]
ADRTMOD[1:0]
ADRCYC
MMAEN
XIPACT[7:0]
XIPEXT[7:0]
MMABSY
SFTRST
CHDL[3:0]
CHLN[3:0]
TMOD[1:0]
LSBFST
CPHA
NOCLKDIV
CLK_T16_m
V
DD
V
DD
V
SS
V
DD
Shift registers
QSDIOn[3:0]
FRLDMAENx
RBFDMAENx
TBEDMAENx
Figure 15.1.1 QSPI Configuration
15.2 Input/Output Pins and External Connections
15.2.1 List of Input/Output Pins
Table 15.2.1.1 lists the QSPI pins.
Table 15.2.1.1 List of QSPI Pins
Pin name
I/O
*
Initial status
*
Function
QSDIOn[3:0]
I or O
I (Hi-Z)
QSPI Ch.n data input/output pin
QSPICLKn
I or O
I (Hi-Z)
QSPI Ch.n external clock input/output pin
#QSPISSn
I or O
I (Hi-Z)
QSPI Ch.n slave select signal input/output pin
*
Indicates the status when the pin is configured for the QSPI.
If the port is shared with the QSPI pin and other functions, the QSPI input/output function must be assigned to the
port before activating the QSPI. For more information, refer to the “I/O Ports” chapter.
15.2.2 External Connections
The QSPI operates in master or slave mode. The memory mapped access mode is available only in master mode.
When QSPI Ch.
n
is operating in memory mapped access mode, the #QSPISS
n
output is controlled by the internal
state machine. In this case, only one external QSPI device can be connected.
When QSPI Ch.
n
is operating in register access master mode, the #QSPISS
n
output is directly controlled by a reg-
ister bit. In this case, GPIO pins other than #QSPISS
n
can also be used as the slave select output ports to connect
the QSPI to more than one external QSPI device.
Figures 15.2.2.1 to 15.2.2.7 show connection diagrams between the QSPI in each mode and external QSPI devices.