From: Andreas Neiser Date: Tue, 2 Dec 2014 07:50:01 +0000 (+0100) Subject: Users: Mainz: Working config for ADC addon X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=8688dff6093de9371ce4375f473da0a80fd31b29;p=daqtools.git Users: Mainz: Working config for ADC addon --- diff --git a/users/mainz_kph_a2/setup.sh b/users/mainz_kph_a2/setup.sh index 7b7bc8e..2dd7223 100755 --- a/users/mainz_kph_a2/setup.sh +++ b/users/mainz_kph_a2/setup.sh @@ -69,19 +69,16 @@ trbcmd w 0x8000 0x8108 0x0578 #trbcmd w 0x0200 0xc2 0x0000ffff ## channel 01-31 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 - +#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 0xa140 0xfffff #set CTS pulser to 100Hz +#trbcmd w 0x8000 0xa140 0xfffff #set CTS pulser to 100Hz #trbcmd setbit 0x8000 0xa101 0x2 #enable pulser channel 0 -trbcmd setbit 0x8000 0xa101 0x1 # enable external trigger module - - +#trbcmd setbit 0x8000 0xa101 0x1 # enable external trigger module echo "Successfully setup TRB network"