Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/DTS/DTS_TSCSMPLCNTR#0x0
DTS TSC sample count register
Sample counter
https://github.com/modm-io/cmsis-svd-stm32