cancel
Showing results for 
Search instead for 
Did you mean: 

How many Encoders can be read at same time

takita
Associate
Posted on March 23, 2010 at 14:32

How many Encoders can be read at same time

1 REPLY 1
Tomas DRESLER
Senior II
Posted on May 17, 2011 at 13:44

Depends on frequency of signals.

If they are very fast (100kHz -> 10 MHz), you have to use timers in encoder mode. In such case each timer can handle one encoder and each such timer needs CC1 & CC2 or CC3 & CC4. So you have to check the datasheet and search, which timers have either of these CC pairs available.

For lower frequencies, you may use a combination of above method and some external interrupt sampling (with lower resolution, probably) with a SW counting pulses in interrupts.