I successfully completed labs 12a and 12b, the encoder feedback and velocity calculation looked accurate.
I have moved onto lab 13a to achieve sensored positional control and have found a sticking point. After setting 'Flag_enableSys = true' and 'Flag_Run_Identify = true' the Rs Estimation state changes to online. After a few seconds in this state the rotor moves and the value 'gMotorVars.SpinTAC.PosCtlErrorID' is set to = 2.
I have been unable to identify what this error ID means when referencing the Instaspin Guides.
If I manually turn the rotor I also see that the PositionError_MRev does not change value. The associated QEP QPOSCNTregister is updating.
Any help to get through this lab would be appreciated,
Khal