Hello;
I´m playing lab 13.
When Rs-recalibration is done, electric angle and rotor are aligned and the lab runs without problems.
The alignment is done "to the nearest pole".
After that alignment, I want to read index position and read rotor position at that moment. Is there any function/flag that reads when Index is TRUE?
In my aplication I want to reference the "0" position with encoder index signal. This offset will be constant: index-rotor are locked and relative position is every time the same.
After I get the offset between index and my "0" position, I can change the "0" int parameter of STPOSCTL_setPositionReference_mrev function, but this is not so correct... what can I do?
Thanks
Robert