64.6.10 QSPI Serial Memory Mode

In Serial Memory mode, the QSPI acts as a serial Flash memory controller. The QSPI can be used to read data from the serial Flash memory allowing the CPU to execute code from it (XiP, or Execute in Place). The QSPI can also be used to control the serial Flash memory (Program, Erase, Lock, etc.) by sending specific commands. In this mode, the QSPI is compatible with Single-bit SPI, Dual SPI, Quad and Octal SPI protocols.

To activate this mode, QSPI_MR.SMM must be written to 1.

In Serial Memory mode, data is transferred either by QSPI_TDR and QSPI_RDR or by writing or reading in the QSPI memory space depending on QSPI_IFR.TFRTYP and QSPI_IFR.SMRM configuration.