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
  • 201 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
  • 1092 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
  • 5595 Views
  • 5 replies
  • 3 kudos

Unable to Read Data from L6470 via SPI (Returns 0)

I'm using an STM32L452RE MCU to communicate with the L6470 stepper motor driver via SPI, and I'm currently having trouble reading data from the driver. I’m able to transmit data (e.g., RUN, MOVE, SOFT_STOP commands). The motor runs and responds corr...

Dev29 by Associate
  • 317 Views
  • 3 replies
  • 2 kudos

b-g431b-esc1 overheats

When I connect a USB cable and use b-g431b-esc1, the U5 IC overheats and becomes unusable. Could you please advise me on the cause of this phenomenon and how to make b-g431b-esc1 usable again?To use the b-g431b-esc1, I soldered the power input/output...

taro01 by Associate
  • 140 Views
  • 1 replies
  • 1 kudos

Resolved! Phase current sensing problems

 I am measuring the phase current signal, in between i see sudden spikes and the motor halts. I am testing at 60V battery input. It is hall based system and FOC.  It is a custom board and i have not configured the motor pilot, 2 questions if you can ...

STuser2_0-1749712417019.png
STuser2 by Senior
  • 393 Views
  • 7 replies
  • 2 kudos

Resolved! STEVAL ESC001V1 PID Tuning

When i give varying PWM signal at high frequency under range, the motor sometimes produces noise and gets stuck (0 speed even though pwm signal is valid). What is the issue? I feel its due to PID tuning. Kindly share PID tuning method.Thanks 

Motor current distorted at high speed

Hello,I am using the FOC with hall sensor (having at 15 degree mechanical accuracy) on a BLDC motor controlled by STEVAL-PTOOL4A. I am using the MCSDK v6.3.2. I activated the Overmodulation in order to drive my motor at 18500RPM. However at this spee...

AnthonyK_0-1749718553237.png AnthonyK_1-1749718596390.png AnthonyK_2-1749718637963.png AnthonyK_0-1749722001477.png
AnthonyK by Associate III
  • 125 Views
  • 0 replies
  • 0 kudos

Resolved! Drone Motor Parameters with custom board

Hello, I have made a custom board based on the EXSPIN32G4-DUAL. I want to use these motors for my project https://iflight-rc.eu/products/xing2-2207-1855kv-fpv-motor?_pos=4&_psq=XING2&_ss=e&_v=1.0.How can I get the params of the motor, is there any ch...

QuirinS by Associate III
  • 217 Views
  • 1 replies
  • 1 kudos

Connecting to STEVAL-ESC001V1

Exactly how does one connect the "Motor Profiler" to an out-of-the-box STEVAL-ESC001V1?I read all of the available documentation to no avail. Is the STLink USB hardware device required and does it need to be connected to the J4 "SWD" port?One sectio...

CSzat by Associate II
  • 4265 Views
  • 20 replies
  • 4 kudos