Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32h5/STM32H523/OCTOSPI/OCTOSPI_DCR4#0x0
REFRESH=B_0x0
OCTOSPI device configuration register 4
Refresh rate
0 (B_0x0): Refresh disabled
https://github.com/modm-io/cmsis-svd-stm32