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
  • 320 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
  • 1865 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
  • 6270 Views
  • 5 replies
  • 3 kudos

Program Torque Mode Function

I am using the __weak void MC_ProgramTorqueRampMotor1( int16_t hFinalTorque, uint16_t hDurationms ) function, but i have small doubt on it, hope i get some answer. I am using throttle to use this function but the problem i feel is when the throttle i...

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

Timer Channel 1 Input / Output on different pins?

I am using TIM4 as a quadrature encoder counter, works fine. It is using the Channel 1 and 2 inputs on PB6 and PB7.Now I would like to add a compare output to create a pulse at a particular position. It seems I have to use channel 1 or channel 2 as t...

IanB by Associate
  • 526 Views
  • 1 replies
  • 0 kudos

Resolved! Is it possible to run dual motors on H7(M4 core)?

There are two motors, a large motor (Motor1)driven by discrete gate drivers and mosfets, and a small motor (Motor2)driven by the integrated driver L6230.For performance reasons, Motor1 needs a 3 sample resistor scheme (R3_2, ADC1+ADC2), so what curre...

PQ by Associate II
  • 566 Views
  • 2 replies
  • 0 kudos

MCP code

Has anyone been able to implement the MCP in python or C code?  I've been trying to figure it out in Python for a while now.  It's really disappointing ST doesn't provide a .c/.h file for this protocol as I've wasted a ton of time trying to re-implem...

motor is drawing more current than expected

Hello all,I’m using NUCLEO F302R8 and IHM08M1 for motor control. While the motor runs, it gradually heats up to around 85°C and draws more current than its rated value in no-load conditions.while using the IHM07M1, the motor's heating seems normal, b...

hashiR by Associate III
  • 1683 Views
  • 13 replies
  • 2 kudos

Resolved! How to control a Maxon BLDC with hall sensors

Hi,I'm trying to drive a Maxon 574741 BLDC motor with hall sensors, using your STEVAL-SPIN3204 evaluation board. I have installed MC Workbench, STM32CubeMX and the STM32CubeIDE. I'm rather new to motor control and the parameter setup for my motor in ...

LeiSve by Associate II
  • 1908 Views
  • 2 replies
  • 0 kudos