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-FR6047: MCU0018

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

Tool/software:

while going through the TI code for Water flow meter using MSP430FR6047, I came across following:- in file USS_userConfig.h

#if (USS_ALG_DELTA_TOF_COMPUTATION_OPTION == USS_Alg_dToF_Calculation_Option_water)
#if (USS_ALG_HIGH_FLOW_OPTION != USS_highFlow_option_disabled)
#warning "USS_highFlow_option_version1 and USS_highFlow_option_version2 are \
discourage for new development. It is highly recommended to switch to \
USS_ALG_DELTA_TOF_COMPUTATION_OPTION = USS_Alg_dToF_Calculation_Option_estimate.\
When using USS_Alg_dToF_Calculation_Option_estimate, USS_ALG_HIGH_FLOW_OPTION \
is a don't care."
#endif

I concluded that I cannot use " USS_Alg_dToF_Calculation_Option_water " scheme for Delta time of flight calculation. I can only use " USS_Alg_dToF_Calculation_Option_estimate"

Is my conclusion is correct?

  • Hi Anup,
    If USS_ALG_HIGH_FLOW_OPTION is something you need to be treated as a don't care, then you should be correct.
    Best Regards,
    Diego Abad

  • Hi @Diego Abad

    I think you didn't got my question correctly. My question is simple what this statement resembles:-

    #warning "USS_highFlow_option_version1 and USS_highFlow_option_version2 are \
    discourage for new development. It is highly recommended to switch to \
    USS_ALG_DELTA_TOF_COMPUTATION_OPTION = USS_Alg_dToF_Calculation_Option_estimate.\

    Does it wants to say that we can only use "USS_Alg_dToF_Calculation_Option_estimate " ?

    We cannot use " USS_Alg_dToF_Calculation_Option_water " scheme for DTOF calculation?

  • Hi Anup,
    This statement means that it is not recommended to use either USS_highFlow_option_version1 or version2 for new development. However, you should still be able to use USS_Alg_dToF_Calculation_Option_water by keeping USS_ALG_HIGH_FLOW_OPTION disabled.

    Best Regards,

    Diego Abad

**Attention** This is a public forum