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
  • 105 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
  • 873 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
  • 5452 Views
  • 5 replies
  • 3 kudos

Hi i have problems with the UART Motor Control Protocol with the new Motor Control Workbench 6.1.0 (Jan 2023). I a reading the status of my Motor with the MCP Protocol.

With the new generated Code i receive a lot of errors like 0F 04 04 C0 0F 04 04 C0. TO control my SPIN3201 Board with the Motor Pilot works fine. By trying to send the same Data as the Gui (Voltage, Speed, Power....690100B0110019005900591B9900D105910...

THöfl.1 by Associate II
  • 1148 Views
  • 1 replies
  • 1 kudos

ST Board Selection

Hello,I am an electrical engineering student working on a design for a product. We would like to use an ST motor control board in our design which would be a 3-phase inverter to run an AC induction motor at variable speeds. The motor we have requires...

rhaskins by Associate
  • 1011 Views
  • 2 replies
  • 0 kudos

Resolved! MCWB 6.1.2 Doesn't allow hall sensor + QuadEnc

The MCWB 6.1.2 doesn't allow the configuration of of both hall sensor and quadrature encoder as speed/position sensors in main/auxiliary speed sensor configurations. It looks like the only conflict is in timer input pin allocation, but it seems like ...

Resolved! Power factor correction in MCSDK

I have seen the Digital PFC section in MCSDK 6.1.2 but i do not get an option in the project i have selected for the B-G431B-ESC1 project. How can i enable it? How important is this Digital PFC? In my testing i get around 0.6. 

SRedd.5 by Senior III
  • 731 Views
  • 1 replies
  • 0 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
  • 2271 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
  • 1205 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
  • 5202 Views
  • 23 replies
  • 1 kudos