STM32 PWM Generate when Input Capture Update Event
Hi, I'm doing a project with STM32F769I-EVAL.
In my project, I set Timer 2 Channel 1 to input capture mode, and I made a clock to TIM2 CH1 Pin with Function Generator. And Timer 5 Channel1 to PWM Generation CH1 to make a PWM.
I calculate frequency of input clock and set same frequency to Timer 5 and start HAL_TIM_PWM_Start and It works succefully.
Now, I wonder how to generate PWM same phase with Input clock.
Can I generate TIM5 PWM signals when Timer 2 update event occurs to generate same phase with Input clock and TIM5 PWM Signals?
