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
  • 766 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
  • 5422 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
  • 6541 Views
  • 2 replies
  • 7 kudos

STM32 and L9907 integration support

Hi,I have a custom motor control  board with STM32F302R8T6 as controller and L9907 as the driver. Could you suggest any example codes I can use for the integration? I could not find anything available in Motor control work bench and AutoDevKit Studio...

BalaB13 by Associate
  • 862 Views
  • 3 replies
  • 0 kudos

Significant IqREF jumps while motor running

We're having following issue with our motor control:The motor is running fine, however one can hear irregular "hickups" in the regulated speed.We did some tracing and found that the IqREF value has a significant jump up (~20A) and then back down afte...

MotorPilot_7pWcBc4bui.png
DMeie.2 by Senior II
  • 1261 Views
  • 7 replies
  • 0 kudos

The question of Timer break configuration

Dear All,I am currently configuring the break function of TIM1 on the STM32H5. Does anyone know the difference between these two polarity settings?(I am unable to distinguish between these two settings. If I set one to high and the other to low, is t...

yang2_0-1726798353184.png
yang2 by Associate III
  • 427 Views
  • 1 replies
  • 0 kudos

Use DMAR to update CCR1~4 registers

I now need to update the CCR1~CCR3 register at the same time with DMA with DMAR register, I use STM32F103C8T6, I use STM32F10x_StdPeriph_Lib_V3.6.0\Project\STM32F10x_StdPeriph_Examples\TIM\DMABurst example, in the example DMA is Normal mode, I need t...

Resolved! Sensorless BLDC Motor Start-up problem STSPIN3202

[VERSION]: MCSDK.6.3.0[TOOL]: ST Motor Pilot V1.2.9[DETAILS]: BLDC motor, 12V, single pole pair. While trying to operate the motor we are not able to go beyond the alignment phase. When we start it it just aligns and then stutters and comes to a halt...

setup.jpeg 1.png
arpituee by Associate II
  • 1571 Views
  • 2 replies
  • 0 kudos

ADC synchronization motor control

Hi I've been trying to read the current values from the 3 phases of my BLDC motor for doing FOC and i need to measure the current when the low side MOSFETs are on. I'm using TIM1 CH1 CH2 CH3 in Center aligned mode 1.How do i configure the ADC so that...