GD32W51x User Manual
730
FMC mode when TrustZone is active (TZEN=1)
access type
non-secure register
secure register
PRIV=1
PRIV=0
PRIV=1
PRIV=0
read/w rite
secure
operation
privileged
accesses
OK
OK
unprivileged
accesses
all read data is
0, w rite invalid
OK
all read data is 0,
w rite invalid
OK
non-
secure
operation
privileged
accesses
OK
all read data is 0, w rite invalid,
illegal access event
unprivileged
accesses
all read data is
0, w rite invalid
OK
22.7.
Send instruction only once
Sending instruction only once is set by SIOO, this function is valid for all functional modes, if
SIOO bit is set, the instruction is sent only once after QSPI_TCFG has be accessed.
Subsequent command sequence skip instruction phase, until QSPI_TCFG is accessed again.
SIOO has no affect when IMOD = 00.
NOTE: Software should make sure that when use SIOO function, basic mode and FMC mode
cannot be overlapped until one transfer is fully completed, or the result cannot be predicted.
22.8.
Busy
BUSY bit is set once the QSPI start to operate the external flash memory.
In indirect mode, BUSY is reset once the command phase is end and if in indirect read mode,
FIFO also needs be empty.
22.9.
Error management
An error can be generated in the following case.
In indirect or status polling, TERR is generated immediately when a wrong address has been
programed in AR according to FMSZ.
In indirect mode, if the address (ADDR) plus data length (DTLEN) is greater than external
memory size, TERR will be set once the QSPI is triggered.
In memory mapped mode, when an out of range access is done by AHB master or when the