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
  • 143 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
  • 914 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
  • 5459 Views
  • 5 replies
  • 3 kudos

Current controller PI gains by SDK code generation looks different from what intended to be through space vector PWM

(Environment)MC_SDK 5.Y.3 + STM32CubeMX 6.3.0 with HAL + IAR EWARM 8.5​(What I found)In page 12, document UM2392, the current controller PI gains aredesigned as follows:​=========================================...​The transfer function of block "A" ...

THA.1 by Associate II
  • 1046 Views
  • 3 replies
  • 0 kudos

Odrive motor

hi i'm using a F401RE and a hmi016m1, using a brushless odrive motor, i'm using sdk notor control, i set motor type bull ranning, i left everything default the rest, but when i go to give the motor.start, the motor doesn't moves but makes a strange n...

SDall by Associate II
  • 4769 Views
  • 23 replies
  • 0 kudos

Zero crossing detection with STM32G431CB.

I want to detect zero crossing.I am able to read back emf with the pins provided on the board.I want to detect zero crossing using the bemf reading.I don't understand how to do it and what is the purpose of GPIO_bemf. 

0693W00000Kbu2vQAB.png
Tejashree by Associate III
  • 1677 Views
  • 1 replies
  • 1 kudos

How do I (can I?) convert from motor SDK 5.4.4 to 5.Y.4

I need to convert a project from SDK 5.4.4 motor code to 5.Y.4.My motor project started out on a Nucleo board with a 64-pin STM32G431 with an 8V driver board but my product became a 48-pin STM32G431 with a 5V driver. Because of this my *.stmx and *.i...

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

Controlling Brushless motors with an ESC

I'm working on using an STM32F446RE board to control two brushless motors using a SimonK ESC (https://www.amazon.com/dp/B07NMJRJKJ?psc=1&ref=ppx_yo2_dt_b_product_details) (sorry I don't know how to shorten the link) now normally these types of produ...

TSwin.1 by Associate
  • 733 Views
  • 0 replies
  • 1 kudos

Hello everone, I am new to STM and I have a STEVAL-spin3201. I want to drive a BLDC motor named U65HN-024KS. When using motor pilot program, it starts spinning and over current fault just appears and stops.

I am not sure that I am using the proper motor. Because, according to the setting in motor section, it should be PMSM and be controlled with FOC algorithm. Since I only know that this motor is BLDC, I dont know that if my motor is supported by this a...

MSaff.2 by Associate II
  • 704 Views
  • 3 replies
  • 0 kudos