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
  • 1764 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
  • 4916 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
  • 9646 Views
  • 5 replies
  • 3 kudos

spin3204 hall sensor speed feedback issue

Hello,I’m testing a motor with integrated Hall sensors for which I don’t have the datasheet and that I can’t disassemble. From the tests I’ve done, it appears to be a 4-pole motor with Hall sensors spaced 120 mechanical degrees apart.I first tested t...

Screenshot 2025-08-22 092847.png Screenshot 2025-08-22 091809.png Screenshot 2025-08-22 090214.png Screenshot 2025-08-22 090206.png
VILLO by Associate II
  • 571 Views
  • 1 replies
  • 0 kudos

EVSPIN32G4-DUAL board takes very large current

[PN]: EVSPIN32G4-DUAL, STSPIN32G4, STDRIVE101[VERSION]: 6.4.0[TOOL]: Motor Control Workbench[DETAILS]:When I start the motor from motor pilot, even though I have set low peak currents (0.2A) in the project, on startup more than 1.8A is taken from the...

GSB by Associate II
  • 929 Views
  • 8 replies
  • 0 kudos

Motor controller not connecting

Hey STM community,I have a G431RB & IHM16M1 however whenever i try to run the motor pilot, i cant seem to connect to the board. I  have made sure all the necessary link drivers are installed, i have made the baudrate  115200, 8bit all to match up wit...

Screenshot 2025-08-31 213103.png
Gath0004 by Associate
  • 419 Views
  • 1 replies
  • 0 kudos

Resolved! HSO fail

Hi, Dear STM motor control experts:   I am conducting experiments on the BLDC HSO project, and during project testing, the code in the SPD_init() function runs to IMPEDCORR_setParams(pHandle->pImpedCorr, &ImpedCorr_params_M1); No problem, but run the...

Resolved! STSPIN issues with current sense

We have a design on an ST32G431 based on the B-G431B-ESC eval board that we are trying to migrate to an STSPIN32G4. However the tools appear to not let us set up the same 3-shunt, internal op-amp, internal PGA, differential configuration on STSPIN. T...

Clive_S by Associate III
  • 1853 Views
  • 8 replies
  • 1 kudos