From ec03767dcf2f82c366a6f3dd6bb8f37b636d193c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 20 Jan 2020 18:22:06 +0800 Subject: [PATCH] sayma: improve DAC status report --- artiq/firmware/libboard_artiq/ad9154.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/firmware/libboard_artiq/ad9154.rs b/artiq/firmware/libboard_artiq/ad9154.rs index 015fccb66..de32ff2e2 100644 --- a/artiq/firmware/libboard_artiq/ad9154.rs +++ b/artiq/firmware/libboard_artiq/ad9154.rs @@ -355,6 +355,8 @@ pub fn setup(dacno: u8, linerate: u64) -> Result<(), &'static str> { pub fn status(dacno: u8) { spi_setup(dacno); + info!("Printing status of AD9154-{}", dacno); + info!("PRODID: 0x{:04x}", (read(ad9154_reg::PRODIDH) as u16) << 8 | (read(ad9154_reg::PRODIDL) as u16)); info!("SERDES_PLL_LOCK: {}", (read(ad9154_reg::PLL_STATUS) & ad9154_reg::SERDES_PLL_LOCK_RB)); info!("");