Seeed Seeeduino XIAO

The Seeed Seeeduino XIAO is a tiny ARM development board based on the Atmel ATSAMD21G18 family of SoC.

Interfaces

Interface Hardware Supported TinyGo Support
GPIO YES YES
UART YES YES
SPI YES YES
I2C YES YES
ADC YES YES
PWM YES YES

Machine Package Docs

Documentation for the machine package for the Seeed Seeeduino XIAO

Flashing

UF2

The XIAO comes with the UF2 bootloader already installed.

CLI Flashing

  • Plug your XIAO into your computer’s USB port.
  • Flash your TinyGo program to the board using this command:

    tinygo flash -target=xiao [PATH TO YOUR PROGRAM]
    
  • The XIAO board should restart and then begin running your program.

Troubleshooting

If you have troubles getting your XIAO board to receive code, try this:

  • Short the “RST pins” two times to get the XIAO board ready to receive code.
  • The XIAO board will appear to your computer like a USB drive.
  • Now try running the command as above:
tinygo flash -target=xiao [PATH TO YOUR PROGRAM]

Once you have updated your XIAO board the first time, after that you should be able to flash it entirely from the command line.

Notes

You can use the USB port to the XIAO as a serial port. UART0 refers to this connection.