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

Use Case 2: Intermittently Connected

This profile is for devices that need to operate between long time intervals. In this mode, the device is in Hibernate state between working cycles, the lowest power consumption possible state. Almost all the device's components are shut-down, hence when waking up a new connection needs to be established. Optimizations were integrated in order to reduce the power consumption cost of this periodic reconnection, these are:

  • Working with static IP (when possible) in order avoid DHCP.
  • Set the connection policy to work with fast connect, which means that the device will first try to re-establish the previous connection.
  • Disable Scan, as in this case we probably stay in the same channel and network (AP).
  • Disable mDNS.
swra659-use-case-2-intermittently-connected.gifFigure 9. Use Case 2: Intermittently Connected

A good representation of a code for such case is:

//Configurations Done once – every exit from hib sl_start(0,0,0); sl_NetCfgSet(…) ; // set static IP address to the device sl_WlanPolicySet(...); // disable scan sl_WlanPolicySet(…); // set fast connect sl_NetAppStop(..); // disable mDNS //Sending/Receiving Data - Done when packet need to be sent or receive while (1) { sl_stop(10); // to enter hibernate mode Delay(); // Long hibernate Time period sl_Start(); // device wake up and connect to network with previous setting sl_socket(); // usually UDP sl_SetSocketOpt(); // configure UDP/TCP Secured or not sl_bind(); sl_RecvFrom(); sl_SendTo(); sl_Close(); }