How to adjust timer?
I am trying ti adjust the timer2 of the stm32f4 to 400khz but it does not work. Even though my calculations on Prescaler and counter are right for the frequency that i aim for, Timer is not working as it should be. By the way i am using Hal library.