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
  • 1568 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
  • 6003 Views
  • 5 replies
  • 3 kudos

B-G431B-ESC1 does not respond to PPM input

Hello, I generate a 4.4V 1400us on (2000-1400)us off signal and verify its existence with scope. This signal does not induce movement in the motor I have attached to the ESC evaluation board.The board beeps using the motor when powered on. When I con...

sspry by Associate II
  • 3234 Views
  • 11 replies
  • 0 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
  • 2575 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
  • 1117 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
  • 863 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
  • 479 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
  • 1995 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
  • 845 Views
  • 1 replies
  • 0 kudos