As far as I know, to use the application in torque control mode. I will have to set it to control m ode in ST workbench which is in drive setting on the upper right box. and in firmware I will just add in MC api which is MC_ProgramTorqueRampMotor1() ...