Other Parts Discussed in Thread: CC3200, ENERGIA
Hi, I'm very new to TI-RTOS and CCS6, I'm using a CC3200 launchpad xl
I'm trying the gpiointerrupt_CC3200_LAUNCHXL_TI example from TI-RTOS
I want to set the MCU to LPDS, from reading this pdf: www.ti.com/.../sprui18c.pdf
I was able to understand that TI-RTOS already has power management and so I looked at the CC3200_LAUNCHXL.c file within the project example and was able to find the following:
/*
* =============================== Power ===============================
* In this configuration, Power management is disabled since runPolicy
* is set to 0. Power management can be enabled from main() by calling
* Power_enablePolicy(), or by changing runPolicy to 1 in this structure.
*/
const PowerCC3200_Config PowerCC3200_config = {
.policyInitFxn = &PowerCC3200_initPolicy,
.policyFxn = &PowerCC3200_sleepPolicy,
.enterLPDSHookFxn = NULL,
.resumeLPDSHookFxn = NULL,
.enablePolicy = false,
.enableGPIOWakeupLPDS = true,
.enableGPIOWakeupShutdown = false,
.enableNetworkWakeupLPDS = false,
.wakeupGPIOSourceLPDS = PRCM_LPDS_GPIO13,
.wakeupGPIOTypeLPDS = PRCM_LPDS_FALL_EDGE,
.wakeupGPIOSourceShutdown = 0,
.wakeupGPIOTypeShutdown = 0,
.ramRetentionMaskLPDS = PRCM_SRAM_COL_1 | PRCM_SRAM_COL_2 | PRCM_SRAM_COL_3 | PRCM_SRAM_COL_4
};
The comment above says that if I place Power_enablePolicy() in main, the power management should work.
I then measure the current in J12 just like it is instructed in the User's guide, picture below:
The problem I see is that I am always reading around 20mA, whether the LED is on or not, shouldn't the MCU go to LPDS when the LED is off?
Any help is appreciated, let me know if I'm missing something or if I am doing something wrong.
Thank You!

