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
  • 775 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
  • 5423 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
  • 6544 Views
  • 2 replies
  • 7 kudos

While Running Motor Starts Jerking.

Dear Experts,I need your help to figure out a problem in my MC configuration. I am using Nucleo-F401RE and a custom motor Driver board similar to STEVAL-IPM20B with 0.01R shunt resistor and opamp used it LM324. The current sense circuit in my custom ...

Screenshot from 2025-02-06 18-45-34.png Screenshot from 2025-02-06 18-45-42.png Screenshot from 2025-02-06 18-45-27.png Screenshot from 2025-02-06 18-45-49.png

Custom STSPIN32 Board flashing not working

Hello STM Community,We are developing a custom motor driver board based on the STSPIN32F0251 and are encountering challenges with consistently flashing firmware onto the device. Below, I’ve shared our schematic (STSPIN schematic on page 3) and the st...

kenni by Associate II
  • 470 Views
  • 0 replies
  • 0 kudos

Resolved! MC Workbench 6.3.2 B-G431B-ESC1

Hi everyone,I'm working with the B-G431B-ESC1 board and need help setting up overcurrent protection. I want to ensure safe operation and prevent damage to the hardware.Could anyone guide me on the best way to configure the current sensing and protect...

LSerhii_0-1738769957414.png LSerhii_1-1738770007818.png
LSerhii by Associate
  • 524 Views
  • 2 replies
  • 0 kudos

Unable to do Pin mapping in MCSDK 6.3.2!!!!

Hi Everyone,Currently I am stuck at place where I want to do some changes in default assigned pin of motor SDK 6.3.2 but unable to do after Version 6.I was able to do it in MCSDK 5.x.x.. Versions.if you have any idea about changing pin mapping of ADC...

Akkii by Associate
  • 349 Views
  • 2 replies
  • 0 kudos

Resolved! How to set the value of hFinaltorque?

Hello Everybody,MCSDK:6.3.0CubeMX: 6.3.0Workbench : 6.3.0Motor Pilot : 1.2.9Power Board : IHM08M1(Rshunt=0.01Ω)Control Board : NUCLEO-G431RBMotor : BLDC 26w 24v/8 pole pairs / rpm=4k / rated current=1.8A/hall sensorI am currently testing torque contr...

Vincent7 by Associate III
  • 1641 Views
  • 11 replies
  • 2 kudos

BLDC motor Control

Myself using STM32 G474RE board , please someone help me with step by step process with BLDC motor six step commutation control with code."I want to control BLDC motor in six step method using STM32G474RE (nucleo board)".Thank You !@Kenji1 

ses by Associate
  • 599 Views
  • 1 replies
  • 0 kudos

A question about 6-step for X-NUCLEO-IHM16M1

MC Workbench generates a 6 step_sensless code for the following board: Type: 6-Step / Voltage Mode Control: NUCLEO-G431RB Power: X-NUCLEO-IHM16M1Motor: GimBal GBM2804H-100T Code: pwmc-3pwm.c in middle-ware       Question: In each step, it looks like ...