cancel
Showing results for 
Search instead for 
Did you mean: 

Touch GFX SDCard via SPI and internal flash

Shevi14
Associate

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

1 REPLY 1
GaetanGodart
ST Employee

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,

Gaetan Godart
Software engineer at ST (TouchGFX)