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
  • 651 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
  • 3452 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
  • 7727 Views
  • 5 replies
  • 3 kudos

Clarification on the Hall Interrupt

I always observe a spike when i start to run the motor which leads to audible noise or jerk when i went through the code to modify i have observed the variable hAux little confusing request to please confirm if it is intended __weak void *HALL_TIMx_C...

STuser2_0-1757419669568.png STuser2_1-1757419688398.png
STuser2 by Senior III
  • 855 Views
  • 6 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
  • 491 Views
  • 1 replies
  • 0 kudos

A hardware fault is reported after pressing a button to initiate the pre-charge process (6.4.0 SDK/STM32G431)

您好,我已经在STM32G431上成功配置了 6.4.0 SDK 包。 但是,当我按下按钮并开始预充电过程时,报告了硬件故障。 如果我在预充电过程中将上侧 PWM 波的刻度值从 0% 更改为 90%,程序将在 RUN 后进入 STOP 状态,然后进入故障状态。故障代码为 40,定义为 #define MC_BREAK_IN ((uint16_t)0x0040) /**< @brief 错误:紧急输入(过流)。 */ Post edited by ST moderator to follow th...

BY1 by Associate II
  • 484 Views
  • 8 replies
  • 0 kudos