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

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
  • 455 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
  • 5364 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

Motor Control Wiki: STM32 Motor Control Knowledge Database - stm32mcuMC Frequently asked questions (FAQ) for version MCSDK5.x:Frequently asked questions (FAQ) - stm32mcu   The documentation of the Board descriptions format is now available on the Mot...

Zied b. by ST Employee
  • 6450 Views
  • 2 replies
  • 7 kudos

HALL sensor Pin out only 3.3v

Hello guys I'm trying to do a profiler for Hall sensors.But when I measured my Hall power pins they only provide 3.3V instead of 5.0V and my Hall sensor needs at least 4.5V, I tried to check my control board manual and found that my SW is in the righ...

poyilee by Associate II
  • 2762 Views
  • 4 replies
  • 0 kudos

EVSPIN32G4 ADC not working

Hi, Good Morning            I want to control the motor through an analog input (PA4) (ADC2_IN17). However, I am unable to read the ADC value. The generated code lacks the initial configuration for ADC2 channel 17 in the MX_ADC2_Init() function.Pleas...

EVSPIN32G4 FOC_SPEED MODE

I am planning to drive the motor with FOC using the EVSPIN32G4 board.MC_WorkBench 6.3.0ST Motor Pilot V1.2.0 - profilerI checked the motor parameters with the ST Motor Pilot V1.2.0 - profiler program.And I created a project with the EVSPIN32G4 board ...

Sensorless FOC and high electrical frequency

Dear MCSDK,Thnak you for your nice work with this project. I am trying to use the McSDK with ST eval board B-g431-sec to control the speed of a small brushless PMSM motor with sensorless FOC.This motor with its load can rotate at approximately ~10k r...

ANICO.1 by Associate III
  • 1800 Views
  • 6 replies
  • 0 kudos

How to clear FAULT NOW startup error

When I try to start my motor by programming a torque ramp and starting the motor, if the motor fails to start, the motor state moves to FAULT_NOW with a startup error. The real issue is that I don’t know how to clear the fault. The state never change...

captat by Associate II
  • 1238 Views
  • 3 replies
  • 0 kudos

Resolved! MC Workbench 6.3.0 - Generation of project fails.

Hello there,I am new to the MC Workbench and must configure the B-G431B-ESC1 to use it with a A2212/6T 2200KV Brushless DC Motor.I created a new project in the MC Workbench 6.3.0 and tried generating the project. Once the generation is completed I re...

STMBatu_0-1715772920498.png
STMBatu by Associate II
  • 3624 Views
  • 3 replies
  • 2 kudos

How to use demo kit???? (EVSPIN32G4 )

I used the Motor Profiler 5.4.8 program to extract the motor values ​​of the 12v custom motor in picture 1 and created a project in MC_Workbench to operate it. I bought an evspin32g4 board to test the operation of a larger voltage motor.How can I ext...