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
  • 246 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
  • 1424 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
  • 5861 Views
  • 5 replies
  • 3 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
  • 288 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
  • 270 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
  • 251 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
  • 281 Views
  • 1 replies
  • 0 kudos

Bug with HALL_TIMx_CC_IRQHandler()

file: hall_speed_pos_fdbk.cfunction:There maybe a bug within this code:if(pHandle->OVFCounter != 0U){if(pHandle->RatioInc)wCaptBuf = wCaptBuf * (hPrscBuf + 1)...elsewCaptBuf = wCaptBuf * (hPrscBuf + 1)...}else{if(pHandle->RatioDec)wCaptBuf = wCaptBuf...

STM32F407VET6 and DRV8825 Stepper Motor Project

I'm working on a project involving the STM32F407VET6 microcontroller and the DRV8825 stepper motor driver. I would greatly appreciate your expertise and guidance in connecting and writing the necessary code to get the stepper motor running.If anyone ...

Aabc by Associate III
  • 621 Views
  • 4 replies
  • 2 kudos