SLAA941 March   2020 TUSS4440 , TUSS4470

 

  1.   TUSS44x0 Software Development Guide
    1.     Trademarks
    2. 1 Introduction to High-Level Software Flow
    3. 2 Main Energia Sketch File
      1. 2.1 MCU Initialization
      2. 2.2 TUSS44x0 Configuration
        1. 2.2.1 TUSS44x0 Odd Parity Calculation
        2. 2.2.2 TUSS44x0 Settings
          1. 2.2.2.1 Driver Settings
          2. 2.2.2.2 Receiver Settings
      3. 2.3 Read Ultrasonic Time-of-Flight
        1. 2.3.1 Run Time-of-Flight
        2. 2.3.2 Post-Process Data
        3. 2.3.3 Convert Time-of-Flight to Distance
    4. 3 Energia Examples
      1. 3.1 GetDistance.ino - COM Terminal Input Example
      2. 3.2 VOUT_ADC_Capture.ino - Standalone Example
    5. 4 References

VOUT_ADC_Capture.ino - Standalone Example

For a demonstration that does not require any user-input, the Energia VOUT_ADC_Capture.ino runs to allow the TUSS44x0 settings to be initialized by hard-coded values, then continuously performs time-of-flight measurements to capture the VOUT output with an ADC input to report the echo envelope data points over a serial port. The serial port can be accessed by the Processing ADC_VOUT_Capture.pde sketch to visually depict the echo envelope over time per time-of-flight measurement.

TUSS4470 energia-VOUT-ADC-Proc.gifFigure 8. TUSS44x0_Ultrasonic VOUT_ADC_Processing.pde Processing GUI