DETAILED TRIGGER TYPE V2 15/2005

(includes Marc Dejardin, Ken Bell and Dave Cockerill comments)

It is a TTC long command (16 bits) that will be written in the DCC header during calibration triggers coming during the orbit gaps. This means ECAL will be running in global mode. During those triggers, the RUN TYPE word will not be available. Of course, we can exercise this word even running in local provided the TTC ci (or equivalent) is available.

This word is composed of:

DCC# (6 bits)

HALF (2 bits):

- FIRST HALF (SM or Dee Quadrant) 01

- SECOND HALF(SM or Dee Quadrant) 10

- FULL SM (SM or Dee Quadrant) 11

TYPE (3 bits):

- LASER 001

- TEST PULSE 010

- PEDEST 011

- LED (for VPT stability) 100

WAVELENGHT (3 bits):

- RED 001

- BLUE 010

- INFRA-RED 011

- GREEN 100

- λ1(LED) 101

- λ2(LED) 110

RUN TYPE DESCRIPTION V3 15/6/2005

31 / 30 / 29 / 28 / 27 / 26 / 25 / 24 / 23 / 22 / 21 / 20 / 19 / 18 / 17 / 16 / 15 / 14 / 13 / 12 / 11 / 10 / 9 / 8 / 7 / 6 / 5 / 4 / 3 / 2 / 1 / 0
MEM / MGPA
CYCLE SETTINGS (15 bits) / GAIN / SEQUENCE / TYPE / HALF / DCC#
POWER / FILTER / WAVELENGTH / 0 / AUTO / STD / LASER
POWER / FILTER / WAVELENGTH / 1,16 / AUTO / POWER_SCAN / LASER
DELAY / WAVELENGTH / 0 / AUTO / DELAY_SCAN / LASER
VINJ / 1,16 / 0 / MEM_SCAN / TEST_PULSE
MGPA CONTENT / 0 / 1,6,12 / MGPA / TEST_PULSE
0 / 1,6,12 / STD / PEDESTAL
OFFSET / 0 / 1,6,12 / OFFSET_SCAN / PEDESTAL
WAVELENGTH / 0 / AUTO / STD / LED

(includes Marc Dejardin, Ken Bell and Dave Cockerill comments)

RUN TYPE is a 32 bits word written via VME by the DCC Supervisor when running in local mode:

DCC# (6 bits)

HALF (2 bits):

- FIRST HALF (SM or Dee Quadrant) 01

- SECOND HALF(SM or Dee Quadrant) 10

- FULL SM (SM or Dee Quadrant) 11

TYPE (3 bits):

- LASER 001

- TEST PULSE 010

- PEDEST 011

- LED (for VPT stability) 100

SEQUENCE (3 bits):

- for LASER type these are the SEQUENCES:

- STANDARD LASER 000

- LASER POWER SCAN 001

- DELAY SCAN 010

- for TEST PULSE type these are the SEQUENCES:

- SCAN MEM 000

- MGPA 001

- for PEDESTAL type these are the SEQUENCES:

- STANDARD PEDESTAL 000

- PEDESTAL OFFSET SCAN 001

- for LED type these are the SEQUENCES:

- STANDARD LED 000

GAIN:

FPGA (2 bits):

- 00 automatic

- 01 gain 12

- 10 gain 6

- 11 gain 1

MEM (1 bit)

- 1 gain 16 (MEM)

- 0 gain 1 (MEM)

CYCLE SETTINGS (15 bits):

- for STANDARD LASER SEQUENCE:

- WAVELENGHT (3 bits): 001 red, 010 blue, 011 infra-red,

100 green

- FILTER (set manually): 10 or 20 db (3 bits)

- POWER (here we encode in binary the current value

from 0 to 100 %)

- for LASER POWER SCAN SEQUENCE:

- WAVELENGHT (3 bits): 001 red, 010 blue, 011 infra-red,

100 green

- FILTER (set manually): 10 or 20 db (3 bits)

- POWER (here we encode in binary the current value)

- for DELAY SCAN SEQUENCE:

- WAVELENGHT (3 bits): 001 red, 010 blue, 011 infra-red,

100 green

- DELAY: there are 256 possible values

- for SCAN MEM SEQUENCE:

- VINJ for MEM (here we encode in binary the current

value: 0 – 60 mV for GAIN 16 (x 10)

0 – 500 mV for GAIN 1(x 10)

- for MGPA SEQUENCE:

- MGPA content (8 bits)

- for PEDESTAL OFFSET SCAN SEQUENCE:

- OFFSET VALUE (here we encode in binary the current value)

- for STANDARD LED SEQUENCE:

- WAVELENGHT (3 bits): λ1(LED) 101,

λ2(LED) 110