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
  • 727 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
  • 3631 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
  • 7814 Views
  • 5 replies
  • 3 kudos

STM32G474 runaway at high RPMs

Hi, I'm struggling with a runaway situation when I try to run my motor at high RPMs. Here is my setup: 48V power supply, 300A max. The motor has 21 pole pairs. I use the FOC algorithm to drive the motor, sensor-less speed sensing (no hall sensor). I ...

Review of Custom STSPIN32G4 Schematic

Hi everyone,I’m new to STM32 and working on a custom board using the STSPIN32G4 to drive a 3-phase BLDC motor (max 1000 W). The board will be powered by a 7-cell Li-ion pack (max 29.4 V, up to 30 A). I would appreciate a general schematic review.Coul...

ElGuerrero91_0-1765139629378.png Screenshot 2025-12-07 194032.png

Operating the STEVAL-ESC002V1 with 8S battery?

I am curious what dictates the operating conditions of the STEVAL-ESC002V1 to a 2-6S battery and 20A current capability? I would like to use this chipset and operate from an 8S battery. The specs state that the MCU is capable of operating up to 45V a...

hoser by Associate
  • 68 Views
  • 1 replies
  • 0 kudos

How can I configure the board under senseless mode?

Hello Everybody,Here are the software and boards in this case:1. MC workbench 6.3.22. STEVAL-IHM039V1/STEVAL-CTM009V1I have an I-PMSM motor, and I use the board (STEVAL-IHM039V1/STEVAL-CTM009V1) to run the ST Motor Pilot for spinning the motor. Howev...

039V1_senseless_startupFault.jpg
DF_MC by Associate III
  • 105 Views
  • 2 replies
  • 0 kudos

Motor Control Protocol

I am using Nucleo L476RG for controlling BLDC motor. In the FOC control, i need to change the motor ID in the code. What is the procedure to change motor ID??