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

Feature Request: Add 402MHz mode (tested) #2273

Closed
DatanoiseTV opened this issue Jul 17, 2024 · 1 comment
Closed

Feature Request: Add 402MHz mode (tested) #2273

DatanoiseTV opened this issue Jul 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@DatanoiseTV
Copy link
Contributor

DatanoiseTV commented Jul 17, 2024

In the PicoADK Firmware (PicoSDK based) we are overclocking the RP2040 to 402MHz successfully.
It would be great to see this in the Arduino-Pico package. So far only 1-2 chips out of >100 did not work properly.

https://github.com/DatanoiseTV/PicoADK-Firmware-Template/blob/main/src/picoadk_hw.cpp#L7

vreg_set_voltage(VREG_VOLTAGE_1_30);
sleep_ms(1);
set_sys_clock_khz(402000, true);

The overvoltage should be adjusted according to this chart:
image

Also see: https://forums.raspberrypi.com/viewtopic.php?t=301902&start=50

This might require to set flash clock divider to 4. Not sure how this can be achieved with the Arduino-Pico core.
This is the way I am doing it using the PicoSDK.

pico_define_boot_stage2(slower_boot2 ${PICO_DEFAULT_BOOT_STAGE2_FILE})
target_compile_definitions(slower_boot2 PRIVATE PICO_FLASH_SPI_CLKDIV=4)

pico_set_boot_stage2(TARGET slower_boot2)
@DatanoiseTV
Copy link
Contributor Author

#2274

@earlephilhower earlephilhower added the enhancement New feature or request label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants