Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/JPEG/JPEG_HUFFENC_AC0_83#0x0
JPEG Huffman encoder AC0
Huffman code 166
Huffman length 166
Huffman code 167
Huffman length 167
https://github.com/modm-io/cmsis-svd-stm32