5 Related Peripherals and Features

AVR and PIC32CM MCUs share peripherals that support a wide range of embedded applications. While architecture and implementation may differ, the peripherals listed in Table 5-1 are commonly found in both families.

Table 5-1. AVR® 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
Event SystemsPeripheral event generation and response
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 (AC)Compare analog voltages and threshold detection.
Voltage Reference (VREF)Programmable voltage references to analog peripherals
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 Interface (TWI)Two-wire host/client serial communication
Brown-Out Detector/Reset (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 AVR and PIC32CM families also share application-specific peripherals (see Table 5-2).

Table 5-2. AVR® and PIC32CM Application-Specific Peripherals
Peripheral TypeDescription/Typical Use
Waveform ExtensionsAdvanced waveform control for motor control, power, etc.
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 discuss the similarities and differences of related peripherals in AVR and PIC32CM MCUs.