5 Related Peripherals and Features

The PIC16F, PIC18F, and PIC32CM MCUs share peripherals that support a wide range of embedded applications. Although their architecture and implementation might vary, the peripherals mentioned in the table below are typically present in both families.

Table 5-1. PIC16F, PIC18F, and PIC32CM Common Peripherals
Peripheral TypeDescription
Clock SystemInternal/external oscillators, clock prescalers
Nonvolatile Memory (NVM)Nonvolatile memory for data storage
Power ManagementSleep modes, low-power operation
Reset ControllerManages device reset operations
Interrupt ControllerHandles external and internal interrupt sources
GPIO/PORTGeneral-purpose digital input/output pins
Direct Memory Access (DMA)High-speed data transfers
Timers/Counters8/16/32-bit timers for timing, PWM, input capture, etc.
Real-Time Counter (RTC)Timekeeping, periodic interrupts, low-power wake-up
Analog-to-Digital Converter (ADC)Analog-to-digital conversion for sensor interfacing
Digital-to-Analog Converter (DAC)Digital-to-analog conversion for internal voltage references
Analog Comparator (CMP/AC)Compare analog voltages and threshold detection
Voltage Reference (VREF)Programmable voltage references to analog peripherals
Configurable Logic Cell (CLC)/Configurable Custom Logic (CCL)Programmable logic peripheral
Universal Synchronous Asynchronous Receiver Transmitter (USART)Serial communication (asynchronous/synchronous)
Serial Peripheral Interface (SPI)Synchronous serial host/client peripheral interface
Inter-Integrated Circuit (I2C)Two-wire host/client serial communication
Brown-Out Detector/Rest (BOD/BOR)Monitors supply voltage, triggers a reset on low voltage
Watchdog Timer (WDT)System monitoring and recovery from software faults
Temperature SensorOn-chip temperature monitoring
Cyclic Redundancy Check (CRC)Verification for data integrity

Some PIC16F, PIC18F, and PIC32CM families also share application-specific peripherals.

Table 5-2. PIC16F, PIC18F, and PIC32CM Application-Specific Peripherals
Peripheral TypeDescription/Typical Use
Complementary Output/Waveform Generators (COG/CWG)/Waveform ExtensionsAdvanced waveform control for motor control, power, and so on
Op ampsOperational amplifiers for analog signal conditioning
TouchCapacitive touch sensing
USBUSB 2.0 device support
CANCAN 2.0 and CAN FD support

The following sections describe the similarities and differences of related peripherals between PIC16F, PIC18F, and PIC32CM MCUs.