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
  • 200 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
  • 5236 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
  • 6291 Views
  • 2 replies
  • 6 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
  • 1083 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
  • 750 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
  • 3671 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
  • 1777 Views
  • 8 replies
  • 0 kudos

Resolved! NUCLEO-F302R8 not found in MC workbench?

I have a NUCLEO-F302R8 that I am trying to configure via the Workbench, but there are only 5 control boards shown in the new project setup screen:NUCLEO-G071RBNUCLEO-G431RBNUCLEO-G474RESTM32G081B-EVALSTM32G474E-EVALThats not a lot of options, so what...

SSeve.2 by Associate
  • 665 Views
  • 2 replies
  • 1 kudos

How can I generate an .stmcx file without the GUI?

I have several .stmcx files to generate projects for. I don't have the time to open, generate, and wait for each one to generate. Is there a way to automate this process, preferably through Windows command line or Linux Terminal, though writing a C...

DSchu.9 by Associate II
  • 525 Views
  • 1 replies
  • 0 kudos

IPM driver

I am trying to find / create a program to run an IPM module that will run an a/c compressor(PMSM). Like a MC3PHAC 6 pwm generator.Never written a program before except change some values to make the led blink faster.Have a NUCLEO-F401REIPM module: PS...

suicune by Associate
  • 689 Views
  • 2 replies
  • 0 kudos