cancel
Showing results for 
Search instead for 
Did you mean: 

SysTick_Handler does not update when configured for Azure

'SMike
Associate III

When I configure a project to use Azure, the SysTick_Handler is implemented in assembly, which does not call HAL_IncTick(). However, the initialization in main uses the HAL_Delay(), which never gets updated with the tick-time. I was able to work around this, but this seems like a bug.

2 REPLIES 2
Haithem Rahmani
ST Employee

Hi,

the Systick is exclusively reserved for ThreadX as time base source, for HAL you'll need to configure another time source typically using a TIMER.

have a look at the following example.

https://github.com/STMicroelectronics/x-cube-azrtos-h7/blob/main/Projects/NUCLEO-H723ZG/Applications/ThreadX/Tx_Thread_Creation/Src/stm32h7xx_hal_timebase_tim.c

regards

Haithem.

Harvey White
Senior III

If the function isn't available, perhaps you ought to eliminate it. That way, it will at least cause a compile error and not cause the programmer to try to figure out why it isn't working.

(Bitten by the same......)