Question
Wait on HAL_GetTick not working
- January 15, 2025
- 1 reply
- 1144 views
Hi everyone,
I'm new to STM32CubeIDE and encountering an issue with my code. It seems to halt at the following loop:
while ((HAL_GetTick() - tickstart) < wait)
{
}
I've attached the .ioc file for reference. Can someone help me identify why the program gets stuck here and suggest a fix?
Thanks in advance!
