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.

TDC7200 unable to mask 1st stop signal

Other Parts Discussed in Thread: TDC7200

Dear;

TDC7200 unable to mask 1st stop signal. By referring to the datasheet TDC7200 (Page 14, section 8.3.3.3), device TDC7200 is unable to mask 1st stop signals even though Clock Counter STOP mask value is set lower than Clock Counter Overflow value as stated in the datasheet.]

[Steps Needed to Recreate Problem:

Step to recreate the problem:
1. Provided CLOCK frequency: 15.625MHz
2. Configure TDC register setting:
   i.CONFIG1 register write value: 0x13
  ii.CONFIG2 register write value: 0xc4


** The rest TDC registers are set to its reset value as stated in datasheet.

3. By referring to CONFIG1 register setting, after START signal, 5 pulse stop signals will be sent. TDC will capture positive edge START signal and negative edge STOP signal.

4. Here's timing without any pulse masking:
   i. pulse 1: 328ns
  ii. pulse 2: 760ns
 iii. pulse 3: 1.19us
  iv. pulse 4: 1.62us
   v. pulse 5: 2.06us

5. Here's the setting for the TDC MASK:
    i.CLOCK_CNTR_STOP_MASK_H write value: 0x00
    ii.CLOCK_CNTR_STOP_MASK_L write value: 0x0A

6. Here's timing after pulse masking:
   i. pulse 1: infinity
  ii. pulse 2: infinity
 iii. pulse 3: infinity
  iv. pulse 4: infinity
   v. pulse 5: infinity
*** timing value return infinity due to TDC register CALIBRATION1 and CALIBRATION2 return 0 value.

Best regards
Kailyn
  • Kailyn,
    Could you please give me more details of your setup? How are start and stop generated? Are they free running? How is the trigger output used? Are you ensuring start input is generated after the trigger output of TDC7200?
    Any reason why start and stop edges are of different polarity? We recommend they use same polarity. Also, make sure CONFIG1 register is setup and finally the start measurement bit is set.
    Thanks,
    Vishy
  • Hi, Vishy

    I am the person in charge for the setup. Waveform below is my setup, in which D_EDGE_GEN is my stop pulses. I generated total 5 pulse into TDC Stop pin.

    D_TDC_TRIG and D_TDC_nINT are the output pin from TDC. Maximum output voltage is 3.3V. Even though I use same polarity for my Stop and Start signal, it still unable to mask the 1st pulse. May I know why?

  • Could you please show START signal as well? It looks to me the STOP is free running. Can you make sure START/STOP pulses are not free running (meaning those pins cannot be toggling before TRIG goes high) and happens only after TRIG is asserted.

    Thanks,
    Vishy