Datasheet

Table Of Contents
Table 271. DORMANT
Register
Bits Description Type Reset
31:0 This is used to save power by pausing the XOSC
On power-up this field is initialised to WAKE
An invalid write will also select WAKE
WARNING: stop the PLLs before selecting dormant mode
WARNING: setup the irq before selecting dormant mode
0x636f6d61 DORMANT
0x77616b65 WAKE
RW -
XOSC: STARTUP Register
Offset: 0x0c
Description
Controls the startup delay
Table 272. STARTUP
Register
Bits Name Description Type Reset
31:21 Reserved. - - -
20 X4 Multiplies the startup_delay by 4. This is of little value to
the user given that the delay can be programmed directly.
Set to 0 at reset.
RW -
19:14 Reserved. - - -
13:0 DELAY in multiples of 256*xtal_period. Set to 0xc4 at reset
(approx 50 000 cycles)
RW -
XOSC: COUNT Register
Offset: 0x1c
Table 273. COUNT
Register
Bits Description Type Reset
31:8 Reserved. - -
7:0 A down counter running at the xosc frequency which counts to zero and stops.
To start the counter write a non-zero value.
Can be used for short software pauses when setting up time sensitive
hardware.
RW 0x00
2.17. Ring Oscillator (ROSC)
2.17.1. Overview
The Ring Oscillator (ROSC) is an on-chip oscillator built from a ring of inverters. It requires no external components and
is started automatically during RP2040 power up. It provides the clock to the cores during boot. The frequency of the
ROSC is programmable and it can directly provide a high speed clock to the cores, but the frequency varies with
Process, Voltage and Temperature (PVT) so it cannot provide clocks for components which require an accurate
frequency such as the RTC, USB and ADC. Methods for mitigating the frequency variation are discussed in Section 2.15
but these are only relevant to very low power design. For most applications requiring accurate clock frequencies it is
recommended to switch to the XOSC and PLLs. During boot the ROSC runs at a nominal 6.5MHz and is guaranteed to
be in the range 1.8MHz to 12MHz.
Once the chip has booted the programmer can choose to continue running from the ROSC and increase its frequency or
RP2040 Datasheet
2.17. Ring Oscillator (ROSC) 244