Skip to main content
Visitor II
April 21, 2025
Question

Touch GFX SDCard via SPI and internal flash

  • April 21, 2025
  • 2 replies
  • 464 views

Hello,

I’m trying to set up my project on a custom board with an STM32F767IIT6 microcontroller. A display is connected to it via LTDC (480x272). Additionally, there is an SD card connected via SPI. I’m using only the internal RAM — no external memory is connected. My goal is to store graphics on the SD card and display them on the screen. Nothing fancy—mostly small icons.

 

When I generate the project and upload everything to flash memory, the demo example runs without any issues. However, when I configure the project according to YouTube tutorials, the screen shows a scrambled image with colored pixels. The outline of a rotating logo animation is also visible.

 

I’d be grateful for any suggestions on where else I should look for the source of the problem.

 

My settings:

tgfx.pngdma2d.pngltdc1.pngltdc2.png

2 replies

GaetanGodart
Technical Moderator
April 23, 2025

Hello @Shevi14 ,

 

Since your project works fine when everything is in internal, your LTDC configuration controlling the display must be right.

What video did you watch?

Most likely it is your SD card through SPI that is wrong.
You can look at these links to maybe find an answer :

 

Regards,

GaetanGodart
Technical Moderator
May 15, 2025

Hello @Shevi14 ,

 

Have you been able to move forward on your project?

 

Regards,