Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32G474xx/HRTIM_TIMF/CMP2FR#0x0
Timerx Compare 2 Register
Timerx Compare 2 value
https://github.com/cmsis-svd/cmsis-svd-data