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

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
  • 723 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
  • 5407 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

Motor Control Wiki: STM32 Motor Control Knowledge Database - stm32mcuMC Frequently asked questions (FAQ) for version MCSDK5.x:Frequently asked questions (FAQ) - stm32mcu   The documentation of the Board descriptions format is now available on the Mot...

Zied b. by ST Employee
  • 6527 Views
  • 2 replies
  • 7 kudos

ST MCSDK "Completed with errors"

Hi EveryoneWhile generating the code, I get the following error and finally I get a "complated with errors" warning.It did not give such an error before. I faced such a problem the next day when I turned on my computer and created a new project.I del...

0693W000005BewHQAS.png

Hall Speed feedback fault management

Hello!I am using a 2 pole 3 hall sensor BLDC motor. I am able to get it to spin at desired RPM using hall fbk as primary sensor. Unfortunately, sometimes the motor won't start: with STMStudio i discovered that if HALL 1 (one of the three hall sensor)...

MFran.3 by Associate II
  • 3113 Views
  • 9 replies
  • 0 kudos

Resolved! NUCLEO-IHM03A1 With NUCLEO-L4R5ZI

Hey all,So I may have quite a beginner question but how would one use the IHM03A1 with the L4R5ZI? Are there libraries which I can use for calls? There seem to be no example projects for my current board (albeit there are for a few others under the I...

JMart.11 by Associate
  • 1167 Views
  • 4 replies
  • 0 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
  • 2251 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
  • 1773 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
  • 1458 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
  • 818 Views
  • 1 replies
  • 0 kudos