58.6.8.1 Initialization
The QSPI initialization procedure must follow the specific steps below to ensure proper behavior.
- Configure QSPI_REFRESH, QSPI_MR, QSPI_SCR, QSPI_SMR, etc.
- Wait for QSPI_SR.SYNCBSY = 0, then write QSPI_CR.UPDCFG. Wait for QSPI_SR.SYNCBSY = 0.
- Write QSPI_CR.QSPIEN.
- Wait for QSPI_SR.QSPIENS = 1.
- If automatic refresh is enabled, wait for QSPI_ISR.RFRSHD = 1 by polling or interrupt.