Skip to main content
MSzos.1
Associate
July 9, 2020
Question

Running a BLDC motor through STM32CubeIDE commands

  • July 9, 2020
  • 2 replies
  • 852 views

I have a P-Nucleo-IHM03 motor control pack, that includes a G431RB MCU, IHM16M1 driver board, and GBM2804H-100T BLDC motor. I am trying to simply create a project in the STM32CubeIDE that makes the motor turn. I went through the process of creating the project in the Motor Control SDK and then opening the project in the CubeIDE. I wrote the following code in the main function of the main.c file:

 MC_ProgramSpeedRampMotor1( 1000, 2000 );

 MC_StartMotor1();

The project builds without 0 issues and 0 warnings but when I run the program, the motor does not turn.

Any help or advice is appreciated.

This topic has been closed for replies.

2 replies

Laurent Ca...
Senior III
September 14, 2020

Dear MSzos.1

Do you have still this problem to solve?

Best regards

Laurent Ca...

Laurent Ca...
Senior III
October 6, 2020

Dear  @MSzos.1​ 

I guess you don't have to solve this problem anymore, therefore I consider this post closed.

If not, feel free to reopen it by posting a new answer.

Best regards

Laurent Ca...