cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create Trigger Event on each pulse of external clock gated by internal clock?

F_Semion
Associate

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.

0690X00000DYu1ZQAT.png

0690X00000DYu1eQAD.png

(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.

0 REPLIES 0