2025-06-12 11:52 AM
Hello,
I am in the process of creating a modifying a TouchGFX project using the example project for the STM32H735G-DK kit. I generated a project in TouchGFX and then modified it to use a larger custom 7" Display/touchscreen. So far I have been able to get the display to show static images perfectly and I've even been able to modify the generated program to use a GT911 touch controller library for touch control instead of the default FT5336 controller. All the works perfectly. Static images look good and touches are registers and transitions from one screen to the next work. The problem I'm having now is that during the transition the images seem to tare/glitch and I'm not sure what is causing this. I've modified all the timings to match that of the new display, I've changed the LTDC clock to match that of the new display. I've changed all the framebuffer settings to match the larger display. Are there other timing settings I need to manually change in the code to match the new display as well?
This project created by TouchGFX also uses FreeRTOS...this is my first time using an RTOS in my programs, is there some settings here I need to manage for memory or something? Could there be too little memory allocated to the process?
I've attached a video of what I'm seeing when I trigger a screen transition. I've also attached my CubeMX .ioc file as well as the datasheet for my display.
2025-06-12 12:25 PM
Interestingly I just tried to change the framebuffer strategy to a single buffer at location 0x70000000 and that improved the glitching so now only the bottom half of the screen glitches while the top half looks perfect and with the reduced glitching you can see that the "wipe" transition is occurring under it all. Perhaps this is a clue as to what's happening??