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
  • 377 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
  • 2701 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
  • 7042 Views
  • 5 replies
  • 3 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
  • 900 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
  • 486 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
  • 2010 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
  • 859 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
  • 4233 Views
  • 18 replies
  • 0 kudos

Stepper Motor Drive L6208 With STM32F100RBT6B

Hy, i must Drive the Clock PIN of the L6208 with the Timer_1-CH1 pin41 or Timer2-CH2 pin42,it's the same for me (micro STM32F100). There is a routine firmware, a library or a C function, with the configuration and control mode of the Timer_1 to gener...

B.Michele by Associate III
  • 1062 Views
  • 2 replies
  • 0 kudos