]> jspc29.x-matter.uni-frankfurt.de Git - daqtools.git/commitdiff
users/mainz: setup.sh to TDC v1.5 and in CTS
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Wed, 8 May 2013 14:04:18 +0000 (16:04 +0200)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Wed, 8 May 2013 14:04:18 +0000 (16:04 +0200)
users/mainz_kph_a2/setup.sh

index 57097d8aeedd9f448e27641a5bdbee51de0712ff..faeffe7be1169451d8a39b3be86e9d711d501642 100755 (executable)
@@ -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"