Skip to main content
Associate
April 16, 2024
Solved

stm32f411RE and TouchGFX

  • April 16, 2024
  • 1 reply
  • 3681 views

Hi, I've been trying a project focusing on GUI display on TouchGFX GFX01M1 with STM32f411RET6 NUCLEO board. I have seen videos in youtube related to TouchGFX and they say that there is a need for FMC interface and LTDC in STM32CubeIDE. But for STM32f411RET6 board there is no FMC and LTDC in STM32CubeIDE, which is essential for interfacing TouchGFX with STM32f411RET6 board. I have thought of using SPI pins but for that I'm needing TFT ili9341 display. I want to implement my project with TouchGFX GFX01M1 only. Kindly suggest me a correct way to do this.

Thank you,

K.M.Vihasitha

Best answer by viha_123

Hello @Mohammad MORADI ESFAHANIASL ,

Thanks for your concern and getting back! I have tried a completely different approach than the one you have mentioned above. I have taken the code of ili9341 display and integrated that with  X-NUCLEO-GFX01M1 display. This worked for me and I have got the output on  X-NUCLEO-GFX01M1 display.

Thank you,

K.M.Vihasitha

1 reply

ST Employee
April 16, 2024

Hello @viha_123 ,

First of all, I should mention that the display module you are considering using is called X-NUCLEO-GFX01M1 , and it is not related to TouchGFX. 

As you mentioned, you need to use SPI to communicate with your display module, and the process for doing that differs from using LTDC. There is a documentation available here to show you the process required for dealing with SPI or FMC displays.
Unfortunately, there is no TouchGFX Board Setup available for the STM32F411, hence you need to start a new project from STM32CubeMX and proceed from there. There is a comprehensive tutorial in the TouchGFX Board bring up documentation that can assist you throughout this journey.

It is also worth mentioning that there are a few TouchGFX Board Setups that use SPI displays, which you can use as inspiration for your custom project. For instance, you can take a look at STM32 NUCLEO-G071RB or STM32 NUCLEO-WB55RG 

STM32 NUCLEO-G071RB TouchGFX Board SetupSTM32 NUCLEO-G071RB TouchGFX Board Setup

 

I hope this helps you. Don't hesitate to ask more questions 

viha_123Author
Associate
April 21, 2024

Hi! Thanks for the reply! Really appreciate it! Sorry for the late reply, but can you please tell what are the correct pins for using SPI with the X-NUCLEO-GFX01M1 and NUCLEO-F411RE board? As I find it in the SPI display expansion boards for STM32 Nucleo-64 - User manual the pins are not matching, as SPI1 is disabled in the board, I'm finding that the hardware is not matching. Kindly give me a suggestion.

Thank you,

K.M.Vihasitha

MM..1
Chief III
April 21, 2024

Why ? On page is marked as compatible X-NUCLEO-GFX01M1 - Display expansion board for STM32 NUCLEO - STMicroelectronics

And SPI displays minimum conect is GND MOSI CLK for touch and bidireect next pins...