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
  • 158 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
  • 930 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
  • 5470 Views
  • 5 replies
  • 3 kudos

How to tune Torque (current) Control?

Hello everyone!Well, the question is this: what is the procedure for tuning the Torque/Current Controller?About the Speed Controller, it is well known how to tune the gains of the PID. In addition to the ST documentation - AN5464 - it is possible to ...

Using timer 3 to read hall sensors

I’m trying to use the timer3 ch1 ch2 ch3 of stm32g4 to read the hall sensors of motor but selecting this config under workbench 5.y. the motor doesn’t work. The default hall sensors timer is timer2. Any idea?

SLori.1 by Associate II
  • 4308 Views
  • 23 replies
  • 0 kudos

Resolved! See details

Hi,Some feedback for ST on the latest motor control MCSDK_v5.Y.3: Within files mcptl.h and aspep.c, bad practice to name an enumerated constant 'free', as of course conflicts with stdlib.h free function. We include stdlib.h for a few standard functio...

DKing.1 by Associate II
  • 1073 Views
  • 1 replies
  • 0 kudos

Is the DAC damaged on my B-G431B-ESC1 board?

I started getting these errors on loading the ST Motor Pilot App (V0.9.9)[WARNING] - MotorControlRegistersBank: Accessing register [977] STOCORDIC_C1 for motor 0 resulted in error[5] . Changing register's access accordingly to avoid getting this erro...

GHave.1 by Associate II
  • 1470 Views
  • 4 replies
  • 0 kudos

Resolved! How to enable measurement with 3 operational amplifiers and 3 ADCs in Motor SDK 5.Y.3 for STM32G431CB microcontroller?

I am making my custom board based on the B-G431B-ESC1 board and do not understand how to make the same analog measurement with 3 op-amp and ADC channels. For some reason, there is no choice of 3 op amps from the drop-down list, only 2.

0693W00000GX4vLQAT.png 0693W00000GX4xHQAT.png 0693W00000GX4yoQAD.png
DTort.1 by Associate III
  • 1553 Views
  • 4 replies
  • 0 kudos