SWRA659A March   2020  – June 2020 CC3100 , CC3100MOD , CC3200 , CC3200MOD

 

  1.   CC3x00 Power Management Optimization and Measurements
    1.     Trademarks
    2. 1 Introduction
      1. 1.1 Getting Started
        1. 1.1.1 For CC3100
        2. 1.1.2 For CC3200
    3. 2 Prerequisites
      1. 2.1 For CC3100
    4. 3 Basic System Power Modes for CC3X00
      1. 3.1 Hibernate State
        1. 3.1.1 Measurement Tool
        2. 3.1.2 Expected Results
      2. 3.2 LPDS State
        1. 3.2.1 Measurement Tool
        2. 3.2.2 Expected Results
        3. 3.2.3 Active (Rx and Tx) States
          1. 3.2.3.1 Configuration Parameter
          2. 3.2.3.2 Expected Results
    5. 4 Power Profiles Use Cases
      1. 4.1 Use Case 1: Always Connected
      2. 4.2 Configuring Options
        1. 4.2.1 Expected Results
      3. 4.3 Use Case 2: Intermittently Connected
        1. 4.3.1 Configuration Options
        2. 4.3.2 Expected Results
      4. 4.4 Use Case 3: Transceiver Mode
        1. 4.4.1 Configuration Options
          1. 4.4.1.1 Expected Results
    6. 5 Power Management Application Bench Mark
      1. 5.1 How to Use
      2. 5.2 Example Usage for CC3200
      3. 5.3 Example Usage for CC3100
    7. 6 Current Consumption Measurements Setup
      1. 6.1 Current Measurement for Profiles and Active States
      2. 6.2 Oscilloscope With Current Probe
        1. 6.2.1 Tools Needed
        2. 6.2.2 FW Needed
        3. 6.2.3 Pre-Requisites / Things to Consider
        4. 6.2.4 Procedure
      3. 6.3 Mobile Communications DC Source
        1. 6.3.1 Tools Needed
        2. 6.3.2 FW Needed
        3. 6.3.3 Pre-Requisites /Things to Consider
        4. 6.3.4 Procedure
      4. 6.4 Static Current Measurements
        1. 6.4.1 Tools Needed
        2. 6.4.2 FW Needed
        3. 6.4.3 Pre-Requisites/Things to Consider
        4. 6.4.4 Procedure
    8. 7 References
  2.   Revision History

Example Usage for CC3200

This example will show how to run the application in "Intermittently connected" use case with static IP address and communicating via UDP socket.

  1. Connect the CC3200 Launchpad to a windows PC with a Micro-USB cable.
  2. Connect the current measurement tool.
    1. Check to make sure that all pull-ups, pull-downs, and resistors are in place (according the board measurement setup ECO).
    2. Remove the jumper from J6 and connect your current measurement tool.
  3. Open CCS (Code Composer Studio) and Choose File->import from the menu, choose the CCS project.
  4. Check the project "power_management" and press Finish.
  5. Open the sl_common.h file under "[sdk-path\example\common\]" , and configure your network parameters. Set values for the: "SSID_NAME","SECURITY_TYPE" and "SECURITY_KEY" defines.
  6. swra659-open-sl-common-h-file.pngFigure 19. Setting AP Information in the Code
  7. Open the main file from the project explorer in the CCS and configure the general & use case settings.
  8. swra659-open-main-file-from-the-project-explorer.pngFigure 20. Global Variables and Define Desired Use Cases
  9. Right click on the simplelink project and under the build configuration → set active select the "NON_OS_PM" option and recompile the simplelink project.
  10. swra659-select-active-non-os-pm-option.pngFigure 21. PM_CC3200_Configure NON_OS_PM Build Settings
  11. Build the power management project. A bin file will be created under the "power_managment/Release/" directory.
  12. Flash the device with the created bin file using UniFlash tool. For newbie with UniFlash please refer to the UniFlash user guide wiki.
  13. NOTE

    While flashing make sure that j15 jumper is shortened and no TeraTerm windows is open, otherwise the flashing process will fail.

  14. Launch Tera Term on the relevant com port, the serial number of the com port may differ. The baud rate should be set to 115200.
  15. swra659-launch-tera-term.pngFigure 22. Teraterm UART Setup
  16. Open the J15 jumper (CC3200 Launchpad rev3p2) and press the reset button the application should start running.
  17. swra659-open-j15-jumper-press-reset.pngFigure 23. Teraterm Application Termination