Hi there. Your Hardwre Timer example callback do not execute the callback function at all. https://github.com/stm32duino/STM32Examples/blob/master/examples/Peripherals/HardwareTimer/Timebase_callback/Timebase_callback.ino