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.

cc2530 PM3 Wake up?

i hope you can help me out... i just setting PM3.


/** Test Sleep main program **/
#include <iocc2530.h>

void main(void)
{
 SLEEPCMD = (SLEEPCMD &  ~0x03) | 0x03; ,<-  PM3 set ?
 PCON |= 0x01;
}

current used

active mode(SLEEPCMD =0x00):  18 mA waste,

PM3 mode

(SLEEPCMD = (SLEEPCMD &  ~0x03) | 0x03): 117 μA <- PM1? (PM3 -> 0.4 μA)

it's right?

CC253X User Guide(Rev.A) P61

Power-mode setting(SLEEPCMD)

00: Active / Idle mode
01: Power mode 1 (PM1)
10: Power mode 2 (PM2)
11: Power mode 3 (PM3)

 

 

 

  • Is 18 mA measuered with the radio off? If so, you have additional power consumption on your board. This could be due to other components on your board or load on the I/O. What board do you use when you measure the current consumption? Note also the following when measuring power consumption in low-power modes:

    • If you are in debug mode, the current consumption will be as in PM1, so you need to be out of debug mode.
    • All I/Os that are connected must be configured so that they do not drive any current (e.g, if connected to a LED the LED must be off)
    • All input pins that are driven externally must be configured as tri-state or be pulled to the same level as the external drive. So if a pin is driven low externally, the reset configuration of pull-up must be changed.
    • All un-connected I/O must be in a defined state (VDD or ground). For most I/O pins, the reset setting of a pull-up is OK. However P1.0 and P1.1 do not have pull-up/pull-down, and must be configured as outputs if not connected.
  • Thanks for your answer

    we want to know power mode 3 setting method,

    SLEEPCMD = (SLEEPCMD &  ~0x03) | 0x03;
    PCON |= 0x01;

    we setting like that but total power consumption is 117uA,
    in the specification pm3 mode is 0.4uA consumption.

    what is the correct method for pm3 setting

  • This is a correct method for setting PM3, although you should make sure that the PCON = 1 (no need for |= - there are no other bits in PCON) instruction is aligned in memory according to Section 4.2 in the user guide. If you see a current consumption of 117 uA, the problem is not in the instruction taking you to sleep. You should check the items I listed previously. What board are you using, and how do you measure the current consumption?