This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8301-HC-C2-KIT: Instaspin Motor with Quadrature Encoder problem

Part Number: DRV8301-HC-C2-KIT

Hello,

We are using DRV8301-HC-EVM Rev.D kit with F2806x_CONTROLLERCARD and successfully completed the labs 2a,2b, 5a,5b and 5c.

We have now connected a quadrature encoder with 500 PPR to our motor which has a rated RPM of 3KRPM and tested Lab 12a. We are facing a problem of motor not running. We are getting an error of value "2004" in the variable gMotorVars.SpinTac.VellIdErrorID. As suggested in the instaspin labs pdf, we have reduced the gMotorVars.SpinTac.VellIdGoalSpeed_krpm from 3krpm to 0.5krpm in steps of 0.5krpm. In all cases we are getting an ErrorId of 2004. We have even adjusted the "gMotorVars.SpinTAC.VelIdTorqueRampTime_sec" from 5.0 to 1.0 sec, but no use. The inertia values are also changing every time with the same goal speed RPM & Torque Ramp time. 

To test the encoder, we have checked the variable "st_obj.vel.conv.Pos_mrev"  and the register value of qep module by rotating the motor one rotation manually in anticlockwise direction & getting a value of 1 which confirms that the encoder is correct.

In order to solve the problem as soon as possible, we took our equipment and went to TI's site in Shanghai for help yesterday. With the help of TI engineers, we could confirm that there isn't any hardware connection error in our evolution system and quadrature encoder's signals were all right. But TI's Engineers also failed to solve the problem.

TI's Engineers suggested me to post my problem here. And since one part of the libs is developed by LineStream Technologies, I need the contact information for getting support from them.

Thanks in Advance