Difference between revisions of "FELIX instructions for Petals"

From Atlas Wiki
Jump to navigation Jump to search
m
m (add commands)
Line 1: Line 1:
 
[[DAQ systems|''Back to DAQ systems'']]
 
[[DAQ systems|''Back to DAQ systems'']]
  
 +
 +
 +
How to configure a petal (instructions taken from DESY repo https://gitlab.cern.ch/desy-atlas/itk/petal-testing):
  
 
''cd'' into the ''petal-testing'' directory and then execute the following commands:
 
''cd'' into the ''petal-testing'' directory and then execute the following commands:
  
<code>source dependencies/setupFELIX.sh</code>
+
Setup the FELIX dependencies: <code>source dependencies/setupFELIX.sh</code>
 +
 
 +
Initialize the FLX card <code>flx-init</code>
  
<code>flx-init</code>
+
Invert the polarity (for lpGBTv1): <code>flx-config set GBT_RXPOLARITY=0xFFFFFFFF</code>
  
<code>flx-config set GBT_RXPOLARITY=0xFFFFFFFF</code>
+
Verify the status of the PODs: <code>flx-info POD</code>
  
<code>flx-info POD</code>
+
Check that all connected links are aligned: <code>flx-info GBT</code>
  
<code>flx-info GBT</code>
+
If testing the PPB R5 Vancouver Petal:
  
<code>source configs/elinks/elinks_petal_R5_640Mbs.sh</code>
+
Configure the ''elinks'' on your FELIX card: <code>source configs/elinks/elinks_petal_R5_640Mbs.sh</code>
  
<code>elinkconfig</code>  (( -> Click on ''Read Cfg'', then you can ''Quit ))''
+
Check your config: <code>elinkconfig</code> Click on ''Read Cfg'', then you can ''Quit''
  
<code>fice -G0 -I71 configs/lpgbt/lpgbt_PT_M_LH_V1_Pri_hex.cnf</code>
+
Push the lpGBT config to the petal chipset: <code>fice -G0 -I71 configs/lpgbt/lpgbt_PT_M_LH_V1_Pri_hex.cnf</code>
  
<code>fice -G0 -I71 -C configs/lpgbt/lpgbt_PT_M_LH_V1_Pri_hex.cnf</code>
+
Verify this has worked (you should see the line "Compared 336 values, found 0 differences"): <code>fice -G0 -I71 -C configs/lpgbt/lpgbt_PT_M_LH_V1_Pri_hex.cnf</code>
  
<code>startFelixcore</code>
+
Start FELIXCore and don't close this terminal: <code>startFelixcore</code>

Revision as of 14:14, 15 May 2024

Back to DAQ systems


How to configure a petal (instructions taken from DESY repo https://gitlab.cern.ch/desy-atlas/itk/petal-testing):

cd into the petal-testing directory and then execute the following commands:

Setup the FELIX dependencies: source dependencies/setupFELIX.sh

Initialize the FLX card flx-init

Invert the polarity (for lpGBTv1): flx-config set GBT_RXPOLARITY=0xFFFFFFFF

Verify the status of the PODs: flx-info POD

Check that all connected links are aligned: flx-info GBT

If testing the PPB R5 Vancouver Petal:

Configure the elinks on your FELIX card: source configs/elinks/elinks_petal_R5_640Mbs.sh

Check your config: elinkconfig Click on Read Cfg, then you can Quit

Push the lpGBT config to the petal chipset: fice -G0 -I71 configs/lpgbt/lpgbt_PT_M_LH_V1_Pri_hex.cnf

Verify this has worked (you should see the line "Compared 336 values, found 0 differences"): fice -G0 -I71 -C configs/lpgbt/lpgbt_PT_M_LH_V1_Pri_hex.cnf

Start FELIXCore and don't close this terminal: startFelixcore