06.02.2014 Views

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

02/07/2003 <strong>V767</strong> User's Manual – Rev.4<br />

4.5. TRIGGER OPCODES<br />

The following OPCODEs allow to set or read some trigger related parameters of the<br />

<strong>TDC</strong> chips. The following definition can be useful.<br />

• Trigger Window: a time window of programmable width (WIDTH) and relative<br />

position (OFFSET) with respect to the common TRIGGER signal, defined as follows:<br />

WIDTH = Tb - Ta ,<br />

OFFSET = Ta - Tt .<br />

Both the window width and the offset are expressed in clock cycles.<br />

WIDTH<br />

0<br />

Ta<br />

Tt<br />

Tb<br />

TRIGGER<br />

OFFSET<br />

Fig. 4.3: Trigger Window: width and offset<br />

4.5.1. SET WINDOW WIDTH (CODE 30xx)<br />

Allows to set the width of the trigger window. After this OPCODE a 16-bit word must be<br />

written at the same location of the OPCODE itself. The microcontroller will remain in a<br />

wait status until a 16-bit word is written. The value of the word can be set in a range from<br />

1 to 34000, or hex 84D0: the relevant window width is the word value times the clock<br />

period.<br />

4.5.2. READ WINDOW WIDTH (CODE 31xx)<br />

Allows to read the width of the trigger window, see § 4.5.1. After this OPCODE a 16-bit<br />

word must be read at the same location of the OPCODE itself. The microcontroller will<br />

remain in a wait status until a 16-bit word is read.<br />

4.5.3. SET WINDOW OFFSET (CODE 32xx)<br />

Allows to set the offset of the trigger window with respect to the trigger itself, i.e. the time<br />

difference (expressed in clock cycles) between the trigger time and the start of the<br />

trigger window. After this OPCODE a 16-bit word must be written at the same location of<br />

the OPCODE itself. The microcontroller will remain in a wait status until a 16-bit word is<br />

written. The window offset value must be greater than -32000, or hex 8300. The offset<br />

and width value are linked by the:<br />

OFFSET + WIDTH < 2000<br />

This implies, together with the § 4.5.1 constraints, that the trigger window must lie<br />

between two values: Trigger_time - 32000 and Trigger_time + 2000. The window offset<br />

is synchronized with the clock cycle, thus there could be a jitter of one clock cycle in the<br />

actual offset position.<br />

NPO:<br />

00001/97:<strong>V767</strong>x.MUTx/04 Page 48 of 75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!