Hi,
It's my understanding that TI-RTOS controls a power mode of CC1310 optimally.
Is there any good way to fix the power mode to active mode from the application side?
Best regards,
Seishin
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.
Hi,
what do you mean by "fix the power mode to active mode"? Do you want to prevent the mcu from going into standby? You can achieve this by disabling the idle task in the application .cfg file. Unless you control the power mode manually in your application, this will keep the mcu in active mode, even when no task is running.
/* * 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;
Does this answer your question?
Richard