RPI Pico Speed

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
amit_dav
Posts: 2
Joined: Tue Apr 20, 2021 5:02 pm

RPI Pico Speed

Post by amit_dav » Tue Apr 20, 2021 5:05 pm

Greetings!!
How do I know what speed the pico is running (Operating Speed)? Also is there some way to change the clock speed to say 20Mhz or 120Mhz?


Thanks Amit

User avatar
Roberthh
Posts: 2642
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: RPI Pico Speed

Post by Roberthh » Tue Apr 20, 2021 6:12 pm

Both is possible with machine.freq().
machine.freq() returns the actual setting
machine.freq(HZ-value) sets the new frequency. The suitable range is 12 - 270 MHz, but not all values in that range will be accepted.

HermannSW
Posts: 180
Joined: Wed Nov 01, 2017 7:46 am
Contact:

Re: RPI Pico Speed

Post by HermannSW » Tue Apr 20, 2021 9:15 pm

Default system clock is 125MHz.
USB+UART+GPIO works fine for 250MHz.
You can overclock to >=420MHz with GPIO still working.
My first 3 Picos maxed out with working GPIO at 426/428/436MHz.
I was able to run Pico at 10MHz, but all frequencies below did not work.

In case you overclock with >400MHz, you can produce USB output by first setting system clock to <=250MHz, then output, finally switch back to >400MHz.
Pico (USB) reboot/reflash tool
https://gist.github.com/Hermann-SW/ca07 ... 6d81de01a7

Pico HTTPS GET through ESP01 serial2wifi
viewtopic.php?f=21&t=10122

Wireless Pico Micropython REPL
viewtopic.php?f=21&t=10109

amit_dav
Posts: 2
Joined: Tue Apr 20, 2021 5:02 pm

Re: RPI Pico Speed

Post by amit_dav » Wed Apr 21, 2021 12:55 pm

Greetings!!
Thanks for the prompt reply! It helped a lot.

Thanks again Amit

Post Reply