Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

General • Re: I2C operation does not survive jump to user program

$
0
0
This is already classic, not just apparently.
PICO_CLOCK_ADJUST_PERI_CLOCK_WITH_SYS_CLOCK
When the SYS clock PLL is changed keep the peripheral clock attached to it
0
https://github.com/raspberrypi/pico-sdk ... C2-L362C35

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 0

Statistics: Posted by gmx — Mon Oct 27, 2025 2:14 pm



Viewing all articles
Browse latest Browse all 8093

Trending Articles