From 9397fa7f5ae590aa9018496eb6ee8b7c7942b22d Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 11 Jul 2018 19:07:15 +0800 Subject: [PATCH] hmc7043: unstick SYSREF FSM (#1055) Troubleshooting by David. Additionally, register 7D is broken. Checking phase init state has to be done through another means. --- artiq/firmware/libboard_artiq/hmc830_7043.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_artiq/hmc830_7043.rs b/artiq/firmware/libboard_artiq/hmc830_7043.rs index 2897aa92d..757f2b7df 100644 --- a/artiq/firmware/libboard_artiq/hmc830_7043.rs +++ b/artiq/firmware/libboard_artiq/hmc830_7043.rs @@ -263,7 +263,8 @@ pub mod hmc7043 { spi_setup(); info!("loading configuration..."); - write(0xA, 0x06); // Disable the REFSYNCIN input + write(0x3, 0x14); // Disable the REFSYNCIN reseeder + write(0xA, 0x06); // Disable the REFSYNCIN input buffer write(0xB, 0x07); // Enable the CLKIN input as LVPECL write(0x50, 0x1f); // Disable GPO pin write(0x9F, 0x4d); // Unexplained high-performance mode