5.4.1 Analog-to-Digital Converter (ADC)
AVR and PIC32CM MCUs provide Successive Approximation Register (SAR) ADC peripherals. ADCs convert analog signals to digital values, supporting a range of resolutions and input channels. All ADCs offer features suitable for applications requiring sensor interfacing, analog signal monitoring, and precise measurement.
Some PIC32CM device families also provide Sigma-Delta ADCs (SDADC), which are slower but offer higher resolution and better noise performance for precision applications.
Table 5-14 shows a comparison of features between AVR and PIC32CM.
| Feature | AVR® ADC | PIC32CM ADC |
|---|---|---|
| Variants |
Standard ADC ADC with Programmable Gain Amplifier (PGA) |
Standard ADC Sigma-Delta ADC |
| Resolution | 10-bit, 12-bit |
8, 10, or 12-bit SDADC: 16-bit |
| Max Sampling Rate | Up to 130 ksps (300 w/ PGA) |
Up to 4.5 Msps SDADC: Up to 1.5 Msps |
| Input Channels | Up to 28, varies per device | Up to 32, varies per device |
| Differential Inputs | Supported | Supported |
| Programmable Gain |
Supported in some device families 1x to 16x | 1/2x to 16x |
| Reference Options | Internal/External | Internal/ External |
| Internal Inputs |
Temperature sensor VREF DAC |
Varies per device family: Temperature sensor Band gap VREF DAC Scaled supplies |
| Accumulation | Up to 128 (1024 with PGA) | Up to 1024 |
| Window Comparator | Supported | Supported |
| Event Triggering | Supported | Supported |
| Conversion Modes |
Single/Free-Running Burst Series (with PGA) | Single/Free-Running |
| Interrupts | Supported | Supported |
| Low-Power Operation | Supported | Supported |
