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.
| Peripheral Type | Description |
|---|---|
| Clock System | Internal/external oscillators, clock prescalers |
| Nonvolatile Memory (NVM) | Nonvolatile memory for data storage |
| Power Management | Sleep modes, low-power operation |
| Reset Controller | Manages device reset operations |
| Interrupt Controller | Handles external and internal interrupt sources |
| GPIO/PORT | General-purpose digital input/output pins |
| Direct Memory Access (DMA) | High-speed data transfers |
| Event Systems | Peripheral event generation and response |
| Timers/Counters | 8/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 Sensor | On-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).
| Peripheral Type | Description/Typical Use |
|---|---|
| Waveform Extensions | Advanced waveform control for motor control, power, etc. |
| Op Amps | Operational amplifiers for analog signal conditioning |
| Touch | Capacitive touch sensing |
| USB | USB 2.0 device support |
| CAN | CAN 2.0 and CAN FD support |
The following sections discuss the similarities and differences of related peripherals in AVR and PIC32CM MCUs.
