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
  • 123 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
  • 900 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
  • 5457 Views
  • 5 replies
  • 3 kudos

FOC support for F401 and F411 processors.

Posted on December 20, 2015 at 11:09Hi, Does the motor control software suite (STM32 PMSM FOC LIBv4.2) support STM32F401, '411 and '446 processors? When I tried it, it didn't allow another option for CPU clock than 168, and as far as I know the abov...

ihm001 FOC example.

Posted on December 17, 2015 at 18:17Hi, I have the IHM001 motor control kit. I managed to compile the 6step example from  STM32CubeExpansion_SPN7_V1.0.0 . I'm using Linux, and I managed to create a Makefile for the example project.For FOC it seems I...

some structure(like CSPD_t) in FOC 4.1

Posted on July 23, 2015 at 11:47I want to use some other mag encoder(SPI interface) in my project ,now i have finished the driver of it in FOC project,but I don't know how to input the speed data I get ,I find the function :bool SPD_CalcAvrgMecSpeed...

iwos2610 by Associate
  • 550 Views
  • 2 replies
  • 0 kudos

Wrong Hall sensors alternate function

Posted on April 06, 2015 at 14:55 Hi, I'm using ST PMSM FOC 4.0 with STM32F303RB and Hall sensor. Hall sensors are on PORTC pins 6, 7 and 8. Used as TIM3 channel 1-3 inputs. Code is generated from the MC workbench. Symptom is - h...

FOC 4.0 for STEVAL-IHM039V1 - dualdrive

Posted on October 29, 2014 at 11:24Hello This is just an information for the developers and the rest of people. I'm working right now with STEVAL kit IHM039V1 for dual motor. I found that LCD code works only for single drive. Problem is probably in...

kovac by Associate II
  • 849 Views
  • 2 replies
  • 0 kudos

STM32 PMSM FOC on STM32F107

Posted on September 22, 2014 at 23:27Hello guys,I am trying to use STM32 PMSM FOC v3,4 with STM32F107VCT6 MCU. Is it possible?I previously used the library with STM32F103 mcu. I compared the f107 with f103 and found that they are almost the same (ex...

suslov by Associate II
  • 744 Views
  • 2 replies
  • 0 kudos

FOC 4.0 problem with ADC?

Posted on August 08, 2014 at 12:31Hello, I would like to use the latest FOC library for small PMSM motor. I'm using STM32F303VCT6 MCU and I would like to use internal PGA. But motor doesn't run at all. Start sequence starts, but with very high curre...

kovac by Associate II
  • 3925 Views
  • 18 replies
  • 1 kudos

The FOC V4.0 BUG?

Posted on June 30, 2014 at 05:11GIGI:           I use STM3210E debugging of motor, encountered a problem. I try to change the start / stop input keys, but still use the original IO pin.

0690X000006030DQAQ.jpg

BLDC drive with Hall -sensor, timing issue

Posted on October 04, 2017 at 13:09Hi!I am using FOC 4.3 with a NovoMotec 1 pole BLDC motor. I can not start the motor at all. The PWM -s are working, and the motor vibrates, but the PWM signals have bad timing, thus braking the motor all the time. ...

0690X00000608SqQAI.png