https://github.com/jsphuebner/stm32-sin ... ag/v4.64.R
- Added MTPA and field weakening
- Added syncadv parameter to compensate for phase lag
- Disabled user_pwm code on BluePill
Transitioning to regen is still a bit rough though.
But we can turn regen off, cant we? I mean set it to 0 and it will produce no regen?
Yes
And yes