Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC MCUs Peripherals Summary When migrating from one PIC microcontroller (MCU) family to another, you get to stay within the same MPLAB ecosystem and MPLAB Code Confi gurator to minimize your learning curve and speed your application development. The PIC MCU families include fl exible, integrated peripherals that allow for fast system response time. The core independent peripherals offl oad the CPU to focus on other tasks or sleep in order to minimize power consumption. You can customize application functions with smart internal interconnections of analog and digital peripherals. Smart peripherals facilitate intelligent operations with the ability to implement simultaneous function control and self-sustaining closed loop control. This document helps decode the peripheral capabilities when migrating from 8-bit (PIC16 and PIC18) to 16-bit (PIC24 and dspic33) devices. AT IGRA A R ION EASY MIGRATION EASE O OF USE INTEGRATION FLEXIBILITY INTELLIGENCE ENCE Flexible, Integrated Peripherals FLEX Peripheral Categories Sensor Interfacing and Signal Conditioning PWM Drive and Waveform Generation Hardware Monitoring, Fault Detection and Robust Operation Range of Communication: UART, SPI, USB and CAN FD Clock and Timers Signal Measurement with Timing and Counter Control Integrated Segmented LCD Control and Touch Sensing Secure Data Integrated Cryptographic Engine Low Power extreme Low Power (XLP) and System Flexiblity
You can see the same color coding in both 8-bit PIC MCU peripherals on the left and the 16-bit PIC MCU peripherals on the right. ADC/SD ADC ECCP Crystal-Free USB ADC Capture/Compare/PWM ADC ƩΔ ADC CCP ECCP USB - OTG CAN/CAN FD ADC w/computation Comparators Slope Comp. DAC Op Amps High-Speed Comparators VREF ZCD Ramp Generator High-Current I/O Low Power, Flexibility DMA IDLE & DOZE PPS XLP High-Endurance Flash (Data) Peripheral Module Disable CLC Math Accel. Hardware Multiply COG CWG DSM NCO PSMC 10-bit PWM 16-bit PWM Clocks and Timers Angular Timer RTCC SMT Temp. Indicator 8/16/20/24-bit Timers CAN (E)USART Ethernet MAC I 2 C LIN SPI KeeLoq Sub-GHz RF LCD mtouch CLC HLT WWDT Clocking/ Fail-Safe Clock Monitor DAC w/sc DMA PPS Dual Partition Flash XLP DAC CVREF IDLE & DOZE Audio DAC Comparators & OPA Comp. Flexibility & Performance Low Power Peripheral Mode Disable Crypto Engine OPA / PGA Int. Ref. Voltage Low Power, Flexibility Secure Data CLC PTG VBAT Encryption Decryption RNG & Key Management MCCP PWM PWM SMPS PWM Output Compare 8-bit Timer OC Input Capture IC Timers 32-bit Timer RTCC SCCP Hardware RTCC with VBAT Quadrature Encoding QEI MC PWM Clocks and Timers 16-bit Timer UART, IrDA SENT LIN I 2 C I 2 S / DCI SPI PMP MSSP Display Controller LCD Driver Graphics mtouch Touch Sense Robust Operations HLVD ECRC WWDT/DMT Functional Safety Memory Clocking System CPU GPIO Analog Fail-Safe Clock Monitor 8-bit PIC MCU Peripherals 16-bit PIC MCU Peripherals Peripherals Peripherals for sensor interfacing and signal conditioning high-precision analog peripherals for simplifi ed system designs. Peripherals PIC16/PIC18 PIC24/dsPIC33 Analog-to-Digital Converter (ADC) Analog-to-Digital Converter with Computation (ADCC) Sigma-Delta Analog-to-Digital Converter (SD-ADC) Digital-to-Analog Converter (DAC) Audio Digital-to-Analog Converter (A-DAC) Comparators/High-Speed Comparators Operational Amplifier (OPA)/Programmable Gain Amplifier (PGA) Voltage Reference (CREF)/Fixed Voltage Reference (FVR) High-Current I/O Current Bias Generator (CBG) Programmable Ramp Generator (PRG) Slope Compensation (SC) Zero Cross Detect (ZCD) DAC with Slope Compensation DAC with Slope Compensation Comparator + DAC/ CVREF+External Voltage Shift Resistors
Waveform Generation and Control Peripherals Waveform Generation and Control Peripherals: PWM drive and waveform generation through a variety of peripherals. PIC24/dsPIC33 includes specialty PWMs for motor control and digital power conversion applications. Waveform Generation and Control Peripherals PIC16/PIC18 PIC24/dsPIC33 Capture-Compare PWM (CCP/ECCP) Multiple/Single Capture-Compare PWM (MCCP/SCCP) Pulse Width Modulation (PWM) High-Performance Motor Control PWM (MC PWM) Switched-Mode Power Supply PWM (SMPS PWM) Input Capture (IC) Output Compare (OC) Complementary Output Generator (COG) Complementary Waveform Generator (CWG) as part of PSMC Module MC PWM, SMPS PWM, MCCP MC PWM, SMPS PWM, MCCP Data Signal Modulator (DSM) Numerically Controlled Oscillator (NCO) Programmable Switch Mode Controller (PSMC) PWMs/MCCP/OC + Firmware MC PWM, SMPS PWM Timing and Measurement Peripherals Timing and Measurement Peripherals: signal measurement with timing and counter control. Timing and Measurement Peripherals PIC16/PIC18 PIC24/dsPIC33 8-bit Timer 16-bit Timer 32-bit Timer Real-Time Clock/Calendar with Vbat Quadrature Encoder Interface (QEI) Angular Timer (AT) MCCP/SCCP + CLC+ Firmware Signal Measurement Timer (SMT) MCCP/SCCPs Temperature Measurement
Peripherals Peripherals: hardware monitoring and fault detection with enhanced robustness and noise immunity including devices with 5V operation and support to temperatures up to 150 C. Peripherals PIC16/PIC18 PIC24/dsPIC33 Hardware Limit Timer (HLT) Timers/MCCPs Window Watchdog Time (WWDT) Cyclic Redundancy Check (CRC) High/Low Voltage Detect (HLVD) Clock Monitoring (Fail Safe Clock Monitor, Two Speed Startup) Backup FRC Memory Integrity (Flash ECC with Fault Injection and Ram MBIST with Fault Injection) Dead Man Timer (DMT) Class B Safety Library Communication Peripherals Communication Peripherals: supporting a wide range of communication protocols including USB, CAN, UART, LIN, IrDA, Ethernet and more. Communication Peripherals PIC16/PIC18 PIC24/dsPIC33 Universal Serial Bus: FS USB Device Universal Serial Bus: FS USB - OTG Controller Area Network (CAN) and CAN FD CAN CAN/CAN FD Universal Asynchronous Receiver/Transmitter (UART) Local Interconnect Network (LIN) IrDA Ethernet MAC External Ethernet MAC Inter Integrated Circuit (I 2 C) Serial Peripheral Interface (SPI) Integrated IC Sound (I 2 S) X Master Synchronous Serial Port (MSSP) Data Converter Interface (DCI) X Parallel Master Port KeeLoq Sub-GHz RF External Sub-GHz Transceiver
Peripherals Peripherals: enabling impactful touch sensing and LCD control of displays. Peripherals PIC16/PIC18 PIC24/dsPIC33 Touch Peripherals LCD Controller (LCD) Graphics Controller (GFX) CVD Low Power and System Flexibility Peripherals Low Power and System Flexibility Peripherals: flexible wake-up sources to minimize power consumption. Low Power and System Flexibility Peripherals PIC16/PIC18 PIC24/dsPIC33 Maximum Flash 128 KB 1024 KB Maximum RAM 8 KB 96 KB High-Endurance Flash Dual-Partition Flash Power Saving Modes (PMD, DOZE, IDLE, SLEEP) Peripheral Pin Select (PPS) Configurable Logic Cell (CLC) Programmable Trigger Generator (PTG) Direct Memory Access (DMA) extreme Low Power (XLP) The Microchip name and logo, the Microchip logo, KeeLoq, MPLAB 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. All other trademarks mentioned herein are property of their respective companies. 2019, Microchip Technology Incorporated. All Rights Reserved. 01/19 DS30010196A