Skip to main content
Karim
Associate III
April 19, 2022
Question

TouchGFX Problem with HAL_Delay in while Loop

  • April 19, 2022
  • 0 replies
  • 593 views

Hi, I've started a project STM32CubeMX and CubeIDE. I initialized a 4.3" TFT with LTDC and TouchGFX without RTOS. The function MX_TouchGFX_Process is in main while loop. At first everything were OK and my screens were updating very well. But for some reasons I added a delay in while loop. For example HAL_delay(500). Then screen updating goes too slow.

I can't remove that delay from while loop. How should solve this problem. How should I independent TouchGFX from other delays in code?

Thank you for your guides.

This topic has been closed for replies.