Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLL frequency out of spec #682

Open
9names opened this issue Sep 2, 2023 · 2 comments
Open

PLL frequency out of spec #682

9names opened this issue Sep 2, 2023 · 2 comments

Comments

@9names
Copy link
Member

9names commented Sep 2, 2023

Section 2.18 of RP2040 datasheet:
• Minimum reference frequency (FREF / REFDIV) is 5MHz
Oscillator frequency (FOUTVCO) must be in the range 750MHz → 1600MHz
• Feedback divider (FBDIV) must be in the range 16 → 320
• The post dividers POSTDIV1 and POSTDIV2 must be in the range 1 → 7
• Maximum input frequency (FREF / REFDIV) is VCO frequency divided by 16, due to minimum feedback divisor
Additionally, the maximum frequencies of the chip’s clock generators (attached to FOUTPOSTDIV) must be respected. For
the system PLL this is 133MHz, and for the USB PLL, 48MHz.

pico-sdk fix PR: raspberrypi/pico-sdk#869

embassy-rp fix commit embassy-rs/embassy@5bbed31

@jannic
Copy link
Member

jannic commented Sep 2, 2023

Interesting. It looks like the datasheet has changed at some point in time. Before, it listed 400MHz as the minimum frequency.
https://web.archive.org/web/20211101082621if_/https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf#%5B%7B%22num%22%3A254%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C115%2C595.784%2Cnull%5D

Was this change announced somewhere?

@jannic
Copy link
Member

jannic commented Sep 2, 2023

It was part of datasheet revision 1.8, 17 Jun 2022: "Increased PLL min VCO from 400MHz to 750MHz for improved
stability across operating conditions"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants