Link Search Menu Expand Document

                                                                                                     

Create a new MPLAB Harmony v3 project using MCC

This tutorial shows you how to create a new MPLAB Harmony v3 project using MPLAB Code Configurator (MCC). This training module used SAM D5x/E5x 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 SAM E51 Curiosity Nano Evaluation Kit.

Note: Though this application uses the SAM E51 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.

This application demonstrates an LED (LED0) toggle on a timeout basis and prints the LED toggling rate on the serial terminal. The periodicity of the timeout will change from 500 milliseconds to 1 second, 2 seconds, 4 seconds, and back to 500 milliseconds every time you press the switch SW0 on the SAM E51 Curiosity Nano Evaluation Kit.

The applications you create will utilize:

  • Real-Time Clock (RTC) PLIB to periodically sample temperature sensor data.
  • SERCOM (as USART), Direct Memory Access (DMA) PLIBS to print the temperature values on a COM (serial) port terminal application running on a PC.
  • PORT PLIB to toggle the LED.
  • Help develop your first MPLAB Harmony v3 application using MCC. In the process, the lab will also demonstrate the use of callback functions.

For more information refer the links below.

               



Copyright © 2020 Microchip Technology.