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
  • 878 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
  • 3794 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
  • 7929 Views
  • 5 replies
  • 3 kudos

Resolved! How to configure 3 Shunt 3 ADC measurement

Hi,I have a STM32G491 based design with three differential shunts, routed to the three Op Amps of the MCU. I would prefer to run the Op Amps in standalone mode. This would allow me to have a low pass filter (cap across negative and output) and I woul...

JKolj.1 by Associate III
  • 2591 Views
  • 3 replies
  • 2 kudos

Resolved! Using MCSDK / Motor Pilot in a virtual machine

Unfortunately MCSDK is not available for Linux. So I have installed it on a virtual machine. But the application "Motor Pilot" doesn't work. It even doesn't start.I have tried with MCSDK 6.1.1 and 6.1.0, with Windows 11 and Windows 7, withOracle VM V...

Marc1 by Associate III
  • 1368 Views
  • 1 replies
  • 0 kudos

Resolved! Systick time missing

I am running the motor control workbench B-G431B-ESC1 board. The systick fires at every 2K frequency as per the user manual and the waveform matches when i toggle, but the problem is sometimes it misses as shownI want to debug and find out why it mis...

SRedd5_0-1689998582490.png
SRedd.5 by Senior III
  • 5869 Views
  • 23 replies
  • 1 kudos

Which power board should I choose?

Hi,I want to control a PMSM using STM32 FOC SDK.And the spec of the PMSM is belowRated input volt: 62 VRated current: 2.5 ARated output: 200WBut I notice the voltage sets of power broad are10~28 Vdc8~48 Vdc125~400 Vdccould I choose 8~48 Vdc range to ...

Erem by Associate
  • 973 Views
  • 1 replies
  • 0 kudos

Doing 6-step using FOC algorithm

Hello,I've generated a functional FOC project, with speed encoder. I also have Hall sensors wired (only used for my 6-step mode).I'd like to implement a basic 6-step control mode in this project.The FOC code allows me to set (eg. during the encoder a...

STM32 Motor Control SDK FreeRTOS

In STM32 MC SDK Workbench, is it necessary for me to tick the choice "Enable MC IRQ to use FreeRTOS Functions" when I enable FreeRTOS? In what circumstances should I tick this option? What happens when I don't enable this functionality? Anybody else ...

Screenshot 2023-09-19 144115.png
TimRocky by Associate
  • 1494 Views
  • 1 replies
  • 0 kudos