SWRA486A August   2015  – April 2017 CC1310 , CC2620 , CC2630 , CC2640 , CC2640R2F-Q1 , CC2650 , CC2650MODA

 

  1.   CC26x0, CC13x0 SimpleLink™ Wireless MCU Power Management Software Development
    1.     Trademarks
  2.   CC26x0, CC13x0 SimpleLink™ Wireless MCU Power Management Software Development
    1. 1 Abbreviations
    2. 2 Power Management Introduction
    3. 3 TI-RTOS Power Modes
      1. 3.1 Active Mode
      2. 3.2 Idle Mode
      3. 3.3 Standby Mode
        1. 3.3.1 Standby Enter Sequence
        2. 3.3.2 Standby Exit Sequence
      4. 3.4 Shutdown Mode
    4. 4 Implementation Considerations
      1. 4.1 Device Initializing
        1. 4.1.1 Low-Level Initializing
        2. 4.1.2 Initializating TI-RTOS
      2. 4.2 Recharging in Standby
      3. 4.3 Operating the DC-DC Converter
      4. 4.4 Configuring Device for External Input Interrupts and Wakeup
        1. 4.4.1 Interrupt and Wakeup from Active, Idle, and Standby
        2. 4.4.2 Wakeup from Shutdown Mode
      5. 4.5 Oscillators
        1. 4.5.1 High-Frequency Oscillators
        2. 4.5.2 Low-Frequency Oscillators
        3. 4.5.3 RC Oscillator Calibration
      6. 4.6 Auxiliary Domain
        1. 4.6.1 Powering on the Auxiliary Domain
        2. 4.6.2 Powering Down the Auxiliary Domain
        3. 4.6.3 Managing the Sensor Controller and the Auxiliary Domain Power
        4. 4.6.4 Sharing Resources Between the Sensor Controller and the Cortex®-M3
      7. 4.7 RTC
        1. 4.7.1 Initializing RTC
        2. 4.7.2 Configuring RTC Compare Events
      8. 4.8 Debugging Through Power Modes
      9. 4.9 Using Peripherals
    5. 5 References
  3.   Revision History

Standby Enter Sequence

Figure 2, Figure 3, and Figure 4 show the code sequence for taking the device into standby mode. A brief explanation of each step is also provided.

Figure_02_SWRA486.pngFigure 2. Standby Enter Sequence, Part 1
  1. Freeze the IOs on the boundary between MCU and AON– Latch (freeze) the input and output pins to avoid glitches when in standby. When the inputs and outputs are frozen, the current state of the inputs and outputs is retained while available to trigger wakeup to the Cortex-M3. To configure the inputs for wakeup from standby, see Section 4.4.1.
  2. If XOSC_HF is active, force it off– Turn off the high-speed crystal oscillator before entering standby. The hardware turns off the high-speed RC oscillator when entering standby. For details on how to configure the high-speed crystal oscillator, see Section 4.5.1.
  3. Allow AUX to power down– Disconnect the auxiliary domain from the MCU in standby.
  4. Make sure writes take effect– Ensure the writes to AON domain complete before continuing.
  5. Figure_03_SWRA486.pngFigure 3. Standby Enter Sequence, Part 2
  6. Query and save domain states before powering them off– Turn off all power domains before entering standby.
  7. Gate running deep sleep clocks for Crypto and DMA– Clear both the crypto and DMA deep-sleep clock enable bits before entering standby. For more information, see the PRCM:VDCTL register.
  8. Make sure clock settings take effect– Load the clock settings from the PRCM module.
  9. Request power off of domains in the MCU voltage domain–Turn off power domains inside the MCU voltage domain.
  10. Request uLDO during standby– Use this call to request to use the micro-LDO during standby. The system runs off the micro-LDO in standby.
  11. Figure_04_SWRA486.pngFigure 4. Standby Enter Sequence, Part 3

    10. If don't want retention in standby, disable it now...– Disable cache retention and turn off the VIMS power domain to achieve lowest power consumption in standby.

    10.1 Get current VIMS mode– Read the current VIMS mode.

    10.2 Wait if invalidate in progress...– Ensure that the VIMS mode remains the same.

    10.3 Disable cache RAM retention– Disable cache RAM retention.

    10.4 Turn off the VIMS– Set the VIMS mode to off. The cache is off and the Cortex-M3 reads instructions from flash.

    11. Setup recharge parameters– Configure safe recharge settings used when in standby. A XoscInHighPowerMode flag indicates that the high-frequency crystal oscillator is off in standby.

    12. Make sure all writes have taken effect— Ensure all AON writes have taken effect.

    13. Invoke deep sleep to go to STANDBY— Put the Cortex-M3 in deep-sleep through the WFI instruction to enter standby.