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
  • 123 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
  • 900 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
  • 5457 Views
  • 5 replies
  • 3 kudos

BLDC Motor Control [FOC] Speed ramps

Posted on October 11, 2017 at 15:23I use a BLDC motor with Hall-sensors and ST FOC 4.3 (STSPIN32F0).  Everything works fine, but when I want to use speed ramps, speed just do not change. The software indicates correct speed ramp, but instead, nothin...

How to tune parameters in FOC 4.3

Posted on February 23, 2018 at 07:30Hi There,I'm bringing up motor using STM32F051C, FOC 4.3, sensorless, 1 shunt. In ramp stage, the motor can spin, but hear continuous noise. After about 20-30 sec, the motor stopped and noise continues.Any suggest...

FOC 4.3 filename issue

Posted on February 26, 2018 at 04:00FOC 4.3 lib use filename with space, likeControl stage parametersParameters conversionParameters conversion F0xxPMSM motor parametersPower stage parametersBut it is not user friendly for some windows tools.Would y...

John HU by Associate
  • 517 Views
  • 1 replies
  • 0 kudos

Hello~ I am Quang, Now I am program stm32 for Motor control. Does anybody has some good document such "How to use FOC", "FOC_MC_library tutorial", Or "MC_Library_traning"? Thank you so much

STM32 – How to use FOC ver.4.2STM32_3phase_FOC_PSM_MC_library_Tutorial_v4.1.0 (Italian version)STM32_3phase PMSM MC library in deep explanation (MC_Library400_Training)STM32_3phase_FOC_PSM_MC_library_Tutorial_v4.0.0

Vnguy.1 by Associate II
  • 366 Views
  • 1 replies
  • 0 kudos

St workbench motor control : no conection

Posted on September 25, 2012 at 15:40Hello, I have instal the st motor control workbench for steval ifn003v1. I have install the driver : ''Silicon Lab CP210x chip''. When I generate H. files, i'm going to monitor, but I have always the same error :...

Hello, I want to use a STM32G474CBU with two motors, but I have the problem that I can't select "shared resources for both motors" in "Control Stage - Analog input and Protection". I am using MCSDK_v5.4.3.

If I select a SM32F303CB I can select "shared resources for both motors" using ADC1/2 for both motors. I don't understand why it works for the STM32F303CB and not for the STM32G474CBU.Because of space and simple layout I want to use a STM32 in a UFQF...

UHerd.1 by Associate
  • 460 Views
  • 1 replies
  • 0 kudos

Resolved! How do I use ADC4 in MCSDK 5.X

Hello!I would like to use the ADC4 of a nucleo303RE board with a X-NUCLEO-IHM08M1.The Software (MCSDK 5.1.3) has functions already written for this in mc_tasks.c:void MC_RequestRegularConv(uint8_t bChannel, uint8_t bSamplTime)uint16_t MC_GetRegularCo...

Martin1 by Associate III
  • 907 Views
  • 3 replies
  • 0 kudos