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.

MSP430FR6047: Determining signal amplitude

Part Number: MSP430FR6047

Hi,

I have sent a few other questions one one use of the MSP430fr6047. This question is for a different use we are working on.

We are trying to distinguish with our own program between two situations that we can distinguish with the Ultrasonic Design Center software. In the Design Center on the Continuous ADC Capture, both situations have essentially the same wave form but the amplitudes are different. In one situation the amplitude is 700 to 900. In the other, it is 300 to 400. Who can we get this information in our program?

Thanks

  • Hi Marty,

    Marty Diamond said:
    Who can we get this information in our program?

    Are you asking how to obtain the signal amplitude information? You can look at the code inside the compile flag TEST_ADC_MAX_AMPLITUDE in USSLibGUIApp\fr6047_USS_app\testingDC\testing.c in the USS_Water_Demo project. The result can be output to the GUI in the Debug panel by using

    CommandHandler_transmittDebugData(&gstxPacket, debugData); 

    in hmi.c; You have to make sure, it outputs the debugData after calling 

    debugInfo = Testing_Update_Results(&alg_results_float, &debugData);

    Srinivas

**Attention** This is a public forum