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
  • 747 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
  • 5415 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
  • 6532 Views
  • 2 replies
  • 7 kudos

PWM signal randomly dropping.

I'm working with an STM32L552ZET6Q and two DRV2605L vibration motor drivers (Adafruit breakout board version. Link to chip datasheet below). https://www.ti.com/lit/ds/symlink/drv2605l.pdf?ts=1683119643574&ref_url=https%253A%252F%252Fwww.google.com%25...

_legacyfs_online_stmicro_images_0693W00000bjJzzQAE.png _legacyfs_online_stmicro_images_0693W00000bjK0EQAU.png
ESpra.1 by Senior
  • 2223 Views
  • 4 replies
  • 0 kudos

Resolved! b-g431b-esc1 current sensing clarification

I want to understand the current sensing that is done in B-G431B-ESC1 kit. I do not understand the purpose of IN_VOPAMP3 connected to ADC2The opamp3 can be connected to ADC1 and ADC2 as shown in the figure? The software configuration of opamp3hopamp3...

_legacyfs_online_stmicro_images_0693W00000bidfdQAA.png
SRedd.5 by Senior III
  • 1961 Views
  • 9 replies
  • 1 kudos

Resolved! MC_DURATION Fault in B-G431B-ESC1 software

I am getting the fault of MC_DURATION after running for few seconds in my customized board but software is same as B-G431B-ESC1. I am not sure why this error is happening, any advise? I have changed the REGULATION_EXECUTION_RATE to 2 from 1 assuming ...

SRedd.5 by Senior III
  • 872 Views
  • 4 replies
  • 0 kudos

BLDC switching sequence from PWM to GND

Hi all,I am working on BLDC motor control using Hall sensors. At the moment, the motor seems to be running fine, however, I have noticed something strange in one of the sequences (this can be seen in the attached image taken from an oscilloscope). Wh...

_legacyfs_online_stmicro_images_0693W00000bjIbDQAU.png
adromo95 by Associate II
  • 678 Views
  • 0 replies
  • 0 kudos

Resolved! Active low LIN Mosfet driver and software changes.

I am using the software of b-g431b-esc1 and the driver used in the board as per schematics is in my board the micro is RB series but the problem is with the Mosfet driver which has an active low signal, IR2108What changes do i need to make in the sof...

_legacyfs_online_stmicro_images_0693W00000biyXCQAY.png _legacyfs_online_stmicro_images_0693W00000biyXlQAI.png
SRedd.5 by Senior III
  • 1199 Views
  • 5 replies
  • 0 kudos

Resolved! Motor Profiler stuck on "Checking ST-Link connection"

I'm trying to use the Motor Profiler software through my Motor Controller SDSK 6.1.1. When I launch the profiler, I Select my boards - Nucleo-F302R8 and X-Nucleo-IHM07M1 3Sh. Then I set the motor parameters to match my motor Bull Running BR2804. When...

_legacyfs_online_stmicro_images_0693W00000bj8tCQAQ.png _legacyfs_online_stmicro_images_0693W00000bj8tHQAQ.png _legacyfs_online_stmicro_images_0693W00000bj8tMQAQ.png _legacyfs_online_stmicro_images_0693W00000bj8t8QAA.png
ABart.5 by Associate II
  • 1843 Views
  • 4 replies
  • 0 kudos

6 Step Sensored MC SDK 6 Issues

Devkit: (B-G431B-ESC1)Motor: (Pole pair = 3, (6 total magnets))Hall Sensor: Honeywell SS41F, 40 mechanical degree placement and 120 electrical (odd mechanical placement due to 3 pole pair)Software: MC SDK V6.I am trying to use 6-step sensored control...

_legacyfs_online_stmicro_images_0693W00000bj3eHQAQ.png