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.

EVM430-FR6043: ERROR DToF - Shift value was greater than maxSampleShift

Part Number: EVM430-FR6043
Other Parts Discussed in Thread: TUSS4470, MSP430FR6043

Tool/software:

Dear  ,

You can find out our previous ticket details here.

As per our last discussion, we have increased the transmitter power to the transducer using TUSS4470 Ultrasonic Transformer Drive. Need your support in the following:
1. In the meter application of MSP430FR6043, can we read the raw ADC data captured in the function USS_commonTriggerSingleCapture() (for parameter, USS_SEQUENCE_SELECTION = USS_CAPTURE_SEQUENCE_SELECTION_CH0_CH1) ? As it stores data for both USS_CAPTURE_SEQUENCE_SELECTION_CH0 and USS_CAPTURE_SEQUENCE_SELECTION_CH1. Need to understand how to read raw data of ADC in the meter application for both the channel.
2. In the USS_startLowPowerUltrasonicCapture() function, maximum duration of signal capture allowed is 400 us (define by USS_CAPTURE_DURATION_USEC in USS_userconfig.h file), because of memory limitation of MSP430FR6043. Is it possible that, I can tweak certain parameter, which can allow me to capture data of 800 us by compromising on the sampling rate or by processing data of one channel (USS_CAPTURE_SEQUENCE_SELECTION_CH0  or USS_CAPTURE_SEQUENCE_SELECTION_CH1) at a time?
3. USS_runAlgorithms() function is used to calculate the TOF. In the current algorithm value of totalTOF_UPS and totalTOF_DNS is coming zero many times at higher wind speed. Although the received signal is visible in the oscilloscope. Can I get the source code of this algorithm, so that we can do the necessary modifications to suit our requirement.
Looking for your early support and guidance on the above subject.
  • Hi,

    1. Call USS_getUPSPtr() and USS_getDNSPtr() to get the raw ADC data pointer for UPS and DNS after USS_commonTriggerSingleCapture().

    2. Using a lower sampling rate is possible. But processing data of one channel seems not possible to me. When calling the USS_runAlgorithms() function. It requires both UPS and DNS signal saved in LEARAM for processing. 

    3. Well, it requires strong business cooperation to share the source code. 

    Best regards,

    Cash Hao

**Attention** This is a public forum