The Quad-SPI controller requires a reset (CRL_APB.RST_LPD_IOU2 [qspi_reset]) when the reference clock is changed.