pekkaroi / bldc-drive

Cheap and simple brushless DC motor driver designed for CNC applications using STM32 microcontroller
GNU General Public License v2.0
176 stars 91 forks source link

port source code to STM32F407 please.. #8

Open diobrandon opened 7 years ago

diobrandon commented 7 years ago

port source code to STM32F407 please.. it would be more fast, and more easy to learn for us to develop

pekkaroi commented 7 years ago

Thanks for the suggestion and sorry for delayed response. Personally I don't have hardware or time to port this to STM32F4-series, but it should not be a huge task as ST's standard peripheral lib is available for F4 as well.

Also, I don't fully agree with your arguments. Yes, you probably can run the F407 with larger clock frequency than F103, but in this application, it should not make any difference. The highest signal frequency involved here is the 20kHz PWM, the loops are running at few kHz. This is achievable with 8bit 8MHz MCU's as well, so going beyond 76MHz is rather pointless? Also, F103 is probably the cheapest and most available STM32 MCU there is, so I don't know how development would be easier with significantly more complex and expensive MCU?