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: Synchronisation and code examples

Part Number: TDC7200

Hi team,

2 quick questions:

  1. Is there a way to synchronize 4x TDC7200?
  2. Are there any code examples on how to control the device like the GUI of the EVM does?

Thank you,

Franz

  • Hey Franz,

    Thanks for reaching out on the forum.  You could synchronize multiple TDC7200 devices through a microcontroller controlling the CSB pins.  After enabling all of the devices, through the csb pins you can determine the order in which each device receives the start measurement command.  You can then monitor the measurement status of each device through monitoring the INTB pin with an interrupt routine.

    We do not have any specific code examples for this particular case.  However, for any TI microcontroller you want to use there should be some sample code available on the IC product page.  Typically in that sample code bundle there will be at least one SPI communication example if SPI is supported by the device.

  • Dear Patrick,

    our idea for synchronizing the 4 TDCs is like that:

    Do you think, there is any constraint we have overseen?

    The projected sequence is:
    we need to sync with another data-source @2 kHz, this signal triggers the controller to write
    START MEASUREMENT command to all TDCs, which respond with their own trigger signal.
    If all TRIGGER signals have been captured by the MCU, the MCU will send the START signal
    to all TDCs and all sensors at the same time. The START signal will be adjustable between 3 and 30 µs.

    :-) Martin

  • Hello Martin,

    What you have looks like it might work.  However, I do not know if there is any delay the sensors might have between receiving the start signal and generating the echo.  If there is any delay, that might affect the accuracy of your results.  Aside from that, I only see a lower bound for the start signal pulse width.  Therefore I think a duration between 3 and 30us should be fine.