Skip to main content
Associate II
April 22, 2026
Question

STM32CubeMX2 with TouchGFX

  • April 22, 2026
  • 2 replies
  • 172 views

Hello everyone,

I’m trying to develop a new project using an STM32C552RET6 with a TFT display.

I’d like to use TouchGFX for this, but I can’t find any instructions in CubeMX2 on how to configure a project as a graphical application.

I saw some examples in TouchGFX Designer using the STM32C5, but I got the impression that the integration was done manually.

So, does anyone know if CubeMX2 has this functionality?

Thanks,

Matheus

 

 

2 replies

Technical Moderator
April 23, 2026

Hello @MatheusNifocci77, and Welcome to ST Community!

You can start by creating the project in TouchGFX Designer and designing your graphical application. After generating it, you can open the .ioc2 file, inspect the configuration, configure other peripherals if needed, and regenerate the project. Be sure to review the available examples as references.

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.
Associate II
April 23, 2026

Hello StackPointer,

 

Thank you for your attention, but I couldn’t find the option to select TouchGFX as middleware in STM32CubeMX2, as in CubeMX, where it’s possible to configure the project as a graphical application.

Currently, only FreeRTOS is available as middleware in CubeMX2.

Do you know when this option will be available in CubeMX2?

ST Employee
April 24, 2026

Hello MatheusNifocci77

There is currently no direct integration of CubeMX2 and TouchGFX. Instead you have to manually add TouchGFX to your project by copying and adapting files from another existing similar TouchGFX application. We are currently working on a guide on how to do this. But it will be a "manual" process for now.

I will advice you to start by looking at the NUCLEO-C562 example project available for download in TouchGFX Designer:

PeterVang_2-1777015279558.png

You can then either see if you can modify this project to fit your hardware, or you can set up your own project in CubeMX2 and then add TouchGFX by copying the TouchGFX folder from the example project into your project and adapt it.

Best regards

Peter