PWM duty not set correct in RTOS SDK

hreintke
Posts: 9
Joined: Fri Jan 08, 2016 6:56 am

PWM duty not set correct in RTOS SDK

Postby hreintke » Mon Feb 15, 2016 6:13 pm

LS,

When multiple setduty(...);pwm_start() are called to fast, pwm is not correctly set.

When using :

Code: Select all

setduty(..);pwm_start()
wait some time
setduty(..);pwm_start()


It works OK,
But when using :

Code: Select all

setduty(..);pwm_start()
setduty(..);pwm_start()


pwm behavior is not correct.
As the setduty(..);pwm_start() can come from different threads, interrupts. There cannot be a guarantee that there is a long enough period between the two calls.

hreintke
Posts: 9
Joined: Fri Jan 08, 2016 6:56 am

Re: PWM duty not set correct in RTOS SDK

Postby hreintke » Sun Mar 06, 2016 5:28 pm

Espressif,

Can you react in this issue.
It showed that also the NONOS version has the same erratic behavior.

As we are using it in an framework implementation (Sming) there is no possibility to enforce the timing between the setDuty(..);pwm_start(), setDuty(..);pwm_start()

hreintke
Posts: 9
Joined: Fri Jan 08, 2016 6:56 am

Re: PWM duty not set correct in RTOS & NONOS SDK

Postby hreintke » Fri Mar 25, 2016 3:48 pm

Espressif,

Again the request to reply to this issue.
this issue really hampers the use of pwm functionality.

Tested also in the NONOS version with the same results

Who is online

Users browsing this forum: No registered users and 5 guests