Page 6 of 6
Re: ICU and timer channel?
Posted: Sun Dec 16, 2012 8:05 pm
by trunet
Is it possible to use both channels 1 and 2 at same time on different callbacks with this patched ICU driver?
Re: ICU and timer channel?
Posted: Sun Dec 16, 2012 8:26 pm
by Giovanni
Hi,
It is not possible, the TIM timers support one ICU channel at time.
Giovanni
Re: ICU and timer channel?
Posted: Fri Apr 25, 2014 1:13 pm
by tamas
Dear Giovanni,
I would like to use the ICU driver on STM32F4 Discovery board. The ICU driver 1 works fine on PE9 (configured as Tim1 CH1).
But when I want to use the PB0 (configured as Tim1 CH2N) as ICU input, unfortunately it doesn't work.
Can ICU driver support the negated timer channel?
Re: ICU and timer channel?
Posted: Fri Apr 25, 2014 2:42 pm
by Giovanni
Hi,
It can't, it can use only CH1 or CH2, if I remember well it is an STM32 limit.
Giovanni