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
  • 253 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
  • 1435 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
  • 5866 Views
  • 5 replies
  • 3 kudos

Resolved! STSPIN issues with current sense

We have a design on an ST32G431 based on the B-G431B-ESC eval board that we are trying to migrate to an STSPIN32G4. However the tools appear to not let us set up the same 3-shunt, internal op-amp, internal PGA, differential configuration on STSPIN. T...

Clive_S by Associate II
  • 656 Views
  • 8 replies
  • 1 kudos

Motor suddenly turns in the wrong direction

 [PN]: Customer Board (Very similiar IHM08M1 and STM32G431RB)[VERSION]: 6.3.1[TOOL]: Motor Pilot[DETAILS]: at heavy load step the motor turns suddenly in wrong direction with full speed (see plot below)[EXPECTED BEHAVIOR]: stable speed or motor stops...

RReic2_0-1755679708505.png RReic2_1-1755679993144.png
RReic.2 by Associate II
  • 243 Views
  • 5 replies
  • 0 kudos

Facing an error when using MCSDK 6.4.1

Hello, I encountered an error when using MCSDK 6.4.1 (Motor Control Software Development Kit 6.4.1) to configure the STM32G431VBT for using the three-resistor internal operational amplifier and performing external differential gain sampling. I would ...

hang_0-1755912335348.png hang_13-1755913014045.png hang_14-1755913036144.png hang_15-1755913047945.png
一hang by Associate II
  • 526 Views
  • 5 replies
  • 0 kudos

PWM generation in timer 2

I am using stm32g431c8u6 microcontroller . I have enabled timer 2 channel 3 for alternative pin of PB10 and I have enabled channel 4 for PA3 pin. I set counter perioud 499 and prescaler value =0.When I plug the debugger and run the code only channel ...

Tashenlrana_0-1756361739173.png Tashenlrana_1-1756361772126.png Tashenlrana_2-1756361921155.png

Use a resolver with Motor control

Hello,I am working with Motor Control Workbench 6.4.1 for a project using Nucleo-G431Rb X-NUCLEO IHM08M1 and a PMSM motor. The position feedback is given by a motor resolver.I read sin e cos values and calc the rotor position correctly.If I generate ...

Resolved! Motor pilot application not starting

I have installed MCSDK 6.4.1I can run the workbench (MotorControl Workbench_6.4.1) without any problem.But i cannot run the Motor pilot application.At first there was an error stating "The code execution cannot proceed because MSVCP140.dll was not fo...

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...

B-G431B-ESC1 not able to move the motor

Hi, I am trying to use the disco-B-G431B-ESC1 board to move my gimbal motor. I am using the simpleFOC library example. The problem I am facing is that the motor is not moving. The motor is vibrating at a pole. If I move the motor by force then it vib...