I have connected a incremental linear scale in QEI module 1 of DSPIC33EP512MU810 controller. if i move the scale i am getting pulses in increment of 1 but my qei module is 4x.
also the Repeat-ability of the pulses for a fixed linear distance is not same it fluctuates by 4 to 7 counts.
if i connect the same scale to DRO of the scale manufacturer i am getting exact pulses of for the fixed linear distance.
i have attached the wave form of the linear scale.
There's something wrong with the waveform, it's not the expected digital quadrature signal (50 % duty cycle, 90° degree phase shift). Scale wrongly connected?