35.6.6.2 Suspend

The QSPI suspend procedure must follow some specific state to ensure proper behavior.

  1. Wait for QSPI_SR.RBUSY = 0 and QSPI_SR.HIDLE = 1.
  2. Set QSPI_CR.QSPIDIS and wait for QSPI_SR.QSPIENS = 0.
  3. Disable the GCLK clock.
  4. Disable the peripheral clock.