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
  • 139 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
  • 907 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
  • 5458 Views
  • 5 replies
  • 3 kudos

GPIO pin doesn't have output

I configure 6 channel GPIO pins to generate PWM signals to control 3-phase bridge. There is one pin(PC13) sometimes stop to generate signal. Even we reset 3.3V power voltage, it won't recover. one time I inject 20k square wave to pin PC13 to verif...

LFu.1 by Associate II
  • 883 Views
  • 2 replies
  • 0 kudos

What cause MC_START_UP Failure with RUC_Exec routine?

I saw a problem posted 2 years ago similar to my problem now but the issue was closed with a ticket filed and I can't access any follow ups. Start-up failure, MC_START_UP fault flag getting set sometimes. Posted on April 12, 2018 at 23:49Using the M...

BTrem.1 by Senior II
  • 1606 Views
  • 3 replies
  • 0 kudos

Control Function.

Hi All,Can someone please enlighten me on this:Why is the integrator term, and the control function output scaled and shifted as shown in this code below?Why would I need to do that in an embedded system such as STM32?

0693W00000Dma3JQAR.png

ST motor control workbench connection failed!

I used STSPIN32F0A as my motor control chip, the X_CUBE_MC workbench version is 5.4.4 , and the firmware package version is ST32 FW v1.11.2, then I generate the code ,but when I connect the MC workbench , I couldn't connect the MC workbench seria...

0693W000007ERPdQAO.png
Wzong.1 by Associate III
  • 1718 Views
  • 7 replies
  • 1 kudos

Motor Profiler profile not working correctly

I have a strenge problem. I can run the Motor Profiler 5.4.7The program generates the profile and I can use the play function to control my motor. Great.then I export the profileGenerate code using ST Motor Control Workbench 5.4.7. I dont make change...

BGlen.1 by Associate II
  • 1784 Views
  • 4 replies
  • 0 kudos

How do I choose a suitable STM32 series to control my BLDC motor? And what Advantages do they have?

Hi ​Sensorless BLDC can't run very well at low speed,I would like to know which STM32 series or which ST motor control workbench version can support HFI,and if support,can it run sensorless bldc motor well at low speed?Or none of them can support HF...

FZhen.3 by Associate II
  • 714 Views
  • 2 replies
  • 0 kudos

B-G431B-ESC1 using CAN example?

Hello,I have some B-G431B-ESC1 boards that I would like to control using CAN. Is there a working example code somewhere? I cant seem to find anything in this forum. In ST Motor Control Wokbench I can only setup normal serial communication.I hope some...

BGlen.1 by Associate II
  • 1142 Views
  • 2 replies
  • 0 kudos

STEVAL-SPIN3201: Why does the motor always move in full speed when I want to do sensored control, even if I program different target speeds?

Hello,I am using the STEVAL-SPIN3201 to drive a motor with sensored FOC.Inside the code, I use the syntax of the FOC library to program how the motor should move.I created the project in mc workbench (find the project file attached).Then I imported i...

FMaur.1 by Associate
  • 561 Views
  • 1 replies
  • 0 kudos