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
  • 1838 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
  • 4992 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
  • 9745 Views
  • 5 replies
  • 3 kudos

Resolved! Documentation of ASPEP Protocol?

As stated in UM1052, chapter 14 there is often a requirement to control a BLDC motor control board over a serial connection. The above manual describes the protocol used by older MCSDKs. But the latest MCSDK 5.Y.x seems to use a slightly different pr...

TThan by Associate III
  • 15029 Views
  • 12 replies
  • 8 kudos

Sample code for MCP

Hi,Is there a sample code to control the STM32 motor board with UART from a host PCI'm mostly looking for setting and getting the encoder angles and speed control with the UART 

Effect of Duration on Encoder Alignment

 Hello!We are currently using the STSPIN32G4 microcontroller for our project, which incorporates a quadrature encoder.In the start-up parameters, there are three key settings: Duration, Alignment Electrical Angle of Id, and Final Current Ramp value. ...

JAM_1999 by Associate
  • 2387 Views
  • 2 replies
  • 0 kudos

P-controlled steering PWM configurations

Hello,I am trying to implement a P-controller-algorithm for two levers, where one lever follows the other one. The problem I have is that when the duty cycle of the PWM-signal reaches zero the PWM stops working if I change the position of the lever a...

Lukas47 by Associate II
  • 1076 Views
  • 0 replies
  • 0 kudos

Industrial Servos on STM32

Hello! I am looking to run 4 industrial servo motors on any of the STM controllers (Any which can sustain such load, I am looking at STM32F7 series) in combination with TI DRV8323 BLDC motor driver. Now the issue here is these BLDC drivers require 6 ...

ZainSiddiqui_0-1719313578075.png

Resolved! What is REV_PARK_ANGLE_COMPENSATION_FACTOR?

There is no documentation provided for the REV_PARK_ANGLE_COMPENSATION_FACTOR variable in the code.hElAngle += SPD_GetInstElSpeedDpp(speedHandle)*REV_PARK_ANGLE_COMPENSATION_FACTOR;What is the purpose of this variable? i searched in the documentation...

SRedd.5 by Senior III
  • 2676 Views
  • 3 replies
  • 1 kudos

RPM measurement

Hi friends,I need to find the RPM of Ship engine using STM32F407VGT6 microcontroller. But I no idea(Methods) to find the RPM of the ship engine. I saw the browser it shows some methods one method is interesting but i did not that is suitable are not ...

Vignesh_V by Associate II
  • 1542 Views
  • 1 replies
  • 0 kudos

Manual configuration of motor parameters.

Hello. Trying to profile one of my engines with the ST Motor Pilot Tool (profiler) V1.2.9. Without any success.I have seen this warning in the STM32 Motor Control FAQ section.The STM32 MC motor profiler has the following limitation: it cannot profile...

OttoBCN by Associate II
  • 1704 Views
  • 0 replies
  • 0 kudos

Resolved! Where to set ADC_REFERENCE_VOLTAGE?

Our project uses an external ADC reference voltage of 3.03V.This value is properly set up inside the json I use to generate the inital project code ("amplifyingNetworkVm": 3.03, "polarizationOffset": 1.515).Now I found in the generated code that insi...

DMeie.2 by Senior II
  • 1689 Views
  • 1 replies
  • 1 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.