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
  • 411 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
  • 2906 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
  • 7226 Views
  • 5 replies
  • 3 kudos

Open loop Current Mode B-G431B-ESC1

Thank you for support till now, i want to do the open loop current mode using the B-G431B-ESC1 software. This is the code i have writtenif(g_motormodeselection_u8 == OPENLOOP_CURRENTMODE )    {    MC_SetCurrentReferenceMotor1(g_qdreference_s);    M...

SRedd.5 by Senior III
  • 611 Views
  • 1 replies
  • 0 kudos

STSPIN43G Debug info: Break at address "0x1fff4b14" with no debug information available, or outside of program code.

Dear,We are using the STSPIN43G4 to drive brushless motor, we have debuged in the evaluation board successfully, now we have made our board, but when we debug, it should the following info: Break at address "0x1fff4b14" with no debug information avai...

kkuan.1 by Associate II
  • 1875 Views
  • 6 replies
  • 1 kudos

Phase current measurement in BG431B-ESC1

When i am running the FOC using BG431B-ESC1 software in my board, the sum of the phase currents is not 0 in several instances for example 20 times in 200 samples. I am not sure what is the reason the motor does not run properly and it jerks. Could yo...

SRedd.5 by Senior III
  • 473 Views
  • 0 replies
  • 0 kudos

Controlling the motor in both directions

Hello everyone,I'm currently working on a project where I'm trying to control a motor in both directions. However, when switching from one direction to another, there is a delay which I would like to remove.Here is the current code that I'm using:MC_...

GJamo.1 by Associate II
  • 1088 Views
  • 2 replies
  • 0 kudos

PWM signal randomly dropping.

I'm working with an STM32L552ZET6Q and two DRV2605L vibration motor drivers (Adafruit breakout board version. Link to chip datasheet below). https://www.ti.com/lit/ds/symlink/drv2605l.pdf?ts=1683119643574&ref_url=https%253A%252F%252Fwww.google.com%25...

_legacyfs_online_stmicro_images_0693W00000bjJzzQAE.png _legacyfs_online_stmicro_images_0693W00000bjK0EQAU.png
ESpra.1 by Senior
  • 2396 Views
  • 4 replies
  • 0 kudos