C) Register 2 : COMMAND STRINGS =============================== Base Address + 04 VME write only access --------------------------------------------- The command strings contains the serial protocol for the ABC chip commands. Eg : Level 1 Trigger is the bit packet "110", and the first bit is ==== the LSB ( bit 0 ) of the string register, therefore we want to load the value of 3 "aaaaaa" is the 6-bit chip address TRIG = 3 bits ( Field 1 ) ( 110 = 0x0003 ) SRST = 7 bits ( Field 1 + 2 ) ( 101 0100 = 0x0015 ) BCRST = 7 bits ( Field 1 + 2 ) ( 101 0010 = 0x0025 ) CAL1 = 15 bits ( Field 1 + 2 + 3 ) ( 101 0111 0000 1100 = 0x1875 ) CAL2 = 12 bits ( Field 4 + 5 ) ( aaaaaa 110 000 = eg. 0x00c0 ) SLOCOM = 64 bits ( in 4 words of 16 bits ), each loaded sequentially by the LDSLOCOM | 'FAST' COMMAND STRINGS |'SLOW' COMMAND | BURST | | | STRING | COUNT | ---------|-------|------|-------|-------|--------|---|---|---|---|-------| | TRIG | SRST | BCRST | CAL1 | CAL2 | 1 | 2 | 3 | 4 | | ---------|-------|------|-------|-------|--------|---|---|---|---|-------| Bit 0 | 1 | 1 | 1 | 1 | a (MSB)| | | | | (LSB) | 1 1 0 0 0 a 2 0 1 1 1 a 3 - 0 0 0 a 4 - 1 0 0 a 5 - 0 1 1 a (LSB) 6 - 0 0 1 1 7 - - - 0 1 8 - - - 0 0 9 - - - 0 0 10 - - - 0 0 11 - - - 1 0 12 - - - 1 - 13 - - - 0 - 14 - - - 0 - 15 | - | - | - | - | - | | | | | (MSB) | ---------|-------|------|-------|-------|--------|---|---|---|---|-------|