Create a new project with PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit (refer to the Lab 1 Step 2). Once the project is created and MCC is launched, go to Device Resources > Libraries > Harmony > Peripherals > ADC > ADC. (Either double click on ADC or click on the + icon near ADC).
Click Expand All in Configuration Options to view the ADC configurations.
Configure the ADC as shown in the following image.
Go to Device Resources > Libraries > Harmony > Peripherals > SERCOM > SERCOM3. Either double click on SERCOM3 or click on the + icon near SERCOM3.
Right click on the yellow diamond (UART) in SERCOM3 and click Available Consumers and select STDIO (stdio).
Click Expand All in Configuration Options to view the configurations for SERCOM3.
Configure SERCOM3 as shown in the accompanying image.
In Project Graph, select System. Enable SysTick and configure the SysTick. Select Enable Interrupt and set Systick Period(Milliseconds) to 5.
Select Arm TrustZone for Armv8-M from the Plugins dropdown.
Select Peripheral Configuration and click ADC and SERCOM3 to change them from the Secure region to the Non-Secure region.
In the Plugins dropdown, select Pin Configuration.
Configure the LED, ADC and SERCOM pins as shown in the accompanying images.
If you need to work with Microchip Support staff directly, you can submit a technical support case. Keep in mind that many questions can be answered through our self-help resources, so this may not be your speediest option.