The FEE Server Control Engine of the ALICE-TRD - Westfälische ...
The FEE Server Control Engine of the ALICE-TRD - Westfälische ...
The FEE Server Control Engine of the ALICE-TRD - Westfälische ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5 <strong>The</strong> <strong>FEE</strong><strong>Server</strong> <strong>Control</strong> <strong>Engine</strong><br />
This test sends a read command to all MCMs and <strong>the</strong> MCMs send back <strong>the</strong>ir respective<br />
Laser ID. Afterwards <strong>the</strong> Laser IDs are compared to <strong>the</strong> IDs stored in <strong>the</strong> class ROCInfo<br />
which got <strong>the</strong>se data during <strong>the</strong> configuration process. Each difference is reported as an<br />
error.<br />
5.4.3 Reset Test<br />
<strong>The</strong> Reset Test checks whe<strong>the</strong>r <strong>the</strong> reset command works correctly for all MCMs. A bit<br />
pattern is written to <strong>the</strong> memory address 0x0D46 <strong>of</strong> each MCM. <strong>The</strong> test currently uses<br />
<strong>the</strong> pattern 0xACACACAC, but it is also possible to use o<strong>the</strong>r bit patterns. <strong>The</strong> pattern<br />
is <strong>the</strong>n read back from <strong>the</strong> MCMs to check it was correctly written. After finishing this<br />
preparation a reset frame is sent via <strong>the</strong> SCSN Bus to all MCMs. <strong>The</strong>n <strong>the</strong> memory address<br />
is read out again. If <strong>the</strong> reset was successful <strong>the</strong> memory address will now contain<br />
<strong>the</strong> default value 0x0000FFFF. A deviating value indicates that something went wrong<br />
during <strong>the</strong> test and an error is reported.<br />
5.4.4 Shutdown Test<br />
This test checks <strong>the</strong> functionality <strong>of</strong> <strong>the</strong> voltage regulators <strong>of</strong> <strong>the</strong> ROBs. Each linkpair has<br />
voltage regulators that control <strong>the</strong> power for <strong>the</strong> MCMs in that linkpair. One task <strong>of</strong> <strong>the</strong><br />
voltage regulators is to switch <strong>the</strong> power for <strong>the</strong> MCMs on and <strong>of</strong>f.<br />
During <strong>the</strong> test <strong>the</strong> voltage regulators <strong>of</strong> different linkpairs are switched on and <strong>of</strong>f.<br />
First all regulators are switched <strong>of</strong>f, <strong>the</strong>n <strong>the</strong> regulators for linkpair three are switched<br />
on, <strong>the</strong>n linkpair zero is switched on additionally, <strong>the</strong>n linkpair zero is switched <strong>of</strong>f and<br />
linkpair one is switched on and so on. After each change a ping frame is sent to all<br />
linkpairs. <strong>The</strong> ping frames sent to linkpairs which are powered on are expected to return.<br />
Ping frames sent to linkpairs powered <strong>of</strong>f must not return. To avoid that damaged MCMs<br />
affects <strong>the</strong> results <strong>the</strong> first and last MCM <strong>of</strong> each linkpair is set to bridge mode before <strong>the</strong><br />
ping frames are send. Any deviation from <strong>the</strong> expected result is reported as an error.<br />
<strong>The</strong> main purpose <strong>of</strong> this test is to identify power regulators which are switched on<br />
permanently. In case <strong>of</strong> power regulators which are permanently <strong>of</strong>f <strong>the</strong> corresponding<br />
MCMs get no power. This would be detected while configuring <strong>the</strong> supermodule or<br />
taking data immediately.<br />
5.4.5 ORI Test<br />
<strong>The</strong> task <strong>of</strong> <strong>the</strong> ORI Test is to read out different sensor values and <strong>the</strong> EEPROM configuration<br />
<strong>of</strong> <strong>the</strong> ORI. <strong>The</strong> connection to <strong>the</strong> ORI is established via a modified i2c protocol<br />
named j2c. <strong>The</strong> DCS board cannot communicate directly with <strong>the</strong> ORI but two MCMs on<br />
each board with a ORI can put in a special operation mode when <strong>the</strong>y forward bidirectional<br />
data and commands from <strong>the</strong> SCSN Bus to <strong>the</strong> ORI.<br />
<strong>The</strong>refore at <strong>the</strong> beginning <strong>of</strong> <strong>the</strong> test one <strong>of</strong> <strong>the</strong> two MCMs is set to <strong>the</strong> j2c forward<br />
mode. Afterwards <strong>the</strong> DCS board reads all relevant values from <strong>the</strong> ORI, compares with<br />
<strong>the</strong> default values and closes <strong>the</strong> connection.<br />
<strong>The</strong> test prints <strong>the</strong> EEPROM configuration, <strong>the</strong> measured optical power output <strong>of</strong> <strong>the</strong><br />
ORI, <strong>the</strong> laser diode temperature, different voltage values and some more. In particular<br />
70