We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X

State-of-the-Art Analog Peripherals, Small Package Sizes and Performance-Intensive 32-Bit Microcontroller with Floating Point Unit


A perfect fit for your industrial, automotive and motor control applications, the PIC32MK family of 32-bit microcontrollers (MCUs) is packed with powerful features. These MCUs, which are available in a wide range of package sizes, offer these high-level benefits for your designs:

  • Performance-intensive CPU running at 120 MHz (198 DMIPS) for fast execution of control loops in motor control embedded applications
  • Hardware Floating Point Unit (FPU) for efficient and precise execution of floating point operations
  • Industry-leading analog integration to reduce system cost of a mixed-signal embedded application
  • Variety of communication interfaces including USB, CAN FD, SPI, I2C and UART to provide flexible connectivity options

Advanced analog features include 12-bit Analog-to-Digital (ADC) modules, fast-response comparators, high-bandwidth op amps and 12-bit Digital-to-Analog Converter (DAC) modules. This family of MCUs also offers Pulse-Width Modulation (PWM) and Quadrature Encoder Interface (QEI) peripherals for motor control applications. They also feature Error Correction Code (ECC) management to augment Flash performance and reliability. You can use these MCUs to develop a variety of motor control applications including Brushless DC (BLDC) 6-step scalar control, advanced sensorless Field Oriented Control (FOC) and sensored FOC for precision positioning applications.

To accelerate your design cycle, we offer a complete ecosystem of development resources that includes:

  • Evaluation boards and easy-to-use software with ready-to-use application examples
  • Our free-to-use MPLAB® Harmony v3 embedded software development framework that runs in MPLAB X Integrated Development Environment (IDE)
  • Model-based design tools like MATLAB® and Simulink® or Scilab and X2C, which can generate efficient code that can be directly programmed into the MCU for rapid prototyping of your motor control design
  • MPLAB Mindi™ Analog Simulator to simulate the response of the high-bandwidth op amps and comparators
PIC32MK MCM Family Block Diagram PIC32MK MCM Family Block Diagram
PIC32MK MCJ Family Block Diagram PIC32MK MCJ Family Block Diagram

Key Features

Use this table to learn more about the key features of the PIC32MK GPK/MCM family and PIC32MK GPG/MCJ family and to select the best option for your design:

General Purpose


Key Features PIC32MK GPK/MCM Family PIC32MK GPG/MCJ Family
Core MIPS32 microAptiv™ MIPS32 microAptiv
CPU Frequency 120 MHz 120 MHz
Double Precision Floating Point Unit (FPU) and DSP Extension Support
Flash with ECC Up to 1 MB of Dual-Panel Live Update Up to 512 KB
SRAM Up to 256 KB 64 KB
Pin Count 64 and 100 48 and 64
Shadow Register Set for Reduced Interrupt Latency 7 7
CAN FD Modules Up to 4 1
Full Speed USB Up to 2 -
I2C 6 4
UART Modules Up to 6 Up to 2
SPI/I2S Modules 6 2
AEC-Q100 Qualified

Motor Control


Key Features PIC32MK GPK/MCM Family PIC32MK GPG/MCJ Family
Analog-to-Digital Converters (ADCs) 7 × 12-bit
3.75 Msps (25.45 Msps combined)
42 channels 
7 × 12-bit
3.75-Msps (25.45 Msps Combined)
30 channels
Digital-to-Analog Converters (DACs) Up to 3 × 12-bit Up to 2 × 12-bit
Pulse-Width Modulation (PWM) Pairs 12 9
PWM Resolution 8.16 ns 8.16 ns
High Bandwidth Op Amps 4 4
Op Amps Slew Rate 40 V/µs 40 V/µs
Comparators 5 5
QEI 6 3

PIC32MK GPD/GPE/MCF Family (Legacy Products): These devices have CAN instead of CAN FD, lower-bandwidth op amps, no ECC on the Flash and no I2C interface. 

PIC32MK Family MCUs

View All Parametrics
Product Status Automotive Recommended 5K Pricing Class B Safety Library CPU Type Architecture Max CPU Speed (MHz) Program Memory Size (KB) SRAM (KB) DRAM Interface Data EEPROM/HEF (Bytes) Auxiliary Flash (KB) SDIO/SD-CARD/eMMC Temperature Range Operating Voltage Range Integrated HW Graphics Controller Direct Memory Access Channels ADC Input Max ADC Resolution (Bits) Number of DACs USB Interface Number of USB Modules Number of Comparators Timers Capture/Compare/PWM Peripherals Motor Control PWM Outputs UART/SPI/I2C Number of Op Amps I2S Peripheral Pin Select / Pin Muxing Vbat/Vddbu battery backup Low Power External Memory Bus Interface QSPI Quadrature Encoder Interface Crypto Engine Hardware Touch Peripheral Number of CAN Modules Type of CAN module Ethernet Pin count Packages
PIC32MK0256MCJ048 In Production No $3.68 No 32-bit MIPS MCU 32 120 256 64 0 0 -40 to 125 2.3V - 3.6V 8 18 12 2 None 0 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 9 -Input Capture 18 2 -UART 2 -SPI 2 -I2C 4 2 No No 3 1 CAN-FD None 48 48/TQFP
PIC32MK0256MCJ064 In Production No $3.97 No 32-bit MIPS MCU 32 120 256 64 0 0 -40 to 125 2.3V - 3.6V 8 30 12 2 None 0 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 9 -Input Capture 18 2 -UART 2 -SPI 2 -I2C 4 2 No No 3 1 CAN-FD None 64 64/QFN, 64/TQFP
PIC32MK0512MCJ064 In Production No $4.12 No 32-bit MIPS MCU 32 120 512 64 4000 0 -40 to 125 2.2V - 3.6V 8 30 12 2 None 0 4 9 x 16-bit 9 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 9 -Input Capture 18 2 -UART 2 -SPI 2 -I2C 4 2 Yes No No 3 1 CAN-FD None 64 64/QFN, 64/TQFP
PIC32MK0256GPG048 In Production No $3.53 Yes 32-bit MIPS MCU 32 120 256 64 0 0 -40 to 125 2.3V - 3.6V 8 18 12 2 None 0 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 0 -Input Capture 0 2 -UART 2 -SPI 2 -I2C 4 2 No No 0 0 None 48 48/TQFP
PIC32MK0256GPG064 In Production No $3.90 Yes 32-bit MIPS MCU 32 120 256 64 0 0 -40 to 125 2.3V - 3.6V 8 30 12 2 None 0 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 0 -Input Capture 0 2 -UART 2 -SPI 2 -I2C 4 2 No No 0 0 None 64 64/QFN, 64/TQFP
PIC32MK0512GPG048 In Production No $3.60 Yes 32-bit MIPS MCU 32 120 512 64 0 0 -40 to 125 2.3V - 3.6V 8 18 12 2 None 0 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 0 -Input Capture 0 2 -UART 2 -SPI 2 -I2C 4 2 No No 0 0 None 48 48/TQFP
PIC32MK0512GPG064 In Production No $3.90 Yes 32-bit MIPS MCU 32 120 512 64 0 0 -40 to 125 2.3V - 3.6V 8 30 12 2 None 0 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 9 -Input Capture 0 2 -UART 2 -SPI 2 -I2C 4 2 No No 0 0 None 64 64/QFN, 64/TQFP
PIC32MK0512MCJ048 In Production No $3.90 Yes 32-bit MIPS MCU 32 120 512 64 0 0 -40 to 125 2.8V - 3.3V 8 18 12 2 None 0 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 9 -Input Capture 18 2 -UART 2 -SPI 2 -I2C 4 2 Yes No No 3 0 None None 48 48/TQFP
PIC32MK0512GPK064 In Production No $5.29 Yes 32-bit MIPS MCU 32 120 512 128 4096 4 -40 to 125 2.8V - 3.3V 8 26 12 3 Full Speed 1 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 16 -Input Capture 0 6 -UART 6 -SPI 4 -I2C 4 6 Yes No No 0 0 None 64 64/QFN, 64/TQFP
PIC32MK0512GPK100 In Production No $5.59 Yes 32-bit MIPS MCU 32 120 512 128 4096 4 -40 to 125 2.8V - 3.3V 8 42 12 3 Full Speed 2 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 16 -Input Capture 0 6 -UART 6 -SPI 4 -I2C 4 6 Yes No No 0 0 None 100 100/TQFP
PIC32MK0512MCM064 In Production No $5.51 Yes 32-bit MIPS MCU 32 120 512 128 4096 4 -40 to 125 2.8V - 3.3V 8 30 12 2 Full Speed 1 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 9 -Input Capture 24 6 -UART 6 -SPI 4 -I2C 4 6 Yes No No 6 4 CAN-FD None 64 64/QFN, 64/TQFP
PIC32MK0512MCM100 In Production No $5.73 Yes 32-bit MIPS MCU 32 120 512 128 4096 4 -40 to 125 2.8V - 3.3V 8 42 12 3 Full Speed 2 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 16 -Input Capture 24 6 -UART 6 -SPI 4 -I2C 4 6 Yes No No 6 4 CAN-FD None 100 100/TQFP
PIC32MK1024GPK064 In Production No $5.29 Yes 32-bit MIPS MCU 32 120 1024 256 4096 4 -40 to 125 2.8V - 3.3V 8 26 12 3 Full Speed 1 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 16 -Input Capture 0 6 -UART 6 -SPI 4 -I2C 4 6 Yes No No 0 0 None 64 64/QFN, 64/TQFP
PIC32MK1024GPK100 In Production No $5.59 Yes 32-bit MIPS MCU 32 120 1024 256 4096 4 -40 to 125 2.8V - 3.3V 8 42 12 3 Full Speed 2 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 16 -Input Capture 0 6 -UART 6 -SPI 4 -I2C 4 6 Yes No No 0 0 None 100 100/TQFP
PIC32MK1024MCM064 In Production No $5.66 Yes 32-bit MIPS MCU 32 120 1024 256 4096 4 -40 to 125 2.8V - 3.3V 8 26 12 3 Full Speed 1 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 16 -Input Capture 24 6 -UART 6 -SPI 4 -I2C 4 6 Yes No No 6 4 CAN-FD None 64 64/QFN, 64/TQFP
PIC32MK1024MCM100 In Production No $5.95 Yes 32-bit MIPS MCU 32 120 1024 256 4096 4 -40 to 125 2.8V - 3.3V 8 42 12 3 Full Speed 2 5 9 x 16-bit 8 x 32-bit 0 -Std. PWM 0-bit PWM resolutions 16 -Input Capture 24 6 -UART 6 -SPI 4 -I2C 4 6 Yes No No 6 4 CAN-FD None 100 100/TQFP

Tools and Software

Product Description

PIC32MK MCM Curiosity Pro Development Board

Part Number: EV31E34A

This development board provides a low-cost, modular development system for evaluating our 32-bit PIC32MK MCM devices. It comes with an integrated PICkit™ On-Board 4 (PKoB4) programmer/debugger and requires no additional hardware to get started. Use the mikroBUS™ socket to expand the functionality of this board with various MikroElectronika Click boards™.

PIC32MK MCJ Curiosity Pro Development Board

Part Number: DT100113

This development board, which can be used to evaluate our 32-bit PIC32MK MCJ devices, comes with an integrated PICkit On-Board 4 (PKoB4) programmer/debugger. You can use Arduino® Uno R3 or Xplained Pro compatible expansion boards to expand the board’s functionality so you can easily develop Bluetooth® audio, Internet of Things (IoT), robotics and other applications and proof-of-concept designs. The board also has a dedicated header for interfacing to a CAN transceiver and a header for interfacing to a 3-phase inverter board to provide the control input and output signals for creating a 3-phase motor control application.

 

PIC32MK MCM 100-Pin Motor Control Plug-In Module (PIM)

Part Number: MA320211

This PIM is designed to demonstrate the capabilities of the 100-pin PIC32MK1024MCM100 and use its on-chip op amps with the following boards:

PIC32MK General Purpose (GP) Development Kit

Part Number: DM320106

The PIC32MK GP Development Kit is a low-cost solution for creating projects with the PIC32MK GPD/GPE series of devices. It features a rich assortment of CAN, USB, ADC and GPIO inputs. It also includes a Solomon Systech SSD1963 display controller IC and a 50-pin LCD connector for adding an LCD panel and develop graphics applications.

PIC32MK1024 Motor Control Plug-In Module (PIM)

Part Number: MA320024

This PIM comes with a 100-pin PIC32MK1024MCF100 TQFP device and enables the use of the on-chip op amps or the external op amps on these boards:

MPLAB® X Integrated Development Environment (IDE)


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

MPLAB® Harmony v3 Software Framework

MPLAB Harmony v3 is a flexible, fully integrated embedded software development framework for 32-bit microcontrollers (MCUs). It enables robust framework development of interoperable RTOS-friendly libraries with quick and extensive Microchip support for third-party software integration. MPLAB Harmony includes a set of peripheral libraries, drivers and system services that are readily accessible for application development. The code development format allows for maximum re-use and reduces time to market.

MPLAB Mindi™ Simulation Models

MPLAB Mindi Analog Simulator reduces circuit design time and design risk by allowing you to simulate analog circuits prior to hardware prototyping. Models are available to simulate the op amp and comparator peripherals available on PIC32MK MCUs.

MATLAB® and Simulink®

Our simulation package allows you to compile a Simulink model that can be programmed into a PIC32MK MCU’s Flash memory with a single push of a button for rapid prototyping.

Scilab and X2C

Use the free and open-source Scilab and X2C tools along with MPLAB X IDE  as a full-featured model-based design platform for creating real-time motor control applications. MPLAB Harmony v3 also supports the X2C Scope plug-in for MPLAB X IDE, which allows run-time debugging or monitoring of your embedded application. This tool allows you to watch or plot any global variable in your embedded application without halting your CPU.

Documentation

Title Download
AN2785 - World's Fastest Embedded Interleaved 12-bit ADC Using PIC32MZ and PIC32MK Families Download
AN2587 - EMI, EMC, EFT, and ESD Circuit Design Consideration for 32-bit Microcontrollers Application Note Download
AN2520 - Sensorless Field Oriented Control (FOC) for a Permanent Magnet Synchronous Motor (PMSM) Using a PLL Estimator and Equation-based Flux Weakening (FW) Application Note Download
AN2757 - Sensored (Encoder-Based) Field Oriented Control of a Three Phase Permanent Magnet Synchronous Motor (PMSM) Download
AN2590 - Sensorless FOC for PMSM Using Reduced Order Luenberger Observer - Download
Title Download
32-bit Peripherals Quick Reference Card Download
32-bit Touch Peripheral Sell Sheet Download
32-bit Microcontroller Families Brochure Download
PIC32 Audio Sell Sheet Download
MPLAB® Harmony Brochure Download
PIC32 Bluetooth Sell Sheet Download
Connectivity Solutions for Embedded Design Download
32-bit MCU Connectivity Sell Sheet Download
Graphical and Segmented Display Solutions Brochure Download
PIC32 Graphics Sell Sheet Download
PICMK Sell Sheet Download
Title Download
PIC32MK General Purpose and Motor Control (GPK/GPL/MCM) Family Data Sheet Download
PIC32MK General Purpose and Motor Control (GP/MC) Family Data Sheet Download
PIC32MK General Purpose and Motor Control (GPK/GPL/MCM) Family Data Sheet Download
Title Download
PIC32MK General Purpose and Motor Control (GP/MC) Family Silicon Errata and Data Sheet Clarification Download
PIC32MK General Purpose and Motor Control GPG/MCJ Family Silicon Errata and Data Sheet Clarifications Download
PIC32MK General Purpose and Motor Control (GPK/MCM) with CAN FD Family Silicon Errata and Data Sheet Clarifications Download
Title Download
Basic 32-Bit MCU Design and Troubleshooting Checklist Download
Title Download
The Difference Between MPLAB Harmony v3 PLIBs and Drivers, and When to Use Them Download

Getting Started with the SAM E51 Curiosity Nano Evaluation Kit

MPLAB® Harmony 3 is a software development framework consisting of compatible and interoperable modules that include peripheral libraries (PLIBs), drivers, system services, middleware and third-party libraries. The MPLAB Harmony Configurator (MHC) is a GUI-based tool that provides an easy way to enable and configure various MPLAB Harmony modules. The MHC is a plug-in to the MPLAB X Integrated Development Environment (IDE). More Details about MPLAB Harmony v3 can be found at

This video explains how to create a simple application on Microchip's ARM® Cortex®-M4 based flash SAM E51 microcontroller using Harmony v3 MHC. This application demonstrates an LED (LED0) toggling on a periodic basis and print the LED toggling rate on a serial terminal. The periodicity of the timeout will change from 500 milliseconds to one second, two seconds, four seconds and back to 500 milliseconds every time you press the switch SW0 on the SAM E51 Curiosity Nano Evaluation Kit.