• Home
  • Boards
  • SoCs
  • HW Blocks
Renode
  • Home
  • Boards
  • SoCs
  • Vendors
  • HW Blocks
Board photo

Arduino MKRZERO

ATSAMD21E18A
System on Chip
Arduino
Vendor

Supported software


Zephyr RTOS

Hello World


A simple sample that prints “Hello World” to the console.

Run locally

You can run the Hello World demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero hello_world

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run arduino_mkrzero hello_world demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Hello World demo

SBOM data

Download Software Bill of Materials data for the Hello World demo

Robot Test Suite Log

See a Robot test results for the Hello World demo

Shell Module


This demo demonstrates the Zephyr shell submodule, which allows the user to use a console interface to control the operating system.

Run locally

You can run the Shell Module demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero shell_module

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run arduino_mkrzero shell_module demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Shell Module demo

SBOM data

Download Software Bill of Materials data for the Shell Module demo

Robot Test Suite Log

See a Robot test results for the Shell Module demo

Philosophers


An implementation of a solution to the Dining Philosophers problem which demonstrates the usage of multiple preemptible and cooperative threads of differing priorities, as well as dynamic mutexes and thread sleeping.

Run locally

You can run the Philosophers demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero philosophers

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run arduino_mkrzero philosophers demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Philosophers demo

SBOM data

Download Software Bill of Materials data for the Philosophers demo

Robot Test Suite Log

See a Robot test results for the Philosophers demo

TensorFlow Lite Micro


This sample TensorFlow application replicates a sine wave and demonstrates the basics of using TensorFlow Lite Micro. The model included with the sample is trained to replicate a sine function and generates x values to print alongside the y values predicted by the model.

Run locally

You can run the TensorFlow Lite Micro demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero tensorflow_lite_micro

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run arduino_mkrzero tensorflow_lite_micro demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the TensorFlow Lite Micro demo

SBOM data

Download Software Bill of Materials data for the TensorFlow Lite Micro demo

Robot Test Suite Log

See a Robot test results for the TensorFlow Lite Micro demo

MicroPython


This demo demonstrates the MicroPython Zephyr port by performing arithmetic operations, and by defining and calling simple functions.

Run locally

You can run the MicroPython demo on the Arduino MKRZERO board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b arduino_mkrzero micropython

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run arduino_mkrzero micropython demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the MicroPython demo

SBOM data

Download Software Bill of Materials data for the MicroPython demo

Robot Test Suite Log

See a Robot test results for the MicroPython demo

Blinky


A basic sample that blinks an LED forever using the Zephyr GPIO API.

Run locally

The Blinky demo is not supported in the Renode Zephyr dashboard on Arduino MKRZERO yet.

You can contact us by clicking the button below if you want to see it supported.

Contact us

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Blinky demo

SBOM data

Download Software Bill of Materials data for the Blinky demo

Robot Test Suite Log

See a Robot test results for the Blinky demo

Components


ATSAMD21E18A

atsamd21e18a

Similar boards


SERPENTE

atsamd21e18a

Adafruit Trinket M0

atsamd21e18a

SAM D21 Xplained Pro

atsamd21e18a

Arduino Zero

atsamd21e18a

Arduino Nano 33 IOT

atsamd21e18a

Adafruit Feather M0 LoRa

atsamd21e18a

Adafruit Feather M0 Basic Proto

atsamd21e18a

Seeeduino XIAO

atsamd21e18a

Device tree


Device tree

Hierarchical device data structure

Renode dts2repl

Converted device tree source into Renode .repl file

Specification


Frequency:

48 MHz

Flash:

256 KiB

RAM:

32 KiB

ADDRESS SPACE ID TYPE DRIVER PERIPHERAL
ADDRESS SPACE 0x00000000 - 0x00040000 ID flash0 TYPE mtd DRIVER PERIPHERAL soc-nv-flash
ADDRESS SPACE 0x40000400 - 0x40000800 ID pm TYPE misc DRIVER PERIPHERAL Microchip samd2x-pm
ADDRESS SPACE 0x40000c00 - 0x40001000 ID gclk TYPE clock DRIVER PERIPHERAL Microchip samd2x-gclk
ADDRESS SPACE 0x40001000 - 0x40001009 ID wdog TYPE watchdog DRIVER driver PERIPHERAL Microchip sam0-watchdog
ADDRESS SPACE 0x40001800 - 0x4000181c ID eic TYPE interrupt-controller DRIVER driver PERIPHERAL Microchip sam0-eic
ADDRESS SPACE 0x41004000 - 0x41004022 ID nvmctrl TYPE flash-controller DRIVER driver PERIPHERAL Microchip sam0-nvmctrl
ADDRESS SPACE 0x41004400 - 0x41004480 ID pinmux_a TYPE pinctrl DRIVER PERIPHERAL Microchip sam0-pinmux
ADDRESS SPACE 0x41004400 - 0x41004480 ID porta TYPE gpio DRIVER driver PERIPHERAL Microchip sam0-gpio
ADDRESS SPACE 0x41004480 - 0x41004500 ID pinmux_b TYPE pinctrl DRIVER PERIPHERAL Microchip sam0-pinmux
ADDRESS SPACE 0x41004480 - 0x41004500 ID portb TYPE gpio DRIVER driver PERIPHERAL Microchip sam0-gpio
ADDRESS SPACE 0x41004800 - 0x41004850 ID dmac TYPE dma DRIVER driver PERIPHERAL Microchip sam0-dmac
ADDRESS SPACE 0x41005000 - 0x41006000 ID usb0 TYPE usb DRIVER driver PERIPHERAL Microchip sam0-usb
ADDRESS SPACE 0x42000800 - 0x42000840 ID sercom0 TYPE i2c DRIVER driver PERIPHERAL Microchip sam0-i2c
ADDRESS SPACE 0x42000c00 - 0x42000c40 ID sercom1 TYPE spi DRIVER driver PERIPHERAL Microchip sam0-spi
ADDRESS SPACE 0x42001000 - 0x42001040 ID sercom2 TYPE spi DRIVER driver PERIPHERAL Microchip sam0-spi
ADDRESS SPACE 0x42001c00 - 0x42001c40 ID sercom5 TYPE serial DRIVER driver PERIPHERAL Microchip sam0-uart
ADDRESS SPACE 0x42002000 - 0x42002080 ID tcc0 TYPE misc DRIVER PERIPHERAL Microchip sam0-tcc
ADDRESS SPACE 0x42002400 - 0x42002480 ID tcc1 TYPE misc DRIVER PERIPHERAL Microchip sam0-tcc
ADDRESS SPACE 0x42002800 - 0x42002880 ID tcc2 TYPE misc DRIVER PERIPHERAL Microchip sam0-tcc
ADDRESS SPACE 0x42003000 - 0x42003020 ID tc4 TYPE timer DRIVER driver PERIPHERAL Microchip sam0-tc32
ADDRESS SPACE 0x42003800 - 0x42003820 ID tc6 TYPE timer DRIVER driver PERIPHERAL Microchip sam0-tc32
ADDRESS SPACE 0x42004000 - 0x4200402b ID adc TYPE adc DRIVER driver PERIPHERAL Microchip sam0-adc
ADDRESS SPACE 0x42004800 - 0x42004810 ID dac0 TYPE dac DRIVER driver PERIPHERAL Microchip sam0-dac
ADDRESS SPACE 0xe000e010 - 0xe000e020 ID systick TYPE timer DRIVER PERIPHERAL ARM armv6m-systick
ADDRESS SPACE 0xe000e100 - 0xe000ed00 ID nvic TYPE interrupt-controller DRIVER PERIPHERAL ARM v6m-nvic
  • What is Renode
  • Market cases
  • News
  • Docs
  • Zephyr Dashboard
  • Antmicro
  • Renode
Copyright © 2021-2023 Antmicro
7c0068ff