Speed Mode in MCSDK (custom board, software of B-G431B-ESC1) is not working
Hi all,
I am using the software generated from MCSDK motor control and a custom board, I am able to successfully make it work for the torque control mode, for different Iq values the DC power supply current is varying.
But i am facing problem with speed control mode, i gave the following command in closed loopMC_ProgramSpeedRampMotor1(((int16_t)g_targetspeed_s16 * ((int16_t)SPEED_UNIT)) / (int16_t)U_RPM, 0);
Any value i give for g_targetspeed_s16 the motor settles to the same speed for example if i give 10, 50 it goes and settles to the same speed. Why? I am finding some invalid switching. Is it because of that?
