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
  • 271 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
  • 1474 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
  • 5890 Views
  • 5 replies
  • 3 kudos

Resolved! Adding user ADC on MCSDK 6.2.1

Dear all, currently, I'm making to control a BLDC motor from throttle using ADC1 channel 0. The MCU part number is STM32G0B1RBT6. I can read the ADC value successfully in SDK 5.4.8. The way how I do is I defined the ADC1-IN0 in Cube Mx and then I add...

Agga by Associate II
  • 1095 Views
  • 1 replies
  • 0 kudos

Controlling a servo Motor over BLE

Hi there, I'm trying to do a project that involves controlling a servo motor over the BLE I have a STM32wb15, i know my configuration is set up correct as I have copied a code from an example I have and the project works exactly as it should.My probl...

KaiP by Associate II
  • 1442 Views
  • 6 replies
  • 0 kudos

Resolved! 4x L6234PD with STM32F401

Hello ST expert,I'd like to control 4 300W motors with the BLDC L6234 and my STM32F401, but the problem is that I can't use 12 TIMERS and 12 GPIOs just for that, I need to interface other modules.Can I just use PWM/BLDC, and interface the two like th...

Paulo971 by Associate III
  • 1381 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
  • 10441 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
  • 1269 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
  • 553 Views
  • 0 replies
  • 0 kudos