This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/LAUNCHXL-CC2650: PWM example on CC2650 launchpad - odd behavior

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650

Tool/software: TI-RTOS

Hi, 

I'm trying to evaluate PWM functionality on CC2650.

I've downloaded PWM example (through resource explorer) and run it 'as-is' (TI RTOS version 2.21.0.06) on CC2650 Launchpad (V1.3 & V1.2).

I get an odd behavior - The Red LED is somewhat flickering to the bare eye and does not change its intensity.

However, when I put break-point within the pwmLEDFxn() task (on the call to Task_sleep())  and resume it immediately, the LED seem to change intensity as expected...

It seems as there is another task running that interfere with the LED (ROV shows nothing....)

Maybe the power manager need to be tweaked in some way ??

Any advice is appreciated.

Thanks

  • How are you changing the intensity, are you changing the duty cycle of the PWM?

    Best wishes
  • I'm changing intensity by setDuty() api

    Something strange is going on - 

    When changing the Task_sleep() delay  from arg0 (which is 50 ms) to something longer (say 2000ms), I see the Led intensity pulsating with 2000ms period (i.e. intensity increase to maximum and decrease to zero every 2000 ms)

    However using the default 50ms delay flickers the Led.... (at 50 ms period ???)

    It surely doesn't work as expected....