15-26
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
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” chapte
r.
Data read
Read the QSPI_
n
INTF.TBEIF bit
Write an XIP read command to
the QSPI_
n
TXD register
QSPI_
n
INTF.TBEIF = 1 ?
Wait for an interrupt request
(QSPI_
n
INTF.TBEIF = 1)
Read data from the memory mapped
access area
Read data remained?
Enable memory mapped access mode
(QSPI_
n
MMACF2.MMAEN = 1)
Disable memory mapped access mode
(QSPI_
n
MMACF2.MMAEN = 0)
Remap external Flash memory
(QSPI_
n
MADRH.RMADR[31:20])
End
The slave select signal (#QSPISS
n
) is )
negated by the state machine.
Assert the slave select signal output
from the #QSPISS
n
pin
(QSPI_
n
CTL.MSTSSO = 0)
N
o
Y
e
Y
e
N
o
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...