Commit f2439563 authored by Matthieu Cattin's avatar Matthieu Cattin

test07: Set adc correction gain to 1 and offset to 0.

parent 3764f67e
......@@ -147,9 +147,9 @@ def main (default_directory='.'):
error = 0
# All inputs in calibration mode
for i in range(1, NB_CHANNELS+1):
fmc.set_input_range(i, "CAL")
fmc.set_input_range(i, "CAL") # DC offset calibration mode
fmc.set_adc_gain_offset_corr(i, 0x8000, 0x0) # adc correction gain=1, offset=0
# Disable test pattern (just in case)
fmc.testpat_dis()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment