Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32L562/OCTOSPI1/SR#0x0
status register
Clear transfer error flag
Clear transfer complete flag
Clear status match flag
Clear timeout flag
https://github.com/cmsis-svd/cmsis-svd-data