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

Read Ultrasonic Time-of-Flight

After the TUSS44x0 registers have been updated, the system can now continuously run a time-of-flight command and extract the resulting measurement data from the VOUT, O3, and O4 pins to compute and convert time-of-flight to distance or speed-of-sound. The SPI Interface Status Bits can be reviewed between each time-of-flight measurement to determine if the driver block is behaving as expected. The TUSS44x0 can be updated dynamically, so if any of the device settings are changed between time-of-flight cycles, the MCU is able to do so.

TUSS4470 TOFFlow.gifFigure 5. Read Ultrasonic Time-of-Flight