This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
trigger [2013/12/26 13:20] pereira [Trigger] |
trigger [2015/10/20 11:45] pereira [Inputs and outputs] |
||
---|---|---|---|
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 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. |
{{: | {{: | ||
Line 46: | Line 46: | ||
In addition to the singles and coincidence triggers, two separate trigger sources labeled " | In addition to the singles and coincidence triggers, two separate trigger sources labeled " | ||
- | Since more than one trigger source can be selected, it is possible that more than one pulse is generated at the output of the trigger box, depending on the timing and shape of the source signals. When both downscaled singles and coincidences are selected for instance, the "Raw trigger" | + | Since more than one trigger source can be selected, it is possible that more than one pulse is generated at the output of the trigger box, depending on the timing and shape of the source signals. When both downscaled singles and coincidences are selected for instance, the "Raw trigger" |
More details about the trigger box module and its FPGA schematics can be found in section " | More details about the trigger box module and its FPGA schematics can be found in section " | ||
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-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. |
Line 69: | Line 69: | ||
===== Trigger module ===== | ===== Trigger module ===== | ||
- | The S800 trigger logic is built in a LeCroy ULM2367 | + | The S800 trigger logic is built in a FPGA {{: |
==== CAMAC commands ==== | ==== CAMAC commands ==== | ||
Line 77: | Line 77: | ||
==== Inputs and outputs ==== | ==== Inputs and outputs ==== | ||
- | A table with the list of inputs/ | + | The list of inputs/ |
+ | ^ Pin ^ Assignment | ||
+ | ^ A1 (in) | S800 source | ||
+ | ^ A2 (in) | Secondary source | ||
+ | ^ A3 (in) | External 1 source ^ B3 (out) | ADC gate ^ C3 (in) | Busy 3 ^ D3 (out) | External 1 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 | | ||
+ | ^ A6 (in) | Clear module | ||
+ | ^ A7 (in) | Gretina sync ^ B7 (out) | ^ C7 (in) | Busy 7 ^ D7 (out) | External 1 trigger | | ||
+ | ^ A8 (in) | Time stamp clock ^ B8 (out) | Live trigger | ||
+ | ^ | ||
+ | ^ | ||
+ | ^ | ||
+ | ^ | ||
+ | ^ | ||
+ | ^ | ||
+ | ^ | ||
+ | ^ | ||
==== FPGA firmware ==== | ==== FPGA firmware ==== | ||
The firmware of the trigger module is shown in the following files. The {{: | The firmware of the trigger module is shown in the following files. The {{: | ||
Line 84: | Line 101: | ||
====== Time stamping ====== | ====== Time stamping ====== | ||
- | The S800 trigger 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, after selecting the appropriate check box in the [[Trigger# | + | The S800 trigger 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, after selecting the appropriate check box in the [[Trigger# |
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 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. | ||
Line 157: | Line 174: | ||
In addition, scalers are connected to the raw and live trigger signals. For the determination of the dead time, both a free running and vetoed 10 kHz pulser signal are also connected to scalers. This is the preferred method because the pulser is not subject to possible double triggering effects like the raw trigger. | In addition, scalers are connected to the raw and live trigger signals. For the determination of the dead time, both a free running and vetoed 10 kHz pulser signal are also connected to scalers. This is the preferred method because the pulser is not subject to possible double triggering effects like the raw trigger. | ||
- | The list below is a direct copy of the scaler description file for the s800. This file maps channel names to channel numbers, and in addition determines the layout. | + | The remining 16 scaler input channels (pins 17 to 32 in module) are connected to a **16-channel CFD CAEN C808**, which sends the signals from the S800 detectors (**E1 up,** **E1 down**, **CRDC1**, **CRDC2**, **OBJ_SCI**, |
+ | |||
+ | The list below is a direct copy of the scaler description file for the s800. This file maps channel names to channel numbers, and in addition determines the layout. | ||
^ Channel name ^ Channel number ^ Channel name ^ Channel number | | ^ Channel name ^ Channel number ^ Channel name ^ Channel number | | ||
Line 177: | Line 197: | ||
| S800.Source | | S800.Source | ||
| Hodo.OR | | Hodo.OR | ||
+ | |||
+ | In principle, it is possible to include other signals into the scaler channels that are not used. This requires changes in some of the tcl scripts. Make sure that you communicate with the S800 responsible, | ||
+ | |||
+ | * Modify the scaler display script to include the new signals: Go to **/ | ||
+ | |||
+ | * Connect the new logic signals into the free input channels of the 1**6-ch CFD CAEN C808.** Follow the output ribbon cable to know the corresponding scaler channel where the new signals from the CFD are sent. | ||
+ | |||
+ | * Enable the new CFD CAEN C808 channels (if they are not yet enabled): Go to **/ | ||
+ | |||
+ | * Start the scalers display script. You should see the new channels in the display counting. If they are zero, the CFD thresholds may be too high. If that is the case, you should lower them in file **s800cfdini.tcl** (directory **/ | ||
+ | |||
+ | |||
+ | |||