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
  • 611 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
  • 5396 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
  • 6508 Views
  • 2 replies
  • 7 kudos

Cannot generate the IDE project

Hi, Community.When I try to generate an IDE project from the MotorControlWorkbench project I inherited, an error occurs.I checked both cases where a previous IDE project existed and where only the stwb6 file existed, but neither worked.The IDE, MX, a...

hijimasa by Associate II
  • 272 Views
  • 4 replies
  • 0 kudos

STSPIN32F0: Maximise PMSM motor starting torque

Demande de support pour maximiser le couple de démarrage du moteur PMSM avec la carte STSPIN32F0Bonjour,Je suis ingénieur software embarqué chez Actia Micromobilité. Je possède un moteur PMSM avec effet Hall pour vélo, que je commande avec la carte S...

seif1 by Associate II
  • 357 Views
  • 5 replies
  • 1 kudos

Resolved! speed measurement resolution

Hello.I am currently conducting FOC (Field-Oriented Control) tests using the Motor Control Workbench with the Nucleo-G431RB board and the IHM08M1 power stage.My target speeds are 300 rpm and 150 rpm.However, when using Hall sensors with motors that h...

sjson by Associate
  • 268 Views
  • 2 replies
  • 0 kudos

Resolved! HSO ADC config

Hi :[VERSION]: MCSDK 6.3.1I have some questions regarding the HSO ADC sampling configuration. I am currently using a custom PCB to validate the HSO algorithm with the STM32G431 chip. ADC1 and ADC2 are used to sample voltage and current separately. Th...

propu by Associate II
  • 927 Views
  • 4 replies
  • 0 kudos

EVSPIN32G4 & Portescap 16ECP52 profiling fails

Dear all,[PN]: EVSPIN32G4 & Portescap 16ECP52 Ultra EC Slotless Brushless DC Motor (Datasheet as pdf attached)[VERSION]:MC Workbench : 6.3.2WB_to_Mx : 6.2.3.template-24-04-17STM32CubeMX : 6.14.1MC Firmware Library: 6.3.2-FullTarget Toolchain : ST STM...

Hartwig by Associate
  • 196 Views
  • 3 replies
  • 0 kudos

Resolved! B-G431-esc1 inserting fault

Hi all,I need to insert fault on upper key of the driver. In order to achive this Im changing dedicated  TIM1 output to Input to output low. After inserting fault motor stops. Is it possible to achive this? Could someone explain what Im doing wrong. ...

rev-up : on the fly star up

Hello Everybody,MCSDK:6.3.0CubeMX: 6.1.1Workbench : 6.3.0CubeIDE : 1.15.0 I’m currently working on a sensorless FOC setup using SMO + PLL for rotor angle estimation.During the rev-up phase, I'm trying to implement on-the-fly startup, where the motor ...

Vincent7 by Associate III
  • 229 Views
  • 1 replies
  • 0 kudos