timer in quadrature mode and prescale or chaining
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-02-09 2:36 AM
Posted on February 09, 2009 at 11:36
timer in quadrature mode and prescale or chaining
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:02 AM
Posted on May 17, 2011 at 13:02
Hi andy,
Hope that this application note can be helpful: AN2592: ''How to achieve 32-bit timer resolution using the link system in STM32F101xx and STM32F103xx microcontrollers'' B.R. M3allemOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:02 AM
Posted on May 17, 2011 at 13:02
I need more than 16 bits of range while following quadrature signals.
The prescaler seems to ignore the direction bit, which leads to accumulating errors as the direction changes. There doesn't appear to be a direct way to cascade two timers, no hint of having the direction bit of one be used by the other. Has anyone successfully gotten either prescale or chaining work in encoder mode?Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:02 AM
Posted on May 17, 2011 at 13:02
I've read it a bunch of times and it implies that what I want can't be done. It nowhere suggests that the direction of one timer can be slaved to the encoder section of another timer.
