User Tools

Site Tools


trigger

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
trigger [2017/09/09 17:07]
pereira [Inputs and outputs]
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.
  
 {{:wiki:TriggerGUI.png?900|Trigger schematics of the S800}} {{:wiki:TriggerGUI.png?900|Trigger schematics of the S800}}
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 by right clicking on the corresponding drawn "wire", 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 "wire", thereby providing a convenient way to diagnose and adjust the timings at each step of the trigger circuit. 
  
  
Line 97: Line 97:
 ^                           ^ B16 (out) | Time stamp clock      ^ C16 (out) |                  ^ D16 (out) | 1 Hz | ^                           ^ B16 (out) | Time stamp clock      ^ C16 (out) |                  ^ D16 (out) | 1 Hz |
 ==== FPGA firmware ==== ==== FPGA firmware ====
-The firmware of the trigger module is shown in the following filesThe {{:wiki:Usbtrig.pdf|PDF file}} contains the schematic sheets, used for most of the design. The [[Verilog Trigger|Verilog file]] contains the block dealing with CAMAC communications.+Schematics of the firmware exist in S800 document folders (contact [[pereira@frib.msu.edu]]).
  
  
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 "Go" signal controlled by the trigger module. While "Go" is false, all time stamp counters can be reset via CAMAC command, typically during the begin sequences of the controllers or data acquisitions (see section "[[Trigger#Begin sequence|Begin sequence]]"). The clock signal is released when the "Go" signal is set to true at the end of the begin sequence. This simple scheme insures that all time stamp counters are synchronized.  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 "Go" signal controlled by the trigger module. While "Go" is false, all time stamp counters can be reset via CAMAC command, typically during the begin sequences of the controllers or data acquisitions (see section "[[Trigger#Begin sequence|Begin sequence]]"). The clock signal is released when the "Go" signal is set to true at the end of the begin sequence. This simple scheme insures that all time stamp counters are synchronized. 
  
-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 {{:wiki:stamp64.pdf|here}}. The inputs are the following: +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 in S800 document folders (contact [[pereira@frib.msu.edu]]). The inputs are the following: 
  
  
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, responsible for the communication with the VME. 
  
  
Line 155: Line 154:
  
  
-====== Begin sequence ====== 
-OBSOLETE: THIS SECTION IS BEING UPDATED 
- 
-The internal "Go" state of the trigger module is controlled via CAMAC commands. When "Go" is false, the trigger and time stamp clock signals are vetoed and therefore absent. This way all time stamp counters can be safely zeroed during the beginning sequence of the data acquisition systems. The last command of the CAMAC beginning sequence sets the "Go" state to true, at which point both trigger and time stamp signals are released. This mechanism ensures that all time stamp counters are synchronized. 
- 
-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, send CAMAC command to set "Go" state to true 
-  - after a preset delay of 200 to 300 microseconds, the "Go" level is set to true 
-  
-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 "Go" state of the module back to false. 
  
 ====== Scalers and dead time ====== ====== Scalers and dead time ======
trigger.1504991243.txt.gz ยท Last modified: 2017/09/09 17:07 by pereira