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
  • 292 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
  • 1719 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
  • 6152 Views
  • 5 replies
  • 3 kudos

Motor Control Issue with MCSDK 6.4.0

Hello,I am working with the STM32F303E-EVAL control board and the STEVAL-IPMNM2S power board, using IAR Embedded Workbench 9.40.I have struggled to get the motor running. I initially tried both MCSDK versions 9.3.2 and 9.4.0 separately, but in most c...

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
  • 109 Views
  • 0 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
  • 179 Views
  • 3 replies
  • 0 kudos

STSPIN32G4 integrate buck convertor

Hello, I am developing a custom board with the STSPIN32G4 microcontroller.I would like to have more information about the integrated buck converter, as the documentation lacks details.What is the maximum allowed peak current? Output curent 12V :  Bes...

Cedd_0-1757320554088.png
Cedd by Associate II
  • 119 Views
  • 1 replies
  • 0 kudos

Encoder Alignment

"Should the encoder alignment be done after every microcontroller reset? Is there a way to do it once, save it in memory, and then load it at every startup? I can’t move the motor every time for encoder alignment, and when my system turns on, it must...

sdavo.1 by Associate
  • 237 Views
  • 1 replies
  • 0 kudos

Hall Sensor and encoder.

My motor has both hall sensor and encoder. I want to skip encoder alignment at every start of the mcu. Is there a way to calculate the angle with the hall sensor and then save it and skip alignment step.

sdavo.1 by Associate
  • 153 Views
  • 1 replies
  • 0 kudos