====== Seeeduino XIAO ====== {{:seeeduino:seeduino_xiao.jpg?300|}}\\ The [[https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html|Seeeduino XIAO]] is an Arduino like board based on the [[https://files.seeedstudio.com/wiki/Seeeduino-XIAO/res/ATSAMD21G18A-MU-Datasheet.pdf|SAMD21G18]] chip (ARM Cortex-M0+, 32bit, 48MHz), similar to the [[arduino:arduino_mkrzero|Arduino MKR ZERO]].\\ [[https://wiki.seeedstudio.com/Seeeduino-XIAO/|Seeeduino XIAO Wiki]]\\ **All I/O Pins are 3.3V** To use the DAC and the PWM follow the manual of the [[http://dernulleffekt.de/doku.php?id=arduino:arduino_mkrzero#dac_pwms|Arduino MKR Zero]].\\ A great description and general information about the SAMD21 one could find here: [[https://learn.sparkfun.com/tutorials/samd21-minidev-breakout-hookup-guide/samd21-overview|SpartkFun SAMD21 Overview]]\\ ---- ==== Installation ==== To add Seeeduino XIAO to Arduino IDE add in file/preference the following URL to the Additional Boards Manager URLs:\\ https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json Than search and install in tools/boardmanager these boards:\\ Seeed SAMD Boards On Arch Linux it needs always two attempts to upload the code, the /dev/ttyACM0 can't be opened: **No device found on ttyACM0**!\\ ---- ==== Pinout ==== {{:seeeduino:seeduino_xiao_pins.jpg?200|}}\\ TX - pin 06 RX - pin 07 DAC - pin 00 Build In LED - 13 {{:seeeduino:seeeduino-xiao-pinout.jpg?400|}}\\ //pinout diagram by [[https://www.seeedstudio.com/|Seeed Studio]]//\\ ---- ==== Reset & Bootloader Mode ==== {{:seeeduino:seeduino_xiao_reset.jpg?300|}}\\ To reset the board one should connect the reset pins briefly to ground.\\ And to enter the bootloader mode one should do so twice.\\ ---- ==== Serial Wire Debug (SWD) ==== {{:seeeduino:serial_wire_debug.jpg?300|}}\\ ---- ==== Miscellaneous === [[https://forum.seeedstudio.com/t/how-to-unbrick-a-dead-xiao-using-raspberry-pi-guide-openocd/253990|How to unbrick a dead XIAO using Raspberry Pi]]\\ [[https://github.com/Seeed-Studio/ArduinoCore-samd/blob/master/bootloaders/XIAOM0/bootloader-XIAO_m0-v3.7.0-33-g90ff611-dirty.bin|XIAO-M0 Bootloader]]\\ ---- ==== License ==== This manuals is made by **Wolfgang Spahn** 2020.\\ Except where otherwise noted, content on this wiki is licensed under the following license: [[http://creativecommons.org/licenses/by-nc-sa/4.0/"|Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License]].\\ Creative Commons License ----