vedderb / bldc

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

A50S v2.3c release #711

Closed TechAUmNu closed 4 months ago

TechAUmNu commented 4 months ago

Release config files for A50S V2.3c (calibrated version) and update V2.3, -added 6 sample oversampling for current which significantly reduces noise, HFI is very nice now with no glitching. -added 2 sample oversampling for phase voltage (only on FOC) which fixes the 25Mhz clock coupling into 1 of the open drain phase filter pulldown pins and causing an offset that brakes flux linkage measurement at lower voltages with low kv motors.

Other things in the general firmware to support these changes: -enables the weak pulls for the bb i2c, which lets the eeprom work without needing external pullups. -Added macro ADC_V_Lx_VOLTS, to let the HW Config files have custom voltage measurement code. Previously the voltages were pulled directly from the adc reading indexes.