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
  • 130 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
  • 902 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

Resolved! Speed Feedback fault in Motor Control Workbench Monitor.

I have made a SM-PMSM project for a hub motor (10 pole pairs). I can compile the generated code in STM32CubeIDE (HAL) but when I run it I always get the fault "Speed feedback" in Motor Control Workbench Monitor.There is 20ms of activity, where there ...

0690X00000ArsRRQAZ.png
Gussius by Associate II
  • 8224 Views
  • 10 replies
  • 3 kudos

Resolved! STC_GetMecSpeedRefUnitDefault prototype does not match.

The definition of the function is __weak int16_t STC_GetMecSpeedRefUnitDefault(SpeednTorqCtrl_Handle_t *pHandle) in speed_torq_ctrl.c file.It is called in mc_tasks.c as belowSTC_GetMecSpeedRefUnitDefault(pSTC[M1]),0);it is called with additional 0 ar...

SRedd.5 by Senior III
  • 699 Views
  • 1 replies
  • 0 kudos

Resolved! sending signal (UART) while running MotorControl

Hi,I'm currently working on sending signals through FDCAN or UART of B-G431B-ESC1 while driving a motor.I have written a debug code which sends UART data when a button is pressed.However, the function is called once and never called again, nor the mo...

JKong3_0-1688626066429.png
JKong.3 by Associate III
  • 3989 Views
  • 17 replies
  • 2 kudos

Trouble with STEVAL-STSPIN3201

First, I am new to this board and to development using ST products.I have identified the STEVAL-STSPIN3201 as being the platform most suited to the project I am involved with and have attempted, unsuccessfully, to use ST Motor Control Workbench 6.1.1...

DHemb.1 by Associate II
  • 3126 Views
  • 9 replies
  • 0 kudos

New B-G431b-esc1 ($AU3) can't connect with a CAN bus.

I have some drivers left from a few months ago, and they are working with no problem. This same project loaded to the new boards and everything works O'K except that the packets don't flow (neither way).I've tried to reset and set the CAN_SHDN (PC11)...

MSzym.1 by Associate II
  • 3694 Views
  • 10 replies
  • 1 kudos

Hardfault problem

hi guys, have a good day,  i have a problem.i use stm32f303ret6 microcontrollermicrocontroller crashes to hardfault.As soon as the motor I control with a mosfet draws 3 amps of current, the microcontroller falls into a hard fault. It works when you d...

PCB1.png PCB2.png PCB3.png
TB5BYO by Associate II
  • 1302 Views
  • 2 replies
  • 1 kudos