Link Search Menu Expand Document

                                                                                                     

Create a first application on PIC32CZ CAx Microcontrollers using MPLAB Harmony v3 with MCC

This tutorial explains how to create a simple application on an Arm® Cortex®-M7 based PIC32CZ CAx Microcontroller using the MPLAB Code Configurator (MCC) with MPLAB Harmony v3 modules. This technical brief used PIC32CZ CAx MCUs to create an application that gets you started in developing applications using MCC on the MPLAB Harmony v3 software framework.

The application makes use of PIC32CZ CA90 Curiosity Ultra Development Board.

Note: Though this application uses the PIC32CZ CAx microcontroller as an example, the general description and steps to install, configure, and generate code using MCC applies to all 32-bit PIC and SAM microcontrollers.

The objective of this application is to toggle an LED on a timeout basis and print the LED toggling rate on the serial console. For this demonstration, the following MPLAB Harmony v3 modules are used and configured using the MCC.

The applications you create will utilize:

  • PORT Pin to toggle LED0.
  • Real-Time Clock (RTC) PLIB to periodically sample the LED0 toggling rate.
  • External Interrupt Controller (EIC) PLIB to change the toggling rate when there is a switch press event.
  • Serial Communication Interfaces ((SERCOM) configured as USART) and Direct Memory Access (DMA) PLIBs to print the LED0 toggling rate on a COM (serial) port terminal application running on a PC.
  • Port Pins (USART pins as they are responsible for printing the data on the terminal after obtaining the values) to communicate with the serial terminal.

For more information refer the links below.

               



Copyright © 2020 Microchip Technology.