- MPLAB® X IDE
- MPLAB Xpress
- MPLAB X IDE Debug Features by Device
- MPLAB® XC Compilers
- MPLAB® Integrated Programming Environment (IPE)
- Emulation Extension Paks
- Emulator and Debugger Accessories
- Software Solutions Home
- MPLAB Code Configurator
- MPLAB Harmony
- Microchip Libraries for Applications
- Additional Software Libraries
- Code Examples
- Embedded Code Source
- MPLAB Xpress Arrow
- MPLAB Xpress MCHP
- CAD/CAE Symbols
- SPICE Models
- MPLAB Mindi Analog Simulator
- Analog Simulation Files
- Other Software Libraries
- SAM & AVR Supported Tools
MPLAB® Code Configurator
MPLAB® Code Configurator (MCC) is a free, graphical programming environment that generates seamless, easy-to-understand C code to be inserted into your project. Using an intuitive interface, it enables and configures a rich set of peripherals and functions specific to your application.
MPLAB Code Configurator supports 8-bit, 16-bit and 32-bit PIC® microcontrollers. MCC is incorporated into both the downloadable MPLAB X Integrated Development Environment (IDE) and the cloud-based MPLAB Xpress IDE.
Three Ways to Get MCC
It's easy to add MPLAB Code Configurator to your development environment. Just choose one of the following options:
Option 1: Use MPLAB Xpress cloud-based IDE
MPLAB Xpress is the easiest way to get started using MCC. It’s browser-based, so all you need to do is visit microchip.com/Xpress to get started.
Option 2: Install the MPLAB X IDE plugin
If you already have the free, downloadable MPLAB X IDE installed, all you have to do is select MCC from the software’s extensive plugin library. If you don’t already have the MPLAB X IDE on your machine, you can get it HERE.
Option 3: Manually install the MPLAB X IDE plugin
If you wish to use a previous version of MCC, or if you prefer to manually install the plugin, please use the “Current Download” and “Archive Download” tabs at the bottom of this page.
MPLAB Code Configurator Features
- Free graphical programming environment
- Intuitive interface for quick start development
- Automated configuration of peripherals & functions
- Minimized reliance upon product datasheet
- Reduces overall design effort & time
- From Novice to Expert...
- Accelerates generation of production ready code
MCC Supports click boards™
To help you bring your ideas to life even faster, we’ve added quick-start software libraries for MikroElektronika click boards into MCC. Now, you can easily incorporate sensing, control, or communication functionality to your prototype design without the stress and hassle of low level code development and validation.
Here's what our customers have to say...
"It was quite easy. You could graphically see what you wanted to do and then go in and decide how you wanted to set things up and it took care of all the details."
- Kevin Rochford, Senior Principal Engineer, Autoliv
"We use the MCC all the time. It allowed us to do in 2 hours what took several days of digging through datasheets in the past."
- Patrick Marcus, President, Marcus Engineering
"I had five peripherals running in less than 30 minutes and this was the very first time I used this tool."
"I have configured registers by hand and I can safely say this program saves at least 90% of project startup time."
- Craig Beiferman, Electrical/Software Engineer, Universal Laser Systems
"It was the tool I was looking for to speed up development with new boards."
- Saul Ollenides, General Electric
All plug-ins are free, available and ready to install once MPLAB® X IDE has been installed. Just follow the simple steps below to not only see all the available plug-ins but to install the MPLAB Code Configurator.
- Select the 'Tools' menu, and click on 'Plugins'
- In the MPLAB X IDE Plugins window, click the 'Available Plugins' tab
- Select MPLAB Code Configurator and click 'Install'
The MPLAB Code Configurator Project Resource area displays all of the peripherals currently configured for the project. By selecting a peripheral here, the peripheral is ready to be configured in the Composer area.
In the Project Resource area, the System module is always present. The System module simplifies the setting of Configuration Bits, and configuring the system clock.
Code generated by MPLAB® Code Configurator can be edited like any other code. The generated code is real code! If you choose to modify the code after it is generated you are free to do so. But what happens if you also change the configuration in MPLAB Code Configurator and generate the code again? No problem. MPLAB Code Configurator detects your changes and displays a comparison window that allows you to select whether to keep your changes, or the newly generated code.
Your code is shown on the left, and the newly generated code is shown on the right. Navigation buttons at the top let you move to each difference found. An arrow along the center margin allows you to copy your changes into the generated code.
Port pins can be configured as GPIO pins simply by clicking on the Pin Manger. Every pin can be given a custom name. That name is then used in the Pin Manger display, and in the generated code.
The direction of a pin, input or output, as well as the starting value, can be configured in a few clicks. For input pins the weak pull-up (WPUE), and the interrupt on change (IOC) can also be configured.
MPLAB® Code Configurator
|MCC v3.75 plugin||3.75||02/13/2019|
|PAC193x MCC library v2.1||2.1||1/15/2019|
|PIC10 / PIC12 / PIC16 / PIC18 MCUs||1.76.0||2/07/2019|
|PIC24 / dsPIC33 / PIC32MM MCUs||1.105||2/12/19|
MPLAB® Code Configurator