Skip to main content
Associate
Apr 2, 2026 1:25 PM UTC
Question

STEVAL-PTOOL 1V1 motor setup in MC Workbench (6-step)

Hi there,

Im trying to get my STEVAL-PTOOL1V1 up and running with my motor, a Sofasco sDBS7025 with the following specs:

3-phase BLDC

7-12V DC operating voltage

1.5A rated current

11100 max RPM 

4 pole 

8 pins:

PinFunction
1V
2W
3U
4HW
5HU
6HV
75V0
8COM

I have managed to get it operating by using the STEVAL-PTOOL1V1_6S_HL example project in the ST Motor Control SDK V 6.4.1 however I seem to have little control over the speed.

I haven't been using the potentiometer feature of the STEVAL-PTOOL1V1 and instead been using the following functions:

MC_ProgramSpeedRampMotor1(2000, 1000);

MC_StartMotor1();

and when wanting to change the speed, changing the 2000 for a different speed and rebuilding the project and programming to the board.

However when I input a different speed e.g. 10000 there is no difference to the speed, observed by the current draw of the bench power supply remaining the same.

I suspect I have setup the motor parameters incorrectly in the MC Workbench 6-step wizard but am not certain how so I'm looking for solutions to get this working as expected.

4 replies

ADAVE.1
ST Employee
Apr 8, 2026 12:06 PM UTC

Hi @JStamwood 

please be aware that the function MC_ProgramSpeedRampMotor1(hFinalSpeed, hDurationms) accepts a value of the final speed that is defined in #SPEED_UNIT.

Since #SPEED_UNIT is tenth of hertz, you have to divide your target value by 6. For instance if you want to spin the motor at 10 kRPM:

MC_ProgramSpeedRampMotor1(1667, 1000);

Alessio

JStamwoodAuthor
Associate
May 18, 2026 10:01 AM UTC

After returning to this project after a few weeks I observed a fault with the motor hall effect sensors. One of the three does not change state as the motor rotates. I suspect this has caused issues with the running of the motor too so I have ordered some replacement motors to see what happens.

 

@ADAVE.1 thanks for making me aware of the SPEED_UNIT, I suppose over a certain value the speed the motor will be run at will be limited to the max speed defined in the setup of the project?  

ADAVE.1
ST Employee
May 18, 2026 11:23 AM UTC

@JStamwood That's correct. You cannot set a target speed higher than the max speed defined in the setup of the project

JStamwoodAuthor
Associate
Jul 2, 2026 10:29 AM UTC

What is the correct way of removing the speed potentiometer functionality? I think it is still having an influence on the motor speed.