STM32 MCUs Motor control

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
  • 67 Views
  • 0 replies
  • 2 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
  • 5170 Views
  • 5 replies
  • 3 kudos

MCSDK documentation and your feedback

Motor Control Wiki: STM32 Motor Control Knowledge Database - stm32mcuMC Frequently asked questions (FAQ):Frequently asked questions (FAQ) - stm32mcu   The documentation of the Board descriptions format is now available on the Motor Control Wiki:   Wi...

Zied b. by ST Employee
  • 6231 Views
  • 2 replies
  • 6 kudos

Resolved! STEVAL-SPIN3202 Correct positions of the jumpers

Dear ST,Could you please advice on the correct positions of STEVAL-SPIN3202 jumpers to run an example with ST MotorPilot.J9 - BOOT0 Open or closed? J7 - RX - TX Open or closed, Could you please explain why would we need to connect RX and TX? Which o...

0693W00000Ka6sLQAR.png 0693W00000Ka6yJQAR.png 0693W00000Ka6zbQAB.png
EShaw.1 by Associate II
  • 756 Views
  • 2 replies
  • 0 kudos

Deadtime

First thingI am trying to XOR, 3 pwm's and If the xor output is 1 "motor is on" otherwise "motor is off".I am getting 90ns deadtime. I mean between the pwm's there is some gap. How to encounter this situation? ( I wnt to use a gpio and Im using a nuc...

Vmere.1 by Senior
  • 708 Views
  • 0 replies
  • 0 kudos

MC workbench with bldc using hall sensors.

Hi, I am fairly new to motor control and ST software. I am trying to setup a bldc hall sensor motor with the MC workbench tool to control speed for now. I am using the b-g431b-esc1 discovery kit. I have wired the motor to the kit as described in um25...

How to run a BLDC using C-functions of mc_api.c

I tried to run a motor(BLDC).But, my motor doesn't run. I refered to this PDF to page 45~.https://www.st.com/content/ccc/resource/technical/document/user_manual/group1/48/e6/91/f4/66/ea/48/a1/DM00490980/files/DM00490980.pdf/jcr:content/translations/e...

smiya.1 by Associate
  • 859 Views
  • 3 replies
  • 0 kudos

I want to read the current using single shunt method for stm32g431cb.I am not using SDK.Below is my Cubemx configuration.I am trying to read the opAMP out pin on adc via dma.

Below is my cubemx config:I am trying to Read OP1_out via ADC.but I don't get any values when the motor is rotating.can some help me to configure the pin for single shunt current read ?Also if there is any Opamp configuration

0693W00000KZfSuQAL.png 0693W00000KZfTYQA1.png
Tejashree by Associate III
  • 455 Views
  • 0 replies
  • 0 kudos

Hi, I would like to get some informations about using timer prescaler in encoder mode. Is it allowed practice or it shouldn't be used?

First of all it works for me just as I wanted: Using prescaler "4" increments CNT every 4 encoder detections. It solves problem of CNT overflow in bigger resolution encoders. I know it could gain errors every motor direction change, but this is not a...

PKied.1 by Associate
  • 416 Views
  • 1 replies
  • 0 kudos

Can't Stop Motor when in START or ALIGN state

Hello EveryoneI'm using FOC control for a BLDC motor. It works fine, but there's a situation that I can't solve.I'm using a trigger as input: when pressed, the motor starts and must remain running until the trigger is released. If the user press the ...

Position Control PID Error?

CubeMX 6.4.0Cube IDE 1.8MSDK 5.y.4Nucleo -F446REIHM 08M1 3shHello,I noticed that in position control mode, the PID controller generates a current Id ref value other than 0. Is it supposed to be like this? In version MSDK 5.4.8 the current Id referen...

MK.1 by Senior
  • 820 Views
  • 2 replies
  • 0 kudos