b76e8ee466
- added possbility to switch the Control mode while motor is spinning. NOT yet checked how motors behaves when swiching is triggered! - added Cruise Control functionality: activated by button1 to GND (Blue Left or Right cable depending on selection). Functionality NOT yet tested in practice! - extended Phase current measurements z_selPhaCurMeasABC : {iA,iB} = 0; {iB,iC} = 1; {iA,iC} = 2 - added interface for external motor angle measurement from as sensor, e.g., encoder. The selection can be done via b_angleMeasEna: 0 = Estimated (default), 1 = Measured. - update the Field weakening Lo and Hi to fully blended. - minor improvements: - Buttons initialization - lowered ADC margins in auto-calibration - commented out ADC_SAMPLETIME_239CYCLES_5, reported to give some issues when Hall sensor ADC input is used |
||
---|---|---|
.. | ||
bldc.c | ||
BLDC_controller.c | ||
BLDC_controller_data.c | ||
comms.c | ||
control.c | ||
eeprom.c | ||
hd44780.c | ||
main.c | ||
pcf8574.c | ||
setup.c | ||
stm32f1xx_it.c | ||
system_stm32f1xx.c | ||
util.c |