Skip to content

Atmel SAM D10 Xplained Mini

Support for the Atmel SAM D10 Xplained Mini board.

Support for the Atmel SAM D10 Xplained Mini board.

Overview

The SAMD10 Xplained Mini is an ultra-low cost evaluation board by Atmel featuring an SoC. The SoC includes a SAMD10 ARM Cortex-M0+ micro- controller. For programming the MCU comes with 4Kb of RAM and 16Kb of flash memory.

The samd10-xmini is available from various hardware vendors for ~8€ (as of 2020 October).

Hardware

samd10-xmini image

MCU

MCUATSAMD10D14AU
FamilyARM Cortex-M0+
VendorAtmel
RAM4 kiB
Flash16 kiB
Frequencyup to 48 MHz
FPUno
Timers3 (2 x 16-bit, 1 x 24-bit)
ADCs1x 10-bit (10 channels)
DACs1x 10-bit (1 channel)
UARTsmax 3 (shared with SPI and I2C)
SPIsmax 3 (see UART)
I2Csmax 3 (see UART)
Vcc1.62V - 3.63V
DatasheetDatasheet
Board ManualBoard Manual

User Interface

1 User button and 1 LED:

DevicePIN
LED0PA09
SW0PA25

Flashing the device

Connect the device to your Micro-USB cable using the port labeled as DEBUG USB.

The standard method for flashing RIOT to the samd10-xmini is using edbg. by calling: make BOARD=samd10-xmini -C tests/leds flash

Note that on Linux, you will need libudev-dev package to be installed.

Users can also use openOCD to flash and/or debug the board using: PROGRAMMER=openocd make BOARD=samd10-xmini -C tests/leds flash

On Linux you will have to add a udev rule for hidraw, like

echo 'KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev"' \
| sudo tee -a /etc/udev/rules.d/99-usb.rules
sudo service udev restart

Known Issues / Problems

I2C

The I2C pins on the board do not have any pull-ups connected to them. That means that running e.g. i2c_scan without any I2C slaves connected will run into timeouts.