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
  • 155 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
  • 924 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
  • 5464 Views
  • 5 replies
  • 3 kudos

Resolved! Encoder feature in STM32F070CB

Hello,I need a help in Motor frequency calculation with more precision. I am using STM32F070CB for my application. My requirements are1) Monitor the Motor frequency based on quadrature pulses.2) If Frequency varies by +/-15%, need to process some saf...

MSatish by Associate II
  • 1430 Views
  • 6 replies
  • 0 kudos

Resolved! MCSDK 5.4.4 + IHM002 : Code of example project "P-NUCLEO-IHM001 kit, 3-Shunt, Sensorless" not working after successful generation.

Hi there :) I've recently got my hands on the IHM002 kit. I'm trying out MCSDK and the example project which comes with it,  "P-NUCLEO-IHM001 kit, 3-Shunt, Sensorless". I can get MCSDK to generate the code successfully but after flashing, the motor r...

JJeth.1 by Associate II
  • 1170 Views
  • 4 replies
  • 0 kudos

Resolved! how change position mode to speed mode?

Control Board:NUCLEO-F303RE Power Board:NUCLEO-IHM07M1BLDC motor , encoderI'm working fine in position mode, but I switch to speed mode, and it doesn't work, and I'm still working in position mode,In the code, I'm trying to executeMC_ProgramSpeedRamp...

xiaohu by Associate
  • 657 Views
  • 1 replies
  • 0 kudos

Resolved! STEVAL-SPIN3202 Over Current Fault

Hi All,Using a 36V motor that is rated for peak of 20.5A. I always get an overcurrent fault on startup even though my current output is only 0.8A. Any guidance would be appreciated, and I am happy to provide more details if needed.Thanks,-Nick

nmamore by Associate II
  • 798 Views
  • 3 replies
  • 0 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
  • 1874 Views
  • 5 replies
  • 0 kudos