From d1d26e2aa3ce9e81fd1cf48c9aef6c601e492ba9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 18 Aug 2018 11:43:40 +0800 Subject: [PATCH] hmc7043: add explanation about HMC_SYSREF_DIV --- artiq/firmware/libboard_artiq/hmc830_7043.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_artiq/hmc830_7043.rs b/artiq/firmware/libboard_artiq/hmc830_7043.rs index afa9c1c2a..2b381e60d 100644 --- a/artiq/firmware/libboard_artiq/hmc830_7043.rs +++ b/artiq/firmware/libboard_artiq/hmc830_7043.rs @@ -297,7 +297,9 @@ pub mod hmc7043 { } write(0x4, output_group_en); - write(0x5c, (HMC_SYSREF_DIV & 0xff) as u8); // Set SYSREF timer divider + // Set SYSREF timer divider. + // We don't need this "feature", but the HMC7043 won't work without. + write(0x5c, (HMC_SYSREF_DIV & 0xff) as u8); write(0x5d, ((HMC_SYSREF_DIV & 0x0f) >> 8) as u8); for channel in 0..OUTPUT_CONFIG.len() {