AnsweredAssumed Answered

Update pwm duty cycle at rising edge

Question asked by christophosterloh on May 28, 2019
Latest reply on May 29, 2019 by Robin_Shen

Hello,

I have a problem with the settings of my pwm (K27). I'm updating the duty-cycle periodically. But even if the old and new duty cycle are the same, I see a jitter on my scope. Here, the "high" phase of the output signal is longer than it should be (e.g. 22us inset of 13us). So it seems that the couter is always started during a "high" phase. Is there any possibility to adopt the new duty cycle at a rising edge? I've tried several combinations of SWRSTCNT, SYNCMODE a.s.o, but did not find the correct combination.  

Do you have any ideas?

Outcomes