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

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
  • 791 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
  • 5423 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

Motor Control Wiki: STM32 Motor Control Knowledge Database - stm32mcuMC Frequently asked questions (FAQ) for version MCSDK5.x:Frequently asked questions (FAQ) - stm32mcu   The documentation of the Board descriptions format is now available on the Mot...

Zied b. by ST Employee
  • 6547 Views
  • 2 replies
  • 7 kudos

Hi, I am using B-G431B-ESC1 Discoery kit to run the BLDC Maxon Motor. I am encountering problem with this discovery kit that it is not able to run the motor. Motor and hall sensors are all good as I have tested with other BLDC controller.

I have configured the Motor workbench and generated the C code firmware for B-G431B-ESC1 and I can read input voltage and Hall sensors when I rotate the motor manually with hand. I am having problem with PWM signals from micrcontroller that it makes ...

MAsif.1 by Associate II
  • 2543 Views
  • 6 replies
  • 0 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
  • 1089 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
  • 817 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
  • 462 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
  • 1972 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
  • 821 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...