Hello,
I'm building prototype based on TMS320F28069M and I'm experimenting with the launchpad. I've attached a custom made optical encoder to my motor shaft and I'm trying to run lab12a. Until now the motor runs flawlessly with all the InstaSPIN-FOC labs and InstaSPIN-Motion labs up to 5c. Then I switch to lab12a and the motor cannot identify the inertial and friction. The encoder connection is working properly as I can see the st_obj.vel.conv.Pos_erev counting upwards to 1000 (my encoder has 1000 lines) and the resetting. However the encoder doesn't have an index indicator, but I guess this is obsolete at this point. When I enable the driver as I do in the other labs and set the gMotorVars.SpinTAC.VelIdGoalSpeed_krpm to the motor's maximum speed then gMotorVars.SpinTAC.VelIdRun to 1 I cannot get the motor spinning. It actually tries to spin and I can see some counts from the encoder on the oscilloscope in the beginning of the identification process, but then I get the error 2004. What I've tried till now is to change the motor phase connections in order to try to spin it in the other direction and reduce the gMotorVars.SpinTAC.VelIdGoalSpeed_krpm to lower value. The result is still the same - motor making a very little effort to spin and then holding very tightly it's still position until the end of the identification. I noticed that the applied torque is like 0.25 and not getting any greater than this. Would you recommend me what to check and how to get the motor spinning with the eQEP module enabled?
Best,
Georgi