-
Notifications
You must be signed in to change notification settings - Fork 37
[Bounty] SparkFun MicroMod RP2040 Processor #246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,103 @@ | ||||||
| # SparkFun MicroMod RP2040 Processor | ||||||
|
|
||||||
| A tscircuit implementation of the SparkFun MicroMod RP2040 Processor board. | ||||||
|
|
||||||
| ## Overview | ||||||
|
|
||||||
| The SparkFun MicroMod RP2040 Processor is a compact microcontroller board featuring the Raspberry Pi RP2040 dual-core ARM Cortex-M0+ processor. It's designed to work with SparkFun's MicroMod ecosystem, allowing it to be paired with various carrier boards for different applications. | ||||||
|
|
||||||
| ## Features | ||||||
|
|
||||||
| - **Microcontroller**: Raspberry Pi RP2040 | ||||||
| - Dual-core ARM Cortex-M0+ processor | ||||||
| - 133MHz operating frequency | ||||||
| - 264KB of SRAM | ||||||
| - **Flash Memory**: 16MB (W25Q128JVSIQ) | ||||||
| - **Connectivity**: | ||||||
| - USB-C connector for programming and power | ||||||
| - MicroMod M.2 connector (75-pin) | ||||||
| - SWD debug interface | ||||||
| - **Power**: 3.3V operating voltage with onboard regulator | ||||||
| - **Indicators**: Status LED (GPIO25) | ||||||
| - **User Interface**: Reset and Boot buttons | ||||||
| - **Form Factor**: 22mm x 22mm MicroMod processor board | ||||||
|
|
||||||
| ## Pin Mapping | ||||||
|
|
||||||
| ### MicroMod Connector Pins | ||||||
|
|
||||||
| The board follows the MicroMod standard pinout: | ||||||
|
|
||||||
| | Function | Pin | RP2040 GPIO | Description | | ||||||
| |----------|-----|-------------|-------------| | ||||||
| | PWM0 | 41 | GPIO0 | PWM/Digital I/O | | ||||||
| | PWM1 | 32 | GPIO1 | PWM/Digital I/O | | ||||||
| | SPI_COPI | 33 | GPIO3 | SPI COPI (Controller Out Peripheral In) | | ||||||
| | SPI_CIPO | 34 | GPIO4 | SPI CIPO (Controller In Peripheral Out) | | ||||||
| | SPI_SCK | 35 | GPIO2 | SPI Clock | | ||||||
| | SPI_CS | 36 | GPIO5 | SPI Chip Select | | ||||||
| | UART1_TX | 24 | GPIO8 | UART1 Transmit | | ||||||
| | UART1_RX | 25 | GPIO9 | UART1 Receive | | ||||||
| | UART1_RTS | 27 | GPIO10 | UART1 Request To Send | | ||||||
| | UART1_CTS | 26 | GPIO11 | UART1 Clear To Send | | ||||||
| | I2C_SCL | 21 | GPIO13 | I2C Clock | | ||||||
| | I2C_SDA | 22 | GPIO12 | I2C Data | | ||||||
| | A0 | 40 | GPIO26 | Analog Input 0 | | ||||||
| | A1 | 38 | GPIO27 | Analog Input 1 | | ||||||
| | D0 | 60 | GPIO6 | Digital I/O 0 | | ||||||
| | D1 | 30 | GPIO7 | Digital I/O 1 | | ||||||
|
|
||||||
| ### Special Functions | ||||||
|
|
||||||
| - **GPIO25**: Connected to onboard status LED | ||||||
| - **USB_DP/USB_DM**: Connected to USB-C connector | ||||||
| - **QSPI**: Connected to 16MB flash memory | ||||||
| - **XIN/XOUT**: Connected to 12MHz crystal oscillator | ||||||
|
|
||||||
| ## Usage | ||||||
|
|
||||||
| ```tsx | ||||||
| import { SparkfunMicroModRP2040Processor } from "sparkfun-boards" | ||||||
|
||||||
| import { SparkfunMicroModRP2040Processor } from "sparkfun-boards" | |
| import { SparkfunMicroModRP2040Processor } from "@tsci/sparkfun-boards/sparkfun-micromod-rp2040-processor" |
Copilot
AI
Jan 22, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SparkFun product page URL appears to be incomplete or potentially incorrect. The URL "https://www.sparkfun.com/sparkfun-micromod-rp2040-processor.html" does not follow SparkFun's typical product URL format which usually includes a product ID number (e.g., "/products/17720").
| - [SparkFun Product Page](https://www.sparkfun.com/sparkfun-micromod-rp2040-processor.html) | |
| - [SparkFun Product Page](https://www.sparkfun.com/products/17720) |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1 @@ | ||||||
| export { default as SparkfunMicroModRP2040Processor } from "./sparkfun-micromod-rp2040-processor.circuit" | ||||||
|
||||||
| export { default as SparkfunMicroModRP2040Processor } from "./sparkfun-micromod-rp2040-processor.circuit" | |
| export { default } from "./sparkfun-micromod-rp2040-processor.circuit" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pin mapping table in the README shows I2C_SDA on pin 22, but the circuit file has "I2C1_SDA" for that pin. These should be consistent. Based on the MicroMod standard, pin 22 should be I2C_SDA (primary I2C interface).