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: Cycle slipping caused presumably by a bug in the AbsTOF lobe tracking algorithm

Part Number: MSP430FR50431

Hi: I'm using the MSP430-FR6043 Gas Meter Eval board, and have a similar question, to this case:

MSP430FR50431: Cycle slipping caused presumably by a bug in the AbsTOF lobe tracking algorithm.

I'm using 200 KHz transducers, separated by about 6 inches for this test.

At the end of this previous case, there is a mention of setting the lobe-tracking threshold correctly.

And, there is a mention that the algorithm can get stuck , tracking the wrong lobe.

A solution, is to force "a new acquisition every time"  , by setting:

#define USS_ALG_MAX_RATIO_PEAK-2_PEAK_VAR   to 0.0

Can I do this in the GUI, can you advise how to do this ?

I have included a few screen shots, of the waveform for Delta_TOF....the sharp peaks at 5000 nS seem to be caused by cycle skips (Time period of 200 KHz) ....and in this case, the algorithm rejects these from being included in the averaging (which is good) .  In some other tests I've done, the cycle-skip has caused eronious readings, so I'm looking at ways to make things as robust as possible.

Also, there is a waveform capture , so you can see the raw signals.

Please advise,

regards to all,

Doug

  • Hi Doug,

    While cycle slipping is an issue that occurs in our devices sometimes, when I am looking at your waveform I wonder if the issue is something else.

    The ADC capture shown looks irregular and the amplitude is quite small. Before trying to change the defines, could you increase your gain setting in the GUI? Ideally, you should see an amplitude close to 900 units, while yours is only a little below 400.

    We may also need to adjust the threshold that your device uses to recognize the start of the waveform, but lets adjust your gain first and see how much that helps.

    I'd also like to ask if you've performed a frequency sweep to select the correct frequency for your device. If you have not, please try it and adjust your frequency setting according to the results. If you have already done this it might be helpful to include an image here.

**Attention** This is a public forum