Other Parts Discussed in Thread: CC2640, LAUNCHXL-CC2640R2
Tool/software: TI-RTOS
My project is based on SimpleBLEPeripheral, and both pwm / uart are used. The bluetooth is for transferring small amount data between cc2640 and smartphone, now works fine. I wrote a function to shutdown the power:
void PowerOff()
{
Uart_Close();
Power_releaseDependency(PERIPH_UART0);
Power_releaseDependency(PERIPH_GPIO);
Power_setConstraint(Power_TOTAL);//Power_SB_DISALLOW); //(Power_SHUTDOWN);//Power_SleepState);// (Power_STANDBY);
Power_shutdown(NULL);
}
This function could only shutdown the current from 2.5mA to 20uA, but not further to the level 0.1uA. Step by step, I found that if PowerOff() is placed anywhere in Simpleperipheral_Init() before initialing GAP and OAD, the current went down to 0.15uA. But not after GAP & OAD initialization code lines.
My understanding is : for some reason, Power_shutdown(NULL) did not shut off the bluetooth power. What should I do to completely shutdown CC2640 to reach <0.15uA power consumption?
Thanks in advance, Young