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.

MSP430FR60431: Help Needed – Using MSP430FR60431 with USSSWLib and Ultrasonic Sensing Design Center

Part Number: MSP430FR60431
Other Parts Discussed in Thread: EVM430-FR6047

Tool/software:

I’m working on a custom ultrasonic flow measurement setup using the MSP430FR60431 (not the FR6047). I’m trying to integrate this with TI's Ultrasonic Sensing Design Center (USDC) for waveform analysis and configuration, but I’m facing several challenges.

What I’ve Understood So Far:

  • Based on previous conversations, thresholds for signal detection don’t need to change dynamically. Instead, we should:

    • Experiment with the custom flow tube using USDC.

    • Capture waveforms using ADC Capture at:

      • Min flow + Min temp

      • Max flow + Min temp

      • Min flow + Max temp

      • Max flow + Max temp

    • Analyze echo amplitudes and set a fixed threshold accordingly, which should hold for the product’s lifetime unless dynamic thresholding is specifically required.

Questions I Need Help With:

  1. How can I validate my custom flow tube using MSP430FR60431 with the Design Center tool?

    • I have the EVM430-FR6047 development kit, but my custom board has an MSP430FR60431.

    • I need a firmware that I can flash onto the MSP430FR60431 that will communicate with the Design Center GUI like the EVM does.

  2. If I want to change the threshold dynamically at runtime, how should I do it?

    • I am using the FR6043_USSSWLib_template_example as the base firmware.

    • What’s the correct method to update the threshold in real time using this software structure?

  3. My flow tube has a sensor spacing of 0.02750 meters. The first echo appears around 17 microseconds at 30°C.

    • The Design Center GUI does not allow setting ADC capture delay below 24 microseconds.

    • How can I set a lower ADC start delay in firmware using the FR6043_USSSWLib_template_example?

  4. I see most configuration values are hardcoded in config.h.

    • If I want to change values at runtime, can I modify the USS_userConfig.c structure directly at runtime?

    • Is it safe and effective to do so for parameters like threshold, gain, and ADC delay?

  5. Do you have any SFR-level (register-only) USS code samples for the MSP430FR60431?

    • I would like to understand or experiment with bypassing some limitations imposed by the software library or Design Center GUI.

My Setup:

  • MCU: MSP430FR60431 (custom board)

  • Flow tube sensor spacing: 27.5 mm

  • Base firmware: FR6043_USSSWLib_template_example

  • Tools: Code Composer Studio, Design Center GUI

Looking for help on:

  • Firmware to enable Design Center communication for MSP430FR60431

  • Runtime configuration flexibility

  • Working around ADC delay limitations in the GUI

  • Low-level (SFR-based) USS access if available

Thanks in advance for your support.

  • Hi,

    1. You can directly use the MSP430FR6043EVM_USS_Water_Demo in UltrasonicWaterFR604x_02_40_00_00\examples\USS_Water_Demo\CCS. No need to change anything.2

    2. Try below one. 

    3. Please follow the below formula. Change the other two parameters accordingly to set a lower Gap between pulse start and ADC Capture.

     (Gap between pulse start and ADC Capture + Start PPG Count) – Turn on ADC Count  ≥ 32uS

    4. Change the data in USS_userConfig.c structure will not affect the algorithm. you must follow a desired procedure to change those setting to make them effective. 

    5. You can check in this link for register level code example.

    https://dev.ti.com/tirex/explore/node?node=A__AGMjt5.ibsdfEl05fLDshQ__msp430ware__IOGqZri__LATEST

    Best regards,

    Cash Hao

**Attention** This is a public forum