STM32 MCUs Motor control

Discuss STM32 solutions for motor control, including PID tuning, sensorless operation, ADC noise, custom algorithms, and more.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

User Manual MCSDK documentation

  Dear MCSDK users, The full MCSDK documentation is embedded in the Motor Control Workbench tool. Refer to Workbench tool > About > Documentations > Documentation.This document provides: Introduction: Includes startup guide links for MCSDK, HSO featu...

GMA by ST Employee
  • 273 Views
  • 0 replies
  • 0 kudos

MCSDK 6.4.0 is out!

Dear MCSDK users, MCSDK version 6.4.0 is now available: Download It here. This version of the new Motor Control SDK 6 series (X-CUBE-MCDSK) provides mainly FOC and 6Step improvements, here are the main changes for this version: Motor Control Features...

GMA by ST Employee
  • 1507 Views
  • 0 replies
  • 3 kudos

Board Manager documentation is out !

The documentation of the Board descriptions format is now available on Motor Control Boards Description Wiki page, this documentation is compatible with MCSDK versions from 6.1.2. Board Descriptions are used by the ST motor-control workbench to enabl...

Zied b. by ST Employee
  • 5925 Views
  • 5 replies
  • 3 kudos

Resolved! Regenerative Brake understanding

Hello everyone,I want to understand to clear my mind about regenerative brake MC library. I dont have ossiloscope.Assume P-NUCLEO IHM03. I am using it with different motor with HALL sensors with load. in speed control -> MC_ProgramSpeedRampMotor1_F(t...

Zek_De by Senior
  • 350 Views
  • 5 replies
  • 0 kudos

Count the motor's revolutions

Hello,I am controlling my motor with the Hall effect sensor first. I am not using any auxiliary sensor. I am able to control my motor correctly, and I can visualize the angle from the Hall sensor. I need to evaluate the number of turns the motor make...

Document about current loop (EVSPIN32G06Q1S1)

I'm learning BLDC control using the EVSPIN32G06Q1S1 and MCSDK 6.4. The inner current loop is implemented in hardware. The current feedback goes to an op-amp PI controller (I think?),then is compared with a reference voltage.The reference voltage leve...

VictorChiou_0-1754915625093.png

Three shunt resistor Current sensing

Hi,While I'm creating custom inverter board for 3 Phase BLDC motor Rail application. I had configured all motor related parameter, while Current sensing section, I have chosen Three Shunt Raw Currents Differential External Gain.I'm getting this error...

VINODC_0-1754994175714.png VINODC_1-1754994370083.png
VINODC by Associate II
  • 160 Views
  • 3 replies
  • 0 kudos

Resolved! EVLSERVO1 unable to connect to stm32CubeProgrammer

Hi,i have a new EVLSERVO1 and a STLINK-V3SET ant try to program my MSDK 6.4.0 generated firmware but i am not able to connect to the bord.  I use the latest STMCubeProgrammer 2 20.0 and the latest stsw-link009 USB Driver.I updated the Firmware on the...

THfl1_0-1754948049667.png THfl1_1-1754948192391.png
THöfl.1 by Associate III
  • 224 Views
  • 5 replies
  • 0 kudos

B-G431B-ESC1: Encoder-Based Speed Control Failure

System Details:MCSDK Version: 6.4Tool: MC Workbench 6.4.0Control Board: B-G431B-ESC1Motor: GL40 KV210Encoder: AS5047P with quadrature outputHello,I'm new to BLDC and FOC motor control and am currently trying to implement speed control using a quadrat...

Screenshot 2025-08-12 at 16.17.48.png Screenshot 2025-08-12 at 17.06.15.png
RobO1 by Associate
  • 203 Views
  • 0 replies
  • 0 kudos