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 CC3100

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

  1. Connect Micro-USB cable from J401 on the MSP430 Launchpad to a windows PC.
  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 CCS project.
  4. Under select search directory, enter the path: C:\ti\CC3100SDK_1.0.0\cc3100-sdk\platform\msp430f5529lp\example_project_ccs.
  5. Check the project "power_management" and press Finish.
  6. Open the sl_common.h file located at the path C:\TI\CC3100SDK_1.0.0\cc3100-sdk\examples\common\, and configure your network parameters.
  7. swra659-open-sl-common-h-file.pngFigure 24. Setting AP Information in the Code
  8. Open the main file from the project explorer in the CCS and configure the general & use case settings.
  9. swra659-open-main-file-from-the-project-explorer.pngFigure 25. Global Variables and Define Desired Use Cases
  10. Launch Tera Term on the relevant com port , the serial number of the com port may differ.
  11. swra659-launch-tera-term-on-relevant-com-port.pngFigure 26. Teraterm UART Setup
  12. Press F11 on the CCS window, and let the application run. On successfully termination you should see in the Tera Term outputs similar to Figure 27.
  13. swra659-press-f11-on-the-css-window.pngFigure 27. Teraterm Application Termination
  14. The next sniffer snapshot corresponds to the traffic initiated by the application in one hibernate → active → hibernate cycle:
  15. swra659-hibernate-active-hibernate-cycle.pngFigure 28. Sniffer Snapshot of Intermittently Connected Mode

The current measurement graph should look like this graph of Graph of 3 active cycles for intermittently connected mode. In each state connection is reestablished and one UDP packet is sent.

swra659-active-cycles-for-intermittently-connected-mode.pngFigure 29. Active Cycles for Intermittently Connected Mode