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
  • 1612 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
  • 4760 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
  • 9487 Views
  • 5 replies
  • 3 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
  • 1793 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
  • 922 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
  • 7341 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
  • 1950 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 ...

Motor speed uncontrollable

I am using STEVAL-ESC001v1 and a2212/10t 1400kv motor. While giving it supply and reference signal, the measured speed keep on increasing and the actual speed of motor as well. Also, motor_state stucked at START but motor still running. Please help. 

Field Weakening not working in ESC

I am using STEVAL ESC 001V1 and enabled Field weakening with FOC, but motor is not running, it is starting, stopped, starting stopped and soon. I also seperately tried setting Id = -ve value but its not working. Please help.