Solved
How to generate and control a PWM with registers (NO HAL) in STM32F446RE?
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 know three steps bellow:
- How can I generate a PWM pulse with registers?
- How I can change its frequency?
- How I can count generated pulses and stop generating after som pulses?
could someone help me in register programming?
