Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/JPEG/JPEG_CONFR2#0x0
JPEG codec configuration register 2
Number of MCUs
https://github.com/modm-io/cmsis-svd-stm32