Datasheet

Table Of Contents
WARNING
If no IRQ is configured before going into dormant mode the ROSC will never restart.
See Section 2.10.5.2 for a some examples of dormant mode.
2.16.4. Programmer’s Model
TO DO: LIAM: Document ring osc code in the SDK
2.16.5. List of registers
Table 259. List of
ROSC registers
Offset Name Info
0x00 CTRL Ring Oscillator control
0x04 FREQA Ring Oscillator frequency control A
0x08 FREQB Ring Oscillator frequency control B
0x0c DORMANT Ring Oscillator Power control
0x10 DIV Controls the output divider
0x14 PHASE Controls the phase shifted output
0x18 STATUS Ring Oscillator Status
0x1c RANDOMBIT Returns a 1 bit random value
0x20 COUNT A down counter running at the rosc frequency which counts to
zero and stops.
CTRL Register
Description
Ring Oscillator control
Table 260. CTRL
Register
Bits Name Description Type Reset
31:24 Reserved. - - -
23:12 ENABLE Think carefully before disabling
0xd1e -> DISABLE
0xfab -> ENABLE
RW -
11:0 FREQ_RANGE Frequency range. Frequencies will vary with Process,
Voltage & Temperature (PVT).
Clock output will not glitch when changing the range up
one step at a time.
Clock output will glitch when changing the range down.
0xaa0 -> LOW
0xaa1 -> MEDIUM
0xaa3 -> HIGH
0xaa2 -> TOOHIGH
RW 0xaa0
FREQA Register
RP2040 Datasheet
2.16. Ring Oscillator (ROSC) 198