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
  • 278 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
  • 1566 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
  • 6003 Views
  • 5 replies
  • 3 kudos

Hi. I am really battling with this cube IDE and environment. I finally managed to communicate with my STEVAL Ptool 2v1 after a great deal of fiddling around, however, i received the following, can anyone tell me what to do......

Info : accepting 'gdb' connection on tcp/3333Warn : GDB connection 2 on target STM32F031C6Tx.cpu not haltedError: timed out while waiting for target haltedError executing event gdb-flash-erase-start on target STM32F031C6Tx.cpu:TARGET: STM32F031C6Tx.c...

DDoug.2 by Associate
  • 514 Views
  • 0 replies
  • 0 kudos

Can someone tell me what T-noise and T-rise are in the Current Sensing block of the Motor Control Workbench?

I am using the IHM17M1 power board which is not supported out of the box. I have it working quite well by configuring it as a custom board. However I don't know how to set the t-rise and t-noise values. I can't find any reference to them in the docum...

SCrum.1 by Associate III
  • 5026 Views
  • 18 replies
  • 0 kudos

Does the mc_api actually do anything?

I'm a complete beginner following the motor control tutorial here:https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Getting_started_with_Motor_Control#Managing_the_programming_code_partIt tells me that this code will get my motor running. while (1) ...

gazzatav by Associate III
  • 839 Views
  • 1 replies
  • 0 kudos

Resolved! Starting from STM32 example project - How do I add in .ioc?

I am starting a project with an X-NUCLEO-IHM01A1 and an STM32 NUCLEO F411RE board. The example project on the IHM01A1 page called "X-CUBE-SPN1" is an STM32 project, not an STM32IDE one. I'm using the F401 example inside the example project. Is there ...

bhat.1 by Associate II
  • 2267 Views
  • 4 replies
  • 0 kudos

About the algorithm selection of sensorless PMSM

Hi ST community,I tried to use STM32CubeMX for motor control of sensorless PMSM. I am confused about the Speed Sensing module. There are three modes of sensorless: Observer PLL, Observer Cordic, HFI+Observer, what is the trade-off between them? HFI+O...

Dldw.1 by Associate II
  • 2186 Views
  • 4 replies
  • 0 kudos

Resolved! At motor BRK interrupt handler, TSK_SafetyTask() should be called instead of MC_Scheduler() to immediately execute fault processing?

(Environment)MC_SDK 5.Y.3 + STM32CubeMX 6.3.0 with HAL + IAR EWARM 8.5(Hardware)custom board based on F446RE + custom power board + Low Voltage BLDC motor with Encoder(Control Mode)Speed Control(What I found)In "stm32f4xx_mc_it.c", there is TIMx_BRK_...

THA.1 by Associate II
  • 1593 Views
  • 5 replies
  • 0 kudos