Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l4/STM32L412/RCC/AHB3SMENR#0x0
AHB3 peripheral clocks enable in Sleep and Stop modes register
QSPISMEN
https://github.com/modm-io/cmsis-svd-stm32