Hi, I am trying to run the same test code for the AD9910 on an external 10MHz external clock instead of the internal one. I tried changing the device_dp.py file to clk_ref=1 & refclk=10 000 000, but that does not work. The test source code I am running is :
from artiq.experiment import *
import numpy as np
class DDSTest(EnvExperiment):
def build(self):
self.setattr_device("core")
self.setattr_device("urukul0_ch0")
@kernel
def run(self):
self.core.reset()
self.urukul0_ch0.set_att(0*dB)
self.urukul0_ch0.init()
self.urukul0_ch0.sw.on()
self.urukul0_ch0.set(10*MHz,1.0,1.0)
delay(3000000*ms)
self.urukul0_ch0.sw.off()