Part Number:CC1350
Tool/software: TI-RTOS
Hi,
I modified pinstandby code slightly and found something weird.
Basically I modified the code to be like:
sleep(7200);
PIN_setOutputValue(hPin, Board_PIN_LED1, 1);
sleep(100);
PIN_setOutputValue(hPin, Board_PIN_LED1, 0);
I did three test:
1. Let the board "sleep(7200)" and then blink the led for "sleep(850)" :
Result: The LED turned on after 48 min(*instead of 2 hours*) and correctly stayed for 850s
2. Try with "sleep(3600)" and then blink the led for "sleep(100)":
Result: The LED correctly turned on after 60 min and stayed for 100 s
3. Try with "sleep(3600)" then "sleep(3600)" then blink the led for "sleep(100)":
Result: The LED correctly turned on after 120 min and stayed for 100 s
Anyone knows what really happened here? why sleep(7200) does not work properly while sleep(3600) does? Same problem on CC1310 Lauchpad.
Thanks,
YOYO