cancel
Showing results for 
Search instead for 
Did you mean: 

Running a BLDC motor through STM32CubeIDE commands

MSzos.1
Associate II

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.

2 REPLIES 2
Laurent Ca...
Lead II

Dear MSzos.1

Do you have still this problem to solve?

Best regards

Laurent Ca...

Laurent Ca...
Lead II

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...