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 Exit Sequence

Figure 5 and Figure 6 show the code sequence for taking the device out of standby mode. A brief explanation of each step is also provided.

Figure_05_SWRA486.pngFigure 5. Standby Exit Sequence, Part 1

14. If didn't retain cache in standby, re-enable retention now— Enable cache after waking up from standby if cache retention was disabled.

15. Force power on of AUX to keep it on when system is not sleeping; this also counts as a write to the AON interface ensuring that a following sync of the AON interface will force an update of all registers— To access the OSC_DIG registers to configure the oscillators, force the auxiliary domain on after waking up from standby.

16. If XOSC_HF was forced off above, initiate switch back— Turn on the high-speed crystal oscillator if it was enabled before entering standby. For details on how to configure the high-speed crystal oscillator, see Section 4.5.1.

17. Restore power domain states in effect before standby— Turn on all power domains that were on before entering standby.

18. Restore deep sleep clocks of Crypto and DMA— Restore deep-sleep clock settings for Crypto and DMA modules as they were before entering standby.

19. Make sure clock settings take effect— Load clock settings into PRCM for them to take effect.

Figure_06_SWRA486.pngFigure 6. Standby Exit Sequence, Part 2

20. Release request for uLDO— Release the micro-LDO request to disable running on the micro-LDO when entering idle.

21. Set transition state to EXITING_SLEEP— TI-RTOS-specific code

22. Signal clients registered for early post-sleep notification; this should be used to initialize any timing critical or IO dependent hardware— Signal peripheral drivers to reinitialize their state because modules without retention lose their contents. TI-RTOS-specific code. For details on which modules have retention, see (CC13x0, CC26x0 Technical Reference Manual ).

23. Disable IO freeze and ensure RTC shadow value is updated— Open the input and output latches. Because the peripheral drivers have been reinitialized, inputs and outputs have no glitches.

24. Re-enable interrupts— Re-enable interrupts. TI-RTOS-specific code

25. Signal all clients registered for late post-sleep notification— The peripheral drivers do not use this notification. (TI-RTOS-specific code)

26. Now clear the transition state before re-enabling scheduler— TI-RTOS-specific code

27. Re-enable Swi scheduling— TI-RTOS-specific code

28. Adjust recharge parameters— Adjust the recharge settings to optimize power consumption the next time the application enters standby mode.