15 Quad Synchronous Serial Interface (QSPI)
15-24
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
Data read
End
Read the QSPI_nINTF.TBEIF bit
Write an XIP read command to
the QSPI_nTXD register
Read data from the memory mapped
access area
YES
NO
NO
YES
Read data remained?
QSPI_nINTF.TBEIF = 1 ?
Wait for an interrupt request
(QSPI_nINTF.TBEIF = 1)
Enable memory mapped access mode
(QSPI_nMMACF2.MMAEN = 1)
Disable memory mapped access mode
(QSPI_nMMACF2.MMAEN = 0)
Remap external Flash memory
(QSPI_nMADRH.RMADR[31:20])
(
)
The slave select signal (#QSPISSn) is
negated by the state machine.
Assert the slave select signal output
from the #QSPISSn pin
(QSPI_nCTL.MSTSSO = 0)
(
)
Figure 15.5.6.7 Data Reception Flowchart in Memory Mapped Access Mode
Data reception using DMA
In memory mapped access mode, DMA transfer from the external Flash memory to the internal memory is al-
lowed only for the 32-bit sequential read using the internal FIFO. A non-sequential read and 8/16-bit reads can-
not issue a DMA transfer request as they cannot use the FIFO.
By setting the QSPI_
n
FRLDMAEN.FRLDMAEN
x
bit to 1 (DMA transfer request enabled), a DMA transfer
request is sent to the DMA controller and the external Flash memory data is transferred to the specified internal
memory via DMA Ch.
x
when the FIFO read level is incremented (FIFO data ready flag is set). This function al-
lows high-speed data block transfer as it does not need to execute read commands and uses the data pre-fetched
into the FIFO.
Note, however, that the first data read must be performed via software or a software triggered DMA.
The transfer source/destination and control data must be set for the DMA controller and the relevant DMA
channel must be enabled to start a DMA transfer in advance. For more information on DMA, refer to the “DMA
Controller” chapter.