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
  • 360 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
  • 5344 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
  • 6389 Views
  • 2 replies
  • 6 kudos

Speed Loop PID Tuning in ESC001V1

For PID tuning, from documentation, I understood how to calculate gains for current loop. But how to calculate them for speed loop? How Motor control workbench is auto calculating the gains for speed regulator? Please provide documentation or formula...

Change the peripheral function in program

Hello everyone,Does anyone have experience with changing the function of a pin in program?(Not CubeMX tool) I'm currently using the STM32H5 MCU to develop a motor drive inverter.For rotor angle feedback, we’re considering two options: Encoder (ABZ) a...

yang2_0-1750407561620.png yang2_1-1750407601437.png
yang2 by Associate III
  • 53 Views
  • 1 replies
  • 0 kudos

Unable to Read Data from L6470

 Using HAL_SPI_TransmitReceive properly. I've corrected the code to send the command 0x25 followed by two dummy bytes (0x00, 0x00) in a single transaction to read the ACC register.However, now I’m facing a new issue: no matter what value I set for AC...

Dev29_0-1750441274571.png
Dev29 by Associate
  • 32 Views
  • 0 replies
  • 0 kudos

MCSDK Modulation value

I have read that in the MCSDK, there is an overmodulation technique that could exceed the linear region of the SVPWM. However, without it, I see in the WC Workbench, that the maximum modulation than can be achieved even without overmodulation is 100%...

AnthonyK by Associate III
  • 114 Views
  • 6 replies
  • 1 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

Speed Loop PI regulator in ESC001V1

For PID tuning, from documentation, I understood how to calculate gains for current loop. But how to calcuate them for speed loop? How Motor control workbench is auto calculating the gains for speed regulator? Please provide documentation or formulas...

UART Commands to control B-G431B-ESC1

I am currently working or a project with microcontrollers STM32 and this is my current situation:- I want to send from my NUCLEO f4476ZE the desired speed via UART to my other controller which is B-G431B-ESC1 discovery kit with STM32G431CB MCU.- I ha...

garivin by Associate
  • 194 Views
  • 16 replies
  • 0 kudos