SWRA657 June   2020 CC3100 , CC3200

 

  1.   SimpleLink Wi-Fi CC3100, CC3200 Serial Flash
    1.     Trademarks
    2. Introduction
    3. How File System Content Gets to the Serial Flash
    4. File System Guidelines
    5. User File Mathematics
    6. System and Configuration Files
      1. 5.1 Description
      2. 5.2 Memory Consumption
        1. 5.2.1 CC3200 Use Case
        2. 5.2.2 Host Driver Mapping
        3. 5.2.3 Minimum Flash Size
    7. Implementing File System Features From Host Processor
      1. 6.1 Overview
      2. 6.2 File Listing
        1. 6.2.1 Requirements
        2. 6.2.2 Procedure
      3. 6.3 Free/Occupied Space
        1. 6.3.1 Requirements
        2. 6.3.2 Procedure
      4. 6.4 File Appending
        1. 6.4.1 Requirements
        2. 6.4.2 Procedure
    8. Factors to Consider in Designing With Serial Flash
      1. 7.1 Serial Flash Vendor and Part Number Selection
      2. 7.2 Supported Flash Types
      3. 7.3 Frequent Write Operations
        1. 7.3.1 Serial Flash Access by the Wi-Fi System"
        2. 7.3.2 Seral Flash Access by the WiFi System
          1. 7.3.2.1 System Files
          2. 7.3.2.2 User Files
      4. 7.4 Sudden Power Off (power removal during a write/erase phase)
        1. 7.4.1 Battery Powered Systems
        2. 7.4.2 Line Powered Systems
    9. Design Recommendations for Ensuring the Integrity of the Power Supply to the Serial Flash
      1. 8.1 Overview
      2. 8.2 Key Points
      3. 8.3 Brown-Out Mitigation Techniques for New Self-Hosted CC3200 Designs
    10. Recommended Best Practices
    11. 10 Implications of Data Integrity Compromise to CC3100/CC3200
      1. 10.1 Recovery
    12. 11 References

Brown-Out Mitigation Techniques for New Self-Hosted CC3200 Designs

This section describes how to mitigate the effects of a substantially discharged battery on a self-hosted CC3200 system. It is assumed that the CC3200 device is the main controller and has the ability to control all high power components in the system and that Service Pack [1.0.1.6] and SDK [1.2.0] or later have been installed.

The problem: The brownout problem can occur when operating with a substantially discharged battery which has enough energy to power up the CC3200 processor, but not enough to power the Wi-Fi transmitter. This can cause a loop where the CC3200 device powers up, reaches the point where it does some high power activity, this activity causes the battery voltage to drop below brown out threshold causing a reset. Once reset, the device consumes no power, the voltage rises back above brown out threshold and the device powers up again.

The solution: The suggested approach to avoid the above cycle is to use the secondary bootloader (like the one used in over-the-air updates) to load the user application and keep track of whether the application was loaded successfully (without causing another brown out event). This is done by keeping a counter in an on chip register (OCR) which will most likely be retained if voltage drops due to excessive power usage. The power up flow should be as described in the scheme below.