Skip to main content
Visitor II
November 5, 2024
Question

Display JPG Images from an SD Card Using STM32CubeIDE on STM32F746G

  • November 5, 2024
  • 1 reply
  • 1990 views

Hi everyone,

I’m trying to display jpg images stored on an SD card using STM32CubeIDE (version 1.16.0) with my STM32F746G microcontroller. I found an example on GitHub that uses LIBJpeg for decoding images, this is the repo: 
STM32CubeF7/Projects/STM32746G-Discovery/Applications/LibJPEG/LibJPEG_Decoding at fed648c7cc44ef31894f1460acfd0d1d1ff22da1 · STMicroelectronics/STM32CubeF7

 

I imported this System Workbench project into STM32CubeIDE, but I noticed there’s no .ioc configuration file included which makes it hard for me to figure out how to set up the project from scratch in STM32CubeIDE.

462547616_1656573741570569_4874486899559137205_n.png

 Could anyone help me with the setup? I need to know how to configure the SD card interface for reading image files, integrate LIBJpeg for JPG decoding, and set up the display to show the decoded images. If anyone’s done something like this before or has any tips, I’d really appreciate it!

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    November 7, 2024

    Hello @modulo3see and welcome to the Community;

     

    I advise you to configure your project step by step.

    For that I recommend you to take a look at these resources may help you:

    How to use the JPEG codec peripheral on STM32 MCUs

    STM32F7 OLT - 41. Peripheral - JPEG

    How to create a file system on a SD card using STM... - STMicroelectronics Community

     

    I hope this help you.

    Thank you.

    Kaouthar