2021-05-10 04:12 AM
Hi all,
I am facing a very weird issue with PWM on my STM32H723.
I am generating a very fast PWM with TIM3 (TIMx_ARR = 10, TIMx_CCRx = 5, Timer Clk 275 MHz). However, the very first pulse is clearly way too long:
Does anyone have an Idea where this comes from?
This is my cube-mx config I used:
2021-05-10 04:21 AM
Ah, nevermind, just found the reason. CH Polarity high is causing the channel to be set high before the PWM actually starts.