I am working on controlling of a stepper motor with STM32F446 and want to generate a PWM with variable frequency (trapezoidal) and stop it after some specified (n) pulses. I want to do this with register programming not HAL functions. So I want to kn...