This version (03 May 2019 16:24) was approved by Chad Wentworth.The Previously approved version (01 May 2019 22:28) is available.Diff

Table of Contents

MicroPython Overview

MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimized to run on micro-controllers and in constrained environments. (

To be short, MicroPython is a Python environment running on the bare metal.

Though the SHARC Audio Module is powerful enough to run the full Python 3 on the Linux operating system, depending on the use case, it might be favorable to use the Python on bare metal. The MicroPython has been ported over to the SHARC Audio Module, and can be used in conjunction with the Bare Metal Framework to utilize the on-chip SHARC DSP. You can get the latest version of source code at

The SHARC Audio Module port of MicroPython currently has drivers for GPIO, TWI, SPI, RTC, Timer, and SD card, and is compatible with the drivers in the official pyboard by MicroPython.

A user can either use the interactive shell (REPL) to write the Python program directly on the SAM through the FTDI USB-serial cable, or load and run a written program stored on the SD card.


This video demonstrates some basic features of the MicroPython for SHARC Audio Module as well as how it can be used in conjunction with the Bare Metal Framework.


Follow these tutorials to become familiar with using MicroPython on the SHARC Audio Module.

These tutorials are meant to help you with using SHARC Audio Module specific functions of MicroPython, but not Python or MicroPython in general. You can find more general information about them on their official Wiki sites.

Navigation - SHARC Audio Module

resources/tools-software/sharc-audio-module/micropython.txt · Last modified: 03 May 2019 16:24 by Chad Wentworth