Dialog Semiconductor customer support - PWM duty https://support.dialog-semiconductor.com/resource-keywords/pwm-duty en PWM output become high level between one cycle. https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/pwm-output

Hello Dialog support team,

I want to change PWM duty dynamic(using Timer2).
There is phenom that PWM output become high level between one cycle.
I attach snapshot of PWM output.

I read "Figure 48: Timer 2 PWM Block Diagram" in DA14580 datasheet.
I think that this phenomenon is caused by a comparator of DUTY.
When T2_DUTY_CNTR equal PWM2_DUTY only, PWM output become Low level.
But when PWM2_DUTY set a value less than T2_DUTY_CNTR, PWM output keep High level between one cycle.

I think this phenomenon is occurring in the attached snapshot

Is this idea correct?
Could you tell me this workaround?

Best Regards,
Katsutoshi Imaizumi,

Keywords: 
Device: 
Thu, 20 Sep 2018 10:33:23 +0000 imaizumi.k 232886 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/pwm-output#comments