xiao-samd21-tinygo

Document TinyGo pin mappings and firmware builds for the Seeed XIAO SAMD21.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/therebelrobot/microcontroller-base --skill xiao-samd21-tinygo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xiao-samd21-tinygo
Source: https://github.com/therebelrobot/microcontroller-base/tree/main/.roo/skills/XIAO-SAMD21-TinyGo
Command: npx skills add https://github.com/therebelrobot/microcontroller-base --skill xiao-samd21-tinygo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a comprehensive pinout reference, board specifications, and TinyGo development guide for the Seeed Studio XIAO SAMD21.

Core Features & Use Cases

  • Pinout reference diagram and detailed GPIO mappings for D0–D10 and special pins
  • TinyGo setup and target configuration, with example code coverage for I2C, SPI, UART, PWM, and ADC/DAC
  • Use cases include wiring sensors, implementing simple peripherals, and building TinyGo firmware for Seeed XIAO SAMD21

Quick Start

Install the TinyGo xiao target and build a simple blink program to verify your setup.

Frequently Asked Questions about xiao-samd21-tinygo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure TinyGo pins for the Seeed XIAO SAMD21?

You can wire peripherals and configure TinyGo pins for the Seeed XIAO SAMD21 by referencing the detailed GPIO mappings for D0–D10 and special pins. This guide provides board specifications and pinout references for your firmware projects.

Can I use I2C, SPI, and UART with TinyGo on the XIAO SAMD21?

Yes, you can use I2C, SPI, and UART with TinyGo on the XIAO SAMD21. The guide provides example code and configuration details for implementing these communication protocols along with PWM and analog features.

What is the best way to set up the TinyGo target for the XIAO SAMD21?

The best way to set up the TinyGo target for the XIAO SAMD21 is to install the specific xiao target and verify the environment by building a simple blink program. Step-by-step build and flash instructions are provided.

Does TinyGo support PWM and ADC/DAC on the Seeed XIAO SAMD21?

Yes, TinyGo supports PWM and ADC/DAC features on the Seeed XIAO SAMD21. The guide includes example code coverage for configuring these analog features and pulse width modulation for your peripherals.

Why is my TinyGo firmware not flashing to the XIAO SAMD21?

If your TinyGo firmware is not flashing to the XIAO SAMD21, verify your TinyGo target setup and pin mappings. Following the step-by-step build and flash instructions ensures the board specifications are correctly configured.