From 4ef768968a120cbaae3a9e6e0d77b69c1da627ea Mon Sep 17 00:00:00 2001 From: Wilfried Chauveau Date: Thu, 22 Feb 2024 19:39:21 +0000 Subject: [PATCH] Update VCO minimum frequency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This completes the change introduced in #688 to update the valid range for VCO’s frequency. Note: this change was left off until now because it was a breaking change. --- rp2040-hal/src/pll.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rp2040-hal/src/pll.rs b/rp2040-hal/src/pll.rs index 299675cc4..85e882c5f 100644 --- a/rp2040-hal/src/pll.rs +++ b/rp2040-hal/src/pll.rs @@ -141,7 +141,7 @@ impl PhaseLockedLoop { xosc_frequency: HertzU32, config: PLLConfig, ) -> Result, Error> { - const VCO_FREQ_RANGE: RangeInclusive = HertzU32::MHz(400)..=HertzU32::MHz(1_600); + const VCO_FREQ_RANGE: RangeInclusive = HertzU32::MHz(750)..=HertzU32::MHz(1_600); const POSTDIV_RANGE: Range = 1..7; const FBDIV_RANGE: Range = 16..320;