TIM2 with encoder interface
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2009-08-17 5:30 PM
Posted on August 18, 2009 at 02:30
TIM2 with encoder interface
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-17 4:20 AM
Posted on May 17, 2011 at 13:20
I configured TIM2 by using encoder interface mode. I want the counter to count the encoder signal of the quadrature encoder. After I finished initialize everything I tried to debug and found that it cannot count the signal more than 65535 in both of direction of motor rotation (because the clock of TIM is 16 bits) So I want to know how to modify the code if I want a counter to count more than 65535 in both direction of motor rotation. Who know explain step by step for me please... I'm a rookie ...Thank for all answers.
