AnsweredAssumed Answered

STM32F429 Input pulse capture w/ compare?

Question asked by phelan.christopher on Sep 26, 2014
Latest reply on Sep 26, 2014 by Clive One
Greetings. I am trying to determine the best methodology to capture an input pulse train (from a motor encoder), compare the input count to a set point, and generate an event when the input count reaches the setpoint. I know I can set a timer up for input capture, generate an interrupt per pulse, and count/react in the ISR, but I'd rather not deal with the processor burden of excessive interrupts. It seems like I want a hybrid of input capture and output compare, but I'm not sure of the best way to accomplish this. Options?

Ideally the solution would work for timer 10 because that is what we have allocated for the current system, but maybe we can shuffle things around if there is a compelling reason to do it.

Any help would be greatly appreciated.