Harmony 3 driver and system service application examples for SAM L21 family
MPLAB® Harmony 3 is an extension of the MPLAB® ecosystem for creating embedded firmware solutions for Microchip 32-bit SAM and PIC® microcontroller and microprocessor devices. Refer to the following links for more information.
- Microchip 32-bit MCUs
- Microchip 32-bit MPUs
- Microchip MPLAB X IDE
- Microchip MPLAB® Harmony
- Microchip MPLAB® Harmony Pages
This repository contains the MPLAB® Harmony 3 driver and system service application examples for SAM L21 family
To clone or download these applications from Github, go to the main page of this repository and then click Clone button to clone this repository or download as zip file. This content can also be downloaded using content manager by following these instructions.
Contents Summary
Folder | Description |
---|---|
apps | Contains driver and system service example applications |
docs | Contains documentation in html format for offline viewing (to be used only after cloning this repository onto a local machine). Use github pages of this repository for viewing it online. |
Code Examples
The following applications are provided to demonstrate the typical or interesting usage models of one or more peripheral libraries.
Name | Description |
---|---|
I2C driver asynchronous - I2C EEPROM | This example application demonstrates how to use the I2C driver in asynchronous mode to perform read/write operations on an EEPROM |
I2C driver asynchronous - multi slave | This example application demonstrates the multi-client feature of the asynchronous mode of the I2C driver by communicating with an external EEPROM and a temperature sensor |
SPI driver asynchronous - multi instance | This example application demonstrates the multi instance feature of the asynchronous mode of the SPI driver by reading and writing to two EEPROMs connected to two different SPI bus |
USART driver asynchronous - USART echo | This example application demonstrates the asynchronous mode of the USART driver by echoing the received characters |
FAT filesystem using NVM Media | This application shows an example of implementing a FAT disk in the device internal Flash memory |
FAT filesystem using SD Card media | This application shows an example of using the MPLAB Harmony File System to access and modify the contents of a SD card using the SDSPI driver and the SPI PLIB |
FreeRTOS basic | This example application demonstrates context switching between four tasks of different priorites. Two tasks run periodically while the other two tasks are event driven |
Console Debug System Service using UART | This example application demonstrates the UART based console and debug system service |
Console Debug System Service using USB | This example application demonstrates the USB based console and debug system service |
Time System Service multi-client | This example application demonstrates the multi-client system timer functionality |