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.

# MSPWARE: Question about USSLib on MSP430

Part Number: MSPWARE

Hi everyone,

I'm new in MSP430, I have a few questions when developing with USSLib.

(1) Is there any details about the algorithms of hilbert hilbertWide lobe lobeWide used in computeAbsTOF? I try to google it but the response seems to be unuseful.

(2) Is the source code of USSLib avaliable to apply? I'd like to study on it if possible and I promise it will be used for education only.

• Hi,

Our expert will check you question and reply you later.

• Hi Simi,

You can find details on the lobe algorithm in the water TI design document for the MSP43FR6043. Details on the Hilbert Wide algorithm can be found in the gas TI design document for the the MSP43FR6043.  The Hilbert algorithm is similar to HilbertWide with the exception that the correlation between the excitation signal and the received signal isn't conducted. There is a similar relationship between the Lobe and LobeWide algorithms.

BR,
Leo

• Hi Leonardo,

Thank you for your reply, but I'm a little confused about your answer. The correlation between the excitation signal and the received signal is used for dTOF compute, isn't? But the Hilbert and HilbertWide algorithm are used to compute absTOF. What does " The Hilbert algorithm is similar to HilbertWide with the exception that the correlation between the excitation signal and the received signal isn't conducted." means then?

What's more, I didn't find any document describe Hilbert Wide algorithm in the gas TI design. Can you recommend one?

Simi

• Hi Simi,

DeltaToF is computed by taking the correlation between the received upstream and received downstream signals. The Hilbert algorithm takes the envelope of the received signal and finds the threshold(as a percentage of the peak amplitude of the signal) where the envelope is crossed.  The Hilbert Wide algorithm works in a similar way but instead of acting on the envelope of the received signal, it finds the threshold intersection on the envelope of the correlation between the received signal and the excitation pattern(which is binary) used to transmit that signal.

Unfortunately, we don't have how the Hilbert wide algorithm clearly documented right now.  We're planning to change this in the near future.

BR,
Leo

• Hi Leonardo,