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
  • 601 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
  • 3342 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
  • 7655 Views
  • 5 replies
  • 3 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
  • 177 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...

STM32F4 single shunt FOC

Hi,Using STM32F429VET trying to achieve FOC with single shunt resistor over 3phase bldc motor.I am using TIM1 and corresponding CC2, CC3, CC4 as PWM channels. CC1 is used to trigger ADC in regular mode reading current over shunt resistor in S1 and S2...

STSPIN32G4 VDS failure

Hello, When using the STSPIN32G4 to drive a three-phase bridge for BLDC control, the MOE pin is automatically set to 0. Reading the internal driver status register of the STSPIN32G4 shows the VDS bit is set to 1. I have already set a sufficiently hig...