2026-02-25 7:25 AM
Hello,
I’m trying to add the JPEG encoder to be able to save images in JPEG format to the SD card.
While debugging with LEDs, I noticed that MX_JPEG_Init blocks the program, whereas HPDMA is working correctly.
I have added all the necessary files for JPEG, but it doesn’t seem to activate.
Interestingly, when I disable MX_JPEG_Init, I can see the images on the screen connected to the board without any issue.
I’m wondering if there is a configuration problem with the JPEG or if I’m missing something.
For reference, I’m using the STM32N6 Discovery Kit (STM32N6DK750).
Thanks for any advice!
2026-02-26 4:43 AM
2026-02-26 4:47 AM
Hi, yes, I cloned the repository with all submodules recursively to make sure nothing was missing. Then I started modifying the DCMIPP snapshot project to add JPEG support.
2026-02-26 5:36 AM
@HMTb I would suggest to test the example JPEG_EncodingFromOSPI_DMA as it is and see if the issue persists.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.