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
  • 32 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
  • 821 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
  • 5437 Views
  • 5 replies
  • 3 kudos

Resolved! Hello,im working in BLDC motor using stspin IC.for testing purpose im usinmg STEVAL SPIN32F0 Board,but in that motor is runing only with plug into software.without connecting the stworkbench motor is not running.how i will come from this ?

Also there is one pin that is connected to potentiometer.but there is no any options in st workbench to varry the speed using potentiometer. I look forward to hearing from you as soon as possible.thank you

Anjali by Associate
  • 697 Views
  • 1 replies
  • 0 kudos

I can't distinguish comp4 and comp 6 in interrupt

hello everyone,ı am trying BLDC motor driver with stm32f302R8 but ı having a problem with comp4 and comp6 interrupt. when ı input COMP4_6_IRQHandler, ı try to distinguish comp4 and comp6 interrupt. but both comp4 with comp6 be activating. ı can't fin...

0693W00000QM1slQAD.png 0693W00000QM1sqQAD.png 0693W00000QM1sgQAD.png

Resolved! ERROR: ASPEP PACKET ERROR Bad CRC Header

Hi, I am using board B-G431B-ESC1 and Motor Control 5.Y.3.When controlling the motor through the Motor Pilot and increasing the current, I get a recurring Bad CRC Header error.There is a neighboring forum thread where this is discussedhttps://communi...

0693W00000HobxNQAR.png
DTort.1 by Associate III
  • 1675 Views
  • 2 replies
  • 0 kudos

Resolved! Can I do that with Nucleo-L432 or Nucleo F411re boards?

Hello. I have a simple project, but I have a hard time doing my project in STM. The difficulty of the project is that all processes have to work at certain sampling times. As you can see in the picture, I have a robot that is controlled by 2 channel ...

0693W00000QLvDXQA1.jpg
MÇeli.2 by Associate II
  • 1217 Views
  • 5 replies
  • 0 kudos

DC-Motor Control Library for STM32 (VNH5019)

Hello,I would like to drive a simple DC motor with a STM32F446RE.I use the VNH5019 as motor driver.Everything works so far. My only question now would be, is there a ready-to-use library or perhaps a way to embed the component into the software via S...

DBaum.3 by Associate
  • 832 Views
  • 2 replies
  • 0 kudos

Resolved! How to run motor in Open Loop

HiI am running on a STM32G071 board, with my own custom HW (standard 3 phase halfbridge). The control is FOC sensorless with 1 shuntI am having problems tuning the motor, but for starters I would like to run the motor at low speed in open loopI can f...

KKrag.1 by Associate II
  • 3867 Views
  • 7 replies
  • 0 kudos

Start-up fails, but gets to appropriate speed.

I have an issue where I keep getting a startup fault. But the motor gets up to the speed its commanded to. I don't have this issue with the demo (IMH07M1) board, but I do with my custom power stage. The only way this would fail is if the pointer t...

TIMER doesnt work when i link the lcd

#define TRIAC_PULSE_WIDTH 500 // Duration of TRIAC trigger pulse in µs   lcd_init();   lcd_send_cmd (0x80|0x00); lcd_send_string("HELLO WORLD");   lcd_send_cmd (0x80|0x40); lcd_send_string("LCD 20x4 DEMO");   lcd_send_cmd (0x80|0x1C); l...

LFerr.7 by Associate II
  • 1848 Views
  • 8 replies
  • 0 kudos