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.

CCS/CC2640R2F: Reduction Power consumption in battery mode operation

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2640, CC1350, SYSBIOS

Tool/software: Code Composer Studio

Hi,

I realized a custom board with CC2640R2F, I have two source current, a primary source from external electric network, and when there is a drop of it, the source current switch to the battery.

In the normal operation (electrical network) I run the internal RTC and others CC2640 function, in the battery mode I want that the device go in sleep mode and only the RTC is run to reduce the power consumption.

My question are:

1) I monitor the voltage electric network connecting it with a restistive partion at an ADC input, when it goes low I execute the Power_sleep to put the CC2640 in sleep mode and when the voltage go high I wake-up it.

But the Power_sleep doesn't work. I use the TI-RTOS and I have read that in this case the Power_sleep doesn't work and I try to call Task_sleep, So to test (without for now read ADC output) in the Task execution I try to call Power_sleep or Task_sleep but if I measure the current consumption with multimeter in no case there is a current reduction. 

I have try to define: POWER_SAVING and CC1350_LAUNCHXL to enable the code relate at power policy, but nothing happens.

What am I doing wrong?

 2) To use internal RTC in cfg file I add:

var Seconds = xdc.useModule('ti.sysbios.hal.Seconds');
Seconds.SecondsProxy = xdc.useModule('ti.sysbios.hal.SecondsClock');

but when I add it the code is blocked on the Task sleep execution. 

If I put a System_printf() after and before Task_sleep, only the first print is write on the console if I don't add the var Seconds....... in cfg all printf are execute.

Why?

Thanks.

Best regards.

Giuseppe