1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

board/saml10-xpro: add support for SAML10-XPRO board

This commit is contained in:
Dylan Laduranty 2019-01-21 17:07:42 +01:00
parent 99966b318a
commit 2132f5b85b
5 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,4 @@
MODULE = board
DIRS = $(RIOTBOARD)/common/saml1x
include $(RIOTBASE)/Makefile.base

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/common/saml1x/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTBOARD)/common/saml1x/Makefile.features

View File

@ -0,0 +1,5 @@
export CPU_FAM = saml10
export CPU_MODEL = saml10e16a
export CFLAGS += -D__SAML10E16A__
include $(RIOTBOARD)/common/saml1x/Makefile.include

View File

@ -0,0 +1,75 @@
/**
@defgroup boards_saml10-xpro Microchip SAML10 Xplained Pro
@ingroup boards
@brief Support for the Microchip SAML10 Xplained Pro board.
## Overview
The `SAML10 Xplained Pro` is an ultra-low power evaluation board by Microchip
featuring a ATSAML10E16A SoC. The SoC includes a SAML10 ARM Cortex-M23 micro-
controller. For programming the MCU comes with 16KB of RAM and 64KB of flash
memory.
## Hardware
![saml10-xpro image](https://www.microchip.com/_ImagedCopy/SAML10%20Xpro%20Front%20Title.jpg)
### MCU
| MCU | ATSAML10E16A |
|:------------- |:--------------------- |
| Family | ARM Cortex-M23 |
| Vendor | Microchip |
| RAM | 16KB |
| Flash | 64KB |
| Frequency | up to 32MHz |
| FPU | no |
| Timers | 3 (16-bit) |
| ADCs | 1x 12-bit (10 channels) |
| UARTs | max 3 (shared with SPI and I2C) |
| SPIs | max 3 (see UART) |
| I2Cs | max 3 (see UART) |
| Vcc | 1.6V - 3.6V |
| Datasheet | [Datasheet](http://ww1.microchip.com/downloads/en/DeviceDoc/SAM-L10L11%20Family-DataSheet%20-%20DS60001513B.pdf) |
| Board Manual | [Board Manual](http://ww1.microchip.com/downloads/en/DeviceDoc/70005359B.pdf)|
### User Interface
1 User button and 1 LED:
| Device | PIN |
|:------ |:--- |
| LED0 | PA07 |
| SW0 (button) | PA27 |
## Implementation Status
| Device | ID | Supported | Comments |
|:------------- |:------------- |:------------- |:------------- |
| MCU | saml10 | partly | PLL clock not implemented |
| Low-level driver | GPIO | yes | |
| | PWM | no | |
| | UART | yes | |
| | I2C | no | |
| | SPI | no | |
| | USB | no | |
| | RTT | no | |
| | RTC | no | |
| | RNG | no | |
| | Timer | yes | |
| | ADC | no | |
## Flashing the device
Connect the device to your Micro-USB cable.
The standard method for flashing RIOT to the saml10-xpro is using EDBG.
## Supported Toolchains
For using the saml10-xpro board we strongly recommend the usage of the
[GNU Tools for ARM Embedded Processors](https://launchpad.net/gcc-arm-embedded)
toolchain.
*/