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

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
  • 785 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
  • 5423 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

Motor Control Wiki: STM32 Motor Control Knowledge Database - stm32mcuMC Frequently asked questions (FAQ) for version MCSDK5.x:Frequently asked questions (FAQ) - stm32mcu   The documentation of the Board descriptions format is now available on the Mot...

Zied b. by ST Employee
  • 6547 Views
  • 2 replies
  • 7 kudos

Trying to use STEVAL-SPIN3204

  Hi I am new to this tools but basically I have tried with 3 different boards STEVAL-SPIN3204  but I am not able to connect the board or do anything useful with it. I have connected the device through USB to my computer, initially LD1 and DL1 where ...

Motor Control Workbench MCU selection

Hi,We are working for a project on Railway application, where we have selected STM32G4A1VET6 controller for Motor control application.we are developing custom board for Motor control application, Selected motor is BG65x50 dCore by Dunker motor,above ...

MC_MCU_list_not.png MC_workbench_MCU_list.png
VINODC by Associate
  • 23 Views
  • 1 replies
  • 0 kudos

Motor Control Issue with MCSDK 6.4.0

Hello,I am working with the STM32F303E-EVAL control board and the STEVAL-IPMNM2S power board, using IAR Embedded Workbench 9.40.I have struggled to get the motor running. I initially tried both MCSDK versions 9.3.2 and 9.4.0 separately, but in most c...

EVLSERVO1 High Resolution Encoder

Hello,I am using the EVLSERVO1 board with a differential quadrature encoder (A and B phases). The encoder has a resolution of 4096 pulses per revolution, and I am observing issues when the motor speed exceeds a few hundred RPM.Specifically, the syste...

Screenshot 2025-07-24 220433.png
Isaac1 by Associate II
  • 30 Views
  • 1 replies
  • 0 kudos

motor control using cubeide for hss86 driver

I tried to rotate the nema34 stepper motor through hss86 motor driver using the stm32 G474RE. I configured the pins as follow:  Pul - connected to Tim 3_CH 1(PA6) , Dir - connected to GPIO OUTPUT_B_10 , Ena - connected to GPIO OUTPUT_D_2 and all the ...

Smritha by Associate
  • 119 Views
  • 2 replies
  • 1 kudos

Unable to Read Data from L6470

 Using HAL_SPI_TransmitReceive properly. I've corrected the code to send the command 0x25 followed by two dummy bytes (0x00, 0x00) in a single transaction to read the ACC register.However, now I’m facing a new issue: no matter what value I set for AC...

Dev29_0-1750441274571.png
Dev29 by Associate
  • 118 Views
  • 1 replies
  • 0 kudos

X-CUBE-SPN5 Installation

hello,I am a student, and for my university project, we are using this stepper motor controller X-NUCLEO-IHM05A1, and I have the STM32NucleoF401RE Microcontroller board to send the command to the motor control. I see there is one middleware package f...

dhva1234 by Associate II
  • 169 Views
  • 6 replies
  • 1 kudos

STEVAL-CTM012V1A USART CONNECTION ISSUE

Hi , I am using multiple ST Evaluation Boards and all worked well . However , in one of the board i am facing issue of UART connection . Board is ST   EVAL-CTM012V1A . STMCSDK is 6.3.2, Keil u vision 5 , STM32cube Mx 6.11.1 . Baud rate tried :- 9600...

IC5151_0-1751010555500.png
IC5151 by Associate II
  • 161 Views
  • 6 replies
  • 1 kudos