Running a BLDC motor through STM32CubeIDE commands
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.
