Skip to content

Commit

Permalink
Merge pull request #688 from jannic/change-pll-settings
Browse files Browse the repository at this point in the history
Use same USB_PLL default setting as the C SDK
  • Loading branch information
jannic authored Nov 10, 2023
2 parents 757a0b0 + 2b758cf commit 8a68410
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions rp2040-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## Fixed

- Fixed USB PLL's VCO frequency according to updated datasheet - #688 @ithinuel, @jannic

## [0.9.0]

### MSRV
Expand Down
4 changes: 2 additions & 2 deletions rp2040-hal/src/pll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ pub mod common_configs {

/// Default, nominal configuration for PLL_USB.
pub const PLL_USB_48MHZ: PLLConfig = PLLConfig {
vco_freq: HertzU32::MHz(480),
vco_freq: HertzU32::MHz(1200),
refdiv: 1,
post_div1: 5,
post_div2: 2,
post_div2: 5,
};
}

Expand Down

0 comments on commit 8a68410

Please sign in to comment.