Tool/software: Code Composer Studio
Hi,
I just try PWM driver for control LED and it works well.
Then I found that it spend a lot of power when I change state to WoR mode even I set PWM duty to 100% and 0%.
(LED0 configured as high active, LED1 configured as low active).
I try to set LED pin to gpio output when go to WoR mode and set LED pin to PWM when wake up form WoR but not working.
My driver usage:
static PWM_Handle pwm1 = NULL;
pwm1 = PWM_open(Board_PWM0, ¶ms);
PWM_start(pwm1);
PWM_stop(pwm1);
PWM_close(pwm1);
GPIO_setConfig(Board_GPIO_LED0, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_HIGH); // set to gpio mode
pwm1 = PWM_open(Board_PWM0, ¶ms); // here return NULL
PWM_start(pwm1);// If skip PWM_open, just try PWM_start() still doesn't work.
Thank you.