Skip to main content
YSN
Associate III
September 30, 2020
Solved

How to add custom hardware (board) into touchgfx designer4.14 to support direct downloading and testing ?

  • September 30, 2020
  • 8 replies
  • 2987 views

Currently I am using STM32F745I-DISCO board, I am able to design any template and load directly to target board.

But My custom hardware has little different LCD driver (ILI9341 2.8inch TFT display with capacitive touch)

  1. How to make changes to adapt the new LCD and touch controller ?
  2. Is there any way to create the Custom Board in Touch GFX designer to create the project automatically and download similar EVALUATION board ?
  3. Is there any example / widget available for GRAPHS ? I need to plot ECG data using TouchGFX, but i could not find any widget related to graph in the designer?

This topic has been closed for replies.
Best answer by Romain DIELEMAN

Hi,

This is my fault sorry I did not realize that the H745 was a dual core... CubeMX does not currently support dual core, it is announced for the end of the year. We will try to develop application templates after that.

I know that some people have tried to use TouchGFX with the H747 disco which is also dual core, so maybe go through the existing topics related to see what can be done. There is otherwise an old application template for the H747 disco and eval withn TouchGFX Designer that does not use CubeMX, I suppose it may be useful to see how you can work around the H745.

Concerning your second question, could you reiterate ? I do not understand it.

/Romain

8 replies

Romain DIELEMAN
ST Employee
October 1, 2020

Hi,

Did you use CubeMX to configure your custom project? You are able to run TouchGFX GUIs on your disco board?

  1. We have made guides on how to configure your project in CubeMX in the online documentation: have a look at the Touch Controller article and at the LTDC/Parallel RGB article to make changes and adapt the project to your setup. I would recommend to go through the entire Development section of the documentation to have a better understanding and overview of what to do.
  2. Look at this article to understand how to create an application template and make it available from TouchGFX Designer.
  3. A graph widget will be available in TouchGFX 4.15 which will be released in the coming weeks. If you cannot wait for the next version, there are graph examples in the UI templates "Demo 1" and "Demo 2". Go through the code to understand its implementation.

/Romain

YSN
YSNAuthor
Associate III
October 1, 2020

Hi Romain,

Thanks for your Quick Reply.

Did you use CubeMX to configure your custom project? You are able to run TouchGFX GUIs on your disco board?

No, I have chosen template from Touch GFX designer for DISCO board.

Yes, I am able to run the GUI to target board directly from Touch GFX designer.

  1. With Cube MX am generating the Keil Project. It is compiling and executing but, it does not show touchgfx related files or even package listing the middleware section.
  2. How to integrate Cube MX generated Keil project with Touch GFX ?
  3. Is it not possible to generate the touchgfx libraries integrated with touch gfx designer ?
  4. I see that to add application template for custom hardware, it is required to have the fully working project with touchgfx integration. Kindly help me to understand this ?

Regards,

Stalin

Romain DIELEMAN
ST Employee
October 1, 2020

Which application template did you use? I am not aware of a F745I disco board application template. I suppose you are talking about the H745? This one also does not have an application template within Designer.