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
  • 272 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
  • 1495 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
  • 5911 Views
  • 5 replies
  • 3 kudos

Resolved! How to set a glitch free 100% duty cycle PWM output

To control a DC motor driver I need to set one pin permanently high and the other is inverse PWM.If I want to reverse the motor direction I need to swap these settings.So I configured both pins as PWM output.But if I want to set one output pin high t...

WSpar.1 by Associate III
  • 3151 Views
  • 3 replies
  • 2 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
  • 5911 Views
  • 5 replies
  • 3 kudos

How to calculate the Ke?

I refer here:https://wiki.stmicroelectronics.cn/stm32mcu/wiki/STM32MotorControl:How_To_manually_configure_the_motor_parameters Below is the profiler's result. Ke=9.59 Vrms/kRPM.Below is my owm test.Vpp=13.6v,pole pairs=5,fbemf=83.33Hz. Ke=(13.6*5*100...

Setup_motor_parameters_manually-7.png 20231008160258.png TEK00107.PNG
gtop.1 by Associate III
  • 3121 Views
  • 9 replies
  • 2 kudos

Resolved! Read only from one channel of the ADC

I have two active ADCs with many channels reading, some in regular converison, some injected, etc.The code is autogenerated from MC Workbench, but I added a channel 11 for an external potentiometer.I don't really know in the autogenerated files where...

luke514_0-1729697663038.png luke514_0-1729698295963.png
luke514 by Senior
  • 976 Views
  • 4 replies
  • 0 kudos

Increasing Current for a BLDC Motor Under Load

Hello ST Community,I'm using an X-NUCLEO-IHM17M1 shield with a NUCLEO-F401RE board to control a 6V BLDC motor (motor specifications are attached below). Both the 6-step and FOC control algorithms are functioning as expected, and the motor operates co...

hashiR_0-1729920343811.png
hashiR by Associate III
  • 399 Views
  • 0 replies
  • 0 kudos

Motor Commands to preserve pre power operation?

Hello.I am running an x-nucleo-IHM03A1 with a Nucleo-F401RE and a 24BK20-30 Stepper motor.  I have FW that allows me to push a button to arm the device and then 2 other buttons that allow me to run the device using the MOV command to create upper and...

SWenn.1 by Senior III
  • 368 Views
  • 0 replies
  • 0 kudos