cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Problem with HAL_Delay in while Loop

Karim
Associate II

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.

0 REPLIES 0