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.

TDC 1000 GUI not generating 5 stops

Other Parts Discussed in Thread: TDC1000, TDC7200

Hi,

The TDC 1000 TDC 7200 EVM's GUI is not generating the data for the five stop signals for flow measurement mode. It is generating data for only 1 stop signal. I have configured the system as follows:

for TDC 1000:

NUM_TX = 10,

NUM_RX =5,

for TDC 7200:

Number of stops = five 

I guess this configuration should generate 5 start to stop signals. Even in CRO i can see the five stop pulses. Please help.

Also attaching the spreadsheet screenshot below:

  • Please share with us rest of the rest of TDC1000 and TDC7200 register settings also. In particular, if you are trying flow measurements with 5 stops, make sure (in addition to what you have chosen)
    a) TDC7200 CONFIG1 mode is selected as Measurement Mode 2
    b) TDC1000 CONFIG2: TOF_MEAS_MODE = Mode 2, EXT_CHSEL = Disabled, Ch_SWP = Enabled, and MEAS_MODE = TOF Measurement
    c) TDC1000 CONFIG4: RECEIVE_MODE = Single_Echo
    d) In Graph tab, Flow_Mode should be selected.

    It's always good to use a config file and save/load all your settings. Before starting the test, load the config file and makessure all the GUI settings are properly set and enabled in addition to all the register settings.

    Thanks,
    Vishy
  • These are the register settings that i used. Those settings that are not mentioned below are default values.
    TDC1000 :
    1. CONFIG0 - div by 8, NUM_TX = 10 pulses
    2. CONFIG1 - NUM_AVG - 1 cycle, NUM_RX - 5 pulses
    3. CONFIG2 - CH_SWP enabled, TOF_MEAS_MODE - mode 2
    4. CONFIG3 - echo_qual_thld - -125mv
    5. CONFIG4 - Receive mode - single echo, tx shift pos - 31
    6. TOF1 - PGA_GAIN - 9dB, PGA_CTRL - active, LNA_CTRL - active
    7. TIME_OUT - echo_timeout - enabled, TOF_TIMEOUT_CTRL -128us
    8. CLOCK_RATE - autozero - 8us

    TDC7200:
    1. CONFIG1: mode2, force calibration always at end
    2. CONFIG2: Number of stops - 5, averaging cycles - 1, calibration periods - 10 clocks

    General settings: 8MHZ clock, trigger frequency 200ms, uart stream enabled, flow mode checked, save to file also checked.

    Also it seems the GUI plots junk values once the measurement is restarted. The only way i can fix this is by power cycling the device and reloading the settings.
  • Please try with this enclosed config file.

    TDC1000_Config0                         4A
    TDC1000_Config1                         45
    TDC1000_Config2                         12
    TDC1000_Config3                         0B
    TDC1000_Config4                         1F
    TDC1000_TOF-1                           60
    TDC1000_TOF-0                           1F
    TDC1000_Error_Flags                     00
    TDC1000_Timeout                         21
    TDC1000_Clock_Rate                      02
    TDC1000_Conts_Trigger                   00
    TDC7200_Config1                         02
    TDC7200_Config2                         44
    TDC7200_Interrupt_Status                07
    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                     0000
    TDC_AVG/STDEV_NUM_ELEMS                 0014
    SAVE_GRAPH_DATA_TO_FILE                 00
    FLOW_MODE_SELECT                        01
    Y-SCALE_CENTER                          0000
    X-SCALE_RANGE                           0000
    MEASURE_RTD1                            01
    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                         000000008CCCCCCC
    GRAPH_YMIN_DATA                         000000007FFFFFFF
    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                    3A98
    FWD2REV_FLOW_DELAY                      0000
    TDC1000-IMPE_MATCH_EN                   00
    ENABLE_UART_STREAM                      00
    ENABLE_MSP430TIMER_TDC                  00

    Also, can you post scope shot of START, STOP and COMP_IN signals.

    Thanks,

    vishy

  • If you have not seen already, this document below would also help in debugging

    8764.Interfacing a water flow sesnor to TDC1000-TDC7200EVM.pdf

  • Sir ,Can you please  help me with the connections you made with the transducers and the evm kit

    as because i connected but i couldn't get any of the readings.

    thank you