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
  • 89 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
  • 5176 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

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

Zied b. by ST Employee
  • 6236 Views
  • 2 replies
  • 6 kudos

b-g431b-esc1 BLDC

To whom it may concern, I am developing a controller for BLDC, I managed to initialize the board with cubeIDE and flash code (so far only turning on the LED). However, I need to use a BLDC motor for my project and I have searched everywhere on how to...

UART receive, timertick, reset

#include "main.h" #include "stdlib.h" #include "string.h" #include "math.h" #include "ctype.h" #include "stdio.h" #include "speed_torq_ctrl.h" #include "ramp_ext_mngr.h" #define USART_IT_ENABLE 1 uint8_t rxbuffer[10] = {0}; uint16_t motor1Faults; v...

soundarya_h_s_0-1710833127974.png soundarya_h_s_1-1710833176955.png

X-CUBE-SPN7 motor control

Dear all,I am using the STM32 Nucleo pack with a F302R8 card, the IHM07M1 and the associated motor.The library for motor control (6Step_Lib.c) of  X-CUBE-SPN7 only provides a few functions, for ex MC_StartMotor, MC_StopMotor() and MC_Set_Speed().I wo...

user-stm by Associate II
  • 1470 Views
  • 4 replies
  • 1 kudos

error in MX generating from MC workbench

Hello, Please I need a help, I'm using the MC workbench and after saving the project and reach to generate the project it's giving this error that the MX is not found or I need to install a verison more the 6.0. bytheway I already installed the lates...

Dandan by Associate
  • 645 Views
  • 1 replies
  • 0 kudos

Clark and Park implementation code

This is the first time I have to implement a PMDC motor control system.There are 3-phase sine currents need to be converted into d-q components using Clark and Park.I don't have the motor to test yet, so with the DAC I created three 120° phase-shifte...

luke514_0-1710682162081.png
luke514 by Senior
  • 1715 Views
  • 1 replies
  • 0 kudos

STSPIN32G4 LPUART for MCP?

[VERSION]: 6.2.1[TOOL]: MC WB, Board Manager[DETAILS]: I'm working with a custom board using an STSPIN32G4. Can the LPUART on the STSPIN32G4 be used for the MCP (Motion Control Protocol)? When I try assigning the pins for the LPUART (PB10 and PC1) to...

AaronP_1-1710179599112.png AaronP_2-1710179709699.png
AaronP by Associate
  • 614 Views
  • 1 replies
  • 0 kudos