Step 2: Configuration of MPLAB® Code Configurator (MCC)

Last modified by Microchip on 2026/06/26 07:39

Configuration of MCC

Create a new project with PIC32CM LS00 Curiosity Nano+ Touch Evaluation Kit (refer to Lab 1 Step 2 ). Once the project is created and MCC is launched, go to Device Resources > Libraries > Harmony > Peripherals > TC > TC0. (Either double click on TC0 or click + near TC0).

TC0 to the Project Graph

​​​​​​

 Click Expand All in Configuration Options to view the configurations for TC0.

Project Graph

 

Configure the Select Prescaler and Time in TC0 as shown in the accompanying image.

TC0 in Configuration Options

 

Select Arm® TrustZone® for Armv8-M under the Plugins drop-down.

Plugins drop down

 

Select Peripheral Configuration in the Arm® TrustZone® for Armv8-M plugin.

Peripheral Configuration tab

Click on TC0 under the Peripherals section to change TC0 from the Secure region to the Non-Secure region.

Peripheral Configuration tab

Go to Pin Configuration under the Plugins drop-down.

Plugins drop-down

 

Configure the PA15 pin (user LED) as shown in the accompanying image. Refer to Lab 3 Step 2 for instructions on custom naming configurations and adjusting the pin display order.

Pin Settings tab

Back to Top