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.

MSP430FR5043: Water Demo in CCS / Scale factor in ResultsFixPoints

Part Number: MSP430FR5043

Tool/software:

I have a few simple questions on USS firmware:

(1)
I run CCS 11.2.0 and I like to import the USS Water Demo project from UltrasonicWaterFR604x_02_40_00_00 (downloaded from ti.com). When using “Import CCS projects” I can select “USS Water Demo” but then I receive the error “Import failed for project 'USS_Water_Demo' because its meta-data cannot be interpreted. Please contact support.” (Import f Gas Demo works!) What is going wrong?

(2)
The library function USS_runAlgorithmsFixedPoint(&gUssSWConfig,&algResultsFixedPoint); returns several results among them tof and dtof. The library description online does not provide the scale of the integer values. For DTOF. I compared the display of the Sensing Design Centre with the integer values I receive and I would assume that the scale factor in Fixpoint is 20 = 1ps. Can this be correct ?

(3)
In the USSlib reference firmware project there are functions for disable/enable interrupts for USS_verifyHSPLLFrequency(&gUssSWConfig, &testResults) . There is no ‘encapsulation’ for interrupt protection on USS_startLowPowerUltrasonicCapture(&gUssSWConfig). Does this mean that application interrupts do not impact the USS capture as such ?

Thank you

Christian

  • Hi,

    (1)
    I run CCS 11.2.0 and I like to import the USS Water Demo project from UltrasonicWaterFR604x_02_40_00_00 (downloaded from ti.com). When using “Import CCS projects” I can select “USS Water Demo” but then I receive the error “Import failed for project 'USS_Water_Demo' because its meta-data cannot be interpreted. Please contact support.” (Import f Gas Demo works!) What is going wrong?

    I have not meet this kind of issue before. You can try use a higher CCS version like v12.7. Or start another E2E thread and ask this question to CCS team about it. 

    (2)
    The library function USS_runAlgorithmsFixedPoint(&gUssSWConfig,&algResultsFixedPoint); returns several results among them tof and dtof. The library description online does not provide the scale of the integer values. For DTOF. I compared the display of the Sensing Design Centre with the integer values I receive and I would assume that the scale factor in Fixpoint is 20 = 1ps. Can this be correct ?

    The dTOF is in IQ44 format. And absTOF is in IQ40 format. Use IQ44 format for example. If the dTOF shows in IQ44 format 0x34a5d79, you first convert this hex to decimal 55,205,241. Then divided it by 2^44. So, the result will be 55,205,241/2^44 ~= 3.138*10^-6 = 3.138 us

    In the USSlib reference firmware project there are functions for disable/enable interrupts for USS_verifyHSPLLFrequency(&gUssSWConfig, &testResults) . There is no ‘encapsulation’ for interrupt protection on USS_startLowPowerUltrasonicCapture(&gUssSWConfig). Does this mean that application interrupts do not impact the USS capture as such ?

    Yes, the interrupts does not impact the USS capture process. 

    Best regards,

    Cash Hao

**Attention** This is a public forum