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

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
  • 709 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
  • 1138 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
  • 558 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
  • 503 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
  • 214 Views
  • 0 replies
  • 0 kudos

MediumFreq Register Update Frequency

Hello,in file RegListSTMV2.json I can define custom registers. Most registers have "UpdateFrequency" configured to "MediumFreq".How often is "MediumFreq" polled by Motor Pilot?Is it possible to configure the polling frequency in Motor Pilot?Thanks, 

c_dev05 by Associate III
  • 210 Views
  • 0 replies
  • 0 kudos