cancel
Showing results for 
Search instead for 
Did you mean: 

Starting Motor over UART or without Motor Pilot using MC_StartMotor1()

x4ce
Associate III

Hi,

I'm using a custom STSPINF0 based board and successfully profiled my motor. Using motor pilot, I have obtained a start-up profile which I've also implemented in Motor Control Workbench (6.3.1) as shown below:

Screenshot_62.png

 I've interfaced STSPINF0 with nRF52832 over USART and I'm able to execute commands & receive data successfully.

But, motor runs and stalls with Fault_over/ Duration type fault when I execute MC_StartMotor1(). I think using this command my start-up parameters are not executed.

I want to know does Motor Workbench stored my start-up parameters in the firmware/ STM Cube IDE? If so, how I can start my motor using that stored start-up parameters?

Otherwise, please guide me how can I manually implement & execute my above start-up parameters in forms of following commands before executing MC_StartMotor1() over USART:

* - MC_ProgramSpeedRampMotor1()

* - MC_ProgramTorqueRampMotor1()

* - MC_SetCurrentReferenceMotor1()

 

Thanks

0 REPLIES 0