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
  • 558 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
  • 3278 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
  • 7578 Views
  • 5 replies
  • 3 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
  • 1766 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...

Troubleshooting occasional startup errors.

 Hello every one.I am using MCSDK 5.4.8 and STM32F301K8t6.I am having a problem that when starting the motor sometimes it runs without problems, sometimes when it switches to START state it says FAULT_OVER, then I restart it a few times and it runs, ...

Resolved! Clock configuration question

Dear Sir,When I configure the clock for the STM32H5, I found that the CPU Clock doesn't match the actual result of the dividers. For example, in the figure showing my current configuration, considering the red path, my clock source is from HSI (64/2 ...

yang2_0-1726111035715.png
yang2 by Associate III
  • 638 Views
  • 1 replies
  • 0 kudos