From 6272052d151cc23b608f9af7efb7a55281cb53af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Mon, 18 Jun 2018 08:04:07 +0000 Subject: [PATCH] ad9154: don't drive the bsm with txen pins --- artiq/firmware/libboard_artiq/ad9154.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_artiq/ad9154.rs b/artiq/firmware/libboard_artiq/ad9154.rs index 02f2d7a77..96d8ff8df 100644 --- a/artiq/firmware/libboard_artiq/ad9154.rs +++ b/artiq/firmware/libboard_artiq/ad9154.rs @@ -167,7 +167,9 @@ fn dac_setup(dacno: u8, linerate: u64) -> Result<(), &'static str> { 0*ad9154_reg::PD_BG); clock::spin_us(100); write(ad9154_reg::TXENMASK1, 0*ad9154_reg::DACA_MASK | - 0*ad9154_reg::DACB_MASK); // TX not controlled by TXEN pins + 0*ad9154_reg::DACB_MASK); // DAC PD not controlled by TXEN pins + write(ad9154_reg::PWRCNTRL3, 1*ad9154_reg::ENA_SPI_TXEN | + 1*ad9154_reg::SPI_TXEN); write(ad9154_reg::CLKCFG0, 0*ad9154_reg::REF_CLKDIV_EN | 1*ad9154_reg::RF_SYNC_EN | 1*ad9154_reg::DUTY_EN | 0*ad9154_reg::PD_CLK_REC |