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
  • 770 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
  • 6543 Views
  • 2 replies
  • 7 kudos

Receiving speed with UART

I have to receive a desired speed that is sent from the TX code, and receive it into the RX code of another different STM32 board that is connected to a Maxon 251601 motor, for it to work. If i write for example MC_ProgramSpeedRampMotor1(1500,2000) d...

garivin by Associate II
  • 191 Views
  • 3 replies
  • 3 kudos

Reference for SVPWM

 I am trying to understand SVPWM logic developed by ST, from mc workbench, i referred the documentation provided. But its much unclear in the documentation as well why and what variables are being used for. I want to know the reference of the literat...

Screenshot_2025-01-03-19-44-02-302_com.google.android.apps.docs.jpg

Unable to Read Data from L6470 via SPI (Returns 0)

I'm using an STM32L452RE MCU to communicate with the L6470 stepper motor driver via SPI, and I'm currently having trouble reading data from the driver. I’m able to transmit data (e.g., RUN, MOVE, SOFT_STOP commands). The motor runs and responds corr...

Dev29 by Associate
  • 258 Views
  • 3 replies
  • 2 kudos

b-g431b-esc1 overheats

When I connect a USB cable and use b-g431b-esc1, the U5 IC overheats and becomes unusable. Could you please advise me on the cause of this phenomenon and how to make b-g431b-esc1 usable again?To use the b-g431b-esc1, I soldered the power input/output...

taro01 by Associate
  • 110 Views
  • 1 replies
  • 1 kudos

Resolved! Phase current sensing problems

 I am measuring the phase current signal, in between i see sudden spikes and the motor halts. I am testing at 60V battery input. It is hall based system and FOC.  It is a custom board and i have not configured the motor pilot, 2 questions if you can ...

STuser2_0-1749712417019.png
STuser2 by Associate III
  • 316 Views
  • 7 replies
  • 2 kudos

Resolved! STEVAL ESC001V1 PID Tuning

When i give varying PWM signal at high frequency under range, the motor sometimes produces noise and gets stuck (0 speed even though pwm signal is valid). What is the issue? I feel its due to PID tuning. Kindly share PID tuning method.Thanks