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
  • 1588 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
  • 6028 Views
  • 5 replies
  • 3 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
  • 898 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
  • 4017 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
  • 1918 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
  • 736 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
  • 587 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
  • 819 Views
  • 2 replies
  • 0 kudos