https://github.com/jsphuebner/stm32-sin ... ag/v5.32.R
- Potential bug fix in scheduler
- Throttle/torque limit for cruise control
- Cruise control mode "button" removed because it cannot be cancelled if brake pedal switch fails
- Brake pedal check at startup if cruise control is used
- Safety critical control parameters now have a fixed mapping in one message with sequence and optional CRC check and can no longer be freely mapped. Your custom mapping will be deleted when running this software. Read here: https://openinverter.org/wiki/CAN_commu ... N_-_new%21
- Cruise control only works when forward direction is selected, i.e. din_forward is high (use SwitchReversed if for your setup reverse is actually forward)
- When sending cruise rpm preset via CAN din_cruise must also be activated
- Explicitly Force 0 throttle when switching to neutral
- In FOC ramp down field weakening when rpm limit is surpassed by 10% (overspeed protection)
- Traction control added
- Fixed in CAN SDO json printing
- New way of mapping values to CAN via SDO: viewtopic.php?p=60996#p60996
- Legacy terminal commands (list, atr, help, all) removed
- Dodgy speed frequency output removed (until someone complains)
- Display rotor direction and selected direction separately
- Allow switching from neutral into rotor direction
It would also be helpful if someone with a safe, low voltage test setup could test the speed limiter even with a skewed syncadv like 0
And finally, as always, the sine variant is untested. Still put it up on github