TouchGFX Performance Measurement GPIO pins not working as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-01 6:09 AM
Hi,
We are trying to setup the GPIO pins for measuring TouchGFX performance. We have defined user labels to GPIO pins as instructed in TouchGFX documentation: https://support.touchgfx.com/docs/development/touchgfx-hal-development/scenarios/scenarios-measure-performance. But so far the only GPIO that is doing anything is the RENDER_TIME signal. The rest of the signals are at 0V. I verified with the debugger that the only pin that is being driven is the RENDER_TIME GPIO in the file TouchGFXGPIO.cpp in the function void GPIO::set(GPIO_ID id). This function is only called with the GPIO_ID of GPIO::RENDER_TIME.
What are we missing in the configuration? We are using freertos in this system.
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-06 2:28 AM
Hello @Masa ,
You don't need to do anything especial except setting the GPIO Labels in STM32CubeMX and the generating from there and generating code from TouchGFX afterwards. TouchGFXGPIO.cpp and GPIO.hpp should be generated automatically.
Could you please confirm that the labels you set are exactly the same as the ones mentioned in the documentation? And also the pins are generated from STM32CubeMX in main.h?
Thank you
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-06 3:08 AM
Here are the pin GPIO pin definitions in the cube mx config:
Here are the pin definitions in the main.h generated by cube mx:
So everything should be correctly configured. Atleast the RENDER_TIME pin is defined in the set function and it is called from the touchgfx binary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-10 12:51 PM
Did you ever get this resolved? I'm running into the same problem - all signals are LOW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-11 6:45 AM
This is still unresolved. We did not get it working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 12:01 PM
This issue is still unresolved.
I tested this with:
STM32CubeIDE v1.18.0
TouchGFX v4.25
Firmware Package STM32Cube FW_H7 V1.12.1
All 4 signals stay low:
@Mohammad MORADI ESFAHANIASLany ideas?
Thanks.
