Other Parts Discussed in Thread: ENERGYTRACE
Hi TI Team,
If I create a thread and it's just a while loop with Task_sleep(sleep_time) function in it, will that put the controller to sleep? Will the controller wake up every sleep_time?
void* mainThread(void *arg0) { while(1) { Task_sleep(sleep_time); } }
I also noticed when I remove the Task_sleep in the while loop, the power consumption will be quite high. How does TI RTOS know if the controller is idle and should be put to sleep?
Thanks,
OG