Online documentation for the slow control firmware code based on the Silabs 8051 micro-controller series 133/310/410 running under the MSCB OS. Described here below are the functionalities and implementation of the slow control (SC) used in the different sub-projects of the ND280-FGD/TPC/P0D electronics.
The SVN site contains all the source code related to these different projects.
All the FGD and accessory cards are identify by a unique Serial Number (S/N) categorized as follow:
TR1100000 .. TR1199999 WLS fiber / 20000 TR5000000 .. TR5009999 MPPC TR6000000 .. TR6000099 Bus board TR6200000 .. TR6200099 Backplane / 60 TR6300000 .. TR6300199 FEB64 TR6400000 .. TR6400099 CMB /60 TR6500000 .. TR6500099 LPB TR6700000 .. TR6700099 ML405 TR6710000 .. TR6710099 DCC clock card / 50 TR6720000 .. TR6720099 DCC optical card / 50 TR6730000 .. TR6730199 Transceiver / 120 TR6740000 .. TR6740099 DCC assembly / 30 TR6810000 .. TR6810099 MSCB-ethernet box / 20 TR6820000 .. TR6820029 TPC Temp36 / 30 TR6820030 .. TR6820059 DCC Power Switch / 30 TR6820060 .. TR6820069 MSCB Power Hub / 10 TR6820070 .. TR6820099 MSCB GenericIO / 30
This S/N code is stored within the Protected Memory (Read Only) of the external EEPROM located on the card (if applicable). The operational firmeware doesn't allow write access to the region. Upgrade of the firmware with a dedicated code "loader" is required to overwrite this S/N number (refer to expert). True for the FEB64, CMB, LPB, TEMP36.
The convension for the declaration of the variables on most of the card is the following.
rXXXX : Raw data, meant for DAC or ADC values.
pXXXX : Positive
nXXXX : Negative
xDyyy : Digital
xAyyy : Analog
Vxxx : Voltage
Ixxx : Current
xyMon : Monitored
uCTemp : micro-controller Temperature
Temp : FGD Temperature
xAsum : Analog Sum
ssTemp : Board Temperature
eexxxx : EEPROM parameter
Further information can be found on the following cards.