From 05a0472dcdcd34096c0c38ec4f4860bafb644992 Mon Sep 17 00:00:00 2001 From: Grzegorz Daniluk <grzegorz.daniluk@cern.ch> Date: Fri, 1 Nov 2013 16:00:27 +0100 Subject: [PATCH] softpll: increase samples threshold for locking external 10MHz --- softpll/spll_external.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softpll/spll_external.c b/softpll/spll_external.c index fd600b0..555751f 100644 --- a/softpll/spll_external.c +++ b/softpll/spll_external.c @@ -28,7 +28,7 @@ void external_init(volatile struct spll_external_state *s, int ext_ref, s->pi.bias = 32768; /* Phase branch lock detection */ - s->ld.threshold = 250; + s->ld.threshold = 1000; s->ld.lock_samples = 10000; s->ld.delock_samples = 9990; s->ref_src = ext_ref; -- GitLab