ICU and timer channel?
Moderators: RoccoMarco, lbednarz, tfAteba
Re: ICU and timer channel?
Is it possible to use both channels 1 and 2 at same time on different callbacks with this patched ICU driver?
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: ICU and timer channel?
Hi,
It is not possible, the TIM timers support one ICU channel at time.
Giovanni
It is not possible, the TIM timers support one ICU channel at time.
Giovanni
Re: ICU and timer channel?
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?
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?
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: ICU and timer channel?
Hi,
It can't, it can use only CH1 or CH2, if I remember well it is an STM32 limit.
Giovanni
It can't, it can use only CH1 or CH2, if I remember well it is an STM32 limit.
Giovanni