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.

CC3235SF: Power consumption of CC32xx SDK examples

Part Number: CC3235SF

Tool/software:

Hi 

In this threadRogelio says that "There is not a way to set the device to LPDS mode through code", but we don't understand what that means. Can you explain it to us?

1.  Rogelio said that the power managerment can be enabled via syscfg, do you know which example has power management enabled? or do you know hwo to enable the power maangement via syscfg?

2.  We checked the "Power Measurement" example, our configuration was "Always Connected mode for LPDS" and the measurement was around 10mA (which seemed normal). Then we checked the "out of box" example, the measurement was around 50mA. The result seems to be that both projects have different power manager policies, do you know hwo to configure the "out of box" example to "Always Connected mode for LPDS" mode?

Thanks.

BR

Trevor

  • Any updates on this thread?

    We check the "Power Measurement" example, the related functions of power measurement, such as : Power_enablePolicy() and  sl_WlanPolicySet(). Do we still need to configure the syscfg?

    Thanks.

    BR

    Trevor

  • Hi Trevor,

    It seems as though the policy is not enabled by default in the out of box demo.

    Please enable it by pressing the checkbox or calling the api.

    Best,

    Rogelio

  • Hi Rogelio, 

    We enable the checkbox in syscfg and rebuild the project, then it just gererates the PowerCC32XX_config, our question is do we need to call Power_init() function ourselves,? We found that the following structures are not used in the workspace.

    const PowerCC32XX_ConfigV1 PowerCC32XX_config = {
        .policyInitFxn             = PowerCC32XX_initPolicy,
        .policyFxn                 = PowerCC32XX_sleepPolicy,
        .enterLPDSHookFxn          = NULL,
        .resumeLPDSHookFxn         = NULL,
        .enablePolicy              = true,
        .enableGPIOWakeupLPDS      = true,
        .enableGPIOWakeupShutdown  = true,
        .enableNetworkWakeupLPDS   = true,
        .wakeupGPIOSourceLPDS      = PRCM_LPDS_GPIO13,
        .wakeupGPIOTypeLPDS        = PRCM_LPDS_FALL_EDGE,
        .wakeupGPIOFxnLPDS         = NULL,
        .wakeupGPIOFxnLPDSArg      = 0,
        .wakeupGPIOSourceShutdown  = PRCM_HIB_GPIO13,
        .wakeupGPIOTypeShutdown    = PRCM_HIB_RISE_EDGE,
        .ramRetentionMaskLPDS      = PRCM_SRAM_COL_1|PRCM_SRAM_COL_2|PRCM_SRAM_COL_3|PRCM_SRAM_COL_4,
        .latencyForLPDS            = 20000,
        .keepDebugActiveDuringLPDS = false,
        .ioRetentionShutdown       = PRCM_IO_RET_GRP_0|PRCM_IO_RET_GRP_1|PRCM_IO_RET_GRP_2|PRCM_IO_RET_GRP_3,
        .pinParkDefs               = parkInfo,
        .numPins                   = 31
    };

    BR

    Trevor