Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/JPEG/JPEG_CONFR3#0x0
JPEG codec configuration register 3
X size
https://github.com/modm-io/cmsis-svd-stm32