Commit bb1ff5bc authored by Matthieu Cattin's avatar Matthieu Cattin

test17: add test pattern for debug.

parent a19841bc
......@@ -224,7 +224,7 @@ def main (default_directory = '.'):
box = calibr_box.CCalibr_box(box_tty[0])
# Work-around to make dma work with sdb firmware
carrier.gnum.set_local_bus_freq(150)
carrier.gnum.set_local_bus_freq(100)
# Enable "DMA finished" IRQ
carrier.set_irq_en_mask(0x1)
......@@ -232,6 +232,12 @@ def main (default_directory = '.'):
# Initialise fmc adc
fmc_adc_init(spec, fmc)
# Use test data instead of data from ADC
fmc.test_data_en()
# Use data pattern instead of ADC data
#fmc.testpat_en(0x2000)
# Connect to AWG
#gen.connect()
......
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