cancel
Showing results for 
Search instead for 
Did you mean: 

How to upload FOC / 6 step algo example to STSPIN3204 or STM32F031C6Tx mcu

TBonc.1
Associate

I tried everyting from motor pilot to try and start motor, workbench, and nothing made it move. I had to self program an algorithm that made the motor spin. But since I don't have enough knowledge I would like to have some basic algorithm (6 step or FOC I don't care - I have all the sensors) to make it move.

When I ran an example file that was meant for SPIN3204 it did compile it (with optimization) but nothing happened)

1 REPLY 1
Fabrice LOUBEYRE
ST Employee

Hi, if you have generated and compiled with success a 6-step project, now, i strongly suggest you to read the documentation https://wiki.stmicroelectronics.cn/stm32mcu/wiki/STM32MotorControl:6-step_-_Optimization_and_troubleshooting_of_sensor-less_firmware_parameters
After tunning, if you still have problems to make your motor spin, perhaps your motor is not adapted to the board power configuration.
What are the characteristics of your motor?

 

Best regards.

Fabrice