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
  • 155 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
  • 924 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
  • 5464 Views
  • 5 replies
  • 3 kudos

DACs not working on EVLSERVO1

Hello,I am using the EVLSERVO1 board and trying to monitor the DAC outputs with an oscilloscope, since the high-frequency plots in Motor Pilot are difficult to use effectively. I enabled DAC Debug in the FOC Wizard, assigning DAC Out 1 to PA4 and DAC...

Isaac1 by Associate II
  • 126 Views
  • 3 replies
  • 0 kudos

Resolved! How to reverse motor direction

Hi All,I have an STM32f302R8 with IHM07M1 with a Bull Runner 2804 motor. This may seem like a simple question but I cannot find any information as to reversing the direction of the motor. In my final project I will need to reverse the direction of th...

DonCorr by Associate II
  • 4024 Views
  • 9 replies
  • 3 kudos

Reusing OPAMP OUT pin for other purpose

Hello,I want to use MCU pin A6 for something else and OPAMP2 to ADC2-IN3 shall be internally connected only.G4 Reference manual page 779 figure 171 says:opamp_out can be redirected internally to an ADC channel by setting OPAINTOEN bit.In this case, t...

c_dev05_0-1752214168052.png
c_dev05 by Associate III
  • 128 Views
  • 2 replies
  • 0 kudos

Resolved! torque mode with hall sensor

Hello ST Community,I am currently using the EVSPIN32F0251S1 inverter board to control a BLDC motor in an elevator door control application.When I run my BLDC motor in torque mode and set torque with this api  MC_ProgramTorqueRampMotor1_F() so my moto...

Vedant07 by Associate II
  • 132 Views
  • 1 replies
  • 1 kudos

Resolved! Speed Loop PID Tuning in ESC001V1

For PID tuning, from documentation, I understood how to calculate gains for current loop. But how to calculate them for speed loop? How Motor control workbench is auto calculating the gains for speed regulator? Please provide documentation or formula...