From: Andreas Neiser Date: Wed, 8 May 2013 14:04:18 +0000 (+0200) Subject: users/mainz: setup.sh to TDC v1.5 and in CTS X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=c3f5caa394f6163e0302b4a135c306aece5f1b3b;p=daqtools.git users/mainz: setup.sh to TDC v1.5 and in CTS --- diff --git a/users/mainz_kph_a2/setup.sh b/users/mainz_kph_a2/setup.sh index 57097d8..faeffe7 100755 --- a/users/mainz_kph_a2/setup.sh +++ b/users/mainz_kph_a2/setup.sh @@ -64,18 +64,24 @@ trbcmd w 0x0200 0xc800 0x00000001 ## logic analyser control register trbcmd w 0x0200 0xc801 0x000f0005 ## trigger window enable & trigger window width trbcmd w 0x0200 0xc802 0x00000000 ## channel 01-31 enable trbcmd w 0x0200 0xc803 0x00000000 ## channel 32-63 enable +trbcmd w 0x0200 0xc804 0x00000080 ## no read out limit + #trbcmd w 0x0200 0xc2 0x0000ffff ## channel 01-31 enable -#trbcmd w 0x8000 0xc0 0x00000001 # logic analyser control register -#trbcmd w 0x8000 0xc1 0x000f0005 # trigger window enable & trigger window width (off if MSB not set) -#trbcmd w 0x8000 0xc2 0x00000000 # channel 32- 1 enable (0 is reference time and always on) -#trbcmd w 0x8000 0xc3 0x00000000 # channel 64-33 enable +trbcmd w 0x8000 0xc800 0x00000001 # logic analyser control register +trbcmd w 0x8000 0xc801 0x000f0005 # trigger window enable & trigger window width (off if MSB not set) +trbcmd w 0x8000 0xc802 0x00000002 # channel 32- 1 enable (0 is reference time and always on) +trbcmd w 0x8000 0xc803 0x00000000 # channel 64-33 enable +trbcmd w 0x8000 0xc804 0x00000080 ## no read out limit ##### CTS ####### trbcmd w 0x8000 0xa137 0xfffff #set CTS pulser to 100Hz -trbcmd setbit 0x8000 0xa101 0x2 #enable pulser channel 0 +#trbcmd setbit 0x8000 0xa101 0x2 #enable pulser channel 0 +trbcmd setbit 0x8000 0xa101 0x1 # enable external trigger module + + echo "Successfully setup TRB network"