cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32H750B-DK + TouchGFX + FreeRTOS] HAL_GetTick() stuck – SysTick issue?

Rafla
Associate III

Hello,

I'm working on a project using the STM32H750B-DK board with TouchGFX and FreeRTOS. The application gets stuck in this loop:

while ((HAL_GetTick() - tickstart) < Delay) {}

Rafla_1-1749467826507.png

I debugged and confirmed that HAL_GetTick() is not incrementing

1 REPLY 1
mƎALLEm
ST Employee

Hello,

Hard to tell what the problem is.

Meanwhile, as you are using FreeRTOS, ensure you configured a timer TIMx for HAL and Stsem tick for FreeRTOS.

Ensure the timer has started and it is counting  ..

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.