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.

  • Resolved

MSP430FR6043: MSP430FR6043

Intellectual 310 points

Replies: 24

Views: 328

Part Number: MSP430FR6043

Hello ,

         I have used ms430fr6043 for one of my application where I have designed my own board and have take the code "FR6043_USSSWLib_template_example" in the code basically I am trying to get the UPS_TOF and DNS_TOF via uart and have succesfully done it .My problem is that the algResults.totalTOF_UPS  and algResults.totalTOF_DNS calculated are incorrect as they do not vary and constatly give same TOF in output. Please help me with this.

Thanks,

Aishwarya

  • Hi Aishwarya,

    What is the constant value of algResults.totalTOF_UPS  and algResults.totalTOF_DNS that you get?

    What about the fixed-point equivalent of the UPS_TOF & DNS_TOF? Are they valid? You can find this in ussSwLibAlgorithm.c:USS_runAlgorithms() in the variable "fixedResults": iq40TotalTOF_UPS & iq40TotalTOF_DNS. Do they change correctly as expected?

    Srinivas

  • In reply to Srinivas Lingam:

    Hello Srinivas,

             When I run the code both the TOF are 0.000200162045 and I am unable to find  iq40TotalTOF_UPS & iq40TotalTOF_DNS in the code anywhere.There is no such file ussSwLibAlgorithm.c

    Thanks,

    Aishwarya

  • In reply to azista azista:

    Hi Aishwarya,

    If you are using the latest version of the USS SW Library available at http://www.ti.com/tool/MSP-ULTRASONIC-DESIGN-CENTER -> http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/USSSWLib/USSSWLibWater/latest/, you will find ussSwLibAlgorithm.c at C:\ti\msp\USS_02_30_00_03\USS\lib\USS\source, You can also see it in CCS:

    Srinivas

  • In reply to Srinivas Lingam:

    Hello Srinivas,

     As I have mentioned I am using the code "FR6043_USSSWLib_template_example"it doesnot have the ussSwLibAlgorithm.c file in it. You can see the below attached image for the files present in that project.

    Thanks,

    Aishwarya

  • In reply to azista azista:

    Hi Aishwarya,

    Can you please check the USS SW Lib version that you are using? You might be using an older version of the library (02.20)

    The latest version has that file ussSwLibAlgorithm.c. You can also see the version from the install directory in C:\ti\msp. For example, the latest version (02.30.00.03) will be in C:\ti\msp\USS_02_30_00_03\USS\lib\USS\source.

    Srinivas

  • In reply to Srinivas Lingam:

    Hello Srinivas,

             As I have developed my own board where I am using Uart communication to fetch my TOF in output I am using this code  "FR6043_USSSWLib_template_example". And I am interested in using this code only as the other codes are meant to communicate via GUI to the board. I suggest if u could please go through this code and help me solving the issue.

    Thanks,

    Aishwarya

  • In reply to azista azista:

    Aishwarya,

    Please make sure you have the latest VERSION of "FR6043_USSSWLib_template_example". It should be part of the 02.30.00.03 download. What version are you working with? If you use the latest version, you will have the necessary files to debug the issue.

    Srinivas

  • In reply to Srinivas Lingam:

    Hello Srinivas,

            What do u mean by latest version of  "FR6043_USSSWLib_template_example".If there is any latest version of  "FR6043_USSSWLib_template_example" please provide it to me. Presently I am working with the code which has as said by you a library of older verison from yours which I could guess by the UssSwlib.h file which is as seen below in the image.

    Later as suggested by you I downloaded and installed the latedt version of USS_02_30_00_03. and linked lib file from it the C:\ti\msp\UltrasonicWaterFR604x_02_30_00_03\include\ussSwLib.h and got the errors as seen in the below image.

    Thanks,

    Aishwarya

  • In reply to azista azista:

    Hi Aishwarya,

    You are getting the build error because your include paths are still pointing to the older version (02_20_00_16). You need to update them to make sure they are pointing to USS_02_30_00_03.

    Srinivas

  • In reply to Srinivas Lingam:

    Hello Srinivas,

            Thank you for pointing my mistake in linking library. But one thing I want to discuss about is that as i am working with the code    "FR6043_USSSWLib_template_example" I think linking the library USS_02_30_00_03 will also not solve my issue, As currently my project(with library  USS_02_20_00_16) has ample source file needed for the calculation of TOFs for that if I try doing it with a different library will yield me to new unexpected error. I request you to please check the code  "FR6043_USSSWLib_template_example" with USS_02_20_00_16 library and help me solve the issue if possible. I am really looking with a big hope

    Thanks,

    Aishwarya

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.