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

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
  • 1623 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
  • 646 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
  • 725 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
  • 698 Views
  • 3 replies
  • 0 kudos

(Bug Report) When using encoder, the generated code has a few defects - speed calculation is not reliable, no speed reliability check, and no scheme to clear speed feedback fault

(Environment)MC_SDK 5.Y.3 + STM32CubeMX 6.3.0 with HAL + IAR EWARM 8.5(Hardware)custom board based on F446RE + custom power board + Low Voltage BLDC motor with Encoder(Control Mode)Speed Control​(What I found)(1) speed calculation is not reliable[ EN...

THA.1 by Associate II
  • 1174 Views
  • 4 replies
  • 0 kudos

Bug report :Max speed with Hall sensors

Dear MCSDK team,We met a difficulty using Hall sensors as our primary speed and position sensor.When setting a mechanical speed higher than UINT16_MAX / nb_pair_poles / 2 the value of hMaxReliableElSpeedUnit is overflowing in the Hall_Init function. ...

ANICO.1 by Associate III
  • 771 Views
  • 2 replies
  • 0 kudos