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
  • 331 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
  • 1967 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
  • 6376 Views
  • 5 replies
  • 3 kudos

Issues with Motor Control and CubeIDE

Hi, we just started trying to evaluate some ST micros for a small motor control project. We started by creating a motor control project with the motor control workbench 5.4.3, for our target. This created a project with no issues. We then create the...

PEagl.1 by Associate
  • 1182 Views
  • 5 replies
  • 0 kudos

STM32F411 multiple Channels on timer with DMA

Is it possible to run two or more channels on timer with DMA PWM mode?This code starts only first Channel. uint32_t PrawoPWM = 100; uint32_t LewoPWM = 100; HAL_TIM_PWM_Start_DMA(&htim4, TIM_CHANNEL_1 , &PrawoPWM, 1); HAL_TIM_PWM_Start_DMA(&htim4, TIM...

JSzem.1 by Associate II
  • 2965 Views
  • 10 replies
  • 0 kudos

Resolved! Change the frequency of the square signal

HiI am working on changing the frequency of the square signal which comes from STM32F4. I used Timer and ADC simultaneously where I change ARR and CCR1 accordingly to change the frequency. When I use an incremental loop for these values I can get dif...

AAbed.1 by Associate III
  • 1235 Views
  • 7 replies
  • 0 kudos

How do I get my first project to work on STM32G431.

Ran Motor Profiler, Created new project in MotorControlWorkbench, Generated code for STM32CubeIDE, built application with no errors, run debugger which shows download successfully.Switch back to motor control workbench and successfully connect, when ...

MCohn.1 by Associate
  • 2869 Views
  • 17 replies
  • 0 kudos

Start-up issues with custom PMSM, motor will not start

I am working with a custom SM-PMSM, and built a motor drive to power it.The motor does not start, and the START-UP FAILURE always occurs. There is a pulse of current delivered to the motor, which I assume is used to orient the rotor.Using the monitor...

DTard.1 by Associate II
  • 4319 Views
  • 12 replies
  • 0 kudos

Resolved! HRTIM inserting 100% duty cycle pulse into PWM

Hello,I am working on BLDC driver based on STM32. I am using HRTIM to generate 3 complimentary PWMs at 20Khz in up-down counting mode. Every now and then, a single pulse of the PWM is wrong, like it would have 100% duty cycle. The issue is non period...

JMaty.1 by Associate II
  • 3410 Views
  • 6 replies
  • 1 kudos

Resolved! open loop sinusoidal control

Hi, i am trying to control bldc motor sinusoidally. I completed with 6 step commutation. I asked help in stm32 forum recent, but none helped. I have learned something in sinusoidal bldc control. FIrstly i implemented spwm using sine LUT (say 256 val...

0690X00000BxSENQA3.png
Bud by Associate III
  • 2371 Views
  • 4 replies
  • 1 kudos

NUCLEO-F401RE and a X-NUCLEO-IHM03A1

Hi at all,I bought a NUCLEO-F401RE and a X-NUCLEO-IHM03A1.I've created a STM32CubeIDE project starting from the example "IHM03A1_ExampleFor1Motor" included inside the "STM32CubeExpansion_SPN3_V1.6.0" package.I downloaded the project on Nucleo F401RE ...

0693W000004GmCSQA0.png 0693W000004GmDBQA0.png
addebito by Associate II
  • 2517 Views
  • 12 replies
  • 0 kudos