cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F2429 DISC1 Configuration with TouchGFX & CubeMX 5.0

Mon2
Senior III

Hi. The integration between TouchGFX and CubeMX 5.0 is quite complex. Recent attempt of a combo project is able to compile without errors on IAR but the GUI generated with TouchGFX results in a blank TFT display on this kit. Guessing something to do with the LCD display and will attempt to debug.

0690X000006CmnOQAS.png

CubeMX is complaining about the Platform Settings so is the issue with the SPI_PIN?

0690X000006CmnTQAS.png

Further to the 3 templates posted on this topic:

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

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

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

can someone post a similar solution for the STM32F429 DISC1 target?

There are many variables that can derail a working solution.

Thanks!

16 REPLIES 16
Mon2
Senior III

After 3 weeks of daily struggles, have this now working correctly on the STM32F429I-DISC1 target using both, the CubeMX and TouchGFX toolchains. Will review the process from scratch again to be sure that we are not hallucinating and will post a document detailing the steps.

Mon2
Senior III

Hi. Here is the first draft document of the full procedure to support the STM32F429i-DISC1 target that we followed:

https://s3.amazonaws.com/axxonshare/my_combo_tutorial.zip

Welcome feedback on this document and if it works for you. Good luck! 😀

william Leandro
Associate

Hello, good morning everyone !

I am trying to use touchgfx in cube mx for 2 weeks and I have followed all the advice and instructions that are passed in the community. But I can not start the project at all. I use Keil and when I generate the code from CUBEMX it reports a lot of errors.

Anyone with experience could give me a hint as step by step instructions? Thanks!

Mon2
Senior III

@william Leandro​ , Keil support appears to be broken at this time. We too invested a great deal of time and then again to create a work around using IAR and SW4STM32. Both are now functional. Please review the above tutorial if you are able to use the noted compilers and welcome your feedback.

william Leandro
Associate

Thank you for the tip. I am very grateful for the return. I apologize for English because my language is Portuguese.

You are quite welcome @william Leandro​. Your english is better than my Portuguese. I recall obrigado from my visit to Brazil many years ago but that is about it 🙂

​Those errors are caused by the driver files in group Driver\BSP\Components, they are drivers for other screens but not the one for F429-DISC. Hence you can delete all of them except ili9341.c, this is the only LCD touch controll driver you need.

SebastianS
Associate II

Hi, this tuorial looks incredibly helpfull. I am trying to get a F469I-DISCO to work. Are the steps similar or does anyone know a tutorial for this specific board?

Mon2
Senior III

Hi @SebastianS​ . Have not attempted to review the kit you are referencing but believe we have this same platform in the lab. Recommend that you attempt to use the tools as-is first using your target kit and share the errors that may be generated. Guessing that the display onboard your kit is the MIPI DSI interface.