Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32H7x5_CM7/HRTIM_TIMD/CPT2DR#0x0
Timerx Capture 2 Register
Timerx Capture 2 value
https://github.com/cmsis-svd/cmsis-svd-data