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+TDC7200温度数据读取问题

Other Parts Discussed in Thread: TDC1000, TDC7200

工程师:

你好,最近用TI开发板和软件,TDC1000和TDC7200测试温度,通过 示波器和软件读出的寄存器比对,发现寄存器中count 3 的数据移动到count4,count4移动到下面的寄存器。请结合我的配置和,示波器图片,看看那个地方出现的问题,谢谢

配置文件(复制到TXT文件就可以调用)

TDC1000_Config0 45
TDC1000_Config1 41
TDC1000_Config2 40
TDC1000_Config3 00
TDC1000_Config4 5F
TDC1000_TOF-1 E3
TDC1000_TOF-0 1E
TDC1000_Error_Flags 00
TDC1000_Timeout 73
TDC1000_Clock_Rate 01
TDC1000_Conts_Trigger 00
TDC7200_Config1 02
TDC7200_Config2 04
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 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 000000000001129B
GRAPH_YMIN_DATA 0000000000011237
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

  • 工程师:

    你好,最近用TI开发板和软件,TDC1000和TDC7200测试温度,通过 示波器和软件读出的寄存器比对,发现寄存器中count 3 的数据移动到count4,count4移动到下面的寄存器。请结合我的配置和,示波器图片,看看那个地方出现的问题,谢谢

    配置azTDC1000_Config0 45

    TDC1000_Config1 41
    TDC1000_Config2 40
    TDC1000_Config3 00
    TDC1000_Config4 5F
    TDC1000_TOF-1 E3
    TDC1000_TOF-0 1E
    TDC1000_Error_Flags 00
    TDC1000_Timeout 73
    TDC1000_Clock_Rate 01
    TDC1000_Conts_Trigger 00
    TDC7200_Config1 02
    TDC7200_Config2 04
    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 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 000000000001129B
    GRAPH_YMIN_DATA 0000000000011237
    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

  • 通过 示波器和软件读出的寄存器比对,发现寄存器中count 3 的数据移动到count4,count4移动到下面的寄存器。
    这种情况, 有可能是底层 SPI 控制出了问题, 比如是 CS 信号时序的问题
  • 您好,由于问题比较复杂,我们会研究您的问题后在下周回复您。请您耐心等待
  • 请问是否方便提供注册设置文件,我们看是否能够复制同样的问题,并且找出解决办法。
  • 你好,设置文件我发给你
  • TDC1000_Config0 45
    TDC1000_Config1 41
    TDC1000_Config2 40
    TDC1000_Config3 00
    TDC1000_Config4 5F
    TDC1000_TOF-1 E3
    TDC1000_TOF-0 1E
    TDC1000_Error_Flags 00
    TDC1000_Timeout 73
    TDC1000_Clock_Rate 01
    TDC1000_Conts_Trigger 00
    TDC7200_Config1 02
    TDC7200_Config2 04
    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 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 000000000001129B
    GRAPH_YMIN_DATA 0000000000011237
    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
    没法发文件,你直接复制保存到txt文件,就是设置的文件
  • 你好,问题有没有反馈,有没有解决?

  • 我已经附加了EVM的配置文件,工程师已经在这里测量了自己的EVM温度,已经验证了GUI中的温度读数是恒定的。请您尝试看这个文件是否有效。

    另外,在您提供的屏幕截图中,您测量从START1到STOP1的上升沿的ToF,但是到STOP2的下降沿这是不正确的,建议始终只测量从上升沿到上升沿。

    另请参阅以下链接中的TDC1000,以获取有关测量温度的文档。

  • 谢谢,已经知道问题原因,解决。