Skip to content
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions boards/SparkFun-MicroMod-RP2040-Processor/MicroModEdge.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
import type { ChipProps } from "@tscircuit/props"

export const MicroModEdge = (props: any) => (
<chip
{...props}
name="J1"
footprint="micromod_processor_edge" // Using likely accurate name, can be refined if footprint definition exists
pinLabels={{
"1": "GND",
"2": "3.3V",
"3": "USB_D+",
"4": "3.3V_EN",
"5": "USB_D-",
"6": "!RESET!",
"7": "GND",
"8": "G11",
"9": "USB_VIN",
"10": "D0",
"11": "!BOOT!",
"12": "I2C_SDA",
"13": "RTS1",
"14": "I2C_SCL",
"15": "CTS1",
"16": "I2C_!INT!",
"17": "TX1",
"18": "D1/CAM_TRIG",
"19": "RX1",
"20": "RX2",
"21": "SWDCK",
"22": "TX2",
"23": "SWDIO",
"32": "PWM0",
"33": "GND",
"34": "A0",
"35": "USBHOST_D+",
"36": "GND",
"37": "USBHOST_D-",
"38": "A1",
"39": "GND",
"40": "G0/BUS0",
"41": "CAN-RX",
"42": "G1/BUS1",
"43": "CAN-TX",
"44": "G2/BUS2",
"45": "GND",
"46": "G3/BUS3",
"47": "PWM1",
"48": "G4/BUS4",
"49": "BATT_VIN/3",
"50": "AUD_BCLK",
"51": "I2C_SDA1",
"52": "AUD_LRCLK",
"53": "I2C_SCL1",
"54": "AUD_IN/CAM_PCLK",
"55": "SPI_!CS!",
"56": "AUD_OUT/CAM_MCLK",
"57": "SPI_SCK",
"58": "AUD_MCLK",
"59": "SPI_SDO",
"60": "SPI_SCK1/SDIO_CLK",
"61": "SPI_SDI",
"62": "SPI_SDO1/SDIO_CMD",
"63": "G10/ADC_D+/CAM_VSYNC",
"64": "SPI_SDI1/SDIO_DATA0",
"65": "G9/ADC_D-/CAM_HSYNC",
"66": "SDIO_DATA1",
"67": "G8",
"68": "SDIO_DATA2",
"69": "G7/BUS7",
"70": "SPI_!CS1!/SDIO_DATA3",
"71": "G6/BUS6",
"72": "RTC_3V",
"73": "G5/BUS5",
"74": "3.3V",
"75": "GND",
}}
/>
)
19 changes: 19 additions & 0 deletions boards/SparkFun-MicroMod-RP2040-Processor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SparkFun MicroMod RP2040 Processor

This is a `tscircuit` implementation of the **SparkFun MicroMod RP2040 Processor Board**. It allows you to use the powerful RP2040 microcontroller in your designs with the flexible MicroMod ecosystem.

## Features
- **RP2040 Microcontroller**: Dual-core Cortex M0+ at 133MHz, 264kB SRAM.
- **Flash Memory**: 128Mbit (16MB) Winbond W25Q128JV.
- **MicroMod Connector**: M.2 connector interface for swapping processor boards.
- **Full Passive Component Match**: Includes all decoupling capacitors, resistors, and crystals from the original design.
- **Physical Layout**: Components are placed on Top and Bottom layers matching the original SparkFun PCB layout.

## Status
- **Schematic**: Fully mapped from original Eagle files.
- **Layout**: Components placed with precise coordinates.
- **Verified**: Passing `tsci snapshot` checks.

## Original Hardware
- [SparkFun Product Page](https://www.sparkfun.com/products/17720)
- [Schematic Source (GitHub)](https://github.com/sparkfun/MicroMod_Processor-RP2040)
69 changes: 69 additions & 0 deletions boards/SparkFun-MicroMod-RP2040-Processor/RP2040.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
import type { ChipProps } from "@tscircuit/props"

export const RP2040 = (props: any) => (
<chip
{...props}
name="U3"
footprint="qfn56"
pinLabels={{
"2": "GPIO0",
"3": "GPIO1",
"4": "GPIO2",
"5": "GPIO3",
"6": "GPIO4",
"7": "GPIO5",
"8": "GPIO6",
"9": "GPIO7",
"11": "GPIO8",
"12": "GPIO9",
"13": "GPIO10",
"14": "GPIO11",
"15": "GPIO12",
"16": "GPIO13",
"17": "GPIO14",
"18": "GPIO15",
"19": "TESTEN",
"20": "XIN",
"21": "XOUT",
"24": "SWCLK",
"25": "SWDIO",
"26": "RUN",
"27": "GPIO16",
"28": "GPIO17",
"29": "GPIO18",
"30": "GPIO19",
"31": "GPIO20",
"32": "GPIO21",
"34": "GPIO22",
"35": "GPIO23",
"36": "GPIO24",
"37": "GPIO25",
"38": "GPIO26/ADC0",
"39": "GPIO27/ADC1",
"40": "GPIO28/ADC2",
"41": "GPIO29/ADC3",
"43": "ADC_VDD",
"44": "LDO_IN",
"45": "LDO_OUT",
"46": "USB_D-",
"47": "USB_D+",
"48": "USB_VDD",
"51": "QSPI_SD3",
"52": "QSPI_SCLK",
"53": "QSPI_SD0",
"54": "QSPI_SD2",
"55": "QSPI_SD1",
"56": "QSPI_!CS!",
"57": "GND", // EPAD
// Power Groups
"1": "VDDIO",
"10": "VDDIO",
"22": "VDDIO",
"33": "VDDIO",
"42": "VDDIO",
"49": "VDDIO",
"23": "VDD_1V1",
"50": "VDD_1V1",
}}
/>
)
Loading
Loading