How to use bdaq53

Installation

########
# bdaq installation log !!
#
# based on https://gitlab.cern.ch/silab/bdaq53
mkdir -p ~/local
cd ~/local

wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
chmod 755 Miniconda2-latest-Linux-x86_64.sh
./Miniconda2-latest-Linux-x86_64.sh

export PATH=/usr/local/miniconda2/bin:$PATH

conda install numpy bitarray pyyaml scipy numba pytables matplotlib tqdm pyzmq blosc psutil

mkdir -p  ~/work/BDAQ53
cd ~/work/BDAQ53
#pip install git+https://gitlab.cern.ch/silab/bdaq53.git@master
git clone https://gitlab.cern.ch/silab/bdaq53.git
cd bdaq53
git checkout development
python setup.py develop

git clone https://github.com/SiLab-Bonn/basil
cd basil/
git checkout development
python setup.py develop
pip list

mkdir ~/work/BDAQ53/firmware
wget https://gitlab.cern.ch/silab/bdaq53/uploads/e6c86a8f778917a58148e78e4239b63f/KC705_SMA.tar.gz
tar -zxvf KC705_SMA.tar.gz
# vivado

cd ~/work/BDAQ53/
git clone https://github.com/uvemas/ViTables.git
cd ViTables /
emacs -nw setup.py  # to comment out bqt5

conda install qtpy pyqt pytables numpy numexpr
python setup.py install
vitables

source /home/atlasj/local/scripts/setup.sh
cd ~/work/BDAQ53/bdaq53/bdaq53/scans
python scan_digital.py

# for vitables

https://github.com/SiLab-Bonn/pyBAR/issues/90
 git clone https://github.com/uvemas/ViTables.git
# commented out pyqt5 line

########
# for firmware

mkdir ~/work/BDAQ53
cd ~/work/BDAQ53
wget https://gitlab.cern.ch/silab/bdaq53/uploads/392cbf04f54d36585b9265d94cc5ef21/KC705_RX640.tar.gz
tar -zxvf KC705_RX640.tar.gz
vivado
##### Add configuration memory : MT25QL128
#####

cd work/BDAQ53
git clone https://gitlab.cern.ch/silab/bdaq53.git
git checkout development
sudo python setup.py develop

RD53A tuning

各レジスターの値はYARRと同じで問題なさそう。

Digital scan,Analog scanはアンプやフィードバックを調整することで綺麗な応答を得られる。

Threshold チューニングもVthで変えることができるが、local tuneではtarget thresholdを指定できないのでtargetにglobal tuneした後にlocal tuning

meta_tune_threshold.pyを走らせる。

meta_tune_threhshold.pyは複数のFEに同時に使えない。

meta_tune_threshold.pyのstart,stop columnを編集してチューニング範囲を決める(Syn 0~127,Lin 128~163,Diff 164~399)

-- Koji Nakamura - 2018-07-10


This topic: Main > WebHome > RD53ADAQtop > Bdaq53HowTo
Topic revision: r3 - 2018-07-19 - AtlasjSilicon
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback