vedderb / bldc

The VESC motor control firmware
2.09k stars 1.31k forks source link

Add support for A200S V4.1, add alternative DC Cal, expose I2C for LSM6DS3 #657

Closed TechAUmNu closed 9 months ago

TechAUmNu commented 9 months ago

Adds support for A200S V4.1 Move A200S V4 to its own folder. Expose I2C for LSM6DS3 to allow other devices on the same I2C bus. (It is now setup the same as the other IMUs)

Add alternative DC Calibration routine for Low side shunt hardware with very high mosfet output capacitance. The usual calibration routine causes an offset in the current calibration at high voltage from the capacitance discharging through the motor inductance when the single phase goes low. The alternative routine switches all phases at 50% to give a clean V0 state. This routine should not be run while the motor is spinning, so automatic calibration on startup is disabled when this routine is selected.