Part Number:CC1310
Tool/software:TI-RTOS
Hi ,
I am using cc1310.
Currently we are working on current consumption of our product.
For testing I run only one task that immediately goes to sleep forever.
Here the fragment of TI RTOS configuration file:
/*
* Enables the idle task.
*
* Pick one:
* - true (default)
* Creates a task with priority of 0 which calls idle hook functions. This
* option must be set to true to gain power savings provided by the Power
* module.
* - false
* No idle task is created. This option consumes less memory as no
* additional default task stack is needed.
* To gain power savings by the Power module without having the idle task,
* add Idle.run as the Task.allBlockedFunc.
*/
//Task.enableIdleTask = true;
//Task.enableIdleTask = false;
Task.allBlockedFunc = Idle.run;
But in the IAR ti.sysbios.knl.Task Basic window we see :
i.e. ti.sysbios.knl.Task.idleTask is running.
In the scope( we measure the voltage we see pick every 60-70 msec).
And the only task running is Kernel IdleTask.
I tried another configuration:
Task.enableIdleTask = false;
Task.allBlockedFunc = Idle.run;
In the IAR ti.sysbios.knl.Task Basic window we see :
i.e. ti.sysbios.knl.Task.idleTask is not exists.
In this case in the scope we see picks every 3 sec
Q: What is the right configuration of the Idle Task if we want to gain power savings provided by the Power
? module.