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-28 10:42 PM
It may be because of above warnings verify the schematic for current sensing section and MCSDK configuration again.
2025-12-29 1:12 AM - edited 2025-12-29 1:25 AM
Hi,
As per the schematic in the document UM2197 - User manual
The OCP circuit is available in the schematics. But im unable to configure the OCP circuit and the MCSDK software shows the hardware doesn't have the OCP. Kindly help me to find where does the problem arises.
Best Regards,
Santhosh.
2025-12-29 1:21 AM - edited 2025-12-29 1:30 AM
Additionally, the .ioc file that I generated does not configure the following pins as per the schematic:
PA7, PB0, PB11 → Vshunt_filtered
PB12, PB13, PB15 → Phase1, Phase2, Phase3 respectively
These pins are not explicitly configured in the CubeMX .ioc file.
Do these pins need to be explicitly configured (analog or digital) in the .ioc file or need not to be?
Best regards,
Santhosh.
2025-12-29 1:48 AM
Yes you can try.
2025-12-29 4:05 AM - edited 2025-12-29 5:18 AM
Hi @STuser2,
@santhosh16 wrote: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.
Before making these changes, could the above conditions cause any issues in running the motor using PWM input?
If no, can i try run the motor without making changes.
Best regards,
Santhosh.
2026-01-03 3:55 AM
Hi @STuser2,
My question in short is
whether the above condition actually cause any problem to motor or driver while operating?
Best Regards,
Santhosh
2026-01-03 4:37 AM
It does not create issues, if you are working under controlled conditions like power source etc only ensure short circuit does not happen which may damage your hardware, but the basic doubt is whether the motor will run without current sensing. You can try and check for pwm and current feedback etc.
2026-01-05 2:03 AM - edited 2026-01-06 9:12 PM
Hi,
I have dumped foc algorithm code to the esc. And i have given the pwm pulse of frequency 16Khz and changed the duty cycle from 10 to 90% to the pwm input pins.
But, there is no response from the motor. is calibration is needed for this esc to get input? If yes what is the procedure to calibrate this esc?
Best regards,
Santhosh.
2026-01-06 9:10 PM
Hi @STuser2,
Could you please help me look into this issue, at least until I am able to run the motor? If you are currently busy with other work, I would appreciate it if someone with relevant experience could be assigned.
Best Regards,
Santhosh
2026-01-12 1:22 AM
Hello @santhosh16,
Did you attempt to generate a 6-step Driving Algorithm project that is more suitable for drone motors?