I am using the hardware encoder library which is working well thus far.
I have an application that would benefit greatly from the measurement of the phase angle over time ie the phase shift between the A and B channels on the encoder input(s).
The uC reference manual does note specifically state this is possible but I am wondering if a time delta can be obtained for the difference between A and B channels and then based on the count rate this could be used to calculate the phase angle.
Has anyone done this before?
Craig
I have an application that would benefit greatly from the measurement of the phase angle over time ie the phase shift between the A and B channels on the encoder input(s).
The uC reference manual does note specifically state this is possible but I am wondering if a time delta can be obtained for the difference between A and B channels and then based on the count rate this could be used to calculate the phase angle.
Has anyone done this before?
Craig