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
  • 597 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
  • 5394 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
  • 6502 Views
  • 2 replies
  • 7 kudos

Field Weakening not working in ESC

I am using STEVAL ESC 001V1 and enabled Field weakening with FOC, but motor is not running, it is starting, stopped, starting stopped and soon. I also seperately tried setting Id = -ve value but its not working. Please help.

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
  • 6502 Views
  • 2 replies
  • 7 kudos

Resolved! STSPIN32G4 PWM Output Jitter

Created a new thread from STDRIVE101 PWM Output Jitter Inquiry here because it is a question about a completely different device.Dear Peter,Thank you for your explanation. That clarifies the behavior of the STDRIVE101.I have two follow-up questions:D...

ajietb by Associate II
  • 725 Views
  • 4 replies
  • 0 kudos

Resolved! SVPWM and BEMF Wareform type

Hello Everybody,MCSDK:6.3.0CubeMX: 6.3.0Workbench : 6.3.0Motor Pilot : 1.2.9Power Board : IHM08M1Control Board : NUCLEO-G431RBMotor : GBM2804H-100TI am currently testing FOC-OpenLoop-Voltage. I am using Motor Pilot for tuning and measuring SVPWM (at ...

Vincent7 by Associate III
  • 659 Views
  • 5 replies
  • 1 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
  • 851 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
  • 349 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
  • 403 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...