Why am I not able to modify the hardware configuration (for example add a GPIO to the project) when I use Touch GFX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
GPIO-EXTI
-
STM32F4 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-10 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-09 5: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-10 1: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.
- I open the TouchGFX 4.14.0
- Create a simple program (blue background and a text on it)
- Click on "Generate code"
- Click on "Browse Code"
- In the file explorer I go one folder above (out of the TouchGFX folder)
- I go into the STM32CubeIDE folder and select the ".project" project file.
- This open CubeIDE and I can download the program to my DISCO board and it works. But after if I go into the configuration tool and add a task or an SPI or GPIO and then re-generate the code there are still no errors but the display stays black when I download the program.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-10 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-10 8: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-16 6:28 AM
Thanks a lot!!!
The problem was the version of the TouchGFX and CubeIDE. With the newest ones my program works properly!
