2026-04-02 6:25 AM - edited 2026-04-02 6:27 AM
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:
| Pin | Function |
| 1 | V |
| 2 | W |
| 3 | U |
| 4 | HW |
| 5 | HU |
| 6 | HV |
| 7 | 5V0 |
| 8 | COM |
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.
2026-04-08 5:06 AM
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