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.

Help to wake up CC2538 chip (Contiki) from PM2/PM3 low power modes

Other Parts Discussed in Thread: CC2538, CC2538-SW

Dear TI Engineers,

 I am using CC2538 (EM) over SmartRF06 Evaluation Board (EB). In order to measure current consumption during low power modes, I have put the CC2538 chip in the PM2 low power mode using the following two lines in my code.

lpm_enter();

REG(SYS_CTRL_PMCTL) = SYS_CTRL_PMCTL_PM2;

Is this the correct way to make the device to go to sleep/low power mode?

I now wish to wake up the CC2538 chip from this PM2 state after a delay of say 10 seconds and return to PM0 (active) state.

(In order to achieve this, I have tried lpm_exit(); and REG(SYS_CTRL_PMCTL) = SYS_CTRL_PMCTL_PM0; but with no success.)

Thanking you,

Indrajit

  • Hi,

    CC2538 can exit PM2 using Pin interrupts or sleep mode timer. Please refer to cc2538 user guide : http://www.ti.com/lit/ug/swru319c/swru319c.pdf . You may also consult sleep mode example in cc2538 foundation software : http://www.ti.com/tool/cc2538-sw .cc2538  Power consumption measurement document :http://www.ti.com/lit/an/swra456/swra456.pdf

    Saurabh