16-bit PIC® Microcontroller Peripheral Integration Quick Reference Guide System Flexibility Dual Partition Flash CLC PPS PTG DMA IDLE, SLEEP and PMD DOZE XLP Vbat RNG Secure Key Storage Secure Data Cryptographic Engine GFX LCD (Segments) CTMU and mTouch® Sensing User Interface USB CAN UART LIN IrDA® I2C SPI I2S™ SENT Parallel Port Class B Safety 3 CRC DMT WDT LVD QEI 14–20 RTCC 8 32-bit Timer PIC24F08KL20X 16-bit Timer 10 14–20 8-bit Timer 14–20 4 PWM Resolution (ns) ADC (resolution)1 4 PIC24F04KL10X Peripheral Function Focus Safety and Communications Monitoring Timing and Measurements Waveform Control CVref HS Comp OPA CCP/ECCP SCCP MCCP PWM MC PWM SMPS PWM IC and OC Pin Count PIC24F04KA20X Product Family DAC (resolution)2 Program Flash Memory (KB) Intelligent Analog PIC24 Family ü ü 62 ü ü ü ü L1 ü ü ü ü ü ü ü ü ü ü 15 ü ü ü ü ü L1 ü ü ü ü ü ü ü ü ü ü ü ü ü 15 ü ü ü ü ü L1 ü ü ü ü ü ü ü ü ü ü ü ü ü 10 ü ü ü ü PIC24F08KL30X 8 20–28 ü ü ü ü ü 15 ü ü ü ü ü L1 ü ü ü ü ü PIC24FXXKL40X 8–16 20–28 10 ü ü ü ü ü 15 ü ü ü ü ü L1 ü ü ü ü ü PIC24FXXKA10X 8–16 20–28 10 ü ü ü ü 62 ü ü ü ü ü L2 ü ü ü ü ü ü PIC24FXXKM10X 8–16 20–44 12 ü ü ü ü ü ü 62 ü ü ü ü ü L2 ü ü ü ü ü ü ü PIC24FXXKM20X 8–16 20–44 12 ü ü ü ü ü ü ü 62 ü ü ü ü ü L2 ü ü ü ü ü ü ü PIC24HJ12GP20X 12 20–28 12 ü ü 25 ü ü ü L1 ü ü ü ü ü PIC24FXXKA30X 16–32 20–44 12 ü ü ü ü 15 ü ü ü ü ü L2 ü ü ü ü ü PIC24FJXXGA00X 16–64 28–44 10 ü ü ü 62 ü ü ü ü ü L2 ü ü ü ü ü PIC24FJXXMC10X 16–32 20–44 10 ü ü ü ü ü 31 ü ü ü ü ü PIC24HJXXGPX0X 16–32 28–44 12 PIC24EPXXXGP20X 32–512 28–64 12 4 4 8 4 ü ü ü ü ü ü L1 ü ü 25 ü ü ü L1 ü ü ü ü ü ü ü 14 ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü PIC24EPXXXMC20X 32–512 28–64 12 ü ü ü ü ü ü 7 ü ü ü ü L2 ü ü ü ü ü ü PIC24FJXXGA10X 32–64 28–44 10 ü ü ü 15 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü PIC24FJXXGB00X 32–64 28–44 10 ü ü ü 15 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü PIC24HJ32GP30X 32 28–44 12 4 ü ü ü 25 ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü PIC24HJXXXGP20X 64–128 28–44 12 4 ü ü ü 25 ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü PIC24HJXXXGP50X 64–128 28–44 12 4 ü ü ü 25 ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü PIC24FJXXXGA0XX 64–128 64–100 10 ü ü ü 62 ü ü ü ü L2 ü ü ü ü ü ü ü 1: 16-bit PIC® MCU offers SAR ADC, high-speed ADC and Delta-Sigma ADC 2: 16-bit PIC MCU offers general-purpose DAC and audio DAC 3: Class B Safety Features: L1: Includes WDT, oscillator fail-safe, illegal opcode detect, TRAP, reset trace, register lock, frequency check, CodeGuard™ security, PWM lock* L2: Includes features of L1 + CRC L3: Includes features of L1 + Flash ECC + DMT *PWM lock available in devices with MC PWM/SMPS PWM peripheral Note: Similar family of devices with fewer variations are grouped with the same color coding ü ü Secure Data System Flexibility Cryptographic Engine Secure Key Storage RNG Dual Partition Flash CLC PPS PTG DMA IDLE, SLEEP and PMD DOZE XLP Vbat GFX LCD (Segments) CTMU and mTouch® Sensing User Interface USB CAN UART LIN IrDA® I2C SPI I2S™ SENT Parallel Port Class B Safety3 Peripheral Function Focus Safety and Communications Monitoring QEI LVD WDT DMT CRC RTCC 32-bit Timer 16-bit Timer PWM Resolution (ns) 8-bit Timer Timing and Measurements Waveform Control CVref HS Comp OPA CCP/ECCP SCCP MCCP PWM MC PWM SMPS PWM IC and OC DAC (resolution)2 ADC (resolution)1 Pin Count Program Flash Memory (KB) Product Family Intelligent Analog PIC24 Family (Continued) PIC24FJXXXGA1XX 64–256 64–100 10 ü ü ü 15 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü PIC24FJXXXGB1XX 64–256 64–100 10 ü ü ü 15 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü PIC24FJXXXGA20X 64–128 28–44 12 ü ü ü 15 ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü PIC24FJXXXGB20X 64–128 28–44 12 ü ü ü 15 ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü Up to ü 480 Up to ü ü 472 ü ü ü ü PIC24FJXXXGA3XX 64–128 64–100 12 ü ü ü ü 15 ü ü ü ü ü ü L2 ü ü ü ü ü PIC24FJXXXGC0XX 64–128 64–100 16 10 ü ü ü ü 15 ü ü ü ü ü ü L2 ü ü ü ü ü ü PIC24HJXXXGP2XXA 64–128 64–100 12 ü ü 25 ü ü ü L1 ü ü ü ü ü ü ü ü PIC24HJ128GP3XXA 128 64–100 12 ü ü 25 ü ü ü L1 ü ü ü ü ü ü ü ü PIC24HJXXXGP5XXA 64–128 64–100 12 ü ü 25 ü ü ü L1 ü ü ü ü ü ü ü ü ü PIC24HJ256GP610A 256 ü ü 25 ü ü ü L1 ü ü ü ü ü ü 100 12 ü ü ü PIC24FJXXXDA2XX 128–256 64–100 10 ü ü ü 15 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü PIC24FJXXXGA2XX 128–256 64–100 10 ü ü ü 62 ü ü ü ü ü L2 ü ü ü ü ü PIC24FJXXXGB2XX 128–256 64–100 10 ü ü ü 62 ü ü ü ü ü L2 ü ü ü ü ü ü PIC24FJXXXGA4XX 64–256 64–121 12 10 ü ü ü ü ü 62 ü ü ü ü ü ü L2 ü ü ü ü ü ü PIC24FJXXXGB4XX 64–256 64–121 12 10 ü ü ü ü ü 62 ü ü ü ü ü ü L2 ü ü ü ü ü PIC24EPXXXGU81X PIC24EP512GP806 256–512 100–144 12 512 64 12 ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü 4 ü ü ü 14 ü ü ü ü L2 ü ü ü ü ü ü ü ü Up to 512 Up to ü ü 512 ü ü ü ü ü ü 4 ü ü ü 14 ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü PIC24FJXXXXGA6XX 128–1024 64–121 12 ü ü ü ü ü ü 62 ü ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü PIC24FJXXXXGB6XX 128–1024 64–121 12 ü ü ü ü ü ü 62 ü ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü dsPIC33F Family dsPIC33FJ06GS001 6 18 dsPIC33FJ06GS102/1/A 6 18–28 dsPIC33FJ0XGS202/ A/302 6–9 28 dsPIC33FJ16GS40X 16 dsPIC33FJ16GS50X 16 dsPIC33FJXXGP2/30X dsPIC33FJXXMC2/30X 10 10 ü ü ü ü 1 ü ü L1 ü ü ü ü ü ü ü ü ü ü ü 1 ü ü L1 ü ü ü ü ü ü ü ü 10 10 ü ü ü ü ü ü 1 ü ü L1 ü ü ü ü ü ü ü ü 28–44 10 ü ü ü ü 1 ü ü ü L1 ü ü ü ü ü ü ü ü 28–44 10 10 ü ü ü ü ü ü 1 ü ü ü L1 ü ü ü ü ü ü ü ü 12–16 20–28 12 ü ü 25 ü ü ü L1 ü ü ü ü ü ü ü ü 12–16 20–28 12 ü ü ü ü 12 ü ü ü L1 ü ü ü ü ü ü ü ü 10 ü ü 1: 16-bit PIC® MCU offers SAR ADC, high-speed ADC and Delta-Sigma ADC 2: 16-bit PIC MCU offers general-purpose DAC and audio DAC 3: Class B Safety Features: L1: Includes WDT, oscillator fail-safe, illegal opcode detect, TRAP, reset trace, register lock, frequency check, CodeGuard™ security, PWM lock* L2: Includes features of L1 + CRC L3: Includes features of L1 + Flash ECC + DMT *PWM lock available in devices with MC PWM/SMPS PWM peripheral Note: Similar family of devices with fewer variations are grouped with the same color coding ü System Flexibility Cryptographic Engine Secure Key Storage RNG Dual Partition Flash CLC PPS PTG DMA IDLE, SLEEP and PMD DOZE XLP Vbat GFX LCD (Segments) CTMU and mTouch® Sensing User Secure Interface Data USB CAN UART LIN IrDA® I2C SPI I2S™ SENT Parallel Port Class B Safety3 Peripheral Function Focus Safety and Communications Monitoring QEI LVD WDT DMT CRC RTCC 32-bit Timer 16-bit Timer PWM Resolution (ns) 8-bit Timer Timing and Measurements Waveform Control CVref HS Comp OPA CCP/ECCP SCCP MCCP PWM MC PWM SMPS PWM IC and OC DAC (resolution)2 ADC (resolution)1 Pin Count Program Flash Memory (KB) Product Family Intelligent Analog dsPIC33F Family (Continued) dsPIC33FJXXGP10X 16–32 20–44 10 4 ü ü ü 62 ü ü ü ü L1 ü ü ü ü ü ü ü ü ü dsPIC33FJXXMC10X 16–32 20–44 10 4 ü ü ü ü ü 12 ü ü ü ü L1 ü ü ü ü ü ü ü ü ü ü ü 25 ü ü ü L1 ü ü ü ü ü ü ü ü 4 ü ü ü 25 ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü 25 ü ü ü ü ü 32 28–44 12 dsPIC33FJXXXGP2/30X 32–128 28–44 12 dsPIC33FJ32GP20X dsPIC33FJXXXGP80X 64–128 28–44 dsPIC33FJXXXGS406 32–64 64 12 16 dsPIC33FJ32GS6XX 32 64–100 10 10 ü ü 10 ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü 1 ü ü ü ü L1 ü ü ü ü ü ü ü ü ü ü ü 1 ü ü ü ü L1 ü ü ü ü ü ü ü ü ü dsPIC33FJ64GS6XX 64 64–100 10 10 ü ü ü ü ü ü 1 ü ü ü ü L1 ü ü ü ü ü ü dsPIC33FJ32MC20X 32 28–44 12 ü ü ü ü 12 ü ü ü ü L1 ü ü ü ü ü dsPIC33FJ32MC30X 32 28–44 12 4 dsPIC33FJXXXMC20X 64–128 28–44 12 4 dsPIC33FJXXXMC80X 64–128 28–44 12 4 to 16 ü ü ü ü ü ü ü 12 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü ü 12 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü 12 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü L1 ü ü ü ü ü ü ü L1 dsPIC33FJXXXMC5/7XXA 64–128 64–100 12 ü ü ü ü 12 ü ü dsPIC33FJXXXGP2/3XXA 64–128 64–100 12 ü ü 25 ü ü dsPIC33FJXXXGP5/7XXA 64–256 64–100 12 ü ü 25 ü ü dsPIC33FJ256MC5/710A 256 ü ü ü ü 12 ü ü 100 ü ü ü ü 12 ü ü ü ü ü ü ü ü ü ü ü ü ü ü L1 ü ü ü ü ü ü ü ü ü ü ü L1 ü ü ü ü ü ü ü ü ü dsPIC33EV Family dsPIC33EVXXXGM00X 32–256 28–64 12 7 ü ü ü ü ü 8 ü ü ü ü L3 ü ü ü ü ü ü ü ü ü ü ü dsPIC33EVXXXGM10X 32–256 28–64 12 7 ü ü ü ü ü 8 ü ü ü ü L3 ü ü ü ü ü ü ü ü ü ü ü ü ü ü 1 ü ü ü ü ü ü ü 14 ü ü ü ü L2 ü ü ü ü ü ü dsPIC33EP Family dsPIC33EPXXGS2/50X dsPIC33EPXXGP50X 16–64 28–64 12 12 ü ü ü 32–512 28–64 12 ü 4 ü ü ü ü ü ü ü ü ü ü ü ü dsPIC33EPXXXMC20X 32–256 28–64 12 4 ü ü ü ü ü ü 7 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü dsPIC33EPXXXMC50X 32–512 28–64 12 4 ü ü ü ü ü ü 7 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü dsPIC33EPXXXGM3XX 128–512 44–100 12 4 ü ü ü ü ü ü 7 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü dsPIC33EPXXXGM6/7XX 128–512 44–100 12 4 ü ü ü ü ü ü 7 ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü ü dsPIC33EPXXXMU8XX 256–512 64–144 12 7 ü ü ü ü 14 ü ü dsPIC33EP512GP806 512 64 12 4 ü ü ü ü ü 4 ü ü 1: 16-bit PIC® MCU offers SAR ADC, high-speed ADC and Delta-Sigma ADC 2: 16-bit PIC MCU offers general-purpose DAC and audio DAC 3: Class B Safety Features: L1: Includes WDT, oscillator fail-safe, illegal opcode detect, TRAP, reset trace, register lock, frequency check, CodeGuard™ security, PWM lock* L2: Includes features of L1 + CRC L3: Includes features of L1 + Flash ECC + DMT *PWM lock available in devices with MC PWM/SMPS PWM peripheral Note: Similar family of devices with fewer variations are grouped with the same color coding ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü ü L2 ü ü ü ü ü ü ü ü ü ü ü ü ü INTELLIGENT ANALOG: Sensor Interfacing and Signal Conditioning ADC: Analog-to-Digital Converter General-purpose ADC with up to 10-/12-/16-bit resolution HS ADC: High-Speed Analog-to-Digital High-speed SAR ADC with 12-bit resolution and sampling speed of 10 Msps Converter ∆∑ ADC: Delta-Sigma Analog-toBipolar differential inputs configurable gain integrated PGA Delta-Sigma ADC Digital Converter General-purpose DAC with resolution up 16-bit resolution DAC: Digital-to-Analog Converter ∆∑ DAC: Delta-Sigma Digital-to-Analog Second-order digital bipolar, two output channel Delta-Sigma DAC with Converter stereo operation support Programmable voltage reference with multiple internal and external CVref: Internal Voltage Reference connections General-purpose rail-to-rail comparator with <1 ns response time HS Comp: High-Speed Comparator OPA: Operational Amplifier General-purpose op amp for internal and external signal source conditioning WAVEFORM CONTROL: PWM Drive and Waveform Generation CCP/ECCP: Multi-purpose timers with functionality of the comparable input capture, (Enhanced) Capture/Compare/PWM output compare and PWM with four outputs SCCP: Multi-purpose 16-/32-bit input capture, output compare and PWM Single Capture/Compare/PWM MCCP: Multi-purpose 16-/32-bit input capture, output compare and PWM with up to Multiple Capture/Compare/PWM six outputs and an extended range of output control features PWM: Pulse Width Modulation 16-bit PWM with up to nine independent time bases Motor control 16-bit PWM with multiple synchronized pulse-width MC PWM: Motor Control Pulse Width modulation, up to six outputs with four duty cycle generators and resolution Modulation up to 1 ns Power supply 16-bit PWM with multiple synchronized pulse-width modulation, SMPS PWM: Power Supply Pulse up to eight outputs with four independent time bases and resolution up to Width Modulation 1 ns IC: Input Capture Input capture with an independent timer base to capture an external event Output compare with an independent time base to compare value with OC: Output Compare compare registers and generate a single output pulse, or a train of output pulses on a compare match event TIMING AND MEASUREMENTS: Signal Measurement with Timing and Counter Control 8-/16-/32-bit Timer General-purpose 8-/16-/32-bit timer/counter with compare capability RTCC: Real-time clock and calendar with a Binary-Coded Decimal (BCD) clock Real-Time Clock/Calendar calendar to maintain accurate timing with external 32/768 kHz crystal Quadrature encoder interface to increment encoders for obtaining QEI: Quadrature Encoder Interface mechanical position data SAFETY AND MONITORING: Hardware Monitoring and Fault Detection LVD detects drops in system operating voltage using an internal reference LVD: Low-Voltage Detection voltage for comparison, especially in battery-powered applications System supervisory circuit that generates a reset when software timing WDT: Watch Dog Timer anomalies are detected within a configurable critical window System supervisory circuit that generates a reset when instruction DMT: Dead Man Timer sequence anomalies are detected within a configurable critical window Automatically calculates CRC checksum of Program/DataEE memory for CRC: Cyclical Redundancy Check with NVM integrity and a general-purpose 16-bit CRC for use with memory and Memory Scan communications data Hardware Class B support with Flash error correction, backup system Class B Safety oscillator, WDT, DMT, CRC scan, etc. COMMUNICATIONS: General, Industrial, Lighting and Automotive USB 2.0 full-speed (host and device), low-speed (host) and On-The-Go (OTG) USB OTG: Universal Serial Bus support CAN: Controller Area Network Industrial- and automotive-centric communication bus UART: Universal Asynchronous General-purpose full-duplex, 8-bit or 9-bit data serial communications with Receiver Transceiver optional ISO 7816 Smart Card support 1. Industrial- and automotive-centric communication bus LIN: Local Interconnect Network 2. Support for LIN when using the EUSART IrDA: Infrared Data Association IrDA encoder and decoder logic support through UART General purpose 2-wire inter IC serial interface for communicating with other 2 I C: Inter-Integrated Circuit peripherals or microcontroller devices General-purpose 4-wire synchronous serial interface for communicating with SPI: Serial Peripheral Interface other peripherals or microcontroller devices 3-wire synchronous half duplex serial interface to handle the stereo data I2S: Data Converter Interface SENT: Single-Edge Nibble SENT is an unidirectional, single-wire serial communications protocol Transmission designed for point-to-point transmission of signal values Parallel Port General-purpose parallel communication interface USER INTERFACE: Capacitive Touch Sensing and LCD Control CTMU and mTouch Sensing: Microchip Capacitive sensing for touch buttons, sliders and system measurements Proprietary Capacitive Touch and detection (e.g. water level, intrusion detection, etc.) using an analog Technology Using Charge Time CTMU that provides accurate differential time measurement between pulse Measurement Unit sources and asynchronous pulse generation LCD: Liquid Crystal Display Highly integrated segmented LCD controller Highly integrated graphics controller supporting direct interface with display GFX: Graphics Controller glasses with built-in analog drive for individual pixel control SECURE DATA: Hardware Integrated Cryptographic Engine Cryptographic Engine Independent NIST-standard encryption and decryption engine Secure Key Storage Multiple option for key storage, selection and management RNG: Random Number Generator Hardware true random number generation SYSTEM FLEXIBILITY: System Peripherals and Interconnects Dual partition Flash operation, allowing the support of robust bootloader Dual Partition Flash systems and fail-safe storage of application code, with options designed to enhance code security Integrated combinational and sequential logic with custom interconnection CLC: Configurable Logic Cell and re-routing of digital peripherals I/O pin remapping of digital peripherals for greater design flexibility and PPS: Peripheral Pin Select improved EMI board layout User-programmable sequencer, capable of generating complex trigger signal PTG: Peripheral Trigger Generator sequences to coordinate the operation of other peripherals Direct memory access for transfer of data between the CPU and its DMA: Direct Memory Access peripherals without CPU assistance IDLE, SLEEP and PMD Low-power saving modes Ability to run the CPU core slower than the system clock used by the internal DOZE peripherals XLP technology devices with extreme low-power operation modes for XLP: eXtreme Low Power Technology battery/low power applications Hardware-based power mode that maintains only the most critical Vbat operations when a power loss occurs on Vdd Learn more about 16-bit PIC microcontrollers at www.microchip.com/16bit. Information subject to change. The Microchip name and logo, the Microchip logo and PIC are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. mTouch is a registered trademark of Microchip Technology Incorporated in the U.S.A. © 2016, Microchip Technology Inc. All Rights Reserved. Printed in the U.S.A. 5/16. DS30010109B