Part Number: CC2640R2F
Tool/software: Code Composer Studio
Hello: I used the pinstandby example in the nortos sample for development.
When burning into cc2640r2f, I found that the current could not be reduced to 1.1ua. My specific operation is as follows.
Some programs are annotated on the program. The annotated part is as follows. I want to ask how to operate if I want to reduce the current to about 1.1ua
PCB of circuit board refers to 5 * 5 circuit in datasheet of cc2640r2f, without other peripheral devices.
void CC2640R2_LAUNCHXL_initGeneral(void)
{
Power_init();
//if (PIN_init(BoardGpioInitTable) != PIN_SUCCESS) {
/* Error with PIN_init */
//while (1);
}
/* Perform board-specific initialization */
//Board_initHook();
}
void *mainThread(void *arg0)
{
//PIN_State pinState;
//PIN_Handle hPin;
uint32_t currentOutputVal;
uint32_t standbyDuration = 5;
/* Allocate LED pins */
//hPin = PIN_open(&pinState, LedPinTable);
/*
* Repeatedly sleeps for a duration, to allow repeated entry/exit
* from standby. The LED states are toggled on each iteration
*/
while(1) {
/* Sleep, to let the power policy transition the device to standby */
sleep(standbyDuration);
/* Read current output value for all pins */
//currentOutputVal = PIN_getPortOutputValue(hPin);
/* Toggle the LEDs, configuring all LEDs at once */
//PIN_setPortOutputValue(hPin, ~currentOutputVal);
}
}
In fact, only sleep is left.