This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
trigger [2023/10/24 16:47] swartzj [Trigger schematics] |
trigger [2024/09/25 13:14] (current) pereira [Time stamping] |
||
---|---|---|---|
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 155: | Line 154: | ||
- | ====== Begin sequence ====== | ||
- | OBSOLETE: THIS SECTION IS BEING UPDATED | ||
- | |||
- | 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 ====== |