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
  • 244 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
  • 1419 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
  • 5860 Views
  • 5 replies
  • 3 kudos

Resolved! AMT102-V rotary encoder with STM32F407

#define EXTI1_IRQ_PRIO 7   TIM_HandleTypeDef htim1;   int32_t enc1_index = 0;   void enc1_index_callback(void) { if (__HAL_TIM_DIRECTION_STATUS(&htim1)==1) { enc1_index--; } else { enc1_index++; }   __HAL_TIM_SetCounter(&htim1, 0); // res...

ARöss.1 by Associate II
  • 1893 Views
  • 5 replies
  • 0 kudos

Resolved! Utility of GPIO_BEMF

Hello everyone,I'm working on the ST B-G431B-ESC1 board and I don't understand the function of the pin GPIO_BEMF from the Back-EMF detection. This pin is in common with the others motor phase. Can you explain the function of this pin please ?The full...

0693W000001rIEpQAM.png
PSicl.1 by Associate
  • 1845 Views
  • 2 replies
  • 1 kudos

Resolved! STM32F303 HIGH INJECTION FREQUNCY

HIANY ONE CAN HELP TO ME I NEED ADD LOW SPEED SENSORELESS (HIGH INJECTION FREQUNCY ) TO MY MOTOR CONTROL SOFTWARE FOR PMSM I KNOW MOTOR CONTROL WORK BENCH ST HAVE THIS FUNCTION ANU ONE HOW ONLY ADD THIS LIBRARY AND WHAT IS INPUT OUT ALL CONTROL FOC I...

Resolved! stm32f303 timer1 motor control

when used timer1 for motor control some time need active low side signal in program with hand not follow pwm out put how to do this disable all output timer wait for turn off time set io bit to active mode (reset or set )change pinout timer to out p...

Resolved! Application note

I'm working on a project where I have to drive a brushless motor. I'm using a NUCLEOF302R8 + X-Nucleo IHM08M1 with STM32CubeExpansion_SPN8_V1.0.2. I can't control my engine because I don't know how to modify the parameters contained in the MC_SixStep...

UVagl.1 by Associate II
  • 973 Views
  • 2 replies
  • 0 kudos

Resolved! STEVAL-SPIN3201 used with Hall sensor AND Encoder

Hello, I try to control a motor using STEVAL-SPIN3201, a hall sensor and a encoder (in position control). I compile the generated files (generated via ST motor control workbench) via make. In speed position based on hall-sensor, the compilation work ...

FGron.1 by Associate II
  • 1046 Views
  • 3 replies
  • 0 kudos

Resolved! BUGREPORT MCSDK 5.4.3 (and temporary fix)

Hi,since a couple of days i tried to get the STEVAL-ROBOT-1 up and running properly. But as i mentioned here:https://community.st.com/s/question/0D53W000003yGcdSAE/to-choice-a-kit-for-pmsmyesterday, i got more problems, than i would have expected fro...

chaaalyy by Senior II
  • 9819 Views
  • 20 replies
  • 3 kudos