cancel
Showing results for 
Search instead for 
Did you mean: 

timer in quadrature mode and prescale or chaining

andy239955_stm1
Associate II
Posted on February 09, 2009 at 11:36

timer in quadrature mode and prescale or chaining

3 REPLIES 3
sofiene
Associate III
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.

M3allem

andy239955_stm1
Associate II
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?

andy239955_stm1
Associate II
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.