Skip to main content
Associate
July 25, 2023
Question

STM32H750 LCD flickering

  • July 25, 2023
  • 5 replies
  • 2541 views

Hello,

I am working on a custom board with STM32H750XBH6 MCU.

In my project I am time to time getting LCD flickering issues. First it was only visible in release version. Then after switching off the compiler optimizations, it worked. Again I have got a similar issue when I have updated the application logic without doing any changes to UI. I have attached a video with flickering problem. There it was not handling any touch events. 

Any idea about possible root cause or a way to solve this issue?

https://youtu.be/-bUHPWluGaQ

This topic has been closed for replies.

5 replies

ST Employee
July 25, 2023

Hello @Dinushka ,

It is very difficult to judge with the amount of information you provided but based on the video, it appears that you are facing an underrun, which means the LTDC falls behind and cannot keep up with the MCU. Could you please clarify what compiler and version of TouchGFX you are using? 
Plus, it would be much better if you can share some of the logic that you mentioned

Mohammad MORADIST Software Developer | TouchGFX
DinushkaAuthor
Associate
July 26, 2023

Hi Morad,

Thanks for responding. Touchgfx 4.15 and GNU tools for STM32 (9-2020-q2-update).

We have a configuration tool to enable outputs based on button touches. In this particular case, we have increased the width of output mask(uint16 to uint32) to support more outputs. In our application, frontend tasks(GUI) and backend is communicated through two queues. Therefore we have a somewhat good separation of application logic from GUI. This time the glitch occurred when we modify the backend(I can guarantee that this modification does not make any changes to UI). This device is a stable device over 2 years. We got same glitching issue around 1 year back. Even at that time, glitches were not visible in debug version. Therefore, we removed the compiler optimization and continued. 

ST Employee
July 28, 2023

I understand. Unfortunately, there is not much that I can do for you, however, I suggest to debug your application by STM32 CubeIDE and enabling error interrupt for your LCD to see when or how this glitch happens. Underrun can be caused by the logic as well, and it is not only related to GUI.

I hope I can help you more in the future 

Mohammad MORADIST Software Developer | TouchGFX