2015-08-21 05:02 AM
Hello
I'm faced to the Problem that I do have to use TIM2 channel 4 for Input capture. I know that channel 4 can not be used like 1 to 3. But I thaught I can use the channel 4 to get edges and take CCR4 as counter to take its value each time I detect an positive edge. I get an IRQ each time a positive edge occurres but CCR4 doesn't count up. To compare the behaviour I'm using TIM3 channel 1 where it works well with the same configuration (of course TIMx is different) as simple input capture. Does anyone know where the difference can be? Thanks #stm322015-08-21 07:49 AM
It should latch the current counter value, but it doesn't intrinsically ''count''. Determine why the counter isn't advancing.
I can't deduce what you're doing wrong with the details you've provided.