SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
This should be done in the main ISR. This function needs to be called when SpinTAC Position Move has completed a profile. This is to alert SpinTAC Position Plan that we have reached the goal position that it provided to SpinTAC Position Plan. This should be placed after the function call for SpinTAC Position Move.
// Update SpinTAC Position Plan when the profile is completed
if(STPOSMOVE_getDone(stPosMoveHandle) != false) {
STPOSPLAN_setUnitProfDone(stPosPlanHandle, true);
}
else {
STPOSPLAN_setUnitProfDone(stPosPlanHandle, false);
}