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.

MSP430FR6043: USS SW library

Part Number: MSP430FR6043

Hello, I'm trying to using USS_SW_library in detail.

So, among my trials, is it possible to extract measured SDHS data from LEA memory?

For example, I want to extract ch0 adc data and using it in different Dtof algorithm.

I tried to search the data variable names pointing ADC data in API source codes, still in vain.  

Thank you in advance for kind guides.  

  • Hello Ickim,

    Please see section 1.3 of the Frequently asked questions (FAQ) on ultrasonic sensing technology for water and gas flow metering with MSP430FR604x MCUs. Data captures are stored in a buffer that you can utilize. 

  • Dear Jace, 

    Thank you for your comments and I check the FAQ's.

    Still, I'm trying to figure out the way to extract the "ADC" data after USS operation.  

    In "ussSWlib.h", I found "int16_t *pCaptureBuffer" seemed to point the ADC data address in LEA.

    Still, if I catch the data in accurate time for given  measurement period(fro example 1 second),

    I might catch the exact timing through the interrupt flags.

    Is it needed to use following Interrupt routine to catch the exact timing?

    void USS_registerSDHSInterruptCallback(USS_SDHS_Interrupt interruptNum,
    void function(void))

    Also, it seems that following "capture" function is one of the functions to capture the ADC data.

    USS_commonTriggerSingleCapture(config,USS_CAPTURE_SEQUENCE_SELECTION_CH1,0)

    But, still  I'm not possible to connect with "registerSDHSInterruptCallback(USS_SDHS_Interrupt interruptNum, void function(void))"

    Any way, I'm still trying to understand and I wish your kind guide or advice.

    Thank you. 

  • Hello Ickim,

    The above guidance is all I can give on the subject. I apologize for the inconvenience. 

**Attention** This is a public forum