Datasheet

Table Of Contents
WARNING
If no IRQ is configured before going into dormant mode the ROSC will never restart.
See Section 2.11.5.2 for a some examples of dormant mode.
2.17.8. List of Registers
The ROSC registers start at a base address of 0x40060000 (defined as ROSC_BASE in SDK).
Table 274. 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 pause 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.
ROSC: CTRL Register
Offset: 0x00
Description
Ring Oscillator control
Table 275. CTRL
Register
Bits Name Description Type Reset
31:24 Reserved. - - -
23:12 ENABLE On power-up this field is initialised to ENABLE
The system clock must be switched to another source
before setting this field to DISABLE otherwise the chip will
lock up
The 12-bit code is intended to give some protection
against accidental writes. An invalid setting will enable the
oscillator.
0xd1e DISABLE
0xfab ENABLE
RW -
RP2040 Datasheet
2.17. Ring Oscillator (ROSC) 247