Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32h5/STM32H523/TIM5/TIM5_ARR#0x0
TIM5 auto-reload register
Auto-reload value
https://github.com/modm-io/cmsis-svd-stm32