Other Parts Discussed in Thread: TDC7201, TDC7201-ZAX-EVM
Hi,
I have the same/similar issue in my custom design (TDC7201) based off the TDC7201-ZAX-EVM module. I can read and write registers just fine, and the TDCx_INT_STATUS to becomes 0x19 after sending a signal (0b00011001 i.e. Measurement has completed, Measurement has started, No overflow detected (CLOCK_CNTR_OVF_INT), No overflow detected (COARSE_CNTR_OVF_INT) , and Interrupt detected - New Measurement has been completed (NEW_MEAS_INT). My printed readout is as follows.
Set OSC_ENABLE as Digital Output
Set OSC_ENABLE to high to enable TDC Clock
Set TDC_ENABLE as Digital Output
Ensure TDC_ENABLE is low until ready to enable TDC chip
Set CS lines as high outputs
Ensured CS lines are not enabled
Set TDC_ENABLE to high to enable TDC Chip
SPI Bus Opened
Data at TDC1_CALIBRATION1 location 0x1B is 000000
Data at TDC2_CALIBRATION1 location 0x1B is 000000
Data at TDC1_CALIBRATION2 location 0x1C is 000000
Data at TDC2_CALIBRATION2 location 0x1C is 000000
Writing to TDC1_CONFIG2 location 0x01 41C0
Writing to TDC2_CONFIG2 location 0x01 41C0
Writing to TDC1_INT_MASK location 0x03 4307
Writing to TDC2_INT_MASK location 0x03 4307
Data at TDC1_CONFIG1 location 0x00 is 00
Data at TDC2_CONFIG1 location 0x00 is 00
Data at TDC1_CONFIG2 location 0x01 is C0
Data at TDC2_CONFIG2 location 0x01 is C0
Data at TDC1_INT_STATUS location 0x02 is 00
Data at TDC2_INT_STATUS location 0x02 is 00
Data at TDC1_INT_MASK location 0x03 is 07
Data at TDC1_INT_MASK location 0x03 is 07
Writing to TDC1_CONFIG1 location 0x00 40C1
Writing to TDC2_CONFIG1 location 0x00 40C1
START signal sent
Data at TDC1_TIME1 location 0x10 is 000584
Data at TDC1_CLOCK_COUNT1 location 0x11 is 000000
Data at TDC1_Calibration1 location 0x1B is 000000
Data at TDC1_Calibration2 location 0x1C is 000000
Data at TDC2_TIME1 location 0x10 is 0005E7
Data at TDC2_CLOCK_COUNT1 location 0x11 is 000000
Data at TDC2_Calibration1 location 0x1B is 000000
Data at TDC2_Calibration2 location 0x1C is 000000
Data at TDC1_INT_STATUS location 0x02 is 19
Data at TDC2_INT_STATUS location 0x02 is 19
Data at TDC1_CONFIG1 location 0x00 is C0
Data at TDC2_CONFIG1 location 0x00 is C0
Data at TDC1_COARSE_CNTR_OVF_H location 0x04 is FF
Data at TDC1_COARSE_CNTR_OVF_L location 0x05 is FF
Data at TDC2_COARSE_CNTR_OVF_H location 0x04 is FF
Data at TDC2_COARSE_CNTR_OVF_L location 0x05 is FF
You can see my question with the following search: TDC7201: No Data at TDCx_Calibration1 (1Bh) and TDCx_Calibration2 (1Ch)
Unfortunately I haven't been able to solve it yet. Is there any other reason that I haven't been able to find which would disable or reset the TDCx_CALIBRATION (1 and 2) registers? Such as locked memory, or other other reasons?
Thanks,
Logan