Skip to main content
ElecDesigner
Associate
November 18, 2022
Question

Why does the function void HAL_SYSTICK_Callback(void) never get called?

  • November 18, 2022
  • 1 reply
  • 2869 views

I'm using a Nucleo Board with a STM32F030 fitted.

I wanted to use the callback function mentioned above to clear an output that is set as part of a separate pin handling interrupt. I cannot find any material relating to needing to setup anything for the systick so I assume its running all the time and therefore the callbacks should be generated.

My code does not work however and when I debug, I find that that this callback function is never called. What am I doing wrong?

This topic has been closed for replies.

1 reply

Pavel A.
Super User
November 18, 2022

This callback was defined in old versions of ST HAL library. It is no longer used in current versions.

If you want to do something every tick, just do it in the SysTick interrupt handler.