Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32g4/STM32G474/HRTIM_TIMF/PERFR#0x0
Timerx Period Register
Timerx Period value
https://github.com/modm-io/cmsis-svd-stm32