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
  • 775 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
  • 3691 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
  • 7850 Views
  • 5 replies
  • 3 kudos

stspin32g4 EMI radiated issue

"Hello.We are currently developing a medical device in Korea using the STSPIN32G4.During an EMI pre-scan, we confirmed that noise is being generated in the 188MHz band from within the chip.We have seen posts on forums from others who are experiencing...

Crazyoh_0-1761787604471.png Crazyoh_1-1761787686476.png
Crazyoh by Associate
  • 187 Views
  • 2 replies
  • 0 kudos

EVSPIN32G4 Motor doesn't achieve max speed

Hello,I'm using an EVSPIN32G4 with a Bodine BLDC motor (Hall-less).  I used the motor profiler to get all the need motor settings and have compiled firmware.  It spools up nicely but I can't get it to 6000RPM.  The motor profiler says that the motor ...

RinSxi by Associate
  • 186 Views
  • 2 replies
  • 0 kudos

ADC issue STM32H723ZG with IHM08M1

Hi all,I'm in the process of configuring my STM32H723ZG to work with the IHM08M1 motor driver shield.Currently I am trying to configure and validate the signals from the ADCs however I am having some issues with this. One ADC I'm trying to validate i...

evanpol by Associate III
  • 889 Views
  • 18 replies
  • 1 kudos

Resolved! MCSDK– How to analyse SW & HW

Hai All,  New to MCSDK Tool – 446 + IHM08M1 Interface.Generated the code using MCSDK 6.4.1 and analysing it.Attached is the video of my motor control configuration – Basic Hall Effect Sensor based 6 step commutation using Switch and ADC Speed Control...

STEVAL-ESC002V1 unable to run motor properly.

Hey Guys,I’m facing an issue with motor operation using the STEVAL-ESC002V1 solution. Despite setting MC_set_speed(MAX_SPEED), the motor doesn’t reach full speed and runs unevenly with vibrations. It only rotates at a low speed instead of the expecte...

Resolved! MCSDK5 generate code with err

Hi there,I was trying to generate a STSPING4 project with MCSDK 5.Y.4.All the config and pin checks are successful.However, there is an error in the attached picture; also, the full LOG is attached.Seems some paths are incorrect, but I don't know how...

Junde by Senior III
  • 351 Views
  • 6 replies
  • 3 kudos

MCP code

Has anyone been able to implement the MCP in python or C code?  I've been trying to figure it out in Python for a while now.  It's really disappointing ST doesn't provide a .c/.h file for this protocol as I've wasted a ton of time trying to re-implem...