cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4x TIMER ETR

vbesson
Senior

Hello, 

I am configuring a PWM Timer and I would like it to by triggered by ETR, 

the PWM is a 99 period, 50 duty cycles, with auto reload enable. 

I would like to have the PWM to be restarted (resync in a sort) at each etr rising pulse. ETR Pulse does not respect a proper frequency...

is it possible ? if yes how to do it ? 

thanks 

Vincent

 

 

2 REPLIES 2
vbesson
Senior

having a deeper look at the doc, the way to do it would be :

- TIM2 with ETR trigger that generate an reset event to a slave timer (TIM4 for ex)

do I really need to have 2 linked timers, is there another way ? 

Vincent

 

Try to draw a timing diagram, what are trying to achieve, displaying all the involved input and output signals, in all possible situations.

JW