Skip to main content
Hwoo-
Associate II
March 4, 2022
Question

screen shaking

  • March 4, 2022
  • 3 replies
  • 1828 views

Hi,

I use TouchGFX 4.16, CubeIDE, STM32F429ZI.

Screen shake occurs when text is written on the screen and when a slider is selected.

In the case of text, it is designed to be written every second.

I added a reference to "https://community.st.com/s/global-search/screen%20shake", but it didn't work.

 /*

  * Initialize TouchGFX

  */

 hal.initialize();

 hal.setTouchSampleRate(5);

 hal.setFingerSize(20);

 hal.setDragThreshold(20);

How can I get rid of screen shake?

Best regards,

This topic has been closed for replies.

3 replies

ktrofimo
Senior III
March 4, 2022

What MCU are you using? Does it have data cache like H7 series?

Look at discussion: ​https://community.st.com/s/question/0D53W00001Gl5lJSAR/stm32h743-weird-screen-flickering

Enabling cache and configure MPU properly gives huge speed improvement and I have no screen problems since then.

Hwoo-
Hwoo-Author
Associate II
March 4, 2022

Thanks for your reply.

I use STM32F429ZI.

ktrofimo
Senior III
March 4, 2022

According to ST it has MPU, so try to see how set it up an use​ it for LTDC. May me it will help.

Hwoo-
Hwoo-Author
Associate II
March 7, 2022

Thank you for your response.

LTDC settings are attached image files.