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.

TDC1000-TDC7200 flowmeter GUI and reference code

Other Parts Discussed in Thread: TDC1000, TDC7200

Hi! we are building a flowmeter using TDC1000/TDC7200. Referring to this video, I believe that there is a different GUI and reference code for flow meter application than the one that comes with EVM. This post too mentions that this is the case. Can some one please share how the GUI and reference code can be obtained ?

Regards,

Makarand

  • Hello Makarand,

    You can find the TDC1000-TDC7200EVM firmware source code as part of the GUI install folder
    C:\Program Files (x86)\Texas Instruments\TDC1000_7200EVM\Firmware

    This reference code is the same in the demo as well as the latest EVM. Only addition in the demo GUI was the flow rate calculation from TOF. The equations used are discussed the flow app note in the post you refer above. Sorry the flow demo is not part of the GUI we release.

    FYI, the EVM has a UART port that is capable of outputting the calculated TOFs in case you want to get the data over other interfaces like wireless.

    Thanks,
    Vishy
  • Thanks for the response Vishy. I had expected the TDC1000 to work in Mode 2 in case of flow measurements, but I didn't find anything being set to that effect in the firmware code, hence I was wondering if there is some other firmware and GUI that would make it operate in that mode. Or is it that the GUI toggles between the 2 channels by selecting them alternatively ?

    Thanks,
    Makarand
  • Makarand,
    The GUI has the capability to load and save a register config file. This file basically chooses all the register values for TDC1000 and TDC7200 besides saving a number of GUI parameters. You basically has to use a Flow Config file (sample config file for flow is available on our website) and configure TDC1000 and TDC7200. This file might need change depending on the sensor you are using. And this config file also selects the "Flow" option in the Graph Tab. Rest everything is done in firmware (forward and reverse tof measurement setup, reading of measurement results, calculations) and the results are sent back to GUI. Please refer to the function "tdc_trigger_measure()" in file timer_queue.c of the source code.
    Thanks,
    Vishy
  • Vishy, would it be possible to share link to this config file you mentioned? I couldn't locate anything on the Ultrasonic sensing or related pages

    Thanks,

    Makarand

  • Please go the following page

    webench.ti.com/.../index.html

    In that go to "Water, Gas, Heat Flow" Tab. You can find register configuration file for different sensors under the column "TDC1000 Register File"

    Thanks,
    Vishy
  • Thanks Vishy, this helps!