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
  • 1594 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
  • 4736 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
  • 9438 Views
  • 5 replies
  • 3 kudos

Resolved! STDRIVE102P - 'P' variant?

What is the P variant of STDRIVE102 and how does it vary from the STDRIVE102H?I can find datasheets for STDRIVE102H/STDRIVE102BH - with the BH variant having 3 Shunts(OpAmps) vs the standard H having 1 Shunt(OpAmp).The boards manager in ST Motor Cont...

CraigP by Associate
  • 599 Views
  • 2 replies
  • 1 kudos

Resolved! X-NUCLEO-IHM16M1 Max Current

I am currently using the X‑NUCLEO‑IHM16M1 expansion board and noticed a discrepancy between the Motor Control Workbench and the official ST documentation regarding the rated current.In Motor Control Workbench, the Rated Current is shown as 2.1 A.On t...

pelino by Associate III
  • 609 Views
  • 1 replies
  • 0 kudos

Formular of Feed Forward Control Constants

Hi, the MotorControlWorkbench is generating the Feedforward control constants:M1_CONSTANT1_QM1_CONSTANT1_DM1_CONSTANT2_QDHow are the calculated, are there any documentation or formula for it?The Feedforward seems to be relevant for my project because...

SF??r by Associate III
  • 1066 Views
  • 1 replies
  • 0 kudos

Resolved! Hardware-triggered spi?

Hi!I’m working on a motor controller design that utilizes an stm32f4 and a magnetic angular position sensor which communicates via spi.My design currently performs current sensing; I use channel4 of timer1 to trigger ADC reads near the center of my c...

sb_st by Senior II
  • 689 Views
  • 3 replies
  • 1 kudos

Motor Control Protocol

I am using Nucleo L476RG for controlling BLDC motor. In the FOC control, i need to change the motor ID in the code. What is the procedure to change motor ID??

deadlock by Associate II
  • 613 Views
  • 5 replies
  • 0 kudos

Resolved! MCSDK: behavior of sequential ramps

Hi,I wonder how the motor control unit should behave if a speed ramp is programmed right after a torque ramp?Following code snippet shows this setup:// Set Torque/Iq limit MC_ProgramTorqueRampMotor1(iqLimit, 0); // Programm speed ramp MC_ProgramSpeed...

B0bbyR4y by Associate
  • 484 Views
  • 1 replies
  • 1 kudos