This is already classic, not just apparently.
https://github.com/raspberrypi/pico-sdk ... C2-L362C35PICO_CLOCK_ADJUST_PERI_CLOCK_WITH_SYS_CLOCK
When the SYS clock PLL is changed keep the peripheral clock attached to it
0
Code:
// By default, when reconfiguring the system clock PLL settings after runtime initialization,// the peripheral clock is switched to the 48MHz USB clock to ensure continuity of peripheral operation.// Setting this value to 1 changes the behavior to have the peripheral clock re-configured// to the system clock at it's new frequency.#define PICO_CLOCK_ADJUST_PERI_CLOCK_WITH_SYS_CLOCK 0Statistics: Posted by gmx — Mon Oct 27, 2025 2:14 pm