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
  • 216 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
  • 5251 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
  • 6310 Views
  • 2 replies
  • 6 kudos

B-G431B-ESC1 using CAN example?

Hello,I have some B-G431B-ESC1 boards that I would like to control using CAN. Is there a working example code somewhere? I cant seem to find anything in this forum. In ST Motor Control Wokbench I can only setup normal serial communication.I hope some...

BGlen.1 by Associate II
  • 1029 Views
  • 2 replies
  • 0 kudos

STEVAL-SPIN3201: Why does the motor always move in full speed when I want to do sensored control, even if I program different target speeds?

Hello,I am using the STEVAL-SPIN3201 to drive a motor with sensored FOC.Inside the code, I use the syntax of the FOC library to program how the motor should move.I created the project in mc workbench (find the project file attached).Then I imported i...

FMaur.1 by Associate
  • 522 Views
  • 1 replies
  • 0 kudos

Which error bits to read on Motor fault?

My code reads the motor state and faults after a start-up to ensure the motor is running correctly. I've been using MC_GetCurrentFaultsMotor1() for motor faults but it NEVER reports other than zero. I've primarily been using motor state and speed to ...

BTrem.1 by Senior II
  • 511 Views
  • 1 replies
  • 0 kudos

Timer 2 Input Capture issue.

Hello there,I've been messing around with a development board I've recently bought, STEVAL-SPIN3204, and I've been attempting to produce a RPM measurement using one hall effect sensor input attached to the PA5 pin, which with can be set to TIM2_Chann...

0693W00000DmnLQQAZ.png 0693W00000DmnMEQAZ.png
PSzcz.2 by Associate II
  • 647 Views
  • 1 replies
  • 0 kudos

STM32 AC Servo Motor with Encoder and Break

Hi,I have EVSPIN32F0601S3 Development Board and NUCLEO-F302R8 Board:and have to interface below AC Servo Motor for Speed, Torque and position control application.Part Number: MHMD082G1Vhttps://www3.panasonic.biz/ac/ae/search_num/index.jsp?c=detail&p...

Motor fluctuates at +80rpm and -80rpm

Hi,I used Nucleo-F446RE and X-Nucleo-IHM08M1 for FOC control of PMSM motor.Motor Profiler to determine parameters.Then WB, CubeMX and CubeIDE able to generate code. Start Motor using Monitor screen, the motor fluctuates at +80rpm and -80rpm.Need help...

VGani.1 by Associate III
  • 561 Views
  • 3 replies
  • 0 kudos