We will use the latest felix-distribution package. To install, please follow the instructions here.
cd <Felix-distribution directory>
export REGMAP_VERSION=0x0500
source setup.sh
flx-reset -c 0 ALL
Check your FELIX device number for the pixel chip using either flx-info -c X
or cat /proc/flx
command.
flx-init -c 0
fgpolarity -c 0 -r set
flx-config -d 0 set LPGBT_FEC=0xF
This sets the FEC12 encoding in FELIX, default encoding pattern is FEC5.
source config_encoding_decoding.sh 0
The example config_endcoding_decoding.sh
script for the LBL setup can be found
here.
source config_CalTrigSeq.sh 3 0
The first argument is the calibration type (3=Digital scan) and the second argument is the FELIX device number. The example config_CalTrigSeq.sh
script for the LBL setup can be found here.
These are the minimal settings required for now. This should establish a very stable alignment between FELIX and LpGBT main chip (flx-info -c 0 LINK
). And you should also see light in one of the RX channels (flx-info -c 0 POD
). Next, you can configure rest of the LpGBT chips, GBCR and VTRx+ module of the optoboard following the instructions here.