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
  • 562 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
  • 3287 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
  • 7585 Views
  • 5 replies
  • 3 kudos

Which error bits to read on Motor fault?

My code reads the motor state and faults after a start-up to ensure the motor is running correctly. I've been using MC_GetCurrentFaultsMotor1() for motor faults but it NEVER reports other than zero. I've primarily been using motor state and speed to ...

BTrem.1 by Senior II
  • 614 Views
  • 1 replies
  • 0 kudos

Timer 2 Input Capture issue.

Hello there,I've been messing around with a development board I've recently bought, STEVAL-SPIN3204, and I've been attempting to produce a RPM measurement using one hall effect sensor input attached to the PA5 pin, which with can be set to TIM2_Chann...

0693W00000DmnLQQAZ.png 0693W00000DmnMEQAZ.png
PSzcz.2 by Associate II
  • 767 Views
  • 1 replies
  • 0 kudos

STM32 AC Servo Motor with Encoder and Break

Hi,I have EVSPIN32F0601S3 Development Board and NUCLEO-F302R8 Board:and have to interface below AC Servo Motor for Speed, Torque and position control application.Part Number: MHMD082G1Vhttps://www3.panasonic.biz/ac/ae/search_num/index.jsp?c=detail&p...

Motor fluctuates at +80rpm and -80rpm

Hi,I used Nucleo-F446RE and X-Nucleo-IHM08M1 for FOC control of PMSM motor.Motor Profiler to determine parameters.Then WB, CubeMX and CubeIDE able to generate code. Start Motor using Monitor screen, the motor fluctuates at +80rpm and -80rpm.Need help...

VGani.1 by Associate III
  • 838 Views
  • 3 replies
  • 0 kudos

B-G431B-ESC1 overcurrent fault

After profiling my motor with motor profiler, I start a new project with workbench and generate code for Cube IDE. compile it and flash it with STlink utility at adress 0x08000000.then back to workbench and try to start motor but I have an immediate ...

Onorm.1 by Associate II
  • 2240 Views
  • 7 replies
  • 0 kudos

I have connected with wires my L298 H-bridge to my STM32F401 . By default once plugin to the computer the motor starts rotating(only connected on motor) . On my connector D5 which is PWM makes it rotate if i plug the wire to another PWM it does not .

All my inputs are assigned to the PWM , but by default only on rotates and if i switch one ore do another PWM it doesn't work . Don't understand why's that.Looked at both schematic and ii don't know why that's happening.

Marrkinho by Associate II
  • 1762 Views
  • 1 replies
  • 0 kudos