2022-09-09 12:40 PM
I create the TouchGFX program. Then I browse the folder, open the project with double click. If I download the program to my board (F469I-DISCOVERY) it works. I can modify the Model, Presenter and View files as well. But if I want to configure an SPI channel in the CubeMX part then I save this and I download the code (there aren't any errors) the display stays black. First I tried to add a new task to the project and I tought that it's my fault because I don't really know the FreeRTOS. But it's not about the task. As I mentioned it doesn't work if I add a GPIO or SPI channel.
I already spent months to solve this problem but unfortunately I can't.
I would be grateful if somebody could help me!
Thank you!
Solved! Go to Solution.
2022-09-10 02:47 AM
As first , this user trouble repeat long time. IOC files in TGFX created projects is not ready for use on around 70%. All your steps to 6 is ok, but 7 no. Situation is better for newer versions.
Latest TGFX is 4.20.
FYI on point 6 create full backup and after 7 regenerating from IOC compare all changes and locate issue maybe.
2022-09-09 05:03 PM
Hi,
Configuring additional hardware peripherals should not cause a problem, unless there is a conflict.
How are you configuring GPIO peripheral? Via configuration tool?
2022-09-10 01:02 AM
Hi,
Yes I use the "Pinout&Configuration" part in the CubeIDE and select an available SPI channel. But I face this problem even if I want to add a task or just a GPIO.
Maybe there are some mistakes in my steps during the process.
This is how I try to do it. I saw that somebody doesn't go into STM32CubeIDE folder (my 6th step) just open the IOC file and makes the configurations and generates the code in this. But it doesn't works for me I can't open that file this way.
2022-09-10 02:47 AM
As first , this user trouble repeat long time. IOC files in TGFX created projects is not ready for use on around 70%. All your steps to 6 is ok, but 7 no. Situation is better for newer versions.
Latest TGFX is 4.20.
FYI on point 6 create full backup and after 7 regenerating from IOC compare all changes and locate issue maybe.
2022-09-10 08:45 AM
Thank you for your advice! I will make a try with a new version and compare the changes and reply what is the solution.
2022-09-16 06:28 AM
Thanks a lot!!!
The problem was the version of the TouchGFX and CubeIDE. With the newest ones my program works properly!