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
  • 191 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
  • 5212 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
  • 6274 Views
  • 2 replies
  • 6 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
  • 772 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
  • 290 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
  • 358 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
  • 1134 Views
  • 13 replies
  • 2 kudos

Programmer can't find STEVAL-ESC002V1

Hello,  I am using a STEVAL-ESC002V1 board and I am stuggling to make it work. I want to load the bin file given in STSW-ESC002V1 but the STM32Cube Programmer does not find the board. I am using a STlinkV3Minie connected to the SWD connector.The inst...

ifez by Associate
  • 455 Views
  • 0 replies
  • 0 kudos