Skip to main content
Associate III
September 23, 2024
Question

GT911 delayed screen change

  • September 23, 2024
  • 1 reply
  • 3185 views

Hello!

I have a home made panel with STM32H753 mcu. First, the program was created with a display with a FT5426 type touch controller, and it works flawlessly.
I bought another display with a GT911 controller.
I modified a gt911 driver a bit, which was a bit more difficult, but it works.

There is something wrong with the GT911, the page change from the main page is delayed. Not much, but with the FT5426 touch, it switches pages faster. It's not the touch that is lagging, because when I moved to the page, it responds quickly.

Can anyone help me find out what could be causing this? I must have programmed something wrong with the gt911.
I will make a video about it. In the case of FT5426, it does not change immediately, but in the case of GT, it takes 1-2 seconds more.

Thank you!

1 reply

Associate III
September 23, 2024

If I use a breakpoint, it will stop at the breakpoint 6 times after touching the place shown in the image, and then the image will change. However, it is interesting that the GT911_ReadTouch function is only called once if I place a breakpoint in it.
I don't understand why.

Senior
September 23, 2024

Hello, use these codes,  I hope this solve your problem