The PIC32CM JH01 Curiosity Nano+
Touch Evaluation Kit supports debugging using an Embedded Debugger (EDBG). Connect
the Type-A male to micro-B USB cable to the micro-B USB port on the PIC32CM JH01
Curiosity Nano+ Touch Evaluation Kit and Type-A male to the PC.Figure 5-1. Hardware
In the MPLAB X IDE Project
Properties window perform these actions:
Under the left
Categories navigation box, select Conf: [default].
In the right Configuration properties sheet, select Connected
Hardware Tool and Compiler Toolchain.
Figure 5-2. Project Properties
Click Apply, and then click
OK.
To build the project, click on the
Clean and Build icon or select Clean and Build Main Project from
the drop-down item list and verify that the project builds successfully. At this
point, the application code can be implemented.Figure 5-3. Clean and Build
Program the application by clicking the highlighted icon below.Figure 5-4. Program the Device
After the application builds and
completes programming, open the Tera Term tool on the PC. Select the serial port and
set the baud rate to 115200.Figure 5-5. Selection of Serial
Port
Click OK.
Connect the following pins in the
PIC32CM JH01 Curiosity Nano+ Touch Evaluation Kit to observe the output as shown in
the following figure:
Connect the following pins to observe
the output as shown below:
PA02 (ADC0) - GND
PB08 (ADC2) - V_EDGE (5V)
PA04 (ADC4) - GND
Figure 5-8. ADC Output - 2
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.