
Originally Posted by
Joe Hershberger
Have you tried playing around with the averaging? Does it have any effect on the behavior you are seeing? To you get the same alternating behavior in all 3 decoding modes? When you say one revolution, do you actually mean there is a sharp change in the reported rate after every 128 counts of the counter?
If you want to get a digital waveform and your signal is pretty fast, then you probably need to use DMA (not available in the library yet)... if it is pretty slow, you could plot it using interrupts and the timestamps they record.