Software
14
SLAU822A – December 2019 – Revised April 2020
Copyright © 2019–2020, Texas Instruments Incorporated
TUSS44x0 EVM for Ultrasonic Sensors User's Guide
Table 5. EVM Status Possibilities
EVM STATUS
SUCCESS
PARTIAL SUCCESS
FAILURE
USB Controller
MSP-EXP430F5529LP
MSP-EXP430F5529LP
(blank)
USB Firmware
03000000
03000000
(blank)
Connection Status
COMx
COMx
(blank)
Device Status
TUSS44x0
N/A or Wrong Addr or (blank)
N/A or Wrong Addr or (blank)
lists a definition for each EVM Status field.
Table 6. EVM Status Field Definitions
EVM STATUS
DEFINITION
USB Controller
The MSP-EXP430F5529LP is programmed with TI’s USB2ANY Controller (U2A) host interface (I/F)
controller firmware. The GUI calls API functions for the U2A to execute. The U2A I/F is the only compatible
USB controller for the TUSS44x0 EVM GUI.
USB Firmware
The U2A firmware may be updated for improvements or bug fixes by TI. Version 03000000 is the initially
released version. See the About section of the GUI to determine which version of firmware is available and
expected for compatible GUI operation.
Connection Status
Typically, only one U2A is connected to a PC, though the U2A APIs are able to distinguish multiple U2A
devices on the same USB bus by serial COM port identification. The GUI automatically detects and uses
the first available U2A COM port. TI advises that a single U2A I/F be connected to your PC during the
evaluation of the TUSS44x0 EVM.
Device Status
When a SPI read command is successfully executed during TUSS44x0 GUI start-up, the status will update
with the connected device part number based on the Dev ID value. At the GUI’s start-up, a read command
of the Device ID is attempted to determine which specific part number is available. If the status reads back
fails to
N/A or Wrong Addr
, use the following checklist to troubleshoot:
• Is the BoosterPack™ Plug-in Module correctly stacked on the LaunchPad™ Development Kit?
• Is the TUSS44x0 EVM powered with a voltage of 5 to 36 V?
• Is the power supply unit able to source at least 20 mA at VDD?
• If the device was powered after the GUI was first initialized, click the
Find Device
button to retry the
TUSS44x0 check.
If the GUI does not automatically detect the presence of the EVM, the
Find Device
button is available to
manually check for the USB controller. When the USB controller is manually detected and successfully
connected, the
Find Device
button can be used to manually scan for a connected TUSS44x0 device by
issuing the aforementioned Device ID register read command. If the device is power cycled during GUI
evaluation, click the
Find Device
button to refresh the GUI controls and indicators.
In the event that no TUSS44x0 EVM is connected, but the user is still interested in an example of the GUI
configuration for a working device, the
Simulate
button populates all controls with default values and lets
the user run the GUI with simulated results. The TUSS44x0 Status field displays
SIMULATE
when in
simulation mode. When an actual TUSS44x0 device is connected, the status updates automatically.
3.5
TUSS44x0 GUI Center Panel
The center panel is the primary interface for the user to configure the TUSS44x0 device settings,
read/write/program device memory, and monitor/export the ultrasonic time-of-flight results.
3.5.1
Device Settings
The device settings give the user access to the TUSS44x0 random access memory (RAM), which
includes driver strength, receiver sensitivity, logarithmic amplifier gain, and test mode controls. At power-
up, the device always defaults with generic settings for out-of-box performance, but typically requires
additional optimization by adjusting the device settings.
3.5.1.1
Block Diagram
The block diagram representation of the TUSS44x0 is a simplified view of the settings on the
Data Monitor
page superimposed onto a visual equivalent of each device function.
These control groups are defined as follows: