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
  • 571 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
  • 3297 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
  • 7601 Views
  • 5 replies
  • 3 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
  • 1181 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
  • 409 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
  • 348 Views
  • 1 replies
  • 0 kudos

Resolved! Electrical angle interpolation option in MC WB

Hello,I am trying to enable electrical angle interpolation option in MC WB for the hall sensor, however, I am not seeing any changes in the generated code. I think this option is related to the REV_PARK_ANGLE_COMPENSATION_FACTOR since it is used to c...

AnthonyK by Associate III
  • 325 Views
  • 1 replies
  • 0 kudos

Motor compatible? EVLSPIN32G4-ACT

In the attachments is an motor I'm trying to run with the EVLSPIN32G4-ACT.I use the latest MCSDK6.First I never get the profiler to finish. It always times out.During profiling the motor jerks and sometimes starts running at full speed after some tim...

Egbert by Associate
  • 363 Views
  • 1 replies
  • 0 kudos