Datasheet

Table Of Contents
Description
Note that div2 may not be implemented on this chip
Table 256.
PADREFCLK Register
Bits Name Description Type Reset
31:1 Reserved. - - -
0 SELECT The output will glitch if this is changed on-the-fly
0x0 -> XOSC
0x1 -> XOSC_DIV2
RW 0x0
CLKSRC Register
Description
clksrc_ph is an optional phase shifted version of clksrc and may not be implemented on this chip
Table 257. CLKSRC
Register
Bits Name Description Type Reset
31:6 Reserved. - - -
5:4 PH_SELECT selects the phase of clksrc_ph
the output will glitch if this is changed on-the-fly
for clksrc_select=XOSC: clksrc_ph_select=0 -> 0 degree
phase shift
for clksrc_select=XOSC: clksrc_ph_select=1 -> 0 degree
phase shift
for clksrc_select=XOSC: clksrc_ph_select=2 -> 180 degree
phase shift
for clksrc_select=XOSC: clksrc_ph_select=3 -> 180 degree
phase shift
for clksrc_select=XOSC_DIV2: clksrc_ph_select=0 -> 0
degree phase shift
for clksrc_select=XOSC_DIV2: clksrc_ph_select=1 -> 90
degree phase shift
for clksrc_select=XOSC_DIV2: clksrc_ph_select=2 -> 180
degree phase shift
for clksrc_select=XOSC_DIV2: clksrc_ph_select=3 -> 270
degree phase shift
RW 0x0
3:1 Reserved. - - -
0 SELECT selects the source of clksrc & clksrc_ph
the output will glitch if this is changed on-the-fly
0x0 -> XOSC
0x1 -> XOSC_DIV2
RW 0x0
COUNT Register
Description
Can be used for short software pauses when setting up time sensitive hardware.
RP2040 Datasheet
2.15. Crystal Oscillator (XOSC) 196