Problem with IHM03A1_ExampleFor1Motor
Problem with IHM03A1_ExampleFor1Motor
Using STSW-SPIN002 I configured the parameters for my motor (both in voltage and current mode configurations).
I have checked the correct movements of my motor.
I then exported the header file powerstep01_target_config.h.
I then imported the IHM03A1_ExampleFor1Motor project form SPN3_V1.6.0 into STM32CubeIDE, replaced the powerstep01_target_config.h file with the one generated for my motor and compiled without problems (I have a STM32F401RE-NUCLEO board).
What I see is that only the first movement BSP_MotorControl_Move(0, FORWARD, 16000) is performed !
Using debug I see that the execution remains blocked in the BSP_MotorControl_WaitWhileActive (0);
What could be the problem?
