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
  • 277 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
  • 1564 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
  • 6000 Views
  • 5 replies
  • 3 kudos

Resolved! ADC2 warning when generating project for B-G431B-ESC1

I'm trying to generate project for B-G431B-ESC1 and I keep getting warningThese IPs still have some not configured or wrong parameter values: [ADC2]Project compiles after commenting out HAL_PWREx_DisableUCPDDeadBattery(); (from stm32g4xx_hal_msp.c li...

0693W000004HBUHQA4.png
TAinl.1 by Associate
  • 2323 Views
  • 9 replies
  • 1 kudos

Resolved! Compiler/debugger choice for STM32?

I will be using the STMF30x mostly for motor control using the ST library. I need to purchase a compiler/debugger and was wondering if the Keil MDK5 'Essential' version will work? I'm pretty much convinced I should use Keil on my windows based system...

BTrem.1 by Senior II
  • 1810 Views
  • 11 replies
  • 0 kudos

Resolved! Low Speed Issues w/ Steval SPIN 3202

I have driven my 3-Phase BLDC motor at speeds greater than 200RPM with great success. Driving at lower speeds has resulted in decreased performance. I find that the motor will run for a little, then drop to zero RPM for some time, and then overshoot ...

nmamore by Associate II
  • 1516 Views
  • 7 replies
  • 1 kudos

Resolved! do I really need CubeMX?

I've recently done a clean install of STM32CubeIDE, and after went for the x-cube-mcsdk setup.The motor WBench cant generate the code because CubeMX is not installed... But in fact CubeMX is now embedded in STM32CubeIDE.How can this issue be solved? ...

dsamm by Associate III
  • 862 Views
  • 1 replies
  • 0 kudos

Resolved! [STM32H7] Counting Pulses to Stepper Motor

I've configured a timer for Output-Compare on a pin that goes to a stepper motor. However is there a way to configure the timer such that it outputs a certain number of reload events / pulses and then stops completely.In software, I understand I ca...

bnguy.1 by Associate III
  • 2846 Views
  • 4 replies
  • 0 kudos

Resolved! MCSDK Motor Control Workbench Project for B-G431B-ESC1

Hi All, I am just getting started with the  B-G431B-ESC1 evaluation kit. I wasn't able to find it listed as a development kit in the motor control workbench and the instructions in the user guide weren't entirely clear on this for the initial configu...

MWild.3 by Associate II
  • 1340 Views
  • 2 replies
  • 0 kudos

STM32 driver for Linear motor (PMLSM)

is there any resource on using ST device for permanent magnet linear synchronous machines (PMLSMs)?It's possible to use a single BLDC chip to connect the linear coils in parallel sets of 3 but what do do when it comes to Hall or sensorless feedback?A...

MEdwa.1 by Associate II
  • 2160 Views
  • 9 replies
  • 0 kudos

Experience in braking/recouperation operation mode?

Hi Based on some discussions in the community about torque problems at low speed I am wondering, if I will run into problems with my application.I would like to use the STEVAL-SPIN3201 board to drive a 48V BLDC motor. It is a start stop application ...

PBlat.1 by Associate
  • 638 Views
  • 3 replies
  • 0 kudos