Skip to main content
Soren Myllerup MIKKELSEN
ST Employee
December 17, 2018
Question

Guides for using TouchGFX 4.10 with CubeMX 5.0 & Known limitations.

  • December 17, 2018
  • 36 replies
  • 7411 views

Note:

Recommended to use latest X-Cube-TouchGFC 4.13 release. Can be downloaded here: https://www.st.com/content/st_com/en/stm32-graphic-user-interface.html

Documentation link: https://touchgfx.zendesk.com/hc/en-us/sections/360003093319-TouchGFX-Releases

Guides for using TouchGFX with CubeMX & Known limitations.

This forum post will be updated along with newly acquired information regarding the interoperability of CubeMX and TouchGFX.

TouchGFX knowledge base article overview:

Link: https://touchgfx.zendesk.com/hc/en-us/articles/360020001492-Getting-Started-with-CubeMX-and-TouchGFX

This guide gives a general introduction to the workflow of creating an application for graphics with CubeMX and TouchGFX.

There are two ways of getting started with graphics on a ST discovery board

-         1: In TouchGFX Designer select one of the CubeMX enabled Application Templates and start developing graphical applications

-          2: In CubeMX select the desired STBoard from the board selector and add the TouchGFX graphic component. 

Please note, that CubeMX does not provide implementation for BSP layer, these files are located in the respectively STM32Cube package for the selected STBoard.

https://touchgfx.zendesk.com/hc/en-us/articles/360019884752-Configuring-STM32F746G-DISCO

This guide describes how to enable TouchGFX graphics on a STM32F746G-DISCO board stating from the STBoard selector in CubeMX.

Opening from TouchGFX Designer, please note that the Application Template contains 2 versions. Version 2.0 is advised.

https://touchgfx.zendesk.com/hc/en-us/articles/360020001992-Configuring-STM32F7508-DISCO

This guide describes how to enable TouchGFX graphics on a STM32F7508-DISCO board stating from the STBoard selector in CubeMX.

 

https://touchgfx.zendesk.com/hc/en-us/articles/360020208091-Configuring-STM32F769I-DISCO

This guide describes how to enable TouchGFX graphics on a STM32F769I-DISCO board stating from the STBoard selector in CubeMX.

Opening from TouchGFX Designer, please note that the Application Template contains 2 versions. Version 2.0 is advised.

Additional known limitations / updates:

IDEs / Compilers:

IAR is currently working best out-the-box.

More work is needed when using Keil, Atollic, SW4STM32.

Missing BSP Layer

Generating a TouchGFX project from CubeMX, drivers for external components like touch controller and QSPI flash is missing.

TouchGFX Designer error message.

Starting from TouchGFX Designer with an Application templates based on a CubeMX project, the following message appears “Project was modified outside externally�?.

TouchGFX Designer renames the CubeMX and EWARM project files to match the name of the TouchGFX project file.

TouchGFX 4.10

The newest released TouchGFX version is 4.10, available in F4 and F7 Cube packages, and TouchGFX Designer as a stand-alone here; https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-configurators-and-code-generators/touchgfxdesigner.html

This topic has been closed for replies.

36 replies

eng23
Senior
February 22, 2019

Hello @BBenn​ ,

I've updated my Atollic version to 9.3.0 to eliminate eventually problems and I've tried your tutorial several times.. but always I reach the same error compiling..

Reviewing your tutorial in step 4:

4)     Save your SMT32CubeMX and TouchGFX projects for further use.

Copy the files indicated by web guide A) into the project folders.

Which files did you refer? In the end of the guide A) there is something about MDK-ARM, but I thing isn't is because it isn't for IAR..

I'm looking for any missing step.

Regards.

BBenn
Associate II
February 22, 2019

"The BSP files are located with the STM32F7Cube firmware. The location can be found by going to Project manager, Use Default Firmware Location.

In the firmware folder, goto to the folder BSP under Drivers, and copy the two folders "Components" and "STM32746G-Discovery". In the folder for the CubeMX project create a folder named BSP under Drivers and place the two copied folder to the BSP folder."

Gz_it
Associate III
March 6, 2019

Hi. It's not easy. Not support TrueStudio.

GRENI
Visitor II
April 25, 2019

Hello bbnnett,

I want to create a project with CubeMX, TouchGFX and Atollic on the STM32F746 Discovery.

My project is a LED on output on Connector from board that I would like to command with the screen that I programmed on TouchGFX. I have following your remarks and others on forum well but I have a lot of errors during the compilation.

Could you give me a process step by step more detailed ?

Thank you

Gio

SebastianS
Visitor II
April 29, 2019

Hi,

what can I do if there is no version 2.0 for my board? I am using the F469I-Disco (required because of the smaller formfactor). Can someone help me on that?

Thank you

ADusi
Associate II
August 20, 2019

Yes, width in cubeMx is set to 400 but I can't change this because it is inactive:

0690X00000A9xlYQAR.png

BBenn
Associate II
August 20, 2019

Look at the LCD configuration - the DSI interface uses the LCD settings for display size... Looks like you fixed it anyhow in code.

ASedu.1
Associate
January 15, 2020

Hi, thanks for creating this guide but all the TouchGFX links are dead. Would you care to update the guide?

cusp
Associate II
February 8, 2020

@ASedu.1​ Did you find where new guides are? I am in very much so need of them. Thanks!

Soren Myllerup MIKKELSEN
ST Employee
February 10, 2020

Dear all,

We recommend to use the latest TouchGFX version, which is released in X-Cube-TouchGFX 4.13.

Can be downloaded here: https://www.st.com/content/st_com/en/stm32-graphic-user-interface.html

Documentation link: https://touchgfx.zendesk.com/hc/en-us/sections/360003093319-TouchGFX-Releases

Latest community post (10-02-2020) on X-Cube-TouchGFX: https://community.st.com/s/question/0D50X0000BwjU6pSQE/official-release-xcubetouchgfx-v4130

/Soren