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.

TIDM-ULTRASONIC-WATER-FLOW-MEASUREMENT: TIDM & TDC1000-7200EVM

Part Number: TIDM-ULTRASONIC-WATER-FLOW-MEASUREMENT
Other Parts Discussed in Thread: TDC1000, TDC7200, , MSP430FR6972

Hi 

i recently start a project on TIDM-ULTRASONIC board. i made one of these board and programmed it successfully but during the experiment somethings were strange for me.

according to my experiment on this board and TDC1000_7200EVM GUI, when you set some registers in GUI and you want to read it again to ensure that the registers are sets correctly by the GUI, the value of the read register may be varied with the values that i have set, after that if you press the read button once or twice it would read the register values correctly and as a result of those wrong values which is shown on read registers value the output and TOF AVG VALUE are wrong and it would be large numbers or negative and its confusing me!

another problem is: if every thing sets correctly and the Output of the graph seems normal,sometimes i see some abnormal spikes in the graph and i also attached the picture of the graph.

and the last thing i cant understand is abou t channel swapping. how the board change the channels? is there any PDF or documentation that described this subject in detail?

i'm using TIDM_ULTRASONIC_FLOW_METER and TDC1000-7200EVM GUI and also pair of 4Mhz transducer.

Thanks in advance.

  • Hello Aamin,

    Thanks for posting the question.
    We will look into this and get back to you asap.

    Thanks,
    Yiding
  • also i want to ask something else. when i watched the excitation signals on the scope most of the times i see some thing like this:

    each signals is connected to the separate transducer. and i set NUM_AVG = 1 cycle in TDC1000 tab and i also set AVERAGING CYCLES to 4 meas Cycle in TDC7200 tab by GUI and it seems the device is working correctly according to the settings.

    after few measurements i also see this signals on my scope with the same settings as above:

    as you can see the number of pulses is OK but the sequence of them is not the same as the first plot.

    i will also attach my settings on this message.

    thanks in advance.

    8738.TDC1000_Setup.txt
    TDC1000_Config0                         09
    TDC1000_Config1                         47
    TDC1000_Config2                         12
    TDC1000_Config3                         02
    TDC1000_Config4                         1F
    TDC1000_TOF-1                           C8
    TDC1000_TOF-0                           1E
    TDC1000_Error_Flags                     00
    TDC1000_Timeout                         23
    TDC1000_Clock_Rate                      01
    TDC1000_Conts_Trigger                   01
    TDC7200_Config1                         02
    TDC7200_Config2                         54
    TDC7200_Interrupt_Status                00
    TDC7200_Interrupt_Mask                  07
    TDC7200_Coarse_Cntr_Ov_H                FF
    TDC7200_Coarse_Cntr_Ov_L                FF
    TDC7200_Clock_Cntr_Ov_H                 FF
    TDC7200_Clock_Cntr_Ov_L                 FF
    TDC7200_Clock_Cntr_Stop_Mask_H          00
    TDC7200_Clock_Cntr_Stop_Mask_L          00
    TRIGGER_UPDATE_FREQ                     0009
    TDC_AVG/STDEV_NUM_ELEMS                 000A
    SAVE_GRAPH_DATA_TO_FILE                 00
    FLOW_MODE_SELECT                        01
    Y-SCALE_CENTER                          0032
    X-SCALE_RANGE                           0032
    MEASURE_RTD1                            00
    SAVE_RESULT_REGR_TO_FILE                00
    GRAPH_MULTI_STOPS                       00
    TDC_SELECT                              00
    TEMP_RTD_SELECT                         00
    TEMP_RTD_MODE                           01
    TEMP_AVG/STDEV_NUM_ELEMS                000A
    SAVE_TEMP_DATA                          00
    GRAPH_YMAX_DATA                         0000000000000002
    GRAPH_YMIN_DATA                         FFFFFFFFFFFFFFFF
    TDC1000-HV_DRV_EN1                      00
    TDC1000-HV_DRV_EN2                      00
    HV_DRV_EN1_Period                       001E
    HV_DRV_EN2_Period                       001E
    ENABLE_POWER_CYCLE                      00
    CLK_FREQ_(1-16MHz)                      8/000000
    CLK_SOURCE_SEL                          00
    CPU_CLK_FREQ                            05
    CPU_CLK_EN                              00
    TDC1000-HV_BST_PWR_EN                   00
    HV_BST_PWR_EN_Period                    0000
    FWD2REV_FLOW_DELAY                      0000
    TDC1000-IMPE_MATCH_EN                   00
    ENABLE_UART_STREAM                      00
    ENABLE_MSP430TIMER_TDC                  00

  • Hello Mr. Luo

    respectfully i'm still waiting for your response.

    thanks in advance.

  • Armin,

    Use a 1 MHz transducer, the band pass filter is centered at 1MHz.

    Please refer the section "8.4 Device Functional Modes" Table 3 in TDC1000 Datasheet to check how the channel swapping works in different modes.

    www.ti.com/.../tdc1000-q1.pdf
  • Armin,

    Please label the graphs above, I do not get what both the signals are.
  • thanks for your supportBharat.
    those signals plot are the excitation of the piezoelectric signals and the oscilloscope is connected directly to the pins of the piezo's which in the datasheet of the TIDM-ULTRASONIC-WATER-FLOW-MEASUREMENT named those pins as 'TX2/RX1 or TX2' and the other one is connected to 'TX1/RX2 or TX1'.
    i thought low sampling rate of my oscilloscope might be the reason of the unusual excitation sequence am i right?

  • Armin,

    For questions regarding the TIDM-ULTRASONIC-WATER-FLOW-MEASUREMENT please post them in the E2E threads for MSP430FR6972.

    The MSP430 team will help you answer these questions. I will close this thread for now.