https://github.com/jsphuebner/stm32-sine/tree/v4.55.R
Full change log:
- Do not rely on ETR pin for single channel encoder (except rev1 hardware)
- Fixed TMPHSMAX message
- fmax derating now implemented as a smooth derater
- Allow regen at rotor frequencies > fmax
- Removed unused UVLO pin (fixes blue pill throttle issue)
- Corrected error in quadrature encoder module that would lead to unwanted regen at higher speeds
- Enable internal pull-up of timer break on Blue Pill board (spurious trips otherwise)
- Timer break on blue pill always yields "Overcurrent" error (Blue Pill can distinguish)
- brkpedalramp renamed to regenramp because it ramps all regen activity now
1. Throttle positive going is ALWAYS ramped with "throtramp"
2. Throttle negative going is NEVER ramped as long as above 0
3. Negative going, including brake pedal, below 0 is ramped with "regenramp"