Lab 1 - How to Create an MPLAB® X IDE Project

Last modified by Microchip on 2025/07/07 14:13

Introduction

The SAM9X75 Early Access Curiosity Wireless Kit is a powerful evaluation platform designed by Microchip to accelerate the development of embedded applications based on the Arm® Cortex®-A5-based SAM9X75 microprocessor. This board is equipped with a rich set of peripherals, expansion options, and connectivity features, making it ideal for prototyping advanced Internet of Things (IoT), industrial, and multimedia applications.

To harness the full potential of the SAM9X75 Curiosity board, developers need a robust and flexible development environment. MPLAB X Integrated Development Environment (IDE) is Microchip’s flagship tool suite, offering a comprehensive set of features for code development, debugging, and project management. 

Creating a new project in MPLAB X IDE tailored for the SAM9X75 Curiosity board is the first step in bringing your embedded ideas to life. This process involves configuring the IDE, selecting the appropriate device and toolchain, setting up the project structure, and preparing the environment for code development and debugging. Understanding how to properly set up your project ensures efficient workflow, easier code management, and smoother integration with hardware features.

In this guide, we take you through the step-by-step process of creating an MPLAB X IDE project specifically for the SAM9X75 Curiosity Wireless Kit. 

Create an MPLAB Harmony Application

Launch MPLAB X IDE from the main menu.


Create a new project by clicking the New Project icon or by selecting File > New Project.


In the New Project pane, under Projects, choose Application Project(s) and click Next.

New Project

Back to Top


In the Select Device dialog, fill in or select the following information: 

  • Family: 32-bit MCUs and MPUs (PIC32C/SAM)
  • Device: SAM9X75D2G

Select Device

Back to Top


In the Select Compiler pane, for Compiler Toolchains select XC32 (v4.60), and click Next.

Select Compiler

Back to Top


Enter the Project NameProject Location, and Project Folder. Click Finish.

Project Name

 

Back to Top


This creates an empty project and sets this project as the main project. If there are other projects open in the Project Explorer window, set this project as the main project by right-clicking on the project and selecting Set as Main Project.

Set as main project

Back to Top


Once the project is created, MPLAB Code Configurator (MCC) will be automatically launched. (To launch MCC manually, from the main menu, click on Tools > Embedded > MPLAB Code Configurator or click the MCC button in the MPLAB X IDE toolbar).

Content manager

Back to Top


Now clone the required software libraries by following a) or b) and then step 9.1.

a) If MPLAB Harmony contents are not available in the framework path, MCC will automatically launch the Content Manager Wizard, or

b) If MPLAB Harmony contents are available in the framework path, launch Content Manager Wizard by clicking the Content Manger button, after step 10.

Warning

This step is very important as it clones all the software libraries required to develop IoT application.

Content Manager

In addition to the required packages (csp), dev_packs, download the optional packages for developing the IoT application like bsp, core, wireless_system_rnwf, wireless_wifi, gfx,  wireless_rnbd, wireless_services, and then click Apply. The content download will take some time. Wait until all the contents are downloaded and then click Finish.

Project Graph

The following image shows the libraries version used and verified for this SAM9X75 IoT thermostat application:

Libraries Version

 

Back to Top


This completes creation of the new project for the SAM9X75 Curiosity.

Follow Step 9b and 9.1 to clone the necessary software libraries required for the IoT application development.

Project graph

Back to Top

Summary

Creating a project in MPLAB X IDE is a quick and essential step to start embedded development with Microchip devices. By following the guided steps, and selecting the project type, device, tool, compiler, and project location, you set up a solid foundation for writing, building, and debugging the application code on the SAM9X75 Curiosity Wireless Kit. 

Back to Top

Learn More

Back to Top