Skip to main content
takita
Visitor II
March 23, 2010
Question

How many Encoders can be read at same time

  • March 23, 2010
  • 1 reply
  • 544 views
Posted on March 23, 2010 at 14:32

How many Encoders can be read at same time

    This topic has been closed for replies.

    1 reply

    Tomas DRESLER
    Associate II
    May 17, 2011
    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.