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.

CC1310: Will this put CC1310 to sleep?

Part Number: CC1310
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