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
  • 300 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
  • 5305 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
  • 6358 Views
  • 2 replies
  • 6 kudos

Using the STEVAL-IPM30B and STM32F407 to drive a PMSM (Permanent Magnet Synchronous Motor) with sensorless control relies on implementing sensor

Hello,I need you help . For implementing sensorless control of a PMSM motor using the STEVAL-IPM30B and STM32F407, how should their pins be connected? Should the control board's required feedback for voltage and current be directly connected from the...

Wei1_0-1736832430544.png
Wei1 by Associate
  • 263 Views
  • 0 replies
  • 0 kudos

Resolved! FOC Open Loop API

Hello Everybody,MCSDK:6.3.0CubeMX: 6.3.0Workbench : 6.3.0Motor Pilot : 1.2.9I used open-loop voltage on the motor pilot to perform tuning with (voltage_ref, TargetSpd) at the following settings: (10%, 300), (20%, 600), and (30%, 900), each with a dur...

Vincent7 by Associate III
  • 688 Views
  • 2 replies
  • 1 kudos

Resolved! Force PWM signals to lock the rotor in fixed position

Hi, I am using the P-NUCLEO-IHM03 STM32 motor-control pack along with a AMS AS5147U rotary sensor for speed control with Hall-effect. The rotary sensor needs to be calibrated by setting a zero angle aligment. This is done by disconnecting the motor f...

roar by Associate II
  • 1129 Views
  • 2 replies
  • 2 kudos

Resolved! STM32G030C8Tx can not communicate with BTT TMC2209

I have STM32G030C8Tx C project that I am trying communicate with BigTreeTech TMC2209 module with the UART half duplex interface. I have attempt to write the code from scratch, kicked that around for a few weeks, gave up and tried to port over some ar...

Screenshot 2025-01-09 133933.png Screenshot 2025-01-09 135856.png
Moonless by Associate
  • 538 Views
  • 2 replies
  • 1 kudos

Resolved! MCSDK 6.3.2 and STM32H753

Hello everyone,I have an existing project on the STM32H753VIT6 and I need to add three-phase motor control (FOC mode) via STDRIVE101 driver. The question is whether my approach to importing the MCSDK into my project is correct.Due there is no support...

error_1.png
AndriiD by Associate
  • 490 Views
  • 1 replies
  • 0 kudos

B-G431-ESC1 Board: ST890 issue

As my understanding, ST890 used for isolate USB 5V and Battery 5V( DC/DC from 10V by U12: LDFPVR ). And also provide 5V for ESC board in debug program even  without battery connected.But why when I use battery only, which means no usb pluged, there i...

Kai123_0-1736517262389.png
Kai123 by Associate
  • 208 Views
  • 0 replies
  • 0 kudos