Setup

  1. You have to LogInToCRTServer to follow these steps
  2. Set up environment variables for using the timing software:

    source /nfs/sw/crt/timing-board-software/tests/env.sh

Check the timing endpoint status

  1. Check the status of the CRT timing endpoint:

    pdtbutler crt CRT_EPT status

  2. You'll get terminal output that looks like:

    +------------------+------------+
    | csr | 0x0 |
    | csr.ctrl | 0x0 |
    | csr.ctrl.tgrp | 0x0 |
    | csr.stat | 0x81 |
    | csr.stat.ep_rdy | 0x1 |
    | csr.stat.ep_stat | 0x8 |
    | pulse | 0x41 |
    | pulse.cnt | 0xa |
    | pulse.ctrl | 0x41 |
    | pulse.ctrl.cmd | 0x4 |
    | pulse.ctrl.en | 0x1 |
    | pulse.ctrl.force | 0x0 |
    | pulse.ts_h | 0x111c3f6 |
    | pulse.ts_l | 0x51a66efd |
    +------------------+------------+
  3. We're only interested "csr.stat.ep_stat":
    • 0x8 means the timing endpoint is in a good state. It's probably not the real problem.
    • 0xe means the timing endpoint experienced a "hardware error". It needs a soft reset:

      pdtbutler io CRT_EPT reset --soft
      pdtbutler crt CRT_EPT configure 0 RunStart
    • Anything else is bad news. A soft reset like above might fix it. Otherwise, contact a timing expert and the CrtExperts. The CRT timing endpoint has stopped talking to the rest of the timing system when problems like this have come up in the past.

There is more information about the CRT timing endpoint under CRTAdvancedOp, but it's hidden there for a good reason.

Why This Happens

Most ProtoDUNE systems have a timing endpoint that provides a system-specific interface to a common experiment clock and a run start signal. The CRT's timing endpoint provides a 50MHz clock signal, sends a sync pulse at the beginning of each run, and provides the start time of each run to the CRT board reader through a software interface. It is mounted in the CRT rack, so it will also lose power if the CRT rack goes off (things like the CRT server and HV supply might be off in such a situation).

-- Main.anolivie - 2018-11-02

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2019-03-15 - AndrewPaulOlivier
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CENF All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback