aha!!! get rid of pull down resistors. And change the RC filter to just an R filter. 1k in series for index, qea, and qeb to the inputs of the microcontroller, and NO capacitance after that. The dspic has a "glitch ignore" feature. The RC time constant will just slow things down and confuse the quadrature encoder interface.
Or if you really want pull down resistors, just use something like 47k or 100k instead of whatever you are using. IT's too strong right now.
|