MICROCHIP AN4511 LS60 Curiosity Pro Board User Guide

June 9, 2024
MICROCHIP

MICROCHIP-logo

MICROCHIP AN4511 LS60 Curiosity Pro Board

MICROCHIP-AN4511-LS60-Curiosity-Pro-Board-product

Abstract
This document aims at getting started with the Microchip® PIC32CM LE00/LS00/LS60 Arm® Cortex®-M23 based microcontrollers using their respective Curiosity Pro evaluation kits. The PIC32CM LE00/LS00/LS60 Curiosity Pro evaluation kits are hardware platforms used to evaluate the PIC32CM5164LE00100, PIC32CM5164LS00100, and PIC32CM5164LS60100 microcontrollers.

Each kit is supported by the MPLAB® X Integrated Development Environment (MPLAB X IDE) and provides easy access to the microcontroller’s features.

Obtaining the PIC32CM LE00/LS00/LS60 Curiosity Pro Evaluation Kit

The PIC32CM LE00, PIC32CM LS00, and PIC32CM LS60 Curiosity Pro evaluation kits are hardware platforms for evaluating the PIC32CM LE00/LS00/LS60 microcontrollers (MCUs). Each evaluation kit is supported by the MPLAB X IDE and MPLAB Harmony v3, featuring application examples. The Curiosity Pro evaluation kits include an onboard embedded debugger to program or debug the target microcontroller. This enables an easy start to a project and provides application examples that can be used in the design of a custom application.

The Curiosity Pro evaluation kits provide easy access to the features of the microcontroller and are integrated with Arduino Uno, mikroBUS™, and extension headers to interface with Xplained Pro extension boards for rapid prototyping and expanded functionality.

Figure 1-1. PIC32CM LE00/LS00/LS60 Curiosity Pro BoardMICROCHIP-
AN4511-LS60-Curiosity-Pro-Board-fig- \(1\)

The PIC32CM LE00/LS00/LS60 boards can be purchased at Microchip Direct.

For additional information on the PIC32CM LE00/LS00/LS60 boards and devices, refer these documents:

  • PIC32CM LE00/LS00/LS60 Family Data Sheet (DS60001615)
  • PIC32CM LE00/LS00/LS60 Family Silicon Errata and Data Sheet Clarifications (DS80000906)
  • PIC32CM LE00/LS00/LS60 Curiosity Pro User Guide (DS70005443)
  • PIC32CM LE00/LS00/LS60 Curiosity Pro Board Change Notification (DS70005491)

Tools and Software

MPLAB X Integrated Development Environment
The MPLAB X Integrated Development Environment (IDE) is an expandable, highly configurable software program that incorporates powerful tools to discover, configure, develop, debug, and qualify embedded designs for most of the Microchip’s microcontrollers and digital signals controllers. MPLAB X IDE works seamlessly with the MPLAB development ecosystem of software and tools.

Figure 2-1. MPLAB X IDE Icon

Users can download MPLAB X IDE from Microchip’s website: www.microchip.com/mplab/mplab-x-ide. Installing PIC32CM LE00 and PIC32CM LS00/LS60 Device Family Packs (DFP)

Follow these steps to install the PIC32CM LE00 and PIC32CM LS00/LS60 DFP:

  1. Open MPLAB X IDE.
  2. Go to Tools > Packs.
  3. Install the PIC32CM LE00 and the PIC32CM LS00/LS60 DFP:
    • To install the PIC32CM LE00 DFP, enter PIC32CM-LE in the DFP Search box to the right, and then install the latest DFP available.
    • To install the PIC32CM LS00/LS60 DFP, enter PIC32CM-LS in the DFP Search box to the right, and then install the latest DFP available.

MPLAB Code Configurator
The MPLAB Code Configurator (MCC) is a free graphical programming environment that generates seamless, easy-to-understand C code to insert into projects. Using an intuitive interface, MCC enables and configures a rich set of peripherals and functions. MCC supports 8-bit, 16-bit, 32-bit PIC®, and SAM® microcontrollers. MCC is incorporated into MPLAB X IDE as a plugin.

Figure 2-2. MPLAB CoDDdMe0 Configurator Icon

Installing MCC from MPLAB X IDE

Follow these steps to install MCC from MPLAB X IDE:

  1. From the Toolbar, select Tools > Plugins.
    Figure 2-3. MPLAB X IDE Plugins Tool

  2. In the Plugins window, click the Available Plugins tab and type MCC in the search box. The MCC plugin details will be displayed (if not yet installed) as shown in figure 2-4.

  3. Select the checkbox next to the MCC plugin, and then click Install.
    Figure 2-4. MPLAB Code Configurator Installation from MPLAB X IDE Plugins MICROCHIP-AN4511-LS60-Curiosity-Pro-Board-fig- \(5\)

  4. In the Plugin Installer window, follow the instructions, and then select Restart Now, and then click Finish when installation is completed.

  5. MPLAB X IDE will restart with the MCC plugin installed.

MPLAB Harmony v3
MPLAB Harmony v3 is a fully integrated embedded software development framework that provides flexible and interoperable software modules to simplify the development of value-added features and reduce the customer’s time to market.

Figure 2-5. MPLAB Harmony v3 Icon

Go to the Microchip GitHub page https://github.com/Microchip-MPLAB-Harmony to download the following PIC32CM LE00/LS00/LS60 application packages:

  • csp_apps_pic32cm_le_ls: Contains driver, FS, system service, and RTOS application examples for the PIC32CM LE00/LS00/LS60 family.
  • core_apps_pic32cm_le_ls: Contains Peripheral Library (PLIB) application examples for the PIC32CM LE00/LS00/LS60 family.

Note:
Users can download specific examples from the Microchip website: <https ://mplab-discover.microchip.com/>.

Create a folder and name it C:\H3, which is used as the MPLAB Harmony v3 framework folder. Unzip application packages files in this folder as shown in the following figure:

Figure 2-6. Application Packages Unzipped in Harmony v3 Framework

Note:
The MCC’s Content Manager can then be used to update the MPLAB Harmony v3 framework folder or download new packages.

Follow these steps to define the MPLAB Harmony v3 framework folder in MPLAB X IDE:

  1. From the Toolbar, select Options > Plugins.
  2. For MPLAB Harmony Configurator v3, choose MPLAB Code Configurator 5.x.
  3. For Harmony Content Path, choose created H3 folder as shown below.

Figure 2-7. MCC Harmony Content Path UpdateMICROCHIP-AN4511-LS60
-Curiosity-Pro-Board-fig- \(8\)

Note:

  • This step is optional for running an application only, but it must be verified to run the MCC plugin.
    Users can define another path and name for the Harmony v3 Framework folder, but must ensure to define them as small as possible for tool restrictions.

  • The C:\H3 folder will be referenced in this document, from this point forward.

MPLAB Discover
MPLAB Discover is a catalog of fully configured and complete source codes, projects, examples and software applications for PIC® and AVR® microcontrollers to help jump-start next customer project. It features intuitive and powerful search capabilities to search for content quickly and easily.

Figure 2-8. MPLAB Discover Icon

For additional information about MPLAB Discover, go to Microchip website: mplab-discover.microchip.com/.

Getting Started with the PIC32CM LE00 Using the MPLAB X IDE and MCC

Compiling and Programming a First Application
Follow these steps to using the PIC32CM LE00 Curiosity Pro evaluation kit based on the MPLAB X IDE environment:

  1. Launch MPLAB X IDE.

  2. Connect the PIC32CM LE00 Curiosity Pro evaluation kit through the DEBUG USB connector to the PC using a micro-USB cable (Standard-A to Micro-AB). When the Curiosity Pro evaluation kit is connected to the computer for the first time, the operating system will install the software driver.
    Note: The driver file supports 32-bit and 64-bit versions of Microsoft® Windows® XP™, Windows Vista™, Windows 7, Windows 8, Windows 10, and Windows

  3. Figure 3-1. Windows Messages

  4. When the Curiosity Pro board is powered, the green power LED (PWR) will glow and the MPLAB X IDE will auto-detect the connected Curiosity Pro Kit.
    Note: The PIC32CM5164LE00100 device is programmed and debugged by the on- board embedded debugger (EDBG), hence external programmer or debugger tool is not required.

  5. From the Toolbar, select File > Open Project, or click (the project icon).
    Figure 3-2. MPLAB X IDE – Open Project

  6. As an example, navigate to C:\H3\csp_apps_pic32cm_le_ls\apps\port\port_led_on_off_polling\firmware, and then open the pic32cm_le00_curiosity_pro.X project file.
    Note: The system will prompt a message to upgrade the product DFP. Upgrade if it is requested.

  7. Select the Connected Hardware Tool and perform these actions:

    • To set the project as the main project: Select the project, right-click, and then choose Set as Main Project.

    • To open the project properties: right-click and select Properties.

    • Select the connected PIC32CM LE00 Curiosity Pro board from the Connected Hardware Tool drop-down list.
      Figure 3-3. Project Properties – Connect Hardware ToolMICROCHIP-
AN4511-LS60-Curiosity-Pro-Board-fig- \(13\)

    • Click Apply, and then click OK.

  8. Compiling and running the application:

    • To build and program the project, select Production > Make and Program Device Main Project, or click (the build icon).
    • To debug the project, select Debug > Debug Main Project, or click (the debug icon).
    • The application is now programmed. Press the switch button SW0 to light ON the lon-board LED0.
  9. Open MCC and update MCC Core.

Proceeding with MCC
Follow these steps to proceeding with MCC:

  1. Go to Tools > Embedded > MPLAB Code Configurator, or click (the MCC icon) to open the MCC plugin. A message will be prompted to update the project to latest MCC version, click OK.

  2. Select MPLAB Harmony v3 in the MCC Content Manager wizard.

  3. Scroll down to MPLAB Harmony v3 Core and select the bsp and core optional packages as shown in the
    following figure:
    Figure 3-4. BSP and Core Optional Packages SelectionMICROCHIP-AN4511-LS60
-Curiosity-Pro-Board-fig- \(17\)

  4. Scroll up and then select Finish to open the MCC graphical user interface (GUI). The project will take some time to open in MCC as the tool will download any missing or selected packages.

  5. The following messages might be displayed:

    • To warn that the project packages which differ from the local packages. Click Continue.
    • To update the DFP version. Accept by entering Yes.
    • To update the project’s Common Microcontroller Software Interface Standard (CMSIS). Confirm by selecting Yes.
  6. The MCC GUI will be displayed:
    Figure 3-5. MCC GUI Overview for PIC32CM LE00 Curiosity Pro Board MICROCHIP-AN4511-LS60-Curiosity-Pro-Board-fig- \(18\)

  7. Click the Content Manager tab.

  8. In the prompt window, scroll down to MCC Harmony Core and choose the latest available version (1.0.9 is shown as an example).
    Figure 3-6. MCC MPLAB Harmony v3 Code UpdateMICROCHIP-AN4511-LS60
-Curiosity-Pro-Board-fig- \(19\)
    The MCC Core is now up to date. It is now possible to benefit from the most recent MCC features for an application or creating a project. To create a new MCC project, go to Files > New Project > 32-bit MCC Harmony Project as shown in the following figure:
    Figure 3-7. MCC Project Creation under MPLAB X IDEMICROCHIP-AN4511-LS60
-Curiosity-Pro-Board-fig- \(20\)

Getting Started with the PIC32CM LS00/LS60 TrustZone Projects Using

MPLAB X IDE and MCC

PIC32CM LS00/LS60 Security Concept Overview
Using the PIC32CM LS00/LS60 requires familiarity with different security features and concepts that involve TrustZone® for ARMv8-M devices. The TrustZone technology is a System-on-Chip (SoC) and MCU system-wide approach to security that enables Secure and Non-Secure code to run on an MCU. It enables creating of multiple software security domains that restrict access to selected memory, peripherals, and I/O to trusted software without compromising the system’s performance.

The user can consider the following deployment approaches:

  • Single-developer approach (Customer A)
  • Dual-developer approach (Customer A + Customer B)

The single-developer approach involves a unique developer (Customer A), which oversees the following:

  • Developing, deploying, and protecting the Secure code
  • Developing and deploying the Non-Secure code

In the dual-developer approach, the first developer (Customer A), oversees developing the secure application and its associated non-secure callable library. The secure application must be loaded in the PIC32CM LS00/LS60 NVM and protected areas. A different developer (Customer B) will then start the non-secure application development on a preprogrammed PIC32CM LS00/LS60 with limited access to secure resources (call to non-secure API only).

Figure 4-1. Single-Developer Approach

MICROCHIP-AN4511-LS60-Curiosity-Pro-Board-fig- \(21\)

Figure 4-2. Dual-Developer Approach

MICROCHIP-AN4511-LS60-Curiosity-Pro-Board-fig- \(22\)

This document describes how to debug an MPLAB project composed of two sub- projects (Secure and Non-Secure).

Note:
Refer to the PIC32CM LS00/LS60 Security Reference Guide (DS00003992), which describes the security features available in the Microchip PIC32CM LS00/LS60 microcontroller, which fulfill the security requirements of most embedded systems.

Compiling and Programing a First Application
Follow these steps to use the PIC32CM LS00/LS60 Curiosity Pro evaluation kit based on MPLAB X Environment.

Note:
The following steps are demonstrated based on the PIC32CM LS00 Curiosity Pro board, but are fully reproducible with a PIC32CM LS60 Curiosity Pro board.

  1. Launch MPLAB X IDE.

  2. Connect the evaluation kit through the DEBUG USB connector to the PC using a micro-USB cable (Standard-A to Micro-AB). When the Curiosity Pro evaluation kit is connected to the computer for the first time, the operating system will install the software drive.
    Note:
    The software driver file supports both 32-bit and 64-bit versions of Microsoft Windows XP, Windows Vista, Windows 7, Windows 8, Windows 10, and Windows 11.
    Figure 4-3. Windows Messages

  3. When the Curiosity Pro board is powered, the green power LED (PWR) will glow and the MPLAB X IDE will auto-detect the connected Curiosity Pro MCU.
    Note:
    The PIC32CM5164LS00100 and PIC32CM5164LS60100 devices are programmed and debugged by the on-board embedded debugger (EDBG), therefore no external programmer or debugger tool is required.

  4. From the Toolbar, select File > Open Project, or click (the project icon).
    Figure 4-4. MPLAB X IDE – Open Project

  5. For example, navigate to C:\H3\csp_apps_pic32cm_le_ls\apps\trustZone\tc and open the secure_tc_ls00 projects group, which contains the secure_tc_ls00_NonSecure and secure_tc_ls00_Secure projects.

  6. Open Secure and Non-Secure projects by double-clicking on each of the project.
    Note: A prompt message may appear to upgrade the DFP. Upgrade it if is requested.

  7. Select Connected Hardware Tool:

    • To set the Non-Secure project as the main project: Right-Click and select Set as Main Project
      Important: When the Non-Secure project is set as the main project in a TrustZone project group, the Secure project is built first and then comes the Non-Secure project. This is possible using the project’s Loadable feature which will load all projects defined in this section before the main project as shown in the figure below. If the Secure project is set as the main project, only this project and its related memory regions will be built and programmed.
      Figure 4-5. Secure Project Under Non-Secure Loadable Project Section

    • To open the non-secure project properties: Right-Click and select Properties.

    • Select the connected PIC32CM LS00 Curiosity Pro board from the Connected Hardware Tool drop-down menu.
      Figure 4-6. Project Properties – Connected Hardware Tool

    • Click Apply, and then click OK.MICROCHIP-AN4511-LS60-Curiosity-Pro-Board-fig- \(26\)

  8. To set breakpoints to debug the complete secure_tc solution, follow these steps:

    • Add a breakpoint on the nsc_TC0_DutyCycle_Set (duty_cycle) line in the Non-Secure project main.c file.
      Figure 4-7. Setting Breakpoint in Non-Secure main.c FileMICROCHIP-
AN4511-LS60-Curiosity-Pro-Board-fig- \(27\)
      Note: 
      In this case, the breakpoint is placed at the line nsc_TC0_DutyCycle_Set that calls the Non-Secure callable function named TC0_Compare8bitMatch0Set. This function is declared in the
      pic32cm_ls00_cpro_Secure_sg_veneer.lib file, which is generated once the Secure project is built.
      The call to the Secure function TC0_Compare8bitMatch0Set is done in the veneer (Secure gateway).

    • Add a breakpoint on the TC0_Compare8bitMatch0Set function call in the Secure project nonsecure_entry.c file, which is located at secure_tc_ls00_NonSecure > Source Files > trust zone in MPLAB X IDE. Click on the number to the left of the line to put a breakpoint.
      Figure 4-8. Setting Breakpoint in Secure nonsecure_entry.c FileMICROCHIP-
AN4511-LS60-Curiosity-Pro-Board-fig- \(28\)

    • Add a breakpoint on the bool status = false line in the Secure project plib_tc0.c file located at secure_tc_ls00_Secure > Source Files > config > pic32cm_ls00_cpro > peripheral > tc in MPLAB X IDE project tree.
      Figure 4-9. Setting Breakpoint in Secure plib_tc0.c FileMICROCHIP-
AN4511-LS60-Curiosity-Pro-Board-fig- \(29\)
      CAUTION
      When debugging the secure application veneers, only hardware breakpoints must be used to stop code execution on a Secure Gateway (SG) instruction. Using software breakpoints implies the addition of a breakpoint (BKP) instruction before an SG instruction, which triggers a Secure fault during the code execution. This behavior is normal, as the first instruction to be executed when accessing the Non-Secure Callable (NSC) region must be an SG instruction.

  9. To compile and run the application, follow these steps:

    • To build and program the projects: Select Production > Make and Program Device Main Project, or click (the build icon).
    • To debug the project, select Debug > Debug Main Project, or click (the debug icon).
    • The application is programmed and the debugger breaks in the Non-Secure project at nsc_TC0_DutyCycle_Set.
  10. Continue the debugging session by clicking the button.

  11. As a result, the debugger will stop successively on:

    • The nsc_TC0_DutyCycle_Set (duty_cycle) function call (Non-Secure project).
    • The TC0_Compare8bitMatch0Set function call (Secure project).
    • The bool status = false line (Secure project).
  12. Open MCC and update MCC Core:

Proceeding with MCC
Follow these steps to proceeding with MCC.

  1. Go to Tools > Embedded > MPLAB® Code Configurator, or click (the MCC icon) to open the MCC plugin.

  2. A prompt message may appear to update the project to the latest MCC version, click OK.

  3. Select MPLAB Harmony v3 in the MCC Content Manager wizard.

  4. Scroll down to MPLAB Harmony v3 Core and select the bsp and core optional packages as shown in the following figure.
    Figure 4-10. BSP and Core Optional Packages SelectionMICROCHIP-
AN4511-LS60-Curiosity-Pro-Board-fig- \(31\)

  5. Scroll up and then select Finish to open the MCC graphical user interface (GUI). The project will take some time to open in MCC as the tool will download any missing or selected packages.

  6. The following messages may appear:

    • To warn if the project’s packages differ from the local packages, click Continue.
    • To update the DFP version, click Yes.
    • To update the project’s Common Microcontroller Software Interface Standard (CMSIS), confirm by selecting Yes.
  7. The MCC GUI will be displayed, select Content Manager.
    Figure 4-11. MCC GUI Overview for PIC32CM LS00/LS60 Curiosity Pro Board MICROCHIP-AN4511-LS60-Curiosity-Pro-Board-fig- \(32\)

  8. Scroll down to MCC Harmony v3 Core, and update it to the latest version (1.0.9 is used as an example).
    Figure 4-12. MCC MPLAB Harmony v3 Code UpdateMICROCHIP-AN4511-LS60
-Curiosity-Pro-Board-fig- \(33\)

  9. The MCC Core is now up to date. It is now possible to benefit from the most recent MCC features for an application or creating a project. To create a new MCC project, go to Files > New Project > 32-bit MCC Harmony Project as shown in the following figure:
    Figure 4-13. MCC Project Creation under MPLAB X IDEMICROCHIP-AN4511-LS60
-Curiosity-Pro-Board-fig- \(34\)

Troubleshooting

Compilation Error Under MPLAB X IDE Due to Long of a Project Path
If an MPLAB X IDE project path is too long, the project will not compile and an error will be prompted. To solve this issue, move the project for compiling or programming to a smaller project path, for example, desktop or C:\).

References

For additional information regarding Microchip products and services, visit Microchip Website, or contact a local Microchip sales representative.

The following documents are provided for reference purposes.

  • MPLAB X IDE: www.microchip.com/mplab/mplab-x-ide.
  • MPLAB Harmony v3: github.com/Microchip-MPLAB-Harmony
  • MPLAB Discover: mplab-discover.microchip.com/
  • PIC32CM LE00/LS00/LS60 Family Data Sheet (DS60001615)
  • PIC32CM LE00/LS00/LS60 Family Silicon Errata and Data Sheet Clarifications (DS80000906)
  • PIC32CM LE00/LS00/LS60 Curiosity Pro User Guide (DS70005443)
  • PIC32CM LE00/LS00/LS60 Curiosity Pro Board Change Notification (DS70005491)

The Microchip Website
Microchip provides online support via our website at www.microchip.com/. This website is used to make files and information easily available to customers. Some of the content available includes:

  • Product Support – Datasheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases, and archived software
  • General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip design partner program member listing
  • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, a listing of seminars and events, listings of Microchip sales offices, distributors, and factory representatives

Product Change Notification Service
Microchip’s product change notification service helps keep customers current on Microchip products. Subscribers will receive email notifications whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.
To register, go to www.microchip.com/pcn and follow the registration instructions.

Customer Support
Users of Microchip products can receive assistance through several channels:

  • Distributor or Representative
  • Local Sales Office
  • Embedded Solutions Engineer (ESE)
  • Technical Support

Customers should contact their distributor, representative or ESE for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in this document.

Technical support is available through the website at: www.microchip.com/support.

Microchip devises Code Protection Feature
Note the following details of the code protection feature on Microchip products:

  • Microchip products meet the specifications contained in their particular Microchip Data Sheet.
  • Microchip believes that its family of products is secure when used in the intended manner, within operating specifications, and under normal conditions.
  • Microchip values and aggressively protects its intellectual property rights. Attempts to breach the code protection features of Microchip product is strictly prohibited and may violate the Digital Millennium Copyright Act.
  • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of its code. Code protection does not mean that we are guaranteeing the product is “unbreakable”. Code protection is constantly evolving. A microchip is committed to continuously improving the code protection features of our products.

Legal Notice

This publication and the information herein may be used only with Microchip products, including to design, test, and integrate Microchip products with your application. Use of this information in any other manner violates these terms. Information regarding device applications is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. Contact your local Microchip sales office for additional support or, obtain additional support at www.microchip.com/en-us/support/design-help/client-support- services.

THIS INFORMATION IS PROVIDED BY MICROCHIP “AS IS”. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE, OR WARRANTIES RELATED TO ITS CONDITION, QUALITY, OR PERFORMANCE.

IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL LOSS, DAMAGE, COST, OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE INFORMATION OR ITS USE, HOWEVER, CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE? TO THE FULLEST EXTENT ALLOWED BY LAW, MICROCHIP’S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THE INFORMATION OR ITS USE WILL NOT EXCEED THE NUMBER OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THE INFORMATION.

Use of Microchip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated.

Trademarks

The Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, CryptoMemory, CryptoRF, dsPIC, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
AgileSwitch, APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, Flashtec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero, motor bench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet- Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, TrueTime, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.

Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, Augmented Switching, BlueSky, BodyCom, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, Espresso T1S, EtherGREEN, GridTime, IdealBridge, In-Circuit Serial Programming, ICSP, INICnet, Intelligent Paralleling, Inter-Chip Connectivity, JitterBlocker, Knob-on-Display, maxCrypto, maxView, membrane, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, NVM Express, NVMe, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, RTAX, RTG4, SAM-ICE, Serial Quad I/O, simpleMAP, SimpliPHY, SmartBuffer, SmartHLS, SMART-I.S., storClad, SQI, SuperSwitcher, SuperSwitcher II, Switchtec, SynchroPHY, Total Endurance, TSHARC, USBCheck, VariSense, VectorBlox, VeriPHY, ViewSpan, WiperLock, XpressConnect, and ZENA are trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.

SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.

The Adaptec logo, Frequency on Demand, Silicon Storage Technology, Symmcom, and Trusted Time are registered trademarks of Microchip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.

All other trademarks mentioned herein are the property of their respective companies.
© 2022, Microchip Technology Incorporated and its subsidiaries. All Rights Reserved.

ISBN: 978-1-6683-0252-1

Quality Management System
For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.

Worldwide Sales and Service

AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE

Corporate Office

2355 West Chandler Blvd. Chandler, AZ 85224-6199

Tel: 480-792-7200

Fax: 480-792-7277

Technical Support: www.microchip.com/support Web Address: www.microchip.com Atlanta

Duluth, GA

Tel: 678-957-9614

Fax: 678-957-1455

Austin, TX

Tel: 512-257-3370

Boston Westborough, MA Tel: 774-760-0087

Fax: 774-760-0088

Chicago

Itasca, IL

Tel: 630-285-0071

Fax: 630-285-0075

Dallas

Addison, TX

Tel: 972-818-7423

Fax: 972-818-2924

Detroit

Novi, MI

Tel: 248-848-4000

Houston, TX

Tel: 281-894-5983

Indianapolis Noblesville, IN Tel: 317-773-8323

Fax: 317-773-5453

Tel: 317-536-2380

Los Angeles Mission Viejo, CA Tel: 949-462-9523

Fax: 949-462-9608

Tel: 951-273-7800

Raleigh, NC

Tel: 919-844-7510

New York, NY

Tel: 631-435-6000

San Jose, CA

Tel: 408-735-9110

Tel: 408-436-4270

Canada – Toronto

Tel: 905-695-1980

Fax: 905-695-2078

| Australia – Sydney

Tel: 61-2-9868-6733

China – Beijing

Tel: 86-10-8569-7000

China – Chengdu

Tel: 86-28-8665-5511

China – Chongqing

Tel: 86-23-8980-9588

China – Dongguan

Tel: 86-769-8702-9880

China – Guangzhou

Tel: 86-20-8755-8029

China – Hangzhou

Tel: 86-571-8792-8115

China – Hong Kong SAR

Tel: 852-2943-5100

China – Nanjing

Tel: 86-25-8473-2460

China – Qingdao

Tel: 86-532-8502-7355

China – Shanghai

Tel: 86-21-3326-8000

China – Shenyang

Tel: 86-24-2334-2829

China – Shenzhen

Tel: 86-755-8864-2200

China – Suzhou

Tel: 86-186-6233-1526

China – Wuhan

Tel: 86-27-5980-5300

China – Xian

Tel: 86-29-8833-7252

China – Xiamen

Tel: 86-592-2388138

China – Zhuhai

Tel: 86-756-3210040

| India – Bangalore

Tel: 91-80-3090-4444

India – New Delhi

Tel: 91-11-4160-8631

India – Pune

Tel: 91-20-4121-0141

Japan – Osaka

Tel: 81-6-6152-7160

Japan – Tokyo

Tel: 81-3-6880- 3770

Korea – Daegu

Tel: 82-53-744-4301

Korea – Seoul

Tel: 82-2-554-7200

Malaysia – Kuala Lumpur

Tel: 60-3-7651-7906

Malaysia – Penang

Tel: 60-4-227-8870

Philippines – Manila

Tel: 63-2-634-9065

Singapore

Tel: 65-6334-8870

Taiwan – Hsin Chu

Tel: 886-3-577-8366

Taiwan – Kaohsiung

Tel: 886-7-213-7830

Taiwan – Taipei

Tel: 886-2-2508-8600

Thailand – Bangkok

Tel: 66-2-694-1351

Vietnam – Ho Chi Minh

Tel: 84-28-5448-2100

| Austria – Wels

Tel: 43-7242-2244-39

Fax: 43-7242-2244-393

Denmark – Copenhagen

Tel: 45-4485-5910

Fax: 45-4485-2829

Finland – Espoo

Tel: 358-9-4520-820

France – Paris

Tel: 33-1-69-53-63-20

Fax: 33-1-69-30-90-79

Germany – Garching

Tel: 49-8931-9700

Germany – Haan

Tel: 49-2129-3766400

Germany – Heilbronn

Tel: 49-7131-72400

Germany – Karlsruhe

Tel: 49-721-625370

Germany – Munich

Tel: 49-89-627-144-0

Fax: 49-89-627-144-44

Germany – Rosenheim

Tel: 49-8031-354-560

Israel – Ra’anana

Tel: 972-9-744-7705

Italy – Milan

Tel: 39-0331-742611

Fax: 39-0331-466781

Italy – Padova

Tel: 39-049-7625286

Netherlands – Drunen

Tel: 31-416-690399

Fax: 31-416-690340

Norway – Trondheim

Tel: 47-72884388

Poland – Warsaw

Tel: 48-22-3325737

Romania – Bucharest

Tel: 40-21-407-87-50

Spain – Madrid

Tel: 34-91-708-08-90

Fax: 34-91-708-08-91

Sweden – Gothenberg

Tel: 46-31-704-60-40

Sweden – Stockholm

Tel: 46-8-5090-4654

UK – Wokingham

Tel: 44-118-921-5800

Fax: 44-118-921-5820

© 2022 Microchip Technology Inc. and its subsidiaries.

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals