SLAAES9 March   2025 MSP430FR5043 , MSP430FR6005 , MSP430FR6007 , MSP430FR6043 , MSP430FR6045 , MSP430FR6047

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Flow Meter Measurement Theory
    1. 2.1 TOF Measurement Algorithm Implementation
      1. 2.1.1 AbsTOF Calculation Method – Lobe
      2. 2.1.2 AbsTOF Calculation Method – Hilbert Wide
      3. 2.1.3 dTOF Calculation Method - Cross-Correlation
        1. 2.1.3.1 Get a High-Precision dTOF Result
        2. 2.1.3.2 Optimization in Cross-Correlation Method
    2. 2.2 Differences between ADC Approach and TDC Approach
  6. 3MSP430 MCUs for USS Application
    1. 3.1 USS Module
    2. 3.2 Differences Between USS and USS_A Module
    3. 3.3 Software Implementation on MSP430 MCUs
  7. 4Hardware Design Flow
    1. 4.1 Schematics
      1. 4.1.1 Water Meter Schematic – MSP430FR6047 and MSP430FR6007
      2. 4.1.2 Water Meter Schematic – MSP430FR6043 and MSP430FR5043
      3. 4.1.3 Gas Meter Schematic – MSP430FR6043 and MSP430FR5043
    2. 4.2 PCB Layout Guide
  8. 5Software Design Guide
    1. 5.1 USS Demo Projects and Related Resources
    2. 5.2 Demo Project Instruction
      1. 5.2.1 Files in Demo Project
      2. 5.2.2 Properties Setting in Demo Project
  9. 6Summary
  10. 7References

USS Demo Projects and Related Resources

The software resources for water meter and gas meter applications are similar. Users can find all the software resources for water meter application at USS-SWLIB-WATER. Software resources for gas meter applications are in this USS-SWLIB-GAS.

Figure 5-1 shows what includes in the resource link.

 USS Software Resource Page Figure 5-1 USS Software Resource Page
  1. The first part is the release notes. Users can find the updates of the current version of the demo code. This also includes the revision history, installation and usage and other basic information for the demo project.
  2. The second part is the USSSWLIB installers. This includes the USS Design Center (USS DC) and a template example project.

    The template example project includes the full processes of the USS measurement. However, this does not include the USS DC communication interface. By using this template example project, users can measure the flow but cannot connect to the USS DC. If the user has passed the evaluation stage and has a GUI interface, then users can use the template example as a start for a project.

  3. The third part is the demo example project. This is recommended for the users to start evaluation with. This includes the full processes of the USS measurement and the USS DC communication interface. The USS DC is very useful in the early evaluation stage, and can help users to log data and analyze easily.
  4. The fourth part is the documents.
    1. The USS Library User's Guide includes everything users need to know about the USS library. Some frequently asked questions are answered in this document.

      For example, the resources used are described in the USS library in the Code Examples->Hardware Prerequisites->Device Resource Usage.

      To check updates in the table coefficients for the absTOF interpolation calculation, see the Generating Interpolation Correction Look-up Table section. For the Lobe algorithm, this table is used for the calculation of peak value of each lobe. Using a higher interpolation can improve the absTOF accuracy.

      About optimized library, users can check the memory usage information for different USS libraries. This also includes how to implement the optimized library in the using the Memory Optimized Libraries section.

    2. In the USS Library API Guide, there are detailed introduction for each API in the USS library.
    3. The USS Design Center Users Guide includes everything users need to know about the USS DC including Configuration, Waveform Plots, ADC Capture Functionality, Frequency Sweep, Calibration, Debug Waveform and Error Handling. Some frequently asked questions are answered in this document.

      Users can check in the Error Handling section for more information on how check the reported error information.

      Users can check the Communication Protocol Spec section on how to build the GUI based on the current communication protocol.