Datasheet

Table Of Contents
Table 280. PHASE
Register
Bits Name Description Type Reset
31:12 Reserved. - - -
11:4 PASSWD set to 0xaa
any other value enables the output with shift=0
RW 0x00
3 ENABLE enable the phase-shifted output
this can be changed on-the-fly
RW 0x1
2 FLIP invert the phase-shifted output
this is ignored when div=1
RW 0x0
1:0 SHIFT phase shift the phase-shifted output by SHIFT input clocks
this can be changed on-the-fly
must be set to 0 before setting div=1
RW 0x0
ROSC: STATUS Register
Offset: 0x18
Description
Ring Oscillator Status
Table 281. STATUS
Register
Bits Name Description Type Reset
31 STABLE Oscillator is running and stable RO 0x0
30:25 Reserved. - - -
24 BADWRITE An invalid value has been written to CTRL_ENABLE or
CTRL_FREQ_RANGE or FREQA or FREQB or DIV or PHASE
or DORMANT
WC 0x0
23:17 Reserved. - - -
16 DIV_RUNNING post-divider is running
this resets to 0 but transitions to 1 during chip startup
RO -
15:13 Reserved. - - -
12 ENABLED Oscillator is enabled but not necessarily running and
stable
this resets to 0 but transitions to 1 during chip startup
RO -
11:0 Reserved. - - -
ROSC: RANDOMBIT Register
Offset: 0x1c
Table 282.
RANDOMBIT Register
Bits Description Type Reset
31:1 Reserved. - -
0 This just reads the state of the oscillator output so randomness is
compromised if the ring oscillator is stopped or run at a harmonic of the bus
frequency
RO 0x1
ROSC: COUNT Register
Offset: 0x20
RP2040 Datasheet
2.17. Ring Oscillator (ROSC) 250