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
  • 1601 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
  • 4754 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
  • 9471 Views
  • 5 replies
  • 3 kudos

External Interrupt IRQ Handler with ADC DMA IRQ Handler

Hello everyone,I'm trying to build a sensorless 6 step BDLC motor control. I'm using 3 external interrupts to detect rising and falling BEMF signals and 6 step commutation sequence and the motor works fine for different PWM values. Now I'm trying to...

KKuma.4 by Associate
  • 3395 Views
  • 6 replies
  • 1 kudos

Integrate Motor driver c-code to simulink

hi,i'm currently working on a project where i want to control a stepper motor via the STM32F446RE board and X-NUCLEO-IHM-03A1 expansion board.To benefit from the X-CUBE-SPN3 software package, i would like to integrate the external c-code to matlab/si...

tired by Associate II
  • 12440 Views
  • 12 replies
  • 0 kudos

Resolved! X-NUCLEO-IHM07M1

Hi,Is there an example code for start with this kit?. I have tried all code proposed(speed ramp with potenziometer) in STMCW but no one works for me, instead the motor profiler works so i think the harware is OK.I created the project in STMCW ,i gen...

DMazz.1 by Associate II
  • 2459 Views
  • 5 replies
  • 0 kudos

Resolved! Looking for help on developing "Software application for Sensor based closed loop algorithm using BLDC motor for Position control"

The idea is to 1) Control position - that is to rotate the motor with a desired angle such as 5 degrees, 7 degrees, 10 deg, 13 deg, 20 deg, etc.. 2) Control speed in rpmBut as the motor control based application is new for me, I'm not sure what contr...

SMart.2 by Associate II
  • 2415 Views
  • 7 replies
  • 0 kudos

Issues with Motor Control and CubeIDE

Hi, we just started trying to evaluate some ST micros for a small motor control project. We started by creating a motor control project with the motor control workbench 5.4.3, for our target. This created a project with no issues. We then create the...

PEagl.1 by Associate
  • 2437 Views
  • 5 replies
  • 0 kudos

STM32F411 multiple Channels on timer with DMA

Is it possible to run two or more channels on timer with DMA PWM mode?This code starts only first Channel. uint32_t PrawoPWM = 100; uint32_t LewoPWM = 100; HAL_TIM_PWM_Start_DMA(&htim4, TIM_CHANNEL_1 , &PrawoPWM, 1); HAL_TIM_PWM_Start_DMA(&htim4, TIM...

JSzem.1 by Associate II
  • 5288 Views
  • 10 replies
  • 0 kudos