cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L072 SysTick_Handler is never triggered

Cfaya.1
Associate II

The IRQ is setup as follow:

__weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)

{

 /*Configure the SysTick to have interrupt in 1ms time basis*/

 HAL_SYSTICK_Config(SystemCoreClock/1000U);

 /*Configure the SysTick IRQ priority */

 HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority ,0U);

 /* Return function status */

 return HAL_OK;

}

But for some reason, it never gets triggered. TickPriority = 3

0 REPLIES 0