cancel
Showing results for 
Search instead for 
Did you mean: 

Why void HAL_SYSTICK_Callback(void) does not fire?

LMI2
Lead
Posted on May 28, 2017 at 22:42

I put this in the main.c before main(), it does not run. Google did not help. All though I did not read all 1790 results.

volatile int oma2=0;
volatile uint16_t oma=0;
void HAL_SYSTICK_Callback(void)
{
 oma2++;
if (oma2>100)
{
oma2=0;
oma++;
}
}�?�?�?�?�?�?�?�?�?�?�?

This stands in 746 Discovery BSP example. I was trying to do simple animation/testing LCD.

1 REPLY 1
Posted on May 29, 2017 at 02:11

Check that SysTick_Handler() is implemented, and calls HAL_SYSTICK_IRQHandler()

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..