Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/GFXTIM/GFXTIM_AFCC1R#0x0
GFXTIM absolute frame counter compare 1 register
frame number
https://github.com/modm-io/cmsis-svd-stm32