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
  • 278 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
  • 1582 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
  • 6022 Views
  • 5 replies
  • 3 kudos

DMA to TIM2 Frequency generation do not works

Hello.We want use a Stepper X-NUCLEO-IHM14A1 with STSPIN820. We need to drive the STCK signal on the PB3 or PB10 GPIO. because we need some RAM and a CAN BUS, we choosed the STM32F446 (nucleo 64 board).Each step will have different time, so we want t...

jihzed by Associate II
  • 1868 Views
  • 4 replies
  • 0 kudos

I use a STM32F103 chip and I try to synchronize two DC motors using inputcapture, I read the time difference between the rising edge of each sensor hall of effect,how can I update the pwm of the two motors. please check with me the pg

void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim){ if(htim->Instance==TIM1){ if (htim->Channel == HAL_TIM_ACTIVE_CHANNEL_1) { if (Is_First_Captured==0) // if the first rising edge is not captured { IC1_Val1 =TIM1->CNT; // read the first va...

kkhli.1 by Associate III
  • 1415 Views
  • 4 replies
  • 0 kudos

How to control sensored motor via B-G431B-ESC1 PWM input ?

Hi all!I am trying to control a motor with integrated hall sensors using the B-G431B-ESC1. I've had a lot of problems, getting all kinds of errors while setting up the firmware, but I managed to control it through the motor pilot.Now I would like to ...

timco by Associate II
  • 2839 Views
  • 7 replies
  • 0 kudos