.I am testing lab5C on a custom board. When I activate gMotorVars.SpinTAC.VelIdRun flag, once test is performed properly with motor speeding up and down twice giving inertia. However, some other time motor tries to speed in opposite direction, moves a little (few degrees), then wobbles in its place. The test ends with error 2004 and inertia value is not detected. Apparently hardware and software configuration is Ok, as all labs before this (5C)worked well. Also this behavior seems to appearing alternately, one time test goes OK, next it doesn't. Can you pl. let me know as to what might be an issue?
Are there any parameters, flags I need to check to see if spintac engine is running halfway during unsuccessful test & that triggers wrong behaviour? Does spintac state needs to be idle before beginning of inertia test? Are there hints/checkpoints to see before triggering inertia detection? Is there any hint someone can give to test what might be happening?