2020-03-06 12:21 PM
Hi,
Is there a way to create trigger event on each rising pulse of external clock gated by internal clock?
The closest that I got is to create trigger event on each 2nd pulse of external clock.
I use TIM2 in gated mode triggered by internal clock, ETR2 as clock source, Channel1 used in Output compare mode, it counts to 2 and creates overflow.
(TRGO shows the trigger event received by TIM1 in retriggerable Mode triggered by TIM2)
I want to create trigger event on each rising pulse and not just the 2nd one!
I can't use Interrupts because of timing constraints.
I'll be glad for any suggestions.