Solved
2 PWM outputs synchronize -- not synchronize after 2nd PWM output start
- September 14, 2023
- 3 replies
- 9932 views
Once I posted the issue about 2 PWM outputs synchronize.
https://community.st.com/t5/stm32-mcus-products/2-pwm-outputs-is-this-possible/td-p/587654
Now every 1st time after power on (or CPU reset if connected with IDE/Programmer) it works exactlly synchronized, but after 2nd start or afterward slave output timing is randomly skewed with master output.
What's wrong here?
-TIM2 = master .. trigger on counter overflow

-TIM3 = slave

-codes

I wonder that once timer start synchronous why timing is skewed only by PWM start or stop??
I cannot find difference in dumped registers.. configuration, 1st start, and 2nd start. ...see attached.
I'm glad to hear someone can advise.
kindly regards

