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.

some questions

Part Number: MSP430FR6047

Hello team,

Could you please advise the questions below:

  1. I need the ultrasonic measurement to yield the water flow speed (meter per second). How can I retrieve such result?
  2. I understand that its recommended to have at least 4 ultrasonic transducers when measuring water flow at pipe diameters 3’’ and above. Due to turbulence.  

 * Is that true?, If so, how does this TI chip handle such requirement? Do you have a procedure for that?

* Is there a recommended mounting position for the transducers on pipes with a diameter larger than 3’’? (I think the standard for 2 transducers is 3 and 9 o’clock – horizontally)

 * According to your experience, mounting the transducers near pipe splitting or other pipe components will create more turbulence? If so, what is the recommended distance between the measurement location and pipe splitting/component?

3. Can you please explain the role of the config flag:  “USS_ALG_HIGH_FLOW_OPTION“?   Is that relevant to flow at pipes 3’’ or 4’’?

Thanks in advance 

Kind regards,

Shai

  • Hi Shai,

    Thanks for your post. One of our team members will be looking into your post and replying shortly.

  • Hi Shai,

    1. The unit of the water flow rate is either LPH(liter per hour) or GPM(gallon per minute). We do not use meter per second to represent water flow speed.

    2. a) Normally, the customer will use more than one pair of transducers at DN100(diameter 100mm) pipe and above. Our MSP430FR604x chip can support this application. We are perparing the multi-transducers application note recently, and it will publish on the TI website soon.

    b) We do not have any recommandtions on multi-transducer pipe design yet. The customer will cover the pipe design by their own.

    c) We do not have much experience on it.

    3. The settings of “USS_ALG_HIGH_FLOW_OPTION“ will decide if there is any maximum output limitation of dTOF result. It does not relate to the pipe size. 

    Best regards,

    Cash Hao

  • Hi Cash,

    Thanks for your detailed reply.

    One last thing’ I want to clarify my first question:

    What my application needs is the SPEED of water. I don’t need flow rate or volume calculation
    As I understood, the ultrasonic Time Of Flight calculation finds the water flow speed and together with the pipe diameter, math factors, transducers distance etc. it calculates the flow rate

    As explained, my application needs only the water speed as the calculation is done outside of the FW

    Is there a function where I could get the water speed?
    If not, is there a place in the code where I should search to find the speed parameter so I could reverse the data accordingly?

    Thanks in advance.

    Best regards,

    Shai 

  • Hi Shai,

    Volume = Cross-sectional  area * velocity 

    Velocity = Constant * dTOF /(T12*T21)

    The velocity has a proportional relationship with volume. You can get the velocity result easily.

    Best regards,

    Cash Hao

  • Cash,

    Thanks, Can you please point me out where to find the Velocity function inside the code?

    Secondly, the customer is preparing many demo devices for potential business partners, But he has the concerns that some of the people he sending them devices will try to reverse engineer the FW code

    That is why he wants to implement a “read protect” mechanism.

    please find his inquiry below:

    I came across this document: “http://www.ti.com/lit/an/slaa685/slaa685.pdf” describing methods for IP securing and saw the section regarding my chip (item 2.2.2 describing FR6xx family).

    Since they talk about BSL, I searched and found another document describing BSL for MSP430: “http://www.ti.com.cn/cn/lit/ug/slau550u/slau550u.pdf

     

    Anyway, I need some help from you to put me up to speed with this feature

     

    My requirements:

      1. Performing ”read protect” that no one could access to JTAG and to do the reverse engineering
      2. The chip will be re-flushable so if I could re-use (updating) the chip to flush new versions when I will get back the demo  
      3. No need for a password – I want to make it simple

    According to the documents:

      1. Putting value “5555h_5555h” at address “FF80h–FF83h” will lock the JTAG
      2. Unlocking JTAG by Mass erase command with the BSL

    I have some questions:

      1. Do I even have BSL? I am using an FW version derived from the USSSWLib…  if so where is it? How to use it?
      2. There is an example in the doc for JTAG lock with password on CCS but I need the even simpler one without the password
      3. How do I perform BSL commands?
      4. Anyway, what is the best practice to achieve my requirements with the least complexity

    Thanks and regards,

    Shai

  • Hi Shai,

    Sorry for the late response. I am out of office last week.

    First, there is no Velocity function inside the demo code. You can either consider the volume flow rate result as the velocity or add some codes to calculate the velocity.

    Second, you can use BSL function in any MSP430 product. You can get some help in this link http://www.ti.com/tool/mspbsl

    Best regards,

    Cash Hao

**Attention** This is a public forum