nomagic

no, it is not magic !

User Tools

Site Tools


datasheet:rp2040

This is an old revision of the document!


RP2040

technical spec

pin function select table 1 2 3

Peripherals

Clocks

ROSC : Ring Oscillator (1.8 - 12 MHz

clk_ref = reference clock clk_sys = sytem clock (max 133 MHz clk_peri clk_usb = 48 MHz clk_adc = 48 MHz clk_rtc = 46875 Hz

UART

clocked by clk_peri. UARTCLK = clk_peri, PCLK = clk_sys

32xFIFO

maximum Baudrate = UARTCLK/16 ( 125MHz → 7.8 MBit/s)

Baudrate factor BRDI BRDF m error
115200@125MHz 67.817 67 0.817 52 0.006%

GPIO

Desciption GPIO , SIO

IO_BANK0 : Register

IO_QSPI: Register

PADS_BANK0: Register

PADS_QSPI: Register

SIO: Register

QSPI

SSI: Description

XIP_SSI: Register

XIP_CTRL: Register

clock

pclk and sclk are driven from clk_sys

modifications

ss_in_n is tied high

The following modifications were made to the Synopsys DW_apb_ssi hardware:

  1. XIP accesses are byte-swapped, such that the least-addressed byte is in the least-significant position

Note: this only applies to XIP accesses (RP2040 system addresses in the range 0x10000000 to 0x13ffffff), not to direct access to the DW_apb_ssi FIFOs.

  1. When SPI_CTRLR0_INST_L is 0, the XIP instruction field is appended to the end of the address for XIP accesses, rather than prepended to the beginning
  2. The reset value of DMARDLR is increased from 0 to 4. The SSI to DMA handshaking on RP2040 requests only single transfers or bursts of four, depending on whether the RX FIFO level has reached DMARDLR, so DMARDLR should not be changed from this value.

abbreviation dictionary

abbreviation long version comment
FRF frame format
ROSC Ring Oscillator
SPI Motorola Serial Peripheral Interface
SSI Synchronous Serial Interface XIP QSPI peripheral
SSP Texas Instruments Serial Protocol
XIP EXecute In Place
datasheet/rp2040.1698835366.txt.gz · Last modified: 2023/11/01 11:42 by lars