Skip to content

Using TDC

Christian Bespin edited this page Jun 13, 2022 · 1 revision

To sample the HITOR signal with high precision (640 MHz) connect the DP2 on the TJ-Monopix2 Single Chip Card to DP2 on the BDAQ53 Readout Board. In software, call configure_tdc_module() and enable_tdc_module() from system/bdaq53.py to configure and enable the TDC module in firmware.

For measuring delays between a user defined signal (on LEMO RX0) and HITOR with the TDC:

  • Make sure that resistors R400 and R401 on the BDAQ53 readout board have 1 kOhm resistance
  • Enable EN_TRIGGER_DIST in the global testbench.yaml in the root directory

To measure the time between the injection signal and the corresponding HITOR received from the chip, configure the LEMO_TX0 output with set_LEMO_MUX('LEMO_MUX_TX0', 1) and configure_cmd_loop_start_pulse() from system/bdaq53.py. This puts the CMD_LOOP_START signal on the mentioned LEMO output on the readout board. The signal is then fed to LEMO_RX0 (with a 1 ns LEMO cable) which is sampled by the TDC module in firmware. Keep in mind that this will not measure the absolute delay which depends on cable length etc. It should be used to measure relative delays between multiple pixels only.

Clone this wiki locally