This project has now reached a certain maturity, use is always at your own risk. The authors do not accept any liability for damage to property or personal injury!
The Master-branch supports sensored motors and Bafang-, Kunteng- and Kingmeter-Displays and debugging.
User specific settings can be done in a user-friendly gui.
throttle, "torque-simulation" and torquesensor-modes are available.
The sensorless_VESC-branch has adapted the sensorless control of the VESC. Recently optimized for a Fischer ETH 1606 bike. If will work with other motors also, of course.
A short tutorial can be found in the wiki.
Helpful links:
UM1052 - STM32F PMSM single/dual FOC SDK v4.3
RM0008 Reference Manual STM32F103xx
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.