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
  • 91 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
  • 5177 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

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

Zied b. by ST Employee
  • 6237 Views
  • 2 replies
  • 6 kudos

B-G431B-ESC1 overcurrent fault

After profiling my motor with motor profiler, I start a new project with workbench and generate code for Cube IDE. compile it and flash it with STlink utility at adress 0x08000000.then back to workbench and try to start motor but I have an immediate ...

Onorm.1 by Associate II
  • 1926 Views
  • 7 replies
  • 0 kudos

I have connected with wires my L298 H-bridge to my STM32F401 . By default once plugin to the computer the motor starts rotating(only connected on motor) . On my connector D5 which is PWM makes it rotate if i plug the wire to another PWM it does not .

All my inputs are assigned to the PWM , but by default only on rotates and if i switch one ore do another PWM it doesn't work . Don't understand why's that.Looked at both schematic and ii don't know why that's happening.

Motor occasionally spins much faster than commanded

Unfortunately, I do not have much info as to what causes this. I am using the FOC library with a 3-phase BLDC and encoder as speed feedback. Sometimes when I send a ramp command, the motor flies to ~5000 RPM regardless of the target speed I set. It i...

nmamore by Associate II
  • 454 Views
  • 1 replies
  • 0 kudos

ACIM GUI NOT GENERATE CODE??

Hi,I'm using ACIM GUI. I want to generate code for ACIM motor but I'm taking this fault : The file C:/Program Files (x86)/STMicroelectronics/MC_SDK_5.Y.2/Utilities/PC_Software/..stmcx does not exist.Can you help me this problem?Have a good day.

0693W00000D1yfSQAR.jpg 0693W00000D1yfNQAR.jpg
Eakso.2 by Associate II
  • 588 Views
  • 1 replies
  • 0 kudos

RPM Limit on Sense Resistor Change

I have a 2 pole pair BLDC 24V 2A motor capable of 49kRPM. I used the 5.Y.2 Profiler to create a motor profile and the 5.Y.1 to import the motor profile into a SPIN32G4EVAL project. Using the default 5mohm sense resistors, I am able to spin the motor ...

WSega.1 by Associate II
  • 1256 Views
  • 3 replies
  • 0 kudos

Resolved! FOC with STSPIN32F0B: Phase Signal

Hello ST Community,in my application I use an STSPIN32F0B in FOC.The design is similar to the STEVAL-SPIN3202 demo board. I used the STSPIN32F0A in Motor Control Workbench to generate the code (STSPIN32F0B is not in the Motor Control Workbench). I us...

FStad.1 by Associate
  • 1529 Views
  • 4 replies
  • 0 kudos