Calling set_sys_clock_khz(438000, false) hangs the Pico with 1.3V #102
Labels
No labels
bazel
bluetooth
board settings
boot_stage2
bug
build
c++
can't reproduce
clang
clib-interface
cmsis
code cleanliness
code size
compiler version issues
cyw43_driver
debug
discussion
documentation
duplicate
dynamic_clock
elf2uf2
enhancement
errata
filesystem
flash layout
floating point
FreeRTOS
hardware_adc
hardware_claim
hardware_clocks
hardware_dma
hardware_exception
hardware_flash
hardware_gpio
hardware_i2c
hardware_irq
hardware_pio
hardware_pwm
hardware_rcp
hardware_rtc
hardware_spi
hardware_sync
hardware_uart
hardware_vreg
hardware_watchdog
hardware_xosc
help wanted
host
IAR
installation
invalid
linker scripts
lto
lwip
mbedtls
missing API
needs reporter detail
networking
newlib
newlib-multicore
non-c
non-cmake
non-gcc
openocd
orphan PR
OS integration
pico_async_context
pico_base
pico_binary_info
pico_flash
picolibc
pico_lwip
pico_malloc
pico_multicore
pico_printf
pico_runtime
pico_stdio
pico_stdio_usb
pico_sync
pico_time
pico_util
pioasm
port
question
review
review2
rtos interop
runtime init
static library
svd
test
tinyusb
vscode
wifi integration
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-raspberrypi/pico-sdk#102
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For code that determines maximal working overclocking for a single Pico I have currently to start with highest value of 437999 because of this bug.
Just did a run with 1.2V and it kept going down from 437999 until it reached 404000 and hangs.
I guess you ought to expect undefined behaviour (e.g. crashes or hangs) at such high overclocks?
Or have I misunderstood and you're actually reporting something else?
I expected to see whether setting and reading gpio works, not crashes.
I identified the reason for the crashes, I forgot to call set_sys_clock_48mhz() before doing printf() to USB minicom. So the reason for the hang seems to be printing at very high clocks to USB subsystem. Going down to lower clocks before printing avoids the hang.
What is the bug? You have described the hardware not functioning correctly at 3x its rated speed, and yes, this is why the rated speed is 3x lower than this. Please explain the software problem you would like to see fixed.
The rated maximum clock for RP2040 is 133MHz. If you're overclocking you're entirely on your own. Unexpected behaviour like crashes should be expected.