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-TDC7200EVM errors when importing Register file generated by design tool

Other Parts Discussed in Thread: TDC1000, TDC7200

I'm evaluating the TDC1000-TDC7200EVM roadtest at element14.

The module and GUI work fine. I do have one issue though:

When I generate a new Register file in Webench

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

I used Max fluid level 0.5 m, min fluid level 0.01m, Accuracy 3mm, Automotive Q -grade needed false, speed of sound 1480 (water), sensor SMD15T21R111WL.

I get errors when importing in the GUI's TDC1000 tab (firmware   2.01, GUI Revision 1.2.7.1). The kit doesn't sample after I've loaded that registry file in registry.

I've attached a zip with the downloaded registry file and the export of the settings after loading that file (as advised by the error dialog)

registerfiles.zip

fyi, link to my roadtest articles:

http://www.element14.com/community/people/jancumps/content?filterID=contentstatus%5Bpublished%5D~language~language%5Ball%5D&filterID=contentstatus%5Bpublished%5D~tag%5Btdc1000%5D

  • We will have our SW check this condition, but the error condition occurs when a config file has been saved/created with one version of the GUI and then loaded with an upgraded version. If you save the loaded config file after the error message and then reload it again, the error condition will not occur unless you upgrade the GUI again.
  • Hi Bahram , this case is different.

    I'm using a file generated by the online TI webench tool, not from an older gui version:

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

    The Webench tool says that the file is specific for the evaluation board that I have, but when you load the file to the board it doesn't sample the liquid height.

  • Jan,

    There are two issues here:

    a) GUI error message you see when you try to load the web bench generated file:

    I diffed the two files you sent. The GUI correctly loaded the web bench generated TDC1000 and TDC7200 register settings but for some reason the CLK FREQ setting changed to 1.6  when you saved.  Please check this when you debug your setup. Otherwise the two files are the same except for some additional parameters the GUI was missing (& gave error) when you tried loading. These parameters doesn't modify/apply to your use case.

    b) Board doesn't sample the liquid height:

    Your setup with config file loaded has to be debugged together to find the issue.

    FYI, Matt Minasi is out on vacation.

    Thanks,

    Vishy

  • Thanks for the answer, Vishy Viswanathan (1880315) .

    I figured out point a. I also have no explanation on why the frequency changed , but came to the same conclusion.
    It's easy to replicate:

    - install latest GUI for the evaluation board.
    - generate a file with the Webench config tool.

    You'll get the same error (that can be ignored)
    You'll also get that change in frequency when you save the file again. It seems to be the GUI that saves a different value than the one it received from the Webench app.

     

    The more fundamental issue, also replicatable, is that when you generate a file with the online webench utility, the board seems to be in an invalid sate.

    - Mount the sensor that comes with the board as explained in snaa266a.pdf
    - Start gui with default settings:, go to the Graph tab, and start (or go to one-shot and push one-shot button)
    -> All works

    - load a file generated by the webench tool.
    - see that some things change in the SETUP tab. TDC1000 tab
    - go to the Graph tab, and start  (or go to one-shot and push one-shot button)
    -> the evaluation kit doesn't measure levels.  It seems that the file generated by the Webench utility isn't configuring the board in a working config.

    > FYI, Matt Minasi is out on vacation.

    My request isn't urgent at all. Happy Holidays to Everyone who Reads This!

  • Jan,

    I took a closer look at the web bench generated file: it sets CLK_SOURCE_SEL as 0 which means on board osc (8MHz) and then also sets CPU_CLK_EN as 1.  This is the cause of the issue you describe above: CPU_CLK_EN can be set only if CLK_SOURCE_SEL is CPU_CLK.

    I fixed this issue and enclosed here two files:

    a)  RegisterFiles-TDC1000_RegFile_Level&ID_1MHzAxial_Steminc_20141218-Modified.txt : This is the modified web bench file CPU_CLK_EN set as 0

    b) TDC1000_Setup_new_saved_after_error: This is the new file saved by GUI after error

    This should help with the GUI error issue but I don't know if this resolves your other problem. Please let us know.

    Thanks,

    Vishy

    TDC1000_Config0                         44
    TDC1000_Config1                         41
    TDC1000_Config2                         20
    TDC1000_Config3                         00
    TDC1000_Config4                         5F
    TDC1000_TOF-1                           E3
    TDC1000_TOF-0                           FF
    TDC1000_Error_Flags                     00
    TDC1000_Timeout                         23
    TDC1000_Clock_Rate                      03
    TDC1000_Conts_Trigger                   01
    TDC7200_Config1                         00
    TDC7200_Config2                         00
    TDC7200_Interrupt_Status                00
    TDC7200_Interrupt_Mask                  00
    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                     0001
    TDC_AVG/STDEV_NUM_ELEMS                 000A
    SAVE_GRAPH_DATA_TO_FILE                 00
    FLOW_MODE_SELECT                        00
    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                         0000000000009BA1
    GRAPH_YMIN_DATA                         0000000000009B3D
    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                            09
    CPU_CLK_EN                              00
    TDC1000_Config0                         44
    TDC1000_Config1                         41
    TDC1000_Config2                         20
    TDC1000_Config3                         00
    TDC1000_Config4                         5F
    TDC1000_TOF-1                           E3
    TDC1000_TOF-0                           FF
    TDC1000_Error_Flags                     00
    TDC1000_Timeout                         23
    TDC1000_Clock_Rate                      03
    TDC1000_Conts_Trigger                   01
    TDC7200_Config1                         00
    TDC7200_Config2                         00
    TDC7200_Interrupt_Status                00
    TDC7200_Interrupt_Mask                  00
    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                     0001
    TDC_AVG/STDEV_NUM_ELEMS                 000A
    SAVE_GRAPH_DATA_TO_FILE                 00
    FLOW_MODE_SELECT                        00
    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                         0000000000009BA1
    GRAPH_YMIN_DATA                         0000000000009B3D
    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                            09
    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

  • Thank you, . I'll test this out and report back...
  • I have tested the file you attached (TDC1000_Setup_new_saved_after_error.txt).

    It loads in the gui without issues, but the config file doesn't put the evaluation board in a working mode. It doesn't sample.
    If you load the file in to the GUI, all values are written to the registers, but when you press 'Graph', nothing happens (same if you press One Shot: no sampling happens with a Webench generated register file).

    The same is true if you generate a register file using the "Fluid ID/ Concentration" tab of the Webench application. That also renders the board in a non-sampling status.

    With the default GUI values, the board samples ok. But I'd like to be able to set up a configuration with the Webench config too, load it in GUI and run a test.

    Regards, Jan

  • Jan,

    Thanks for looking at this. I'm working on updating the Webench application data files to create the correct files to match the latest FW/GUI and to work with an updated transducer list. Not sure how long this will take but once its complete we'll keep you posted.

    In the meantime for a file that is setup for level measurements with the 15mm transducer download the TDC1000 file under the Steminc SMD10T2R111WL.

    regards,

  • , the file downloaded via the SMD10T2R111WL link works!

    Thank you.
  • Glad we got you up and running and sorry for the hiccups.-regards,
  • Hi

    We tried with SMD10T2R111WL register files but still getting error which is different from initial one as

     

  • Config file saves, in addition to TDC1000 and TDC7200 registers, all the GUI settings as well. If the config file is old, it may miss a few of the new GUI settings. After loading the config file, you just do a "Save Config" from TDC1000 registers tab and save it to a new file. Save config will save all your settings plus any additional settings added for the new GUi. Config files are text files so you can open and compare the two files and see what's new. See a screen capture of the difference below.

    "Enable MSP430 Timer TDC" allows you to choose MSP430 timer to measure Time of Flight instead of TDC7200. This is useful for some level applications that don't need the TDC7200 accuracy. Please don't select this option if you are using flow. 

    Similarly I suggest you don't select TDC1000 Impedance Match Enable and TDC1000 HV Boost Power Enable options. The "HV Boost Power Enable" is for Gas Flow applications that require high voltage boost power. We have a separate gas evm board for that.

    Thanks, Vishy