64.6.10.1 Initialization Procedure

The QSPI initialization procedure must follow the specific steps below to ensure proper behavior.

  1. Configure QSPI_PCALCFG.
  2. Write:
    • QSPI_CR. DLLON
    • QSPI_CR.STPCAL
  3. Wait for:
    • QSPI_SR.DLOCK=1
    • QSPI_SR.CALBSY=0
  4. Configure QSPI_REFRESH, QSPI_MR, QSPI_SCR, QSPI_SMR, etc.
  5. Wait for QSPI_SR.SYNCBSY=0, then write QSPI_CR.UPDCFG. Wait for QSPI_SR.SYNCBSY=0.
  6. Write QSPI_CR.QSPIEN.
  7. Wait for QSPI_SR.QSPIENS=1.
  8. If automatic refresh is enabled, wait for QSPI_ISR.RFRSHD=1 by polling or interrupt (see Automatic Refresh).