Datasheet

Table Of Contents
NOTE
The INL errors, see Section 4.9.4, aren’t in the usable temperature range of the ADC.
4.9.6. List of Registers
The ADC registers start at a base address of 0x4004c000 (defined as ADC_BASE in SDK).
Table 577. List of ADC
registers
Offset Name Info
0x00 CS ADC Control and Status
0x04 RESULT Result of most recent ADC conversion
0x08 FCS FIFO control and status
0x0c FIFO Conversion result FIFO
0x10 DIV Clock divider. If non-zero, CS_START_MANY will start
conversions
at regular intervals rather than back-to-back.
The divider is reset when either of these fields are written.
Total period is 1 + INT + FRAC / 256
0x14 INTR Raw Interrupts
0x18 INTE Interrupt Enable
0x1c INTF Interrupt Force
0x20 INTS Interrupt status after masking & forcing
ADC: CS Register
Offset: 0x00
Description
ADC Control and Status
Table 578. CS Register
Bits Name Description Type Reset
31:21 Reserved. - - -
20:16 RROBIN Round-robin sampling. 1 bit per channel. Set all bits to 0 to
disable.
Otherwise, the ADC will cycle through each enabled
channel in a round-robin fashion.
The first channel to be sampled will be the one currently
indicated by AINSEL.
AINSEL will be updated after each conversion with the
newly-selected channel.
RW 0x00
15 Reserved. - - -
14:12 AINSEL Select analog mux input. Updated automatically in round-
robin mode.
RW 0x0
11 Reserved. - - -
10 ERR_STICKY Some past ADC conversion encountered an error. Write 1
to clear.
WC 0x0
RP2040 Datasheet
4.9. ADC and Temperature Sensor 585