I think experts in PWM schemes, motor controller algorithms, regen, etc, may understand what is happening.
I am trying to develop OpenSource firmware for Kuteng motor controllers with STM8S105 microcontroller. With 6 steps the motor runs ok. With original firmware that implements sinewave, the...