hi, I am working on a stepper motor driver with stm32f407. Facing a challenge in generating exact number of steps for driving the motor. Now what i have done is, i shorted a pwm generating pin with input capture and stops the pwm generation once the ...