# 1. General Overview
Raspberry Pi Pico is a low-cost, high-performance microcontroller development board based on the RP2040 design. You can choose to use Python or C/C++ for development, which is convenient for quick start of development and learning. It is mini, compact, flexible and easy to use.
![图片1.png]

## Pin distribution
![图片2.png]

## Onboard resources
![图片3.png]

* Main control chip: RP2040, QFN-56 SMD package;
* Storage chip: SPI Flash;
* Power interface: TYPE C;
* Function buttons: BOOT and reset buttons;
* LED display: power indicator and status display light;
* Debug interface: TYPE C and SWD interface;
* External pins: lead out programmable I/O for convenient expansion connection;
## Advantages and features
![图片4.png]

* The board is small and exquisite, with a size of 53.34mm*22.86mm (2100mil*900mil);
* Compatible with the mainstream Raspberry Pi Pico, the spacing between the two rows of pins is 17.78mm, which can be applied to the perforated board;
* Supports the use of MicoPython and C/C++ language development, which is convenient for quick learning;
* Provides TYPE C serial port and SWD interface for easy development and debugging;
* Onboard reset (RESET) and boot mode switch (BOOTSEL) buttons,
* Support UF2's USB mass storage boot mode for drag-and-drop programming;
* Low price, ultra-low power consumption, rich external function pins, high cost performance;
* Use Jiali Chuang's high-quality PCB and genuine components to ensure product quality;
# 2. Chip Introduction
## RP2040 Chip Introduction
![Picture 5.png]

* Dual-core Cortex M0+, maximum frequency 133MHz
* Built-in 264kB 6-sector SRAM
* 30 multi-function GPIO pins
* 6 SPI Flash dedicated pins (support XIP)
* Common peripheral dedicated hardware
* Programmable I/O supports external devices
* 4-channel ADC, built-in temperature sensor, sampling frequency 500ksps, 12-bit resolution
* USB 1.1 host and device support
## RP2040 System Overview
![Picture 6.png]

## RP2040 Pin Description
![Picture 7.png]

* GPIOx: General purpose digital input and output. The RP2040 can connect one of multiple internal peripherals to each GPIO, or control the GPIO directly from software.
* GPIOx/ADCy: General purpose digital input and output with analog-to-digital conversion capabilities. The RP2040 ADC has an analog multiplexer that can select any of these pins and sample the voltage.
* QSPIx: Connect to SPI, Dual-SPI, or Quad-SPI Flash devices, and can execute code directly. It can also be used as a GPIO.
* USB_DP and USB_DM: USB controller, supporting full-speed devices and full/low-speed hosts. Each pin needs to be connected in series with a 27Ω resistor, and the internal bus provides pull-up and pull-down functions.
* XIN and XOUT: Connect a crystal to the crystal oscillator of the RP2040. XIN can also be used as a single-ended CMOS clock input, while XOUT is disconnected. Clock input, while disconnecting XOUT. The USB bootloader requires a 12MHz crystal or a 12MHz clock input.
* RUN: Global asynchronous reset pin. Reset when driven low, run when driven high. If external reset is not required, this pin can be tied directly to IOVDD.
* SWCLK and SWDIO: Provides debug access to both processors, can be used to download code.
* TESTEN: Factory test mode pin. Tie to GND.
* GND: Single external ground connection, connected to the RP2040 internal ground pad.
* IOVDD: Power supply for digital GPIO, nominal voltage 1.8V to 3.3V.
* USB_VDD: Power supply for internal USB full-speed PHY, nominal voltage 3.3V.
* ADC_AVDD: Power supply for analog-to-digital converter, nominal voltage 3.3V. * VREG_VIN
: Power supply input for internal core voltage regulator, nominal voltage 1.8V to 3.3V.
* VREG_VOUT: Power supply output for internal core voltage regulator, nominal voltage 1.1V, maximum current 100mA.
* DVDD: Digital core power supply, nominal voltage 1.1V. Can be connected to VREG_VOUT, or some other board-level power supply.
## RP2040 bus structure
RP2040 has dual Cortex-M0+ cores, DMA, internal memory and peripherals connected via AHB/APB bus structure.
![图片8.png]

## RP2040 product introduction
![RP2040 product introduction.png]

* Brand: Raspberry Pi (Raspberry Pi)
* Manufacturer model: RP2040
* Product number: [C2040](https://item.szlcsc.com/2392.html)
* Package: LQFN-56(7×7)
* Data sheet: