Closed ram1123 closed 5 years ago
One other comment I missed from @bdorney regarding the PT100 sensors, the one we've labeled as SCA_PT100
should be GBT0_PT100
, according to Yifan
One other comment I missed from @bdorney regarding the PT100 sensors, the one we've labeled as
SCA_PT100
should beGBT0_PT100
, according to Yifan
done.
@mexanick, any objections to merging this?
Sensor ID | Info | ADC Count | Measured decimal Value | Expected value (link) |
---|---|---|---|---|
0x00 | PT100 | 44 | 19 $^0C$ | - |
0x04 | PT100 | 44 | 19 $^0C$ | - |
0x07 | PT100 | 45 | 24.40 $^0C$ | - |
0x08 | PT100 | 44 | 19 $^0C$ | - |
0x1F | SCA internal temperature | 2743 | 25 $^0C$ | - |
0x1B | FPGA MGT Voltage | 1025 | 1 V | 1 V |
0x1E | FPGA MGT Voltage | 1254 | 1.22 V | 1.2 V |
0x11 | FPGA core voltage | 1066 | 1.04 V | 1.0 V |
0x18 | Power for GBTx and SCA | 1524 | 1.5 V | 1.5 V |
0x0F | FPGA I/O power | 2620 | 2.6 V | 2.5 V |
0x15 | Signal strength of VTRX1 | 14 | 13 mV | - |
0x13 | Signal strength of VTRX1 | 14 | 13 mV | - |
0x12 | Signal strength of VTRX1 | 12 | 12 mV | - |
The output values are 12 bit ADC and the voltage value varies from 0 to 1 V. Thus, each bit corresponds to 1/2^{12} =~ 0.244 mV.
The above V-T graph is taken from page 52 of GBT-SCA manual [2]
Added modules to read a specific SCA ADC or the similar type of SCA SCA sensors together, like temperature, voltage, etc.
Description
There are 31 SCA ADC sensors defined (here). As requested in issue #100, to create several function to read each ADC and all ADC, I added five different functions named
readSCAADCSensor
,readSCAADCTemperatureSensors
,readSCAADCVoltageSensors
,readSCAADCSignalStrengthSensors
andreadAllSCAADCSensors
to read individual sensors, temperature sensors, voltage related sensors, signal strength sensors and all sensors, respectively.Types of changes
Motivation and Context
How Has This Been Tested?
All added modules are tested using a macro named
blaster.cxx
.then running its executable after setting the environment and monitoring the log.
Screenshots (if appropriate):
Checklist: