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
  • 520 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
  • 5373 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
  • 6479 Views
  • 2 replies
  • 7 kudos

Motor speed uncontrollable

I am using STEVAL-ESC001v1 and a2212/10t 1400kv motor. While giving it supply and reference signal, the measured speed keep on increasing and the actual speed of motor as well. Also, motor_state stucked at START but motor still running. Please help. 

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
  • 6479 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
  • 710 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
  • 652 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
  • 844 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
  • 344 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
  • 399 Views
  • 2 replies
  • 0 kudos