Other Parts Discussed in Thread: TDC7200
Tool/software: TI C/C++ Compiler
Dear,
I have a problem with measurement temperature base on TDC1000 and TDC7200.
I can measure TOF for wind sonic look good already, now i try to do compensation for it base on temperature RTD1/RDT2 base the Tim1 to Tim6 data look do not stable:
My system: external clck 10Mhz
Now I connected Ref, RDT1, RTD2 = 1k to test fisrt. I expect Tref, Trtd1, Tref2 must near same. but it do not, every i measure, it got very different result.
my set up code:
TI_TDC1000_SPIByteWriteReg(TI_TDC1000_CONFIG3_REG, 0x00); //default mode, RTD1,2
TI_TDC1000_SPIByteWriteReg(TI_TDC1000_CONFIG2_REG, 0x40); //Temperature measurement
TI_TDC7200_SPIByteWriteReg(TI_TDC7200_CONFIG2_REG, 0x04); //5 Stops
other registers I keep in default.
now i start striger:
TI_TDC7200_SPIByteWriteReg(TI_TDC7200_CONFIG1_REG, 0x03);
wait until finish and read Timer 1 to timer 6 and result it not stable, like that:
TIMER1...............................................................TIMER 6
1478.0, 1572.0, 1534.0, 1711.0, 1584.0, 817.0
1053.0 , 1116.0, 482.0, 637.0, 278.0, 1434.0
865.0 , 214.0, 1552.0, 1732.0, 1755.0, 446.0
Eny suggest for me please?
Thanks you