Skip to main content
Southbranch
Senior
May 17, 2024
Solved

Code for TouchGFX demo STM32U5G9?

  • May 17, 2024
  • 1 reply
  • 2380 views

Hi!

Is there download link for the code in this demo. ?

More specifically, I am interested in the code that generates the FPS and MCU load.

Thanks in advance

Best answer by GaetanGodart

Hello @Southbranch ,

 

At the moment the only way you can get the source code of this demo is by creating a project in TouchGFX Designer.

First, if it is not done yet, download TouchGFX.

Open TouchGFX Designer, click on Demos, then select "Demo 7".

Finally, "Select board setup" at the top and select a board with 800x480 resolution such as the STM32U5G9 and then you can create the project.

GaetanGodart_1-1715954353942.png

You can now click on "Generate code" a the bottom right, then open the file location and here you can find all the c++ and c files.

 

If this answers your question, I invite you to select this comment as "best answer".

 

Regards,

1 reply

GaetanGodart
GaetanGodartBest answer
Technical Moderator
May 17, 2024

Hello @Southbranch ,

 

At the moment the only way you can get the source code of this demo is by creating a project in TouchGFX Designer.

First, if it is not done yet, download TouchGFX.

Open TouchGFX Designer, click on Demos, then select "Demo 7".

Finally, "Select board setup" at the top and select a board with 800x480 resolution such as the STM32U5G9 and then you can create the project.

GaetanGodart_1-1715954353942.png

You can now click on "Generate code" a the bottom right, then open the file location and here you can find all the c++ and c files.

 

If this answers your question, I invite you to select this comment as "best answer".

 

Regards,

ferro
Lead
April 14, 2025

Hi @GaetanGodart 

The YT video below shows Demo 7 with 'Font' example at 2m27s.

https://www.youtube.com/watch?v=MqBqnPLM-wM&t=147s

 

ferro_0-1744644931641.png

 

 

However the Font example is missing in  Demo 7 in  GfxDesigner 4.25.

Where can I find Font example please ?

Thank you

 

GaetanGodart
Technical Moderator
April 14, 2025

Hello @ferro ,

 

It is likely that we shared an alpha version for the video but ultimately decided to remove the text example from that demo, perhaps it wasn't displaying all the capabilities of the board.

There are a few text examples available on TouchGFX Designer 4.25.0 :

GaetanGodart_0-1744646862715.png

 

Regards,