{"id":15012044,"url":"https://github.com/socxin/rp2040","last_synced_at":"2025-10-03T20:16:11.690Z","repository":{"id":131098919,"uuid":"262027600","full_name":"SoCXin/RP2040","owner":"SoCXin","description":"L2 R2 S4: RaspberryPi 133MHz Cortex-M0 Dual Core MCU (RP2040)","archived":false,"fork":false,"pushed_at":"2023-03-05T11:10:36.000Z","size":35887,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T04:12:18.195Z","etag":null,"topics":["arduino","cortex-m0","dual-core","mcu","micropython","pio","qfn56","qitas","raspberry-pi","raspberrypi","rp2040","rust","usb","xip"],"latest_commit_sha":null,"homepage":"https://www.soc.xin/RP2040","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoCXin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"qitas","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-05-07T11:07:24.000Z","updated_at":"2024-04-25T13:13:32.000Z","dependencies_parsed_at":"2023-04-13T11:04:28.337Z","dependency_job_id":null,"html_url":"https://github.com/SoCXin/RP2040","commit_stats":{"total_commits":46,"total_committers":1,"mean_commits":46.0,"dds":0.0,"last_synced_commit":"6aba93c8dfb404449d677aaa35c5b20096eb5ffa"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FRP2040","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FRP2040/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FRP2040/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCXin%2FRP2040/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoCXin","download_url":"https://codeload.github.com/SoCXin/RP2040/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514205,"owners_count":21116903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","cortex-m0","dual-core","mcu","micropython","pio","qfn56","qitas","raspberry-pi","raspberrypi","rp2040","rust","usb","xip"],"created_at":"2024-09-24T19:42:02.392Z","updated_at":"2025-10-03T20:16:06.646Z","avatar_url":"https://github.com/SoCXin.png","language":"Rust","funding_links":["https://ko-fi.com/qitas"],"categories":[],"sub_categories":[],"readme":"﻿# [RP2040](https://www.soc.xin/RP2040)\n\n[![Build Status](https://github.com/SoCXin/RP2040/workflows/src/badge.svg)](https://github.com/SoCXin/RP2040/actions/workflows/src.yml)\n[![Build Status](https://github.com/SoCXin/RP2040/workflows/templates/badge.svg)](https://github.com/SoCXin/RP2040/actions/workflows/templates.yml)\n[![Build Status](https://github.com/SoCXin/RP2040/workflows/docs/badge.svg)](https://github.com/SoCXin/docs/tree/RP2040)\n\n* [Raspberry Pi](https://www.raspberrypi.com/)：[Cortex-M0+](https://github.com/SoCXin/Cortex)\n* [L2R2](https://github.com/SoCXin/Level)：2x 133 MHz , [￥4.3](https://item.szlcsc.com/2392.html)\n\n## [芯片简介](https://github.com/SoCXin/RP2040/wiki)\n\n[RP2040](https://www.raspberrypi.com/products/raspberry-pi-pico/) 是一款Cortex M0+ 双核MCU，运行频率为 133 MHz (极端情况下可超频到1GHz)\n\n[![sites](docs/RP2040.png)](https://www.raspberrypi.com/documentation/microcontrollers/rp2040.html)\n\n### 关键特性\n\n* 133MHz Cortex-M0+ Dual Core\n* 264KB RAM + 256KB Flash + 16MB QSPI Flash\n* 2 × UART, 2 × SPI , 2 × I2C\n* 16 × PWM\n* USB1.1 OTG with UF2\n* QFN56 (7*7mm), 30 GPIO, 其中的4个可以用于模拟输入\n* 8 × PIO可以支持多种IO标准\n    * DPI/VGA (利用电阻网络)\n    * 8080/6080并行接口\n    * SPI/DSPI/QSPI\n    * I2C\n    * I2S\n    * SDIO\n    * UART\n\n## [资源整理](https://github.com/SoCXin)\n\n本仓库的目的在于整合所有相关资源，提供高效可靠的开发环境和踩坑指南。\n\n* [参考资源](src/)\n* [参考文档](docs/)\n* [工程模板](templates/)\n\n软件开发可使用平台[platform-rp2040](https://github.com/OS-Q/platform-rp2040)\n\n## [选型建议](https://github.com/SoCXin)\n\n2021年1月发布的[RP2040](https://item.szlcsc.com/2392.html)包含两个子系列:\n\n* 支持USB的RP2040xxU系列\n* 不支持USB的RP2040xxN(1.8V-3.6V)/RP2040x4NR(1.8V-5.5V)\n\n采用TSMC 40nm制程工艺，芯片带有4ch 12-bit 500Ksps ADC，精度优于ESP32，可替换ATmega328p，广泛应用于各种外设驱动和通用控制场景。\n\n性价比非常高，价格介于[STM32G030C8T6(￥4.14)](https://item.szlcsc.com/549607.html)和[STM32G070RBT6(￥5.07)](https://item.szlcsc.com/549618.html)之间，开源资源丰富，在Arduino和Micropython等生态资源上拥有无与伦比的优势。\n\n\nRP2040中有2个相同的PIO块,每个PIO块都有专用的连接到总线结构,GPIO和中断控制器,每个块有四个状态机,可以独立执行顺序程序来操作GPIO和传输数据。\n\n与通用处理器不同的是,PIO状态机对IO的专业化程度很高(highly specialised),它注重确定性,精确的时序,并与固定功能硬件紧密结合。PIO状态机可以动态地配置和重新配置,以实现许多不同的接口,自由度很高。\n\n[![sites](docs/xin.png)](https://www.raspberrypi.com/documentation/microcontrollers/rp2040.html)\n\n\n### 开源方案\n\n* [PikaPython](https://github.com/OS-Q/PikaPython)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocxin%2Frp2040","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocxin%2Frp2040","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocxin%2Frp2040/lists"}