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/CC2640: program CC2640 Power Management Mode

Part Number: CC2640
Other Parts Discussed in Thread: CC2650STK

Tool/software: TI-RTOS

Currently I am working to program the CC2640 between ActiveMode and StandbyMode.

The project was base on "simple_peripheral_cc2650lp_app" and get BLE working.

I also got the "swra486.pdf" for reference.

Just wondering, out from the SDK release ble_sdk_2_02_01_18, any project & files handle power which I can use as reference to confirm my software ?

I tried look up into "sensortag_cc2650stk_app" but not able to located the code.  May be I look into wrong folders.

Thanks

  • Hi Dilbert,

    I'm unsure what you mean by programming the device between Active and Standby Mode. If you're trying to change flash contents, it should only be done during active mode.

    If you're referring to how to enter standby, that's done when all tasks are idle or have pended on events. (If POWER_SAVING is defined)

    I recommend seeing how this define changes the power settings for ideas. (Many examples in the SDK have this, see simple_peripheral or sensortag)
    The sensortag project on my machine is at ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650stk

    Regards,
    Rebel
  • Hi Rebel,

    I am referring to TI-RTOS Power Modes Management of CM3.  I found the doc in TI-RTOS now.  I am calling following during Task initial time.

    Power_init();
    Power_enablePolicy();

    This should put CM3 into STANDBY mode while all Tasks calling "Task_sleep", correct ?

    Now, I have another question.  How could I reduce more power by shutting down (or STANDBY) the whole RF-Core

    during a power down state of my project.  Also, the restart sequence to ACTIVE.

    Thanks

    Dilbert

  • I try to use Task_sleep, but doesn't affect the power consumption. I'm looking for pinInterrupt example using sleep.