cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-ESC001V1 and drone motor Compatibility with MC Workbench 6.4.1

santhosh16
Senior

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.

 

20 REPLIES 20
STuser2
Senior III

My recommendation is profile the motor first using MCSDK 6.4.1 profiler, then your motor will be added in the list.

is drone's bldc motors are not for STEVAL-ESC001V1 and which software version is compatible with this esc

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

STuser2_0-1766569113139.png

You have to generate the code using MCSDK6.4.1

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?

Ok, i tell the procedure check for any mistakes in case

1. Click on New project in MCSDK

STuser2_0-1766588446410.png

2. Click on Motor

STuser2_1-1766588485656.png

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 

STuser2_2-1766588943042.png

6. select the hardware STEVAL-ESC001V1 in boards and create and generate the code.

STuser2_3-1766589067910.png

Note:  There are 2 warnings observed

STuser2_0-1766598462811.png

I am not sure of the impact, but code generation is successful.

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.

 

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.  

ok, fine i will generate the code and let you know

Hi @STuser2,
I have generated the code. But the final settings shows danger here due to no ocp or driver protection enabled. 
Screenshot (31).png

 

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.
Screenshot (32).png

 

Kindly help me with this.

Best Regards,
Santhosh.