- Added support for driving "useless" current into the motor in order to heat up cabin in standstill
- Added various temperature sensors
- Hopefully fixed Tesla muxed temp sensor issues for good
- Trying to mitigate false positive on LORESAMP
- Fixed pin mapping issues, prevented start on Tesla boards
- Simpler and apparently more effective speed/frequency calculation in resolver mode (same routine as AB encoder)
- Seperate max regen setting for cruise control
- Keep PWM enabled when there is id OR iq current request (smoother coast down)
- CAN fixe for more than 3 received message IDs
- Fixed possible over current trip on FOC startup
- Added motor temperature derating
- Added derating parameters for heatsink and motor
- Do not read BMS input on Tesla hardware
- Deleting timer capture buffer on standstill (single channel mode, caused startup trips)
- Moved charge code to pwmgeneration module and using PI controller
- The latter did achieve power factor up to 0.93 in boost charging mode
- Recalibrate current sensor offset on every standstill
- Added initial support for Prius board
Binaries here: https://github.com/jsphuebner/stm32-sin ... ag/v4.85.R