We have some IO-pins that are used for 2 purposes, and 1 purpose is the QEP. I believe that switching the GPIO functions from GPIO to QEP is causing an index-event within the peripheral. Then the next position-edge causes a false position-count reset.
I tried setting QCLR.bit.IEL = 1, but that did not work; can the index-event within the peripheral be reset at run time?
Thanks,
Jim