From ccc58a0f847eda935330aab6d93d62597f311a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Wed, 29 Aug 2018 15:37:37 +0000 Subject: [PATCH] satman: add 125 MHz Si5324 settings from cjbe --- artiq/firmware/satman/main.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/artiq/firmware/satman/main.rs b/artiq/firmware/satman/main.rs index 849901e88..ad2252955 100644 --- a/artiq/firmware/satman/main.rs +++ b/artiq/firmware/satman/main.rs @@ -242,6 +242,19 @@ const SI5324_SETTINGS: si5324::FrequencySettings crystal_ref: true }; +#[cfg(rtio_frequency = "125.0")] +const SI5324_SETTINGS: si5324::FrequencySettings + = si5324::FrequencySettings { + n1_hs : 5, + nc1_ls : 8, + n2_hs : 7, + n2_ls : 360, + n31 : 63, + n32 : 63, + bwsel : 4, + crystal_ref: true +}; + fn drtio_link_rx_up() -> bool { unsafe { (csr::DRTIO[0].rx_up_read)() == 1