mapping peripheral capabilities when migrating...
TRANSCRIPT
![Page 1: Mapping Peripheral Capabilities When Migrating …ww1.microchip.com/downloads/en/DeviceDoc/Mapping... Peripherals Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit](https://reader035.vdocuments.site/reader035/viewer/2022071004/5fc1434a61349f30da58f5b7/html5/thumbnails/1.jpg)
www.microchip.com
Peripherals
Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC® MCUs
Peripheral Categories
Integrated AnalogSensor Interfacing
and Signal Conditioning
Waveform ControlPWM Drive
and Waveform Generation
Safety and MonitoringHardware Monitoring, Fault
Detection and Robust Operation
Wired CommunicationRange of Communication:
UART, SPI, USB and CAN FD
Clock and TimersSignal Measurement with
Timing and Counter Control
User InterfaceIntegrated Segmented LCD Control
and Touch Sensing
Secure DataIntegrated
Cryptographic Engine
Low PowereXtreme Low Power (XLP)
and System Flexiblity
SummaryWhen 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.
INTEGRATION FLEXIBILITY
EA
SY M
IGRA
TION
EASE OF USE INTELLIGENCE
Flexible, Integrated Peripherals
FLEX
IGRARAR
TATAIO
N
EASE O ENCE
![Page 2: Mapping Peripheral Capabilities When Migrating …ww1.microchip.com/downloads/en/DeviceDoc/Mapping... Peripherals Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit](https://reader035.vdocuments.site/reader035/viewer/2022071004/5fc1434a61349f30da58f5b7/html5/thumbnails/2.jpg)
www.microchip.com
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.
Integrated AnalogADC/SD ADC
ADC w/Computation
High-Speed Comparators
Comparators Slope Comp.
Crystal-Free USB
LCDmTouch®
HLT
WWDTClocking/
Fail-Safe Clock Monitor
CLC
CAN
I2C
Ethernet MAC
(E)USART
KeeLoq® Sub-GHz RF
SPI
LIN
10-bit PWM
16-bit PWM
NCO
PSMC
CWG
DSM
ECCP
COG
Temp. Indicator
8/16/20/24-bit Timers
Angular Timer
RTCC
CTMU
SMT
High-Endurance Flash (Data)
Peripheral Module Disable
CLC Math Accel.
Hardware Multiply
DAC
High-Current I/O
Ramp Generator
Op Amps
DMA IDLE & DOZE
PPS XLP
VREF ZCD
Waveform Control Wired Communication
User Interface
Safety and Monitoring
Clocks and TimersLow Power, Flexibility
Integrated AnalogADC Capture/Compare/PWM
PWM
Output Compare
Input Capture
ADC ƩΔ ADC CCP ECCP
MCCP SCCP
Wired CommunicationUSB - OTG CAN/CAN FD
Display Controller
mTouch® – Touch SenseLCD Driver Graphics
Robust OperationsHLVD ECRC
Functional SafetyMemory ClockingSystem CPUGPIO Analog
CTMU
WWDT/DMT
Fail-Safe Clock Monitor
UART, IrDA SENT
I2S / DCI SPI
PMP MSSP
LIN I2C
PWM
SMPS PWM
OC
RTCCHardware RTCC with VBAT
Quadrature EncodingQEI
IC
MC PWM
Timers8-bit Timer
32-bit Timer
16-bit TimerDual Partition Flash
IDLE & DOZE
Peripheral Mode Disable
Encryption – DecryptionRNG & Key Management
DAC w/SC
CVREF
Audio DAC
DMA CLC
PPS PTG
XLP VBAT
DAC
Flexibility & Performance
Low Power
Crypto Engine
Int. Ref. Voltage
Comp. OPA / PGAComparators & OPA
Waveform Control Wired Communication
User Interface
Safety and MonitoringClocks and Timers
Low Power, Flexibility
Secure Data
8-bit PIC MCU Peripherals 16-bit PIC MCU Peripherals
Integrated Analog PeripheralsIntegrated Analog Peripherals for sensor interfacing and signal conditioning—high-precision analog periph-erals for simplifi ed system designs.
Integrated Analog 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 Amplifi er (OPA)/Programmable Gain Amplifi er (PGA) ü ü
Voltage Reference (CREF)/Fixed Voltage Reference (FVR) ü ü
High-Current I/O ü ü
Current Bias Generator (CBG) – ü
Programmable Ramp Generator (PRG) üDAC with Slope Compensation
Slope Compensation (SC) üDAC with Slope Compensation
Zero Cross Detect (ZCD) üComparator + DAC/
CVREF+External Voltage Shift Resistors
![Page 3: Mapping Peripheral Capabilities When Migrating …ww1.microchip.com/downloads/en/DeviceDoc/Mapping... Peripherals Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit](https://reader035.vdocuments.site/reader035/viewer/2022071004/5fc1434a61349f30da58f5b7/html5/thumbnails/3.jpg)
www.microchip.com
Waveform Generation and Control PeripheralsWaveform Generation and Control Peripherals: PWM drive and waveform generation through a variety of pe-ripherals. 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)
ü A subset of functionality available
as part of CCP/ECCP Moduleü
Pulse Width Modulation (PWM) ü ü
High-Performance Motor Control PWM (MC PWM) – ü
Switched-Mode Power Supply PWM (SMPS PWM)ü
A subset of functionality available as part of PSMC Module
ü
Input Capture (IC)ü
A subset of functionality available as part of CCP/ECCP Module
ü
Output Compare (OC)ü
A subset of functionality available as part of CCP/ECCP Module
ü
Complementary Output Generator (COG) üü
Functionality available as part of MC PWM, SMPS PWM, MCCP
Complementary Waveform Generator (CWG) üü
Functionality available as part of MC PWM, SMPS PWM, MCCP
Data Signal Modulator (DSM) ü ü
Numerically Controlled Oscillator (NCO) üü
Functionality available as part of PWMs/MCCP/OC + Firmware
Programmable Switch Mode Controller (PSMC) üü
Functionality available as part of MC PWM, SMPS PWM
Timing and Measurement PeripheralsTiming 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+ FirmwareSignal Measurement Timer (SMT) ü MCCP/SCCPsTemperature Measurement ü ü
![Page 4: Mapping Peripheral Capabilities When Migrating …ww1.microchip.com/downloads/en/DeviceDoc/Mapping... Peripherals Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit](https://reader035.vdocuments.site/reader035/viewer/2022071004/5fc1434a61349f30da58f5b7/html5/thumbnails/4.jpg)
www.microchip.com
Safety and Monitoring PeripheralsSafety and Monitoring 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.
Safety and Monitoring Peripherals PIC16/PIC18 PIC24/dsPIC33
Hardware Limit Timer (HLT) üü
Functionality available as part of 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 PeripheralsCommunication 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 (I2C) ü ü
Serial Peripheral Interface (SPI) ü ü
Integrated IC Sound (I2S) X ü
Master Synchronous Serial Port (MSSP) ü ü
Data Converter Interface (DCI) X ü
Parallel Master Port ü ü
KeeLoq® Sub-GHz RF ü–
External Sub-GHz Transceiver
![Page 5: Mapping Peripheral Capabilities When Migrating …ww1.microchip.com/downloads/en/DeviceDoc/Mapping... Peripherals Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit](https://reader035.vdocuments.site/reader035/viewer/2022071004/5fc1434a61349f30da58f5b7/html5/thumbnails/5.jpg)
www.microchip.com
User Interface PeripheralsUser Interface Peripherals: enabling impactful touch sensing and LCD control of displays.
User Interface Peripherals PIC16/PIC18 PIC24/dsPIC33
Touch Peripherals ü CVD
ü CTMU
LCD Controller (LCD) ü ü
Graphics Controller (GFX) – ü
Low Power and System Flexibility PeripheralsLow 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