Glitching/Tearing when transitioning from one screen to another
- June 12, 2025
- 2 replies
- 777 views
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.
