16-bit PIC® MCU Peripherals

Last modified by Microchip on 2023/11/10 11:07

Every 16-bit PIC® MCU or dsPIC® Digital Signal Controller (DSC) is equipped with a variety of hardware peripherals. Having an understanding of the peripheral's operations and details on their functional use can be helpful for application designers. The following table contains a list of peripherals available on the latest 16-bit PIC MCU devices. We have provided links in the Peripheral Index section of this page to descriptions of the operation and use of the peripherals as well as sample code.

MPLAB® Code Configurator (MCC) can help produce peripheral initialization code for 8-bit and 16-bit devices.

Summary of Peripherals Included in Each PIC24 Family

Peripheral Index

Digital I/O
I/O PortsDigital Input and Output Pins
Intelligent Analog
ADC: Analog-to-Digital ConverterGeneral-purpose ADC with up to 10/12/16-bit resolution
HS ADC: High-speed Analog-to-
Digital Converter
High-speed SAR ADC with 12-bit resolution and sampling speeds of 10 Msps
Delta Sigma ADCBipolar differential inputs configurable gain integrated PGA Delta Sigma ADC
DAC Digtal-to-Analog ConverterGeneral-purpose DAC with up to 16 bits of resolution.
CVref Internal Voltage ReferenceProgrammable voltage reference with multiple internal and external connections.
HS Comp: High-Speed ComparatorGeneral-purpose comparator with <1 ns response time
OPA: Operational AmplifierGeneral-purpose op-amp for internal and external signal source conditioning
Waveform Control
CCP/ECCP
(Enhanced) Capture/Compare/PWM
Multi-purpose timers with functionality of comparable input capture,
output compare, and PWM with four outputs.
SCCP: Single
Capture/Compare/PWM
Multi-purpose 16-/32-bit input capture, output compare, PWM
MCCP: Multiple _ Capture/Compare/PWMMulti-purpose 16-/32-bit input capture, output compare, PWM with up to six outputs and an extended range of output control features.
PWM Pulse Width Modulation16-bit PWM with up to nine independent time bases
MC PWM
Motor Control PWM
16-bit motor control PWM with multiple synchronized pulse-width modulation, up to six outputs with four duty cycle generators with resolutions down to 1 ns
SMPS PWM
Power Supply PWM
Power Supply PWM with multiple synchronize pulse-width modulation, up eight outputs with four independent times bases with resolution down to 1 ns
Input CaptureInput capture with an independent timer base to capture external events
Output CompareOutput compare with an independent time base to compare the value with compare registers and generate an output pulse, or train of pulses, on a compare match event.
Timing and Measurement
8-/16-/32-bit TimersGeneral-purpose timer/counters with compare capability
RTCC:
Real-Time Clock/Calendar
Real-time clock and calendar with a binary coded decimal (BCD) clock calendar to maintain accurate timing with an external 32.768 kHz crystal
QEI:
Quadrature Encoder Interface
Quadrature encoder interface to increment encoders for obtaining mechanical position data
Safety and Monitoring
LVD
Low Voltage Detection
LVD detects drops in system voltages. Useful for battery applications.
WDT: Watch Dog TimerSupervisory circuit that generates a reset when software timing sequence anomalies arise.
DMT: Dead Man TimerSupervisory circuit that generates a reset when instruction sequence anomalies arise.
CRC:
Cyclical Redundancy Check
Automatically calculates CRC checksum for either Progam/EEPROM
memory or a communications packet.
Class B SafetyHardware Class B support with Flash error correction, backup system oscillator, WDT, DMT, CRC, etc..
Communications
USB: Universal Serial BusUSB 2.0 full-speed host, device and OTG peripheral
CAN: Controller Area NetworkIndustrial and Automotive-centric communications bus.
UARTFull-duplex, 8- or 9-bit serial data communications peripheral
LIN: Local Interconnect NetworkAutomotive and Industrial communications bus.
IrDA Infrared Data AssociationIrDA® encoder and decoder using UART
I²C: Inter-Integrated Circuit2-wire industry-standard interface
SPI: Serial Peripheral Interface4-wire industry-standard communication interface
I²S: Data Converter Interface3-wire synchronous half-duplex serial interface to handle the stereo data
Parallel PortGeneral-purpose parallel communication interface
User Interface
CTMUCharge Time Measurement Unit - for capacitive touch
LCD Controller
GFX: Graphics ControllerController for Raster Graphics processing
Secure Data
Cryptographic EngineIndependent NIST-standard encryption and decryption engine
Secure Key StorageMultiple options for key storage, selection, and management
RNG: Random Number GeneratorHardware true random number generation
System Flexibility & Power Management
Dual Partition FlashDual partition Flash operation, allowing the support of robust bootloader systems and fail-safe storage of application code, with options designed to enhance code security
CLC: Configurable Logic CellIntegrated combinational and sequential logic with custom interconnection and re-routing of digital peripherals
PPS: Peripheral Pin SelectI/O pin remapping of digital peripherals for greater design flexibility and improved EMI board layout
PTG: Peripheral Trigger GeneratorUser-programmable sequencer, capable of generating complex trigger signal sequences to coordinate the operation of other peripherals
DMA: Direct Memory AccessDirect memory access for transfer of data between the CPU and its peripherals without CPU assistance
Sleep, Idle, and PMDLow-power saving modes
DOZE modeAbility to run the CPU core slower than the system clock used by the internal peripherals
XLP: eXtreme Low Power TechnologyXLP technology devices with extreme low-power operation modes for battery/low-power applications
VbatHardware-based power mode that maintains only the most critical operations when a power loss occurs on Vdd