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
  • 611 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
  • 5396 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
  • 6508 Views
  • 2 replies
  • 7 kudos

HSO firmware configuration

Hi, I have been working with the HSO motor control algorithm using Motor Workbench 6.2.0. I was able to successfully configure the firmware for a custom PCB, and it works correctly. The motor, which is a PMSM with 2 pole pairs, starts and runs withou...

RTirapegui_0-1729221267830.png RTirapegui_2-1729221502363.png

Resolved! Board Designer permitted crystal clock sources

Using Workbench 6.3.0.Creating an "inverter" board for a custom board which uses a 25MHz crystal. Only 8, 24, and 48 MHz crystals are offered in the dropdown. Can I edit JSON file to "clocksource": "25_crystal"? If not can I edit the CubeMx clock? Ca...

JoshS by Associate
  • 238 Views
  • 1 replies
  • 0 kudos

Resolved! EVSPIN32G4NH - opamp ADC setting

Dear community I would like to ask regarding ADC raw value for current sensing in STSPIN32G4. As we can see on below image the raw value of ADC1 CH3 and ADC2 CH12 is always in range of few hundreds. FYI, the motor is in rotating mode. We can see from...

image-20250212-085645.png image-20250212-090058.png Sheng123_0-1739353803676.png
Sheng123 by Associate II
  • 612 Views
  • 1 replies
  • 0 kudos