1 Creating the First Application on the PIC32CM JH01 MCU

The following software and hardware tools are used for this demonstration:

Note: The latest versions of these tools can also be used to develop the application.

To create an MPLAB Harmony v3-based project, follow these steps:

  1. On the Start menu, launch MPLAB X IDE.
  2. On the File menu, click New Project or click the New Project icon.
  3. In the New Project window, in the left Navigation bar, under Steps click Choose Project.
    Figure 1-1. Choose Project
  4. In the Choose Project property page:
    1. Categories: Selelct Micorchip Embedded.
    2. Project: Select Application Project(s).
  5. Click Next.
  6. In the left Navigation bar, under Steps click Select Device.
    Figure 1-2. Selecting the Device
  7. In the Select Device property page, in the Device box, type or select the device PIC32CM5164JH01100.
  8. Click Next.
  9. In the left Navigation bar, under Steps click Select Compiler.
  10. In the Select Compiler property page, expand XC32 list of options, and then select XC32 (v4.35).
    Figure 1-3. Compiler Selection
  11. Click Next.
  12. In the left Navigation bar, click Select Project Name and Folder.
  13. In the Select Project Name and Folder property page:
    1. Project Name: Enter getting_started_pic32cm_jh01_cpro.
    2. Project Location: Click the Browse button and choose C:\microchip\h3\Tech_Brief.
    Figure 1-4. Project Creation
  14. Click Finish.
  15. Before launching the MCC, the Configuration Database Setup window will be displayed, where the Device Family Pack (DFP) and Cortex® Microcontroller Software Interface Standard (CMSIS) path can be changed if required. For this demonstration, the default settings are used.
  16. The MCC plug-in will open in a new window as shown in the following figure.
    Figure 1-5. MPLAB Code Configurator Window