Step 5: Build, Program and Observe the Output

Last modified by Microchip on 2026/06/29 11:14

Hardware Setup

Connect the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit to the host PC using a Type-A male to Micro-B USB cable. Plug the cable into the Micro-B USB (Debug USB) port on the evaluation kit. Connect the pins V_EDGE and PA02 (ADC Channel 0).

Micro-B USB

Open the Project Properties, under the Connected Hardware Tool section, select the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit. Then click Apply and OK.

Project properties

​​​​​


Building the Project

To build the project, click the Clean and Build drop-down arrow and select Clean and Build Main Project.

Project options

Observe that the project has compiled and loaded successfully, as indicated by the BUILD SUCCESSFUL message in the output window.

Build successful

 


Programming and Observing the Output

Open Tera Term or any other terminal. Select Serial and confirm whether the connected Port is detected. Then click Ok.

​​​​

port connection

Tera term

Select Setup > Serial port in Tera Term. Change the baud rate Speed to 115200.

Setup serial

Baud rate

Click the Make and Program Device Main Project button to program the project onto the PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit. 

Program device main project

 

Once the programming is completed, the LED will be toggled (Task 1).

LED toggled

In  Tera Term, the ADC values are printed via UART (Task 3).

ADC values

Information

Note: Since the ADC pin is connected to V_EDGE, the value is 3.29V (since the operating voltage of the kit is 3.3V).

The ADC values will be changed if the input pin changes.

Back to Top