DA14580 PWM duty cycle value

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
HIDESHI TSUTSUKI
Offline
Last seen:2 years 9 months ago
加入:2017-10-13 07:10
DA14580 PWM duty cycle value

I have a question about DA14580.
When changing the duty ratio with timer2_set_pwm2_duty_cycle () The PWM output value (GPIO pin) sometimes become High for one cycle of PWM.
What are the possible causes for this phenomenon?

Keywords:
Device:
PM_Dialog
Offline
Last seen:1 day 18 hours ago
工作人员
加入:2018-02-08 11:03
Hi HIDESHI TSUTSUKI,

Hi HIDESHI TSUTSUKI,

Could you please check the timer2 peripheral example of the SDK? That example demonstrates dynamic change of the PWM2 duty cycle using the timer2_set_pwm2_duty_cycle () function. I am not able to replicate your issue, so could you please provide more information about this?

Thanks, PM_Dialog