This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
trigger [2016/03/16 15:02] pereira [Configuration for S800 in tandem with other detectors] |
trigger [2024/09/25 13:14] (current) pereira [Time stamping] |
||
---|---|---|---|
Line 36: | Line 36: | ||
===== Trigger schematics ===== | ===== Trigger schematics ===== | ||
- | The trigger schematic is shown on the Graphical User Interface (GUI) displayed in the figure below. The GUI is automatically displayed when clicking in the Readout icon of the [[software|u6pc5]] desktop. | + | The trigger schematic is shown on the Graphical User Interface (GUI) displayed in the figure below. The GUI is automatically displayed when clicking in the Readout icon of the [[software|u4pc8]] desktop. |
{{: | {{: | ||
Line 56: | Line 56: | ||
==== Inspect channels ==== | ==== Inspect channels ==== | ||
- | A set of four inspect channels are patched out to the data-U6 panels. Each channel can be assigned to any connection drawn on the GUI, thereby providing a convenient way to diagnose and adjust the timings at each step of the trigger circuit. | + | A set of four inspect channels are patched out to the data-U4 panels. Each channel can be assigned to any connection drawn on the GUI by right clicking on the corresponding drawn " |
Line 85: | Line 85: | ||
^ A4 (in) | External 2 source ^ B4 (out) | QDC gate ^ C4 (in) | Busy 4 ^ D4 (out) | External 2 source | | ^ A4 (in) | External 2 source ^ B4 (out) | QDC gate ^ C4 (in) | Busy 4 ^ D4 (out) | External 2 source | | ||
^ A5 (in) | Clear busy ^ B5 (out) | TDC start ^ C5 (in) | Busy 5 ^ D5 (out) | S800 trigger | | ^ A5 (in) | Clear busy ^ B5 (out) | TDC start ^ C5 (in) | Busy 5 ^ D5 (out) | S800 trigger | | ||
- | ^ A6 (in) | Clear module | + | ^ A6 (in) | Clear module |
^ A7 (in) | Gretina sync ^ B7 (out) | ^ C7 (in) | Busy 7 ^ D7 (out) | External 1 trigger | | ^ A7 (in) | Gretina sync ^ B7 (out) | ^ C7 (in) | Busy 7 ^ D7 (out) | External 1 trigger | | ||
^ A8 (in) | Time stamp clock ^ B8 (out) | Live trigger | ^ A8 (in) | Time stamp clock ^ B8 (out) | Live trigger | ||
Line 97: | Line 97: | ||
^ | ^ | ||
==== FPGA firmware ==== | ==== FPGA firmware ==== | ||
- | The firmware | + | Schematics |
Line 103: | Line 103: | ||
The S800 ULM trigger module provides a vetoed 10 MHz clock signal (derived from the 40 MHz FPGA clock) used for time stamping. An external clock can also be used (as it is done, for instance, when running with GRETINA). The clock is inhibited by a " | The S800 ULM trigger module provides a vetoed 10 MHz clock signal (derived from the 40 MHz FPGA clock) used for time stamping. An external clock can also be used (as it is done, for instance, when running with GRETINA). The clock is inhibited by a " | ||
- | The time stamping clock is available as an output that can be distributed to other time stamp modules, such as the one located in the S800 VME crate (or in other data acquisition systems coupled to the S800). The S800 VME time-stamp module is implemented in a XLM72 (SpartanXL) FPGA. The schematics of the firmware is available | + | The time stamping clock is available as an output that can be distributed to other time stamp modules, such as the one located in the S800 VME crate (or in other data acquisition systems coupled to the S800). The S800 VME time-stamp module is implemented in a XLM72 (SpartanXL) FPGA. The schematics of the firmware is available |
Line 114: | Line 114: | ||
The clear can be done via software as well, and is usually done that way. | The clear can be done via software as well, and is usually done that way. | ||
- | The [[Verilog Time stamping|Verilog file]] contains the code of the REGISTERS module of the FPGA configuration, | ||
Line 121: | Line 120: | ||
====== Configuration for S800 in tandem with other detectors ====== | ====== Configuration for S800 in tandem with other detectors ====== | ||
- | In its standard configuration, | + | In its standard configuration, |
To incorporate an external detector in the S800 trigger logic, the same busy and end-of-event signals are required from its data acquisition system. This is to ensure that no live trigger signal is generated when any of the partners is busy or still processing an event. The 5 signals necessary between the S800 trigger and an external data acquisition system are the following: | To incorporate an external detector in the S800 trigger logic, the same busy and end-of-event signals are required from its data acquisition system. This is to ensure that no live trigger signal is generated when any of the partners is busy or still processing an event. The 5 signals necessary between the S800 trigger and an external data acquisition system are the following: | ||
Line 155: | Line 154: | ||
- | ====== Begin sequence ====== | ||
- | The internal " | ||
- | |||
- | The data acquisition begin sequence of the trigger module is the following: | ||
- | - reset time stamp counter to 0 | ||
- | - reset trigger register to 0 | ||
- | - after all modules in all crates have been initialized, | ||
- | - after a preset delay of 200 to 300 microseconds, | ||
- | |||
- | The last step of the begin sequence allows enough time for the CC-USB crate controller to switch from its interactive mode to data acquisition mode. The end sequence script executed at the end of a run sets the " | ||
====== Scalers and dead time ====== | ====== Scalers and dead time ====== |