2024-07-22 09:36 AM
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
2024-07-22 10:25 AM
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
2024-07-22 11:27 AM
Try to draw a timing diagram, what are trying to achieve, displaying all the involved input and output signals, in all possible situations.
JW