cancel
Showing results for 
Search instead for 
Did you mean: 

BLDC 6 step motor control Algorithm

ielektron
Associate

The 6 step-Algorithm which is given for the STSPIN. shall we port that code to any other ST controller ?

1 ACCEPTED SOLUTION

Accepted Solutions
Dario CUCCHI
Senior II

Hi @ielektron​ ,

basically the six-step algorithm can be ported on most of the STM micrcontrollers.

It is a matter to remap the pins and the peripheral used in the algorithm in order to fit the controller board used.

Then, consider that the six-step algorithm needs to monitor the voltage on the motor phases in order to detect the zero-crossing of the BEMF signals.

So, some components must be present on the controller board to read the phases voltage of the motor.

Does this answer solve your question ?

View solution in original post

1 REPLY 1
Dario CUCCHI
Senior II

Hi @ielektron​ ,

basically the six-step algorithm can be ported on most of the STM micrcontrollers.

It is a matter to remap the pins and the peripheral used in the algorithm in order to fit the controller board used.

Then, consider that the six-step algorithm needs to monitor the voltage on the motor phases in order to detect the zero-crossing of the BEMF signals.

So, some components must be present on the controller board to read the phases voltage of the motor.

Does this answer solve your question ?