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

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
  • 309 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
  • 5312 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

Motor Control Wiki: STM32 Motor Control Knowledge Database - stm32mcuMC Frequently asked questions (FAQ) for version MCSDK5.x:Frequently asked questions (FAQ) - stm32mcu   The documentation of the Board descriptions format is now available on the Mot...

Zied b. by ST Employee
  • 6363 Views
  • 2 replies
  • 6 kudos

Resolved! Bug in generated MC workbench code

Hello,I am using MC Workbench v. 6.2.1. The function "__weak bool MCI_StartWithPolarizationMotor(MCI_Handle_t* pHandle)" is supposed to return true on success. But it is currently returning false. This function is located in "mc_interface.c" at line ...

OleB by Associate
  • 799 Views
  • 2 replies
  • 1 kudos

PWM pin configuration for high low STM32G4 Series

Hi,if i want to use PWM out for my motor driver inverter complement of each other.Can i configure , HRTIM1_CHB1 for High & HRTIM1_CHB2 will be its complement Low.For motor driver as i need total 6 pwm channels.So in short HRTIM1_CHB1 for High & HRTIM...

sag_0-1715925182516.png sag_1-1715925190385.png sag_2-1715925224381.png
sag by Associate III
  • 496 Views
  • 0 replies
  • 0 kudos

may be a bug in the MC workbench

Hello, in the code I generated using MC workbench 5 or 6, there is something wrong with the part of the code that calculates the phase current value.You can easily find it by searching in the generated codePHandle->PhaseAOffset >>= 3;PHandle->PhaseBO...

Ywang.3 by Associate II
  • 571 Views
  • 1 replies
  • 0 kudos

CubeMX Project breakdown

Hello everyone, I ran into a problem when re-generating a project in a СubeMX.If I make some updates in the peripheral settings and generate a project in the mx cube, my build goes through without errors and warnings. But if I load this project into ...

Sergiu_Pascari_0-1715682803583.png Sergiu_Pascari_1-1715682865499.png