Other Parts Discussed in Thread: EVM430-FR6043
Tool/software: Code Composer Studio
Where can I get an example program with a GUI interface that measures time of flight?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Where can I get an example program with a GUI interface that measures time of flight?
Hello Marty,
The software for both water and gas metering can be found at the page below. The Water or gas demo application package includes the example code that runs on the MSP430FR6043 and the USSSWLib includes the library and Design Center GUI. The USSSWLib also includes a template project which is a more bare bones example that does not include the interface to the GUI.
http://www.ti.com/tool/MSP-ULTRASONIC-DESIGN-CENTER
If you are planning to use the EVM430-FR6043 for water metering, also see the TI Design below which describes a couple of modifications to the board that are required when using for water metering.
I already have the Ultrasonic Sensor Design Center. What I'm looking for is a project that runs in Code Composer that has a GUI that triggers the sensor and gets the time of flight.
I am new to this and have found a number of trivial program in the resource center that do one thing such as set a pin high or low. I would like something at a much higher level as a starting point.
This is also located on the Design Center link I sent under the Water Demo Application or Gas Demo application. See the image below showing which package to download for water(Gas page is formatted the same). After loading this code in CCS, you can use the Design Center GUI to trigger the sensor and get time of flight and flow data.
FR6043 Water: http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/USSSWLib/USSSWLibWater/latest/
FR6043 Gas: http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/USSSWLib/USSSWLibGas/latest/
Thank you for being patient with me.
I downloaded UltrasonicWaterFR604x_02_20_00_08_windows_installer and installed the code. I loaded it into Code Composer, built it and ran it. It gets an error
USS_message_code_SAPH_time_restartCaptureCount_error
which I haven't tried to look up yet. I'm not requesting more help as I haven't tried to resolve the problem myself. I just wanted to let you know what has happened. I'm not going to mark this as resolved until I get a running example.
Thank you
I think I hadn't caught the first error before. The line
code = USS_runAlgorithmsFixedPoint(&gUssSWConfig,&algResFixed);
returns
USS_message_code_algorithm_error_no_signal_detected_ups_dns_channel
I haven't gotten the MSP430FR6043EVM_USS_Water_Demo to run yet. What is it supposed to do? I was expecting some GUI to be displayed. There is none displayed. The code seems to initialize and update an HMI GUI but nothing is displayed. I continue to get errors from
USS_runAlgorithmsFixedPoint(&gUssSWConfig,&algResFixed);
The error I'm getting this morning is different from either of the two I had last reported.
I have downloaded and run MSP430FR6043EVM_USS_Gas_Demo. It doesn't have the errors that MSP430FR6043EVM_USS_Water_Demo has but I still don't get a GUI.
**Attention** This is a public forum