Harmony 3 driver and system service application examples for SAM A5D2 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 A5D2 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 shows how to use the I2C driver in asynchronous mode to perform operations on the EEPROM |
I2C driver synchronous - I2C EEPROM | This example application shows how to use the I2C driver in synchronous mode to perform operations on the EEPROM |
I2C EEPROM AT24 driver - EEPROM Read Write | This example application shows how to use the AT24 driver to perform read and write operations on AT24 series of EEPROM |
Memory driver asynchronous - MX25L QSPI and AT25DF SPI flash read write | This example application shows how to use the Memory driver in asynchronous mode to perform block operations on the MX25L QSPI flash and the AT25DF SPI flash media |
Memory driver synchronous - MX25L QSPI and AT25DF SPI flash read write | This example application shows how to use the Memory driver in synchronous mode to perform block operations on the MX25L QSPI flash and the AT25DF SPI flash media |
SDMMC driver asynchronous - SDMMC Read Write | This example application shows how to use the SDMMC driver in asynchronous mode to perform block operations on the SD Card Media |
SDSPI driver asynchronous - SDSPI Read Write | This example application shows how to use the SDSPI driver in asynchronous mode to perform block operations on the SD Card Media |
SDSPI driver synchronous - SDSPI Read Write | This example application shows how to use the SDSPI driver in synchronous mode to perform block operations on the SD Card Media |
SPI Driver asynchronous - multi client | This example demonstrates how to use single instance of the SPI driver in asynchronous mode to communicate with multiple EEPROMs |
SPI Driver asynchronous - Self loopback multi client | This example demonstrates how to use the SPI driver in asynchronous mode to achieve self-loop back between multiple clients |
SPI Driver synchronous - multi client | This example demonstrates how to use single instance of the SPI driver in synchronous mode to communicate with multiple EEPROMs in an RTOS environment |
SPI Driver synchronous - Self loopback multi client | This example demonstrates how to use the SPI driver in synchronous mode to achieve self-loop back between multiple clients in RTOS environment |
SPI EEPROM AT25 driver - EEPROM Read Write | This example application shows how to use the AT25 driver to perform read and write operations on AT25 series of EEPROM |
SPI Flash AT25DF - AT25DF flash read write | This example application shows how to use the AT25DF SPI flash driver to perform block operations on the on-board AT25DF Flash memory |
SQI flash MX25L driver - MX25L SQI read write | This example application shows how to use the MX25L QSPI flash driver to perform block operations on the on-board MX25L QSPI Flash memory |
USART driver asynchronous - USART echo | This example echoes the received characters over the console using the USART driver in asynchronous mode |
USART driver asynchronous - USART multi instance | This example echoes the received characters over the two consoles using the USART driver in asynchronous mode |
USART driver synchronous - USART echo | This example echoes the received characters over the console using the USART driver in synchronous mode |
USART driver synchronous - USART multi instance | This example echoes the received characters over the two consoles using the USART driver in synchronous mode |
FAT filesystem throughput using eMMC Media | This application calculates throughput by Writing and Reading data into a eMMC device at High Speed using the MPLAB Harmony File System and the SDMMC driver |
FAT filesystem using EMMC media | This application shows an example of using the FAT filesystem to access and modify the contents of a eMMC device using contents from SD card |
FAT filesystem using SDMMC 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 SDMMC driver |
FAT filesystem throughput using SDMMC Media | This application calculates throughput by Writing and Reading data into a Sd-Card at High Speed using the MPLAB Harmony File System and the SDMMC driver |
FAT filesystem using SPI flash media | This application shows an example of using the MPLAB Harmony File System to access and modify the contents of a flash memory using SPI Flash driver |
FAT filesystem using SQI Flash Media | This application shows an example of using the MPLAB Harmony File System to access SQI based flash media. The SAMA5D2 Xplained Ultra Evaluation Kit has the MX25L flash memory while the SAMA5D27-SOM1-EK1 and the SAMA5D27-WLSOM1-EK1 |
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 |
FreeRTOS Task Notification | This example application is to illustrate the FreeRTOS Task Notification feature which is used as a light weight binary semaphore |
Time System Service multi-client | This example application demonstrates the multi-client system timer functionality |