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: I need to update the firmware, a working setup files and an opinion on my experimental setup

Part Number: TDC1000-TDC7200EVM

Hi everybody,

I am trying to make a flowmeter using the TDC1000-TDC7200EVM and I am not getting any results still after more than a month of experimenting. I have read on the forum about this topic but haven't solved my problem yet. The flow chart on the GUI is giving chaotic values for a pretty solid experimental setup. I have a steel pipe with screwed on transducers at a 70 degree angel. The transducers operational frequency is 1MHz and I know that the soundwave gets transmitted through the medium (water for now) and back in to the EVM.
I have read that a stable experimental setup is crucial and I think that this setup really should give a some what ok flow measurement.

.I am attaching a photo of the experimental setup for opinions.

Also, the GUI says that i need revision 2,01 but I cannot find a way to update the firmware.

In conclusion, I need to update the firmware, a working setup file, guidance on why the graph could be giving chaotic values instead of a steady flow graph and an opinion on my experimental setup.

Any help is appreciated and more info about my current setup etc could be presented if needed=)

  • Hello,

    The firmware upgrade procedure is described in the EVM user guide ( www.ti.com/.../sniu021a.pdf ) starting on page 24. If you are not able to update the firmware using the GUI, you can run the update procedure on its own by running the .exe file in this directory: C:\Program Files (x86)\Texas Instruments\TDC1000_7200EVM\MSP430 USB Firmware Upgrade Example

    I have attached a config file that is set up to be used with an audiowell test pipe that has 1Mhz transducers separated by 72mm directly in line with the direction of flow. It is also set up for use with an impedance matching circuit that is described in this application note www.ti.com/.../snia020.pdf  . You will need to change some of the settings to match your own setup.

    TDC1000_Config0                         42
    TDC1000_Config1                         45
    TDC1000_Config2                         12
    TDC1000_Config3                         08
    TDC1000_Config4                         1F
    TDC1000_TOF-1                           80
    TDC1000_TOF-0                           28
    TDC1000_Error_Flags                     00
    TDC1000_Timeout                         6A
    TDC1000_Clock_Rate                      03
    TDC1000_Conts_Trigger                   01
    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                     0002
    TDC_AVG/STDEV_NUM_ELEMS                 0064
    SAVE_GRAPH_DATA_TO_FILE                 00
    FLOW_MODE_SELECT                        01
    Y-SCALE_CENTER                          0000
    X-SCALE_RANGE                           0000
    MEASURE_RTD1                            00
    SAVE_RESULT_REGR_TO_FILE                00
    GRAPH_MULTI_STOPS                       00
    TDC_SELECT                              04
    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                    000F
    FWD2REV_FLOW_DELAY                      0000
    TDC1000-IMPE_MATCH_EN                   01

    Could you please log the data from the GUI and upload it here so I can see what kind of values you are getting?

    Regards,

  • Hi,

    The link to the EVM user guide doesn't work for me, but I think i found the document you are reffering to and managed to update the firmware.

    I've attached a file with the data from a measurement using the setup file you proposed. I wasn't able to load all the config parameters. The GUI says 49 out of 50, but it doesnt say which one the 50'th is.

    Which settings do I need to change for my own setup and which are static? Me and my team have been trying to understand the setting "Interrupt mask". I am reading about it in this document:

    https://www.terraelectronica.ru/%2Fds%2Fpdf%2FT%2Ftdc7200.pdf

    on page 13 section §8.3.3.3

    But I don't understand how to apply it or what it really does. I interpret it as a setting for a time-window, between the start pulse and the recieved pulse, where I tell the EVM to ignore everything outside of that time-window.

    Start_to_Stop1, Start_to_Stop2, Start_to_Stop3, Start_to_Stop4, Start_to_Stop5, Delta_TOF, RTD1 Temp, Speed of Sound (m/s), Water Velocity (m/s), Flow Rate (Gal/mt)
    34857,817760,35939,897225,37059,962511,38442,881006,39549,576660,0,000000,0,000000,1404,300000,0,070000,0,110000
    34843,310039,35901,971536,37078,791318,38412,358447,39528,635738,20,940923,0,000000,1404,300000,0,070000,0,110000
    34865,130069,35940,531752,37054,399388,38446,901301,39569,376435,0,000000,0,000000,1404,300000,0,070000,0,110000
    34844,662606,35899,368024,37058,196575,38418,059732,39551,602874,17,773560,0,000000,1404,300000,0,330000,0,500000
    34870,524558,35938,803744,37052,156118,38444,484113,39541,254399,0,000000,0,000000,1404,300000,0,330000,0,500000
    34851,219015,35903,460675,37089,857697,38405,813271,39531,042793,10,211606,0,000000,1404,300000,0,300000,0,460000
    34875,057395,35941,693026,37054,467884,38452,942452,39539,143411,0,000000,0,000000,1404,300000,0,300000,0,460000
    34852,804691,35909,134370,37106,992606,38413,838603,39531,839623,7,303788,0,000000,1404,300000,0,250000,0,390000
    34857,462515,35929,391065,37071,488678,38448,496787,39537,006579,0,000000,0,000000,1404,300000,0,250000,0,390000
    34835,037744,35889,746761,37096,112160,38498,393349,39522,378354,14,628225,0,000000,1404,300000,0,210000,0,330000
    34854,186853,35935,871284,37098,507063,38442,354276,39564,084094,0,000000,0,000000,1404,300000,0,210000,0,330000
    34833,341837,35901,173469,37144,917092,38394,113520,39535,471939,28,612155,0,000000,1404,300000,0,220000,0,330000
    34854,749885,35934,201469,37051,571822,38455,139972,39582,491969,0,000000,0,000000,1404,300000,0,220000,0,330000
    34832,955125,35901,561703,37038,781234,38410,396481,39528,569607,53,922361,0,000000,1404,300000,0,260000,0,390000
    34851,766866,35923,244608,37021,684259,38433,799908,39560,578247,0,000000,0,000000,1404,300000,0,260000,0,390000
    34829,721698,35889,807918,37058,887302,38407,657773,39534,379623,26,198623,0,000000,1404,300000,0,340000,0,530000
    34851,777245,35929,503034,37079,574430,38440,633128,39550,142792,0,000000,0,000000,1404,300000,0,340000,0,530000
    34829,586606,35895,829083,37134,180863,38411,780832,39567,536723,-17,393932,0,000000,1404,300000,0,350000,0,540000
    34868,920159,35934,479199,37072,441878,38432,242276,39570,262313,0,000000,0,000000,1404,300000,0,350000,0,540000
    34854,145415,35900,993318,37074,996175,38387,049883,39504,418290,65,844022,0,000000,1404,300000,0,280000,0,430000
    34844,562889,35921,133837,37076,488065,38426,183311,39542,059829,0,000000,0,000000,1404,300000,0,280000,0,430000
    34827,540687,35879,591602,37084,772461,38390,554053,39538,569461,3,490368,0,000000,1404,300000,0,360000,0,550000
    34850,551930,35930,696477,37071,699893,38445,265895,39576,116606,0,000000,0,000000,1404,300000,0,360000,0,550000
    34842,459468,35895,304374,37075,596513,38415,321964,39569,803457,6,313150,0,000000,1404,300000,0,330000,0,510000
    34846,410525,35923,578501,37043,180890,38440,919763,39533,534096,0,000000,0,000000,1404,300000,0,330000,0,510000
    34827,772113,35889,567933,37043,417028,38404,766760,39510,954627,22,579469,0,000000,1404,300000,0,310000,0,480000
    34859,146933,35945,046953,37010,736705,38429,544759,39564,649893,0,000000,0,000000,1404,300000,0,310000,0,480000
    34838,338772,35913,834642,37044,341475,38397,887773,39531,320110,33,329783,0,000000,1404,300000,0,310000,0,480000
    34844,304507,35927,486998,37043,882572,38452,784010,39553,347440,0,000000,0,000000,1404,300000,0,310000,0,480000
    34828,102683,35896,175525,37084,702102,38404,152214,39507,747143,45,600297,0,000000,1404,300000,0,330000,0,510000
    34852,815177,35932,087668,37067,759333,38444,939565,39563,857864,0,000000,0,000000,1404,300000,0,330000,0,510000
    34839,261129,35893,414410,37069,469940,38406,149610,39556,046352,7,811513,0,000000,1404,300000,0,360000,0,550000
    34853,973273,35932,093492,37089,570795,38438,520096,39553,019484,0,000000,0,000000,1404,300000,0,360000,0,550000
    34839,525133,35902,872655,37085,567904,38394,040579,39535,615059,17,404425,0,000000,1404,300000,0,340000,0,520000
    34859,424411,35935,364174,37062,831531,38427,904723,39559,618229,0,000000,0,000000,1404,300000,0,340000,0,520000
    34839,513414,35906,214934,37088,078904,38391,238651,39534,083954,25,534275,0,000000,1404,300000,0,340000,0,520000
    34931,792106,35939,134924,37067,347407,38436,668196,39545,949977,0,000000,0,000000,1404,300000,0,340000,0,520000
    34851,082963,35904,733660,37084,494107,38395,434716,39547,298332,-1,348354,0,000000,1404,300000,0,340000,0,520000
    34856,044376,35936,572303,37071,384851,38435,883703,39558,703137,0,000000,0,000000,1404,300000,0,340000,0,520000
    34836,732613,35901,501632,37081,455231,38389,283347,39540,211350,18,491787,0,000000,1404,300000,0,320000,0,490000
    34860,543827,35932,193667,37049,506654,38457,434603,39569,584672,0,000000,0,000000,1404,300000,0,320000,0,490000
    34843,023552,35900,463907,37122,476550,38530,969617,39523,055159,46,529513,0,000000,1404,300000,0,320000,0,490000
    34876,779337,35941,753827,37076,626276,38450,822704,39571,460459,0,000000,0,000000,1404,300000,0,320000,0,490000
    34855,067292,35912,106189,37084,076774,38413,310563,39559,759890,11,700569,0,000000,1404,300000,0,340000,0,520000
    34857,806763,35939,087362,37112,205477,38445,628060,39568,160955,0,000000,0,000000,1404,300000,0,340000,0,520000
    34839,818641,35910,296143,37142,389807,38406,450872,39551,021579,17,139375,0,000000,1404,300000,0,330000,0,510000
    34855,054345,35933,095627,37037,027351,38436,540032,39542,308772,0,000000,0,000000,1404,300000,0,330000,0,510000
    34832,819271,35899,834310,37068,710171,38384,979607,39516,976803,25,331968,0,000000,1404,300000,0,330000,0,510000
    34860,195858,35930,085178,37034,083954,38437,716770,39536,034887,0,000000,0,000000,1404,300000,0,330000,0,510000
    34967,904114,35890,082581,37081,950604,38407,688484,39519,498394,16,536493,0,000000,1404,300000,0,330000,0,510000
    34866,339095,35938,551545,37068,656317,38350,833588,38570,778526,0,000000,0,000000,1404,300000,0,330000,0,510000
    34842,493246,35892,030685,37080,049952,38402,811051,39534,061369,-963,282844,0,000000,1404,300000,0,330000,0,510000
    34854,368437,35936,015394,37080,684830,38442,266031,39683,950963,0,000000,0,000000,1404,300000,0,330000,0,510000
    34839,607358,35900,142872,37091,214665,38406,399888,39525,429891,158,521073,0,000000,1404,300000,0,260000,0,400000
    34856,525177,35942,152186,37088,101372,38444,218407,39568,931432,0,000000,0,000000,1404,300000,0,260000,0,400000
    34836,723892,35907,198612,37120,695373,38414,315596,39548,670986,20,260446,0,000000,1404,300000,0,150000,0,240000
    34855,354048,35931,605577,37063,200958,38424,207280,39538,597319,0,000000,0,000000,1404,300000,0,150000,0,240000
    34837,681714,35895,428462,37036,725325,38386,820964,39531,446060,7,151259,0,000000,1404,300000,0,140000,0,210000
    34870,353610,35932,248113,37032,524730,38439,820008,39557,133388,0,000000,0,000000,1404,300000,0,140000,0,210000
    34868,057326,35902,311674,37069,713623,38410,057632,39536,033049,21,100338,0,000000,1404,300000,0,130000,0,200000
    34865,931585,35935,551758,37073,924800,38439,167645,39533,518698,0,000000,0,000000,1404,300000,0,130000,0,200000
    34846,021887,35904,156676,37080,640018,38410,986684,39524,794653,8,724045,0,000000,1404,300000,0,110000,0,170000
    34858,312086,35930,762366,37039,354921,38436,900816,39538,035441,0,000000,0,000000,1404,300000,0,110000,0,170000
    34842,463395,35901,918269,37049,991072,38389,578338,39510,847661,27,187780,0,000000,1404,300000,0,100000,0,160000
    34857,929347,35932,520263,37053,333843,38446,799969,39574,208595,0,000000,0,000000,1404,300000,0,100000,0,160000
    34848,726480,35892,496558,37057,996788,38403,797614,39546,523635,27,684960,0,000000,1404,300000,0,080000,0,130000
    34856,612772,35927,044017,37025,362134,38451,258543,39558,929664,0,000000,0,000000,1404,300000,0,080000,0,130000
    34840,002295,35894,503365,37048,299511,38417,161687,39522,142056,36,787609,0,000000,1404,300000,0,070000,0,100000
    34860,543090,35931,278684,37022,660632,38450,382458,39576,357726,0,000000,0,000000,1404,300000,0,070000,0,100000
    34856,113687,35885,490980,37070,226508,38425,161792,39540,416072,35,941653,0,000000,1404,300000,0,050000,0,070000
    34860,429839,35922,381705,37008,604426,38448,768611,39550,249847,0,000000,0,000000,1404,300000,0,050000,0,070000
    34844,347804,35898,988675,37025,480794,38428,831046,39541,320206,8,929641,0,000000,1404,300000,0,030000,0,040000
    34858,276803,35933,700143,37061,569163,38440,356268,39545,846935,0,000000,0,000000,1404,300000,0,030000,0,040000
    34840,078029,35898,982558,37068,562576,38414,588433,39510,843788,35,003146,0,000000,1404,300000,0,020000,0,040000
    34860,543090,35946,137175,37105,214176,38455,603009,39567,637685,0,000000,0,000000,1404,300000,0,020000,0,040000
    34842,430386,35910,916463,37093,864749,38427,268207,39544,924266,22,713419,0,000000,1404,300000,0,010000,0,010000
    34853,681083,35937,828327,37081,361249,38431,344673,39546,934768,0,000000,0,000000,1404,300000,0,010000,0,010000
    34840,566687,35906,030132,37078,349648,38408,209697,39528,506424,18,428344,0,000000,1404,300000,0,000000,0,000000
    34869,663079,35957,119720,37038,563558,38445,068608,39546,138543,0,000000,0,000000,1404,300000,0,000000,0,000000
    34847,297297,35904,544875,37084,790923,38424,050229,39546,468638,-0,330095,0,000000,1404,300000,0,000000,0,000000
    34865,017339,35933,748534,37077,164822,38455,320261,39598,621806,0,000000,0,000000,1404,300000,0,000000,0,000000
    34844,620269,35900,189993,37079,184943,38429,913037,39584,693461,13,928345,0,000000,1404,300000,0,000000,0,000000
    34865,481166,35938,191294,37074,946480,38444,900352,39560,209491,0,000000,0,000000,1404,300000,0,000000,0,000000
    34842,984225,35903,544262,37068,517715,38411,470033,39533,196345,27,013146,0,000000,1404,300000,0,000000,0,000000
    34856,935237,35931,163947,37027,078021,38440,170831,39524,725905,0,000000,0,000000,1404,300000,0,000000,0,000000
    34846,731651,35900,286697,37025,688073,38410,665138,39503,497706,21,228199,0,000000,1404,300000,0,000000,0,000000
    34875,688776,35936,473214,37033,807398,38445,484694,39551,543367,0,000000,0,000000,1404,300000,0,000000,0,000000
    34862,261553,35907,190401,37055,372080,38415,223656,39541,141742,10,401625,0,000000,1404,300000,0,000000,0,000000
    34872,762165,35932,724676,37066,962920,38440,585790,39545,273131,0,000000,0,000000,1404,300000,0,000000,0,000000
    34847,614007,35906,275505,37081,545858,38418,613548,39542,293665,2,979466,0,000000,1404,300000,0,010000,0,010000
    34870,755366,35944,176057,37092,234742,38453,181563,39570,724774,0,000000,0,000000,1404,300000,0,010000,0,010000
    34846,126868,35910,523899,37110,365760,38420,165281,39540,115033,30,609741,0,000000,1404,300000,0,010000,0,010000
    34866,854892,35942,569979,37061,432468,38442,971498,39554,205119,0,000000,0,000000,1404,300000,0,010000,0,010000
    34854,484368,35906,442852,37109,476207,38411,778956,39614,155659,-59,950540,0,000000,1404,300000,0,020000,0,030000
    34857,151056,35935,319100,37082,357668,38450,814968,39591,540404,0,000000,0,000000,1404,300000,0,020000,0,030000
    34844,797246,35905,470543,37074,311400,38414,824024,39564,613619,26,926785,0,000000,1404,300000,0,000000,0,000000
    34876,377200,35936,629686,37053,538638,38449,483550,39570,351951,0,000000,0,000000,1404,300000,0,000000,0,000000
    34849,457020,35903,104925,37054,087641,38416,354390,39545,942949,24,409002,0,000000,1404,300000,0,000000,0,010000
    34868,517007,35929,445663,37025,587740,38440,690499,39544,348258,0,000000,0,000000,1404,300000,0,000000,0,010000
    34852,371788,35900,062449,37052,705699,38409,181281,39529,306434,15,041825,0,000000,1404,300000,0,010000,0,020000

  • Another question, the TRIGGER UPDATE FREQ seems to be the setting that controls how often a deltaTOF measurement is done. Is it not possible to make more than 10 measurements per second? The lowest that setting can go is 100ms
  • Some versions of the GUI produce a different number of settings. If you get the error of 49 out of 50 settings, just click "Save config" again and reload it. This will update the config file to include the correct settings.

    Please try this link instead http://www.ti.com/lit/an/snia020/snia020.pdf for the water flow app note that will help you select the proper register settings for your application.

    The interrupt mask option will mask the output of the INTB pin. You can select which interrupts will actually be output as a digital pulse on the INTB pin. The interrupts will always show up on the interrupt status register within the part. It allows you to control which interrupts your microcontroller will see when it monitors the INTB pin.

    It is possible to make measurements more quickly than 10 times per second. This limit is in place because of the speed of the USB communication for the GUI. In a different system that does not rely on communication with the GUI, the update frequency only depends on your clock frequency and the actual time of flight.