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
  • 524 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
  • 5376 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
  • 6482 Views
  • 2 replies
  • 7 kudos

Hi, I would like to get some informations about using timer prescaler in encoder mode. Is it allowed practice or it shouldn't be used?

First of all it works for me just as I wanted: Using prescaler "4" increments CNT every 4 encoder detections. It solves problem of CNT overflow in bigger resolution encoders. I know it could gain errors every motor direction change, but this is not a...

PKied.1 by Associate
  • 452 Views
  • 1 replies
  • 0 kudos

Can't Stop Motor when in START or ALIGN state

Hello EveryoneI'm using FOC control for a BLDC motor. It works fine, but there's a situation that I can't solve.I'm using a trigger as input: when pressed, the motor starts and must remain running until the trigger is released. If the user press the ...

Position Control PID Error?

CubeMX 6.4.0Cube IDE 1.8MSDK 5.y.4Nucleo -F446REIHM 08M1 3shHello,I noticed that in position control mode, the PID controller generates a current Id ref value other than 0. Is it supposed to be like this? In version MSDK 5.4.8 the current Id referen...

MK.1 by Senior
  • 886 Views
  • 2 replies
  • 0 kudos

STEVAL-SPIN3202, Over current and set SPEED REF

Step 1I have a motorUse EVB-F302+iHM08M1 to get motor parameters through Motor profiler as follows. Step 2I need to use EVB-STEVAL-SPIN3202 of STSPIN32F0A,execute Six-Step Sensorless Example code,STEVAL-SPIN3202\Demonstration\6S_STEVAL3202_SL_VM.stmc...

0693W00000JPevwQAD.png 0693W00000JPevhQAD.png

Resolved! STSPIN32F0 gate driver HS open by default

I'm trying to adapt a piece of BLDC control firmware that already works for the STM32F0 family for use with an STSPIN32F0 chip using a STEVAL-SPIN3201 board. But for some weird reason, I am unable to figure out what's going on with the gate driver, a...

neoxic by Associate II
  • 729 Views
  • 1 replies
  • 0 kudos

Perform high speed rotation on EVALKIT-ROBOT-1

Hi,I try to perform high speed rotation on EVALKIT-ROBOT-1, my target rotation speed is 6000rpm without loading.I downloaded the example firmware "STSW-ROBOT-1", change values of "DEFAULT_TARGET_SPEED_RPM" and "MAX_APPLICATION_SPEED_RPM" from 4550 to...

ss.3 by Associate
  • 564 Views
  • 0 replies
  • 1 kudos

ST Motor Control Workbench Stuck at project generation

Hi there!I am trying to spin a motor with a STM32F3 MCU and the Motor Control SDK.I am able to use the Motor Profiler to generate a profile of my PMSM and spin the motor via the computer. Importing the motor profile into the ST Motor Control Workbenc...

krbmr by Associate II
  • 5506 Views
  • 15 replies
  • 1 kudos