Step 2: Configuration of MCC

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

Configuration of MPLAB® Code Configurator (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 Resource > Libraries > Harmony > Peripherals > TC > TC0. (Either double-click on TC0 or click + which is near to TC0.)

TC0 to the Project Graph

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

Configuration Options

Configure TC0 as shown in the accompanying image.

TC0 in Configuration Options

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

Project Graph Plugins drop-down​​​

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

Peripheral Configuration

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

Peripheral Configuration

Go to Pin Configuration under the Plugins drop-down.

Project Graph Plugins drop-down

Configure the PA15 pin (user LED) as shown in the accompanying image.

Pin Setting tab

 

Back to Top