Timer3 update event interrupt not working properly.
I'm just starting to learn how to program ARM microcontrollers using ST's HAL. So I have this code which generates a 1khz and 20khz signal using a timer in output compare mode. That all works well and I tested it with a scope and it's as expected. Th...