cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with MX_JPEG_Init Blocking on STM32N6DK750

HMTb
Associate II

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!

3 REPLIES 3
FBL
ST Employee

Hi @HMTb 

Do you reproduce using the provided firmware here?

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.




Best regards,
FBL
HMTb
Associate II

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.

FBL
ST Employee

@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.




Best regards,
FBL