www.microchip.com Peripherals Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit PIC ® MCUs Peripheral Categories Integrated Analog Sensor Interfacing and Signal Conditioning Waveform Control PWM Drive and Waveform Generation Safety and Monitoring Hardware Monitoring, Fault Detection and Robust Operation Wired Communication Range of Communication: UART, SPI, USB and CAN FD Clock and Timers Signal Measurement with Timing and Counter Control User Interface Integrated Segmented LCD Control and Touch Sensing Secure Data Integrated Cryptographic Engine Low Power eXtreme Low Power (XLP) and System Flexiblity Summary When migrating from one PIC ® microcontroller (MCU) family to another, you get to stay within the same MPLAB ® ecosystem and MPLAB Code Configurator to minimize your learning curve and speed your application development. The PIC MCU families include flexible, integrated peripherals that allow for fast system response time. The core independent peripherals offload 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. I N T E G R A T I O N F L E X I B I L I T Y E A S Y M I G R A T I O N E A S E O F U S E I N T E L L I G E N C E Flexible, Integrated Peripherals
5
Embed
Mapping Peripheral Capabilities When Migrating …ww1.microchip.com/downloads/en/DeviceDoc/Mapping... Peripherals Mapping Peripheral Capabilities When Migrating From 8-bit to 16-bit
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
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
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
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
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 ü ü
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
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