Skip to content

Commit 4ef7689

Browse files
authored
Update VCO minimum frequency
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.
1 parent 54e6cfa commit 4ef7689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rp2040-hal/src/pll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl<D: PhaseLockedLoopDevice> PhaseLockedLoop<Disabled, D> {
141141
xosc_frequency: HertzU32,
142142
config: PLLConfig,
143143
) -> Result<PhaseLockedLoop<Disabled, D>, Error> {
144-
const VCO_FREQ_RANGE: RangeInclusive<HertzU32> = HertzU32::MHz(400)..=HertzU32::MHz(1_600);
144+
const VCO_FREQ_RANGE: RangeInclusive<HertzU32> = HertzU32::MHz(750)..=HertzU32::MHz(1_600);
145145
const POSTDIV_RANGE: Range<u8> = 1..7;
146146
const FBDIV_RANGE: Range<u16> = 16..320;
147147

0 commit comments

Comments
 (0)