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
  • 200 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
  • 5236 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
  • 6290 Views
  • 2 replies
  • 6 kudos

Why my motor jump one degree in MCSDK

Hardware : STM32G431RB + X-NUCLEO-IHM07MICurrent feedback : 3 shunt​SDK : MCSDK version 5.4.6Control mode : Position control High frequence : 25KHZMediumn frequence : 1KHZIn below image green circle can see that my motor start to move always jump one...

0693W00000LxwiXQAR.png
KLu.2 by Associate
  • 646 Views
  • 1 replies
  • 0 kudos

Second NTC_Handle_t type sensor

uC = STSPIN32G4second sensor = PA4 (ADC2_IN17)I have tried add second NTC sensor and using MC functions.A have added:sConfig.Channel = ADC_CHANNEL_17; // BEARING_TEMPERATURE sConfig.Rank = ADC_REGULAR_RANK_1; sConfig.SamplingTime = ADC_SAMPLETIME_4...

ketchup by Associate III
  • 758 Views
  • 1 replies
  • 0 kudos

How to run a pmsm using C-functions of mc_api.c?

I tried to run my motor (PMSM) bit it doesn't run. I used like reference the document:https://www.st.com/content/ccc/resource/technical/document/user_manual/group1/48/e6/91/f4/66/ea/48/a1/DM00490980/files/DM00490980.pdf/jcr:content/translations/en.DM...

0693W00000KZfSaQAL.png 0693W00000KZfSkQAL.png
fpaga.1 by Associate II
  • 657 Views
  • 1 replies
  • 0 kudos

Resolved! Best method to measure temperature of STSPIN32G4

Hi,I made some temperature measures on STSPIN32G4 using a thermal camera.I saw that the central part 3x3mm of the STSPIN reaches about 70°C, while the sorrounding part does not go beyond 50°C.My question is the following: if I use the internal temper...

Resolved! Speed control

how we can change the speed of motor in STEVAL -SPIN3201 using external Potentionmeter?/or inbuilt Potentionmeter (Variable resistor )?

MCSDK 6.2.0 Over Current problem

Hello.I am testing using MCSDK 6.2.0 on EVSPIN32G4 board.And we made a custom board by reducing the size of EVSPIN32G4.The problem is that a "Over Current" error occurs on the custom board.I think it's an Artwork problem.Can you give me a guide or ho...

Elliot95 by Associate II
  • 749 Views
  • 1 replies
  • 0 kudos