From 26a11a296cdb763d951b4d38d7822f0a1b7fbf1b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 26 Aug 2017 16:57:02 -0700 Subject: [PATCH] sayma_rtm: drive DAC control signals --- artiq/gateware/targets/sayma_rtm.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/artiq/gateware/targets/sayma_rtm.py b/artiq/gateware/targets/sayma_rtm.py index fd4d93ab5..ef378b484 100755 --- a/artiq/gateware/targets/sayma_rtm.py +++ b/artiq/gateware/targets/sayma_rtm.py @@ -88,6 +88,12 @@ class SaymaRTM(Module): platform.request("dac_clk_src_sel").eq(0), # use clk from dac_clk ] + self.comb += [ + platform.request("ad9154_rst_n").eq(0), + platform.request("ad9154_txen", 0).eq(0b11), + platform.request("ad9154_txen", 1).eq(0b11) + ] + self.submodules.converter_spi = spi.SPIMaster(platform.request("hmc_spi")) csr_devices.append("converter_spi") self.comb += platform.request("hmc7043_reset").eq(0)