Creating Simple Applications Using MPLAB® Harmony v2

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
PIC32MZ-EF-50px.png
PIC32MZ Embedded Connectivity with FPU
Starter Kit

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
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.