Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/XSPI1/XSPI_DCR4#0x0
REFRESH=B_0x0
XSPI device configuration register 4
Refresh rate
0 (B_0x0): refresh disabled
https://github.com/modm-io/cmsis-svd-stm32