Skip to main content
SWenn.1
Senior III
January 10, 2025
Question

PowerStep01 --- x-Nucleo-IHM03A1 command sequence ?

  • January 10, 2025
  • 0 replies
  • 496 views

Good morning.

I am running an IHM03A1 stacked onto a Nucleo - WB55RG.  I am finding that if I send the command

BSP_MotorControl_CmdSetParam(0, BSP_MotorContorl_SPEED, (uint32_t)speedMotor);

followed by 

BSP_MotorControl_GoTo(0, pos);

the motor will not move the first time the GoTo command is called.  All variables are valid and I don't believe it has anything to do with waiting as I am stepping through code in debugger so there is plenty of processing time for the PowerStep.  If I call the GoTo command a second time without any in between motor commands the command works.

Ideas?