Skip to content

Commit 8a68410

Browse files
authored
Merge pull request #688 from jannic/change-pll-settings
Use same USB_PLL default setting as the C SDK
2 parents 757a0b0 + 2b758cf commit 8a68410

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

rp2040-hal/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
## Fixed
11+
12+
- Fixed USB PLL's VCO frequency according to updated datasheet - #688 @ithinuel, @jannic
13+
814
## [0.9.0]
915

1016
### MSRV

rp2040-hal/src/pll.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ pub mod common_configs {
127127

128128
/// Default, nominal configuration for PLL_USB.
129129
pub const PLL_USB_48MHZ: PLLConfig = PLLConfig {
130-
vco_freq: HertzU32::MHz(480),
130+
vco_freq: HertzU32::MHz(1200),
131131
refdiv: 1,
132132
post_div1: 5,
133-
post_div2: 2,
133+
post_div2: 5,
134134
};
135135
}
136136

0 commit comments

Comments
 (0)