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
  • 157 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
  • 927 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
  • 5469 Views
  • 5 replies
  • 3 kudos

[STEVAL-001V1, SPEED FEEDBACK FAULT] How to tune MC for high-speed motor, getting speed feedback fault on high RPM

I'm evaluating the STEVAL-ESC001V1 and I finally got the code to compile correctly and I'm able to run a hobby RC BLDC at 3-shunt sensorless mode.However I'm facing an issue with high RPMs with motor stopping and ESC giving speed feedback fault. This...

jiso by Associate
  • 1099 Views
  • 4 replies
  • 1 kudos

Speed measurement with opto coupler speed sensor

Hi guys, I'm new to this community and inexperienced. I bought this sensor, an opto coupler speed sensor, and would like to use it with my stm card f446re to calculate the speed of a dc motor, but I have no idea how to calculate it.Does anyone have ...

NDi G.1 by Associate
  • 840 Views
  • 1 replies
  • 0 kudos

MC SDK 5.4.4 Random hardfaults

Hello! I have the same random hardfault problem but I'm using IAR on a custom board with STSPIN32F0A. I previously developed an application on a demoboard (STEVAL3201) without "Software Error" coming up in the MC UI.I'm using a new, clean project. I ...

MFran.4 by Senior
  • 469 Views
  • 1 replies
  • 0 kudos

MotorControl Workbench 5.4.4 Position control

Hello everyoneI want to use MotorControl Workbench 5.4.4 to generate a position control program with a Z-phase index signal, but MotorControl Workbench 5.4.4 does not have the pins in my hardware, only PB10 and PB2, the pins corresponding to my Z-pha...

0693W000008xYAFQA2.png
xiaozhou by Associate
  • 1982 Views
  • 2 replies
  • 1 kudos

Hall sensor mode in timers

Hi,I want to interface 3-phase DC motor's hall sensor with STM32H74x MCU. I found a timer's hall sensor mode in a document but I don't have any example code to get start with it. Can anyone please provide a reference or pseudo code for it.Thanks in a...

RJain.1 by Associate III
  • 831 Views
  • 1 replies
  • 0 kudos

Resolved! NEW X-CUBE-MCSDK version 5.4.6 available

Dear Motor Control customers and #[STM32 Motor Control]​ ​community members,We are very glad to announce the new X-Cube Motor Control SDK 5.4.6.This version is fully compatible with new CubeMX 6.2 and is available at: https://www.st.com/en/embedded-s...

Resolved! Why is MCU freezing?

I am using STM32G030K8 and driving 3 DC motors with relays in the circuit. Also I am controlling voltage of motors with MOSFET. Most of the time its working well but sometimes when I change the direction of motor with relays MCU stops working. I am ...

kb24 by Senior
  • 4087 Views
  • 18 replies
  • 0 kudos