QA Commands#
- /qa/afe/adc-sweet-spot
Note
This test is only valid for Rev H modules where the firmware provides the SDK with SPI access to the ADCs and can modify the bitslip register.
Sets the ADC into a checkerboard test mode then tunes the bitslip value for each channel until it’s optimized.
Usage
/qa/afe/adc-sweet-spot [module(s)]
Example
/qa/afe/adc-sweet-spot 10
- /qa/afe/offset-sweep
The offset sweep tests tests characteristics of the ADC: the gain, and noise level. This command implements the test as described in the Offset Sweep specification.
This command outputs a CSV file containing the following information for each channel.
the maximum value of the noise for all offset samples, and
the gain and intercept for each channel.
The CSV file uses the following template for file naming:
YYYY-MM-DDTHH-MM-SS.MMMZ_<SN>_dac-sweep.csv
where
<SN>
is replaced with the serial number of the unit under test. The prefix is a UTC datetime in the ISO 8601 datetime format.Arguments
-p
:An optional argument that enables the output of a python script that produces a PDF plotting the offset sweep values for each sample and each channel.
-s msec
:An optional argument defining the amount of time to wait between steps to allow the AFE electronics to settle. Defaults to 15 ms.
-o start,[stop,[step]]
:An optional argument defining the range of values that will be used when sweeping the offset. If using this flag, you must provide the starting value. The stop and step are optional. The default values are [1000, 65000] with a step size of 1000.
-t threshold-multiplier
:An optional argument defining the threshold used to determine when the active range of the ADC starts. Defaults to 100.
module
:An optional module number used to perform the test. Defaults to
all
.
channel
:An optional channel number ued to perform the test. Defaults to
all
.
Usage
/qa/afe/offset-sweep [-p] [-s msec] [-o start,[stop,[step]]] [-t threshold-multiplier] [module(s) [channel(s)]]
Example
The following example will execute the Offset Sweep test for the first module in the system with a step size of 500.
/qa/afe/offset-sweep -p -o 1000,35000,500 0
- /qa/mca_mem
Executes the specified test against the assembly’s MCA memory block. See MCA Memory Validation Spec for more details.
Usage
/qa/mca_mem [module(s) [legacy] [alias] [bitwalk] [checker]]
Example
The following example executes a checkerboard test on the module in Slot 10.
/qa/mca_mem 10 checker