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