Skip to content

PS ADC bias calibration for runCalibration

Irene Zoi requested to merge izoi/Ph2_ACF:new2PScalib into Dev

The ADC bias calibration for PS modules was working only for the ot_module_test command. Now it works also with the runCalibration.

To run the ADC calibration only (after a proper module alignment procedure):

runCalibration -f settings/PS_Module_v2p1.xml -c ADCBiasCalibration -b

To run the full trimming & noise calibration procedure including also the ADC calibration:

runCalibration -f settings/PS_Module_v2p1.xml -c adccalibrationandpedenoise -b

The calibration also saves the ADC slope & offset in the XML such that they can be reused during e.g. registers monitoring. Some improvements needed for monitoring or registers book keeping have been added.

The calibration still uses the expected value of the bandgap and other registers as the measurements are not yet available. The SSA VREF ADC value is also not yet available in the chip fuse ID. These issues have been marked by FIXME labels in the code.

Edited by Irene Zoi

Merge request reports