Skip to main content
Cfaya.1
Associate
May 6, 2021 9:02 PM UTC
Question

STM32L072 SysTick_Handler is never triggered

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

This topic has been closed for replies.