STM32 MCUs Motor control

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

MCSDK 6.3.0 is out!

Dear MCSDK users, MCSDK version 6.3 is now available: Download It here. Here are the main changes for this version: Motor Control Features: FOCAdded C0 single shunt topology support.6StepThis algorithm has been enhanced on MCSDK version 6.3 release ...

GMA by ST Employee
  • 457 Views
  • 1 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
  • 1857 Views
  • 3 replies
  • 1 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
  • 4106 Views
  • 0 replies
  • 1 kudos

Resolved! Details of SPD_GetAvrgMecSpeedUnit

I asked a question before on the routine SPD_GetAvrgMecSpeedUnit but the answers did not address what I was looking for. https://community.st.com/s/question/0D53W00000xsTlzSAE/information-on-the-c-code-procedure-spdgetavrgmecspeedunit-This routine re...

0693W00000JMmwhQAD.png
BTrem.1 by Senior II
  • 493 Views
  • 3 replies
  • 0 kudos

USART3 stops working after code update.

I have a motor control board built around the STM32F446RET6. I was updating code using motor control workbench to alter the control parameters.After an update, I was no longer able to use the motor control workbench console to communicate with the bo...

DTard.1 by Associate II
  • 1119 Views
  • 12 replies
  • 0 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
  • 271 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
  • 248 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
  • 277 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
  • 195 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
  • 154 Views
  • 1 replies
  • 0 kudos