64.6.10.1 Initialization Procedure
The QSPI initialization procedure must follow the specific steps below to ensure proper behavior.
- Configure QSPI_PCALCFG.
- Write:
- QSPI_CR. DLLON
- QSPI_CR.STPCAL
- Wait for:
- QSPI_SR.DLOCK=1
- QSPI_SR.CALBSY=0
- 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 (see Automatic Refresh).