Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSCONFIG, TMS320F28377D
Hello ,
Is there a quick and easy way to count the number of index pulses from CLA, coming from an encoder.
At the moment i am polling the CLA_QEP_FLAG_IEL_EVENT flag in a CLA task and manually counting the index pulses. But i dont think this is reliable at high rotation speeds.
if (fclVars[1].ptrQEP->QFLG.all & CLA_QEP_FLAG_IEL_EVENT)
{
indexCount[1]++;
}
Is there a better way to do this from the QEP module directly?
Thanks!

