This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EQEP sticky bit

Hello!

Im using Enhanced Quadrature Encoder Pulse (eQEP) Module, which is described here: http://www.ti.com/lit/ug/sprug05a/sprug05a.pdf

And I have a problem with a sticky bit QEPSTS[COEF], which is a capture overflow error flag. Sometimes  I get this overflow, because only 16bit counter is used. And I need to see how many overflows I will get before I will have a time out  event and be able to perform speed calculation. Unfortunately, I can not reset this bit and this results into faults in my program.  Is there a way to reset this bit manually? Or any other way how can I exactly check how many overflows occured?