cancel
Showing results for 
Search instead for 
Did you mean: 

Working example ST32F469DISCO + CubeIDE + TouchGFX 4.13 ?

ADari
Associate II

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

29 REPLIES 29

I need 2 DACs (well I could manage with 1 DAC and then 1 channel with PWM but that would be iffy). Also, I need preferably 7 ADC inputs. STM32F469 discovery has all these among with SD card option. F769, F746, and F750 all lack the these though they are advertised as having 2 DACs and 3 ADC channels. However, accessing those seems impossible or am I missing something?

 I will also join the question. Did someone UART add in projects generated by TGFX designer? I added uart support, I added hal_uart.c and hal usart.c files in the makefile and in the project. However, I can't send anything via UART6. Can anyone solve this problem? For example, GPIOs work fine (added to the TGFX project using HAL)

ADari
Associate II

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

Any update on when the template is likely to be ready for ST32F469DISCO, as it's been 2 months now?

It's already up. Check it out.

/Martin

Any chance you could give a link directly too it, as I searched for it before posting the above and couldn't find it. A lot of old links go to your old site and I keep getting "TouchGFX documentation has moved to a new site" but cannot find it on the new site.

mwolb.1
Associate II

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.

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.

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

EDIT:

I just saw your github link.

Thanks a lot !

Two posts above :) That's right, clone the repository and run with CubeIDE or TGFX Designer. At the begnning, upload an unmodified project to check that it works. Then you can treat them as a template - the version with TGFX + Visual Studio has modified makefiles with HAL support - in this case UART.

Good luck!:)