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
  • 174 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
  • 5206 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
  • 6269 Views
  • 2 replies
  • 6 kudos

How to configure for dual motor feedback

Posted on December 11, 2014 at 16:05Hi, I am trying to use the FOC4.0 library with dual rotor angle feedback, namely hall plus encoder. I can set this configuration via the GUI (I have to manually edit the generated header files because of a bug in ...

problem in compiling code using stsw-stm32100 library

Posted on February 06, 2015 at 19:36hello every body,i generated header files using MC workbench, and then copy them into sys_drive_param folder. then when i open workspace in project folder. it contains only STM32F30x_userpoeject, but according to ...

ijhar09 by Associate
  • 966 Views
  • 5 replies
  • 0 kudos

Single motor on ADC3/4

Posted on March 11, 2015 at 22:52Hello,Does the PMSM FOC library support single motor drive using OPAMP3/4 and ADC3/4 on STM32F303RB?I did my own HW like that but it seems that the library still tries to check some flags of ADC1 even if none of the ...

Integer conversion resulted in trucation - ID_DEMAG

Posted on March 31, 2014 at 21:32I am receiving this compiler error in SystemNDrivePrarms.h on lines 8182, 8216, and 8250 when compiling MCTasks.c.  (MC version: 3.4.1, IDE: IAR EW for ARM 7.10)  ID_DEMAG,        /*!< Demagnetization current in s16A...

luke23 by Associate III
  • 1247 Views
  • 5 replies
  • 0 kudos

Can I use the MC monitor with our custom board?

We have developed our own MC board, based on STM32F303 Nucleo-64 with some different pinout. We do not have integrated ST-LINK like the Nucleo board of course, just a JTAG connector. Can we use our custom board in combination with the MC monitor? Whe...

CPrin by Associate III
  • 1062 Views
  • 5 replies
  • 0 kudos

How to get one PWM output inverted?

I have the Shinano motor running correctly with the NUCLEO-F303RE board and the X-NUCLEO-IHM08M1. I'm trying now to get it working with our custom board. Unfortunately my hardware colleagues have used the NCP5304 bridge driver instead of the L6398 dr...

CPrin by Associate III
  • 1077 Views
  • 3 replies
  • 0 kudos