2025-12-24 12:04 AM
Dear ST Support Team,
I am working with the STEVAL-ESC001V1 evaluation board and a drone motor listed at the following link:
https://www.dys.hk/product/D2826.html RPS for power supply given directly to ESC power pins of 12V and 2A current.
My objective is to run this motor using ST MC Workbench software version 6.4.1. I would like to confirm whether any additional hardware, such as an STM32 development board, is required in order to operate the motor with this setup.
During system configuration in MC Workbench, I created a new project and selected STEVAL-ESC001V1 for the inverter section and Bull Running BR2804-1700KV for the motor section. However, when I later attempted to edit the project, the motor selection options displayed only two types of PMSM motors. Could you please clarify whether MC Workbench supports only PMSM motors? The motor I am using is a BLDC motor, as specified above.
Additionally, I would like to inquire whether an example project for STEVAL-ESC001V1 is available for MC Workbench version 6.4.1. I noticed that such an example is available in version 5.4.8, so I attempted to install that version. However, during installation, I encountered the following error:
“Can't write:
C:\Program Files (x86)\STMicroelectronics\MC_SDK_5.4.8\Middlewares\ST\MotorControl\MotorControl_Configs.xml”
The installer repeatedly attempts to write to the installation directory but fails at this step.
I would appreciate your guidance on these issues.
Thank you for your support.
Kind regards,
Santhosh.
2025-12-24 12:37 AM
My recommendation is profile the motor first using MCSDK 6.4.1 profiler, then your motor will be added in the list.
2025-12-24 1:19 AM
is drone's bldc motors are not for STEVAL-ESC001V1 and which software version is compatible with this esc
2025-12-24 1:39 AM
I am not sure i understand the question completely but go through the below post may be useful,
Solved: Profile a motor which is not in the Workbench Moto... - STMicroelectronics Community
and the STEVAL-ESC001V1 | Product - STMicroelectronics what i can see from the website is it is for drones
You have to generate the code using MCSDK6.4.1
2025-12-24 5:53 AM - edited 2025-12-24 6:26 AM
I am using a STEVAL-ESC001V1 board with this motor: https://www.dys.hk/product/D2826.html.
I need guidance on the basic settings required to run this motor. Most available manuals are for older SDK versions, but I am using SDK 6.4.
Is there any documentation to run this in SDK 6.4 or in which version the STEVAL-ESC001V1 works without errors?
2025-12-24 7:13 AM - edited 2025-12-24 9:49 AM
Ok, i tell the procedure check for any mistakes in case
1. Click on New project in MCSDK
2. Click on Motor
You press the one i have shown.
3. Then go the path of the motor .json files
C:\Program Files (x86)\STMicroelectronics\MC_SDK_6.4.1\Utilities\PC_Software\STMCWB\assets\hardware\motor
Copy of one of them and paste in any of the local folders.
4. Rename and edit the motor parameters according to your requirements.
5. The motor will be reflected as shown below which i imported
6. select the hardware STEVAL-ESC001V1 in boards and create and generate the code.
Note: There are 2 warnings observed
I am not sure of the impact, but code generation is successful.
2025-12-26 3:09 AM - edited 2025-12-26 4:24 AM
yes, have generated the code. there is no code in main.c file should i import any file other than this or shall i just run this directly to the steval-esc001 hardware.
2025-12-26 3:50 AM
When i tried with the same evaluation board, it generated the code. Now everything is integrated with MCSDK so nothing like example code. My suggestion would be to try fix the code generation.
2025-12-26 6:23 AM
ok, fine i will generate the code and let you know
2025-12-28 9:11 PM
Hi @STuser2,
I have generated the code. But the final settings shows danger here due to no ocp or driver protection enabled.
While I check for the OCP protection, I have came to know that this hardware doesn't have support for OCP protection and I have no idea that where does the driver protection is available.
Kindly help me with this.
Best Regards,
Santhosh.