Skip to main content
Senior
December 24, 2025
Solved

STEVAL-ESC001V1 and drone motor Compatibility with MC Workbench 6.4.1

  • December 24, 2025
  • 3 replies
  • 1666 views

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.

 

Best answer by santhosh16

Hi @STuser2@GMA@Prof_McGonagall,

The PWM input was initially set to 5 V, which resulted in the motor being unresponsive. After reducing the input to 3.3 V, the motor operates correctly. However, even at a stable minimum input, the motor current and speed increase gradually. At a certain speed, a sudden jerk is observed, after which the motor settles and runs at a constant minimum speed. I will raise this issue in a separate query.

Regards,

Santhosh

3 replies

Senior III
December 24, 2025

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

Senior
December 24, 2025

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

Senior III
December 24, 2025

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

Senior III
January 14, 2026

I can help to compile the code but not sure of the functionality or i have not got in details of the interrupt handler.

Comment this section of the code

// #define PERIOD_COMM_IRQHandler TIM2_IRQHandler

, it is in the file parameters_conversion_f30x

it will compile. You can call in TIM2_IRQHandler(void) the below function

PERIOD_COMM_IRQHandler();

as below

void TIM2_IRQHandler(void)
{

 /* Clear TIM1 Capture compare interrupt pending bit */
 LL_TIM_ClearFlag_CC1 (TIM2);

 /* Get Pulse width and low pass filter it to remove spurious informations */ 
 ESC_M1.Ton_value = esc_capture_filter(&ESC_M1, LL_TIM_OC_GetCompareCH2(TIM2));

 /* Fail safe mechanism: stops the motor is the PWM input is disabled */
 ESC_M1.watchdog_counter++;
 if(ESC_M1.watchdog_counter == 0)
 ESC_M1.watchdog_counter = 1;
 PERIOD_COMM_IRQHandler();
}

As i already mentioned i only tried to compile not the functionality, you can verify the interrupt by placing the break point etc.

Senior
January 19, 2026

Hi STuser2,

So, is the range of the input of
the Frequency: 500 Hz and duty cycle of 53%(1.03 milliseconds on time) to run it on minimum speed?

Best Regards,
Santhosh.

santhosh16AuthorBest answer
Senior
January 29, 2026

Hi @STuser2@GMA@Prof_McGonagall,

The PWM input was initially set to 5 V, which resulted in the motor being unresponsive. After reducing the input to 3.3 V, the motor operates correctly. However, even at a stable minimum input, the motor current and speed increase gradually. At a certain speed, a sudden jerk is observed, after which the motor settles and runs at a constant minimum speed. I will raise this issue in a separate query.

Regards,

Santhosh