Skip to content

Conversation

@Json-To-String
Copy link

PR to add the overclock logic detailed here:
#34 (comment)

This will also warn the user in setclock if they request a frequency that's considered overclocking (currently >200 MHz). I tested with both rp2040 and rp2350 prawnblasters.

Copy link
Collaborator

@dihm dihm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments, otherwise this looks pretty good. Let's get it tested thoroughly before merging, however.

else
{
if (freq >= 150 * MHZ)
if (freq > overclock_freq_limit * MHZ)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a small concern about this logic tree. If we go from an overclock state to a normal state, the Vreg will be set down before the frequency change, potentially leading to instability.

We should test that hypothesis thoroughly to see if it is a problem before actually changing code though.

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 this pull request may close these issues.

2 participants