From 76c285cc87b153e35713d559298ccc0d65b7b556 Mon Sep 17 00:00:00 2001 From: morgan Date: Wed, 8 May 2024 16:22:07 +0800 Subject: [PATCH] WRPLL: add filter for DRTIO 100MHz --- src/libboard_artiq/src/si549.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/libboard_artiq/src/si549.rs b/src/libboard_artiq/src/si549.rs index 1dad798..8d10647 100644 --- a/src/libboard_artiq/src/si549.rs +++ b/src/libboard_artiq/src/si549.rs @@ -344,6 +344,16 @@ pub mod wrpll { pub a2: f64, } + #[cfg(rtio_frequency = "100.0")] + const LPF: FilterParameters = FilterParameters { + b0: 0.03967479060647884, + b1: 0.07934958121295768, + b2: 0.03967479060647884, + a1: -1.3865593741228928, + a2: 0.5452585365488082, + }; + + #[cfg(rtio_frequency = "125.0")] const LPF: FilterParameters = FilterParameters { b0: 0.07209205036273991, b1: 0.14418410072547982,