Description
This is a class on creating simple PIC32 embedded applications using MPLAB® Harmony. Some of the slides may not be easily understood because they are intended to be presented by an instructor.
Class Abstract
MPLAB Harmony is a modular framework that provides interoperable firmware libraries for PIC32 application development. These libraries include drivers, system services and middleware.
In this class, you will be introduced to the basic concepts and benefits of the MPLAB Harmony framework. You will learn how easy it is to create simple embedded applications using the MPLAB Harmony framework with its graphics configuration tool, MPLAB Harmony Configurator (MHC).
For the hands-on exercises, we will use the PIC32MZ EF Starter Kit. The lab manual provides step-by-step instructions for the following:
- Lab 1: Creating a Harmony Project –Toggle an LED.
- Lab 2: Using Harmony Drivers – Timer Driver to Implement Delay.
- Lab 3: Using Harmony System Services – Timer System Service to Implement Delays.
- Lab 4: Create a Custom Board Support Package (BSP).
Training Slides, Lab Manual, Source Files, and Solutions
This project has been verified to work with the following versions of software tools:
MPLAB X IDE v3.61, MPLAB XC32 Compiler v1.43, MPLAB Harmony v2.03b, MPLAB Harmony Configurator Plugin v2.0.3.5
Note: As the tools are regularly updated, there may be occasional issues while using newer versions. If that is the case, we recommend using the same version as specified in the project.
The archived versions of our tools can be found below:
MPLAB Harmony.
MPLAB X IDE and XC32 Compiler.
Note that multiple versions of all these tools can co-exist on the same computer.
Materials
Hardware Tools
Tool | About | Purchase |
---|---|---|
| |
Development Software Required for Labs
Tool | About | Installers |
Installation
Instructions |
||
---|---|---|---|---|---|
Windows | Linux | Mac OSX | |||
MPLAB® X
Integrated Development Environment |
| | | | |
MPLAB® XC32
C/C++ Compiler |
| | | | |
MPLAB® Harmony 2.xx
Integrated Software Framework |
| | | | |