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
  • 101 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
  • 864 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
  • 5452 Views
  • 5 replies
  • 3 kudos

Warning after code generation

Hi, I got the following warning after generating the code for evspin32g4:Description Resource Path Location Typearray subscript 1 is above array bounds of 'PWMC_Handle_t *[1]' {aka 'struct PWMC_Handle *[1]'} [-Warray-bounds] mc_tasks.c /xxx/Applicati...

Tmasin by Associate
  • 1177 Views
  • 4 replies
  • 1 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
  • 850 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
  • 537 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
  • 611 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