From cca23aa2a5a1948af992fdd2ac42431ccb86143c Mon Sep 17 00:00:00 2001 From: morgan Date: Fri, 26 Apr 2024 15:42:21 +0800 Subject: [PATCH] wrpll runtime: reduce mmcm output jitter rtio_clocking: update mmcm setting to use HIGH bandwidth --- src/runtime/src/rtio_clocking.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/runtime/src/rtio_clocking.rs b/src/runtime/src/rtio_clocking.rs index fc906c1..06918b2 100644 --- a/src/runtime/src/rtio_clocking.rs +++ b/src/runtime/src/rtio_clocking.rs @@ -278,8 +278,8 @@ fn wrpll_setup(timer: &mut GlobalTimer, clk: RtioClock, si549_settings: &si549:: lock_reg2: 0x7c01, lock_reg3: 0xffe9, power_reg: 0x9900, - filt_reg1: 0x0808, - filt_reg2: 0x0800, + filt_reg1: 0x1008, + filt_reg2: 0x8800, }, false, ), @@ -295,8 +295,8 @@ fn wrpll_setup(timer: &mut GlobalTimer, clk: RtioClock, si549_settings: &si549:: lock_reg2: 0x7c01, lock_reg3: 0xffe9, power_reg: 0x9900, - filt_reg1: 0x0808, - filt_reg2: 0x9800, + filt_reg1: 0x9908, + filt_reg2: 0x8100, }, false, ), @@ -312,8 +312,8 @@ fn wrpll_setup(timer: &mut GlobalTimer, clk: RtioClock, si549_settings: &si549:: lock_reg2: 0x7c01, lock_reg3: 0xffe9, power_reg: 0x9900, - filt_reg1: 0x0808, - filt_reg2: 0x9800, + filt_reg1: 0x9108, + filt_reg2: 0x0100, }, false, ), @@ -329,7 +329,7 @@ fn wrpll_setup(timer: &mut GlobalTimer, clk: RtioClock, si549_settings: &si549:: lock_reg2: 0x7001, lock_reg3: 0xf3e9, power_reg: 0x0100, - filt_reg1: 0x0808, + filt_reg1: 0x9908, filt_reg2: 0x1100, }, true,