WarmT / BLDC-controller

BLDC controller based on STSPIN32F0
9 stars 4 forks source link

Firmware source code #1

Open mkramar opened 7 years ago

mkramar commented 7 years ago

Hi guys, would you mind sharing source code for the project? I'm building controller based on the same STSPIN32F0 chip and I'm having difficulties initializing timers. Can't seem to find any examples :(

WarmT commented 7 years ago

I have to ask from my friend who is writing source code for this project. I have only designed the boards. This project have been in a summer pause and we should continue working on it soon again. :)

Easiest way to make it work is to use the serial port instead of SPI and use STSW-SPIN3201: http://www.st.com/content/st_com/en/products/embedded-software/motor-control-ic-software/stsw-spin3201.html

This board does not support direct binary creation using STSW-SPIN3201 but for that purpose I have started another project: https://github.com/WarmT/BLDC-CTRL-UART

Hopefully I get a couple of days where I have no other urgent issues to attend so that I could finish the layout...

mkramar commented 7 years ago

Thanks for your reply, Tero! This is not UART I'm after (yet), I have difficulties running the timer in 6-pwm mode. There must be something stupid I'm missing but I cannot find any project to compare to. That is why I asked about the source code. If you could email it it would be much appreciated.

Good luck with new layout, but don't push too hard during summer :) Its winter here in Australia :)