Skip to main content
LMI2
Senior III
May 28, 2017
Question

Why void HAL_SYSTICK_Callback(void) does not fire?

  • May 28, 2017
  • 1 reply
  • 693 views
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.

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    May 29, 2017
    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 VenmoUp vote any posts that you find helpful, it shows what's working..