Skip to main content
ADari
Associate II
January 25, 2020
Solved

Working example ST32F469DISCO + CubeIDE + TouchGFX 4.13 ?

  • January 25, 2020
  • 7 replies
  • 6362 views

Hello everyone,

I am currently working on a project with GUI. Some time ago, I was able to launch a project from the forum:

https://github.com/Scubaboy/SMT32F7LCDDisco/tree/master/STMF4DISCOCubeIDE

I currently have the latest versions of CubeIDE, CubeMX and TouchGFX 4.13 installed. I'm trying to configure F469DISCO similar to the following:

https://www.youtube.com/watch?v=o42r4xXOnbo

The project is generated, TGFX files also. However, after uploading everything to the board, the screen is black.

Can ST not provide one, ready CUBE IDE project for each Dev board? I see how many people have a configuration problem, many people do not work properly. When a team choosing a platform for a new project, most of the time loses to "fight" with IDE and configuration, they will finally choose a different solution.

After that, the example of TouchGFX from CubeIDE, after importing to workspace, compiles correctly, but displays artifacts ....

Of course, examples from TGFX Designer work fine, but without proper integration with CubeIDE, they are useless (we need to use UART, so I need CubeIDE)

I would be grateful for help (I think that not only me and many others) for the exact description or working CubeIDE project with TGFX 4.13

Regards

Darek

This topic has been closed for replies.
Best answer by Martin KJELDSEN

STM32F469i-DISCO Application template with CubeMX 5.5 and TouchGFX Generator (4.13) is not ready yet.

As stated in the release note, we're working our way through all the existing templates. We just uploaded F769i-disco and H750-DK - 469 will probably come soon.

/Martin

7 replies

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
January 25, 2020

STM32F469i-DISCO Application template with CubeMX 5.5 and TouchGFX Generator (4.13) is not ready yet.

As stated in the release note, we're working our way through all the existing templates. We just uploaded F769i-disco and H750-DK - 469 will probably come soon.

/Martin

Franco77
Associate
January 27, 2020

Hi Martin,

where can I find the F769i-disco template uploaded? Thanks for your good jobs!

iw2lsi
Associate III
January 27, 2020

Thanks to embryonic.dk for sharing this great guide... by following it we were able to start in minutes and not hours or days, as sadly happens when dealing with official docs.

We really spent a lot of time concentrating on the wrong stuff ("start from CubeIDE or CubeMX ?", "generate under root or not?", "allocate framebuffer by address or by allocation ?" and so on... when the main problem was just that CubeMX does not generate the full code for (SD)RAM, external (QSPI)FLASH , touch controller etc when selecting one of ST's well known development board, AND without a single warning informing the user about this.

I understand that the integration of TouchGFX is somehow in progress... but as far I understand a lot of developers have been misled by CubeMX option for initialize the peripherals... so why not be a little more specific on this ?

Best Regards,

Giampaolo

Martin KJELDSEN
Principal III
January 27, 2020

> but as far I understand a lot of developers have been misled by CubeMX option for initialize the peripherals... so why not be a little more specific on this ?

Until CubeMX decides to rebrand this feature people will continue to be puzzled. I've mentioned it to them before. As far as being more "specific" on this, i must have written this 100000000 times :) And also, this is in the sticky at the top related to X-CUBE 4.13.

CubeMX is a tool for configuring your MCU.

CubeMX is not a tool for completely configuring peripherals like touch controllers and external memories.

iw2lsi
Associate III
January 27, 2020

Hi Martin,

I appreciate your effort... really...

maybe you can hilight a little bit the sentence below in the TouchGFX HAL Development guide... al least until ST put it where it should be... i.e. in CubeMX application, before or after the platform's code generation (but this is, of course, my opinion).

>For DSI, FMC and SPI interfaces this version of the TouchGFX Generator is not capable of properly abstracting these interfaces >using what is available from CubeMX and thus it is up to the user to implement the drivers. In the case of LTDC, however, the TouchGFX >Generator can supply the driver which is generated and configured automatically.

Regarding the stiky message... we had already spent one or two days before we get into it...

thanks again,

Giampaolo

ADari
ADariAuthor
Associate II
February 20, 2020

I have prepared two sample applications for STM32F469 for other users who have problems with startup or configuration. I hope it will be useful for users who want to quickly start working with ST32F469 before the Touch GFX Generator is released for this board. Version with CUBE IDE:

https://github.com/CodeMaze-Software/STM32F469-DISCO-TouchGFX-CubeIDE-Project

and the version with Visual Studio and added UART support (you can add other peripherals like ADC, SPI etc.):

https://github.com/CodeMaze-Software/STM32F469-TouchGFX-Visual-Studio-Project-with-HAL/blob/master/README.md

I hope this will help other users get started :)

Regards

Darek

mwolb.1
Associate
April 8, 2020

I still get the black screen if I run an stm32f469i-disco template from touchgfx. Can somebody help me ?

I touchgfx version 4.13.

The backlight comes on but nothing is displayed.

ADari
ADariAuthor
Associate II
April 8, 2020

Have you tried any of my examples? You can choose the Cube IDE project or directly from TGFX Designer(4.10). Both are checked and must work immediately after flashing.

mwolb.1
Associate
April 8, 2020

Thanks for your reply, where can I find your examples ?

EDIT:

I just saw your github link.

Thanks a lot !

ADari
ADariAuthor
Associate II
April 28, 2020

<deleted>

Jack3
Senior
June 4, 2021

I use STM32CubeMX 6.2.1 and TouchGFX Designer 4.16.1.

I now managed to run an example poject on my old STM32F469I-Disco.

I wanted to get a newer discovery board, if it worked, it looks good.

Can I use STM32CubeIDE to continue development, or must I keep using TouchGFX Designer? I just discovered this tool.

Update: I found the answer, a project for STM32CubeIDE is also generated! Awesome!

LKade.1
Associate II
September 16, 2021

Hi All ,

I am doing a projet using STM32f469I disco board with Touch GFX i able to run the Touch GFX GUI properly but when i try to conncet the I2C sensors to the same bus the I2C is always busy with the Touch GFX. hence i am not able to initialize the I2C sensors. Could anyone provide something to wok with it Such that the Touch GFX and other I2c sensors are on the same Bus and works efficentlz.

With Regards

Lakshminarayana KS