Have a great day,
DDR Mode is enabled by setting the QSPI_MCR[DDR_EN].
The sampling register (QSPI_SMPR) should also be configured. When the serial flashes function in DDR mode the time for which the data is actually valid is smaller than half a clock cycle, it requires that we provide closely spaced sampling points.
Note that some flash vendors provide the DQS signal to which the read data is aligned in DDR mode (Spansion for example). When the DQS signal is used, the QSPI_MCR[DQS_EN] must be set.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------