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.

RTOS/CC2650: RTOS/CC2650: Unexpected CPU Sleep behavior

Part Number: CC2650
Other Parts Discussed in Thread: TIMAC,

Tool/software: TI-RTOS

Hello Experts,

I am currently working on TIMAC - Power management module for cc2650

IAR Workbench version - 7.40.2.8570, TIMAC - 1.5.2, TIRTOS - 2.11.01.09(For SimpleLink Wireless cc 26xx MCUs this is the latest version).

I have a requirement to wake up the CPU every 5 seconds do its job and sleep, during sleep time i also want to turn off the RF.
I have used the below statements to achieve my requirement.

MAC_MlmeSetReq(MAC_RX_ON_WHEN_IDLE, &msa_MACFalse);
Task_sleep(5Seconds);

However, the call to Task_sleep(5Seconds); is not putting the CPU in sleep mode.
The current drawn during this time(5 seconds) is nearly 12mA and both 32Khz and and 24Mhz oscillators are also on.
hence, i used MAC_MlmeSetReq(MAC_RX_ON_WHEN_IDLE, &msa_MACFalse); additionally to turn off the RF.
Once MAC_MlmeSetReq(MAC_RX_ON_WHEN_IDLE, &msa_MACFalse) is called, CPU is permanently sleeping and not waking up. Both 32Khz and and 24Mhz oscillators are turned off.

Please suggest if there is something wrong with my apporach.

Best regards
--Naveen