Skip to main content
Associate
February 12, 2024
Question

TouchGFX + ILI9341 16bit + FSMC

  • February 12, 2024
  • 1 reply
  • 2368 views

Hi,

i have a simple question about the configuration in the subject:

Ivans91_0-1707779923390.png

to drive the TFT can i use the "parallel RGB (FMC)"?

If i must select the "Custom" interface can i use the X-CUBE-DISPLAY library for ILI9341?

How this library must be interface with TouchGFX function? The display doesn't work.

Best regards,

Ivan

This topic has been closed for replies.

1 reply

Osman SOYKURT
Technical Moderator
February 15, 2024

Hello @Ivans91 ,

I've checked your project and I have some remarks:

1- The version of STM32CubeMX you're using is 6.8.1 and the TouchGFX version is 4.23.1. These 2 softwares are not compatible. We stated here that TouchGFX 4.23.1 is compatible with STM32CubeMX 6.10.0 or above version.

2- X-Cube-Display has been deprecated since STM32CubeMX 6.9.0, so I invite not to use it. You can see an example of our STM32G071_NUCLEO TBS that was using X-Cube-Display before that version but not since.

3- If you really need to use X-Cube-Display, you could try to use TouchGFX 4.22.0 and STM32CubeMX 6.8.0.

Osman SOYKURTST Software Developer | TouchGFX
Ivans91Author
Associate
February 20, 2024

Hi,

thanks for the response.

Now i have TouchGFX 4.22.0, STM32CubeMX 6.8.0 and STM32CubeIDE1.12.1 but TFT doesn't work.

In attached the project. The program is working because there is a led for the status that flashes but the TFT is all white while the project involves a simple green rectangle in the screen.

What is wrong? Miss any library? The display is controlled by ILI9341 driver.

 

Best regards

 

Osman SOYKURT
Technical Moderator
February 27, 2024

Hello @Ivans91 ,

You can use X-Cube-display for ILI9341, this is what we use for the Nucleo-G071RB + GFX01M2 TBS (Interface selected in STM32CubeMX is: Custom).
I invite you to look at what we have done on this TBS and try to replicate the same (you need to use version 3.0.5 of our TBS). 

OsmanSOYKURT_0-1709037022099.png

Osman SOYKURTST Software Developer | TouchGFX