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: EVM430FR6047

Part Number: MSP430FR6047

Hello everyone, I am working with EVM430FR6047 development board for ultrasound sensing with the " Ultrasonic Sensing Design Center " software. I have a question regarding to that. 

I have the source code of the application in CCS and In this diagram, you can see the Y- axis as " Peak Amplitude ".  I would like to know how this value is being calculated in the source code. ( Which function , which parameter ) and plotted in this diagram. Thanks

  • Hi,

    The peak amplitude is coming from raw ADC capture data. Please find the Testing_PostMeasurement_Update() function in the project.

    Best regards,

    Cash Hao

  • Hi, 

    Thanks I found the parameter inside this function. Then I created a new function which returns to i16max_amplitude in testing.c. ( new function name is Testing_GetMaxAmplitude). Then I set a new variable int8_t uss_amplitude = TestingGetMaxAmplitude. As a final step I send the uss_amplitude value over UART_transmitbuffer. I could not have a chance to test this code with sensors and will not be able to test it for some time. Until then I want my code to be ready, I would like to ask if im going in the correct direction in order to send peak amplitude over UART message ?  

  • Hi,

    Your method sounds workable for me.

    Best regards,

    Cash Hao

**Attention** This is a public forum