5.4.2 Digital-to-Analog Converter (DAC)

AVR and PIC32CM DAC peripherals generate analog voltages from digital values. The DAC features high drive capabilities, the ability to route DAC output to other internal analog peripherals (like comparators), and support for real-time analog signal generation. These DACs are suitable for applications such as waveform generation, audio output, and analog control.

Some PIC32CM device families have 12-bit DAC controllers with higher speed, dual-channel, and differential output options. Table 5-15 shows a comparison of features between AVR and PIC32CM.

Table 5-15. AVR® and PIC32CM DAC Features
FeatureAVR® DACPIC32CM DAC (10-bit/12-bit)
Resolution10-bit

10-bit

12-bit (16-bit with dithering)

Max Conversion RateUp to 350 ksps

10-bit: Up to 350 ksps

12-bit: Up to 1 Msps

Number of ChannelsOne

10-bit: One

12-bit: Two (independent) or one (differential mode)

Output RangeGND to selected VREFGND to selected VREF
Trigger SourcesEnable Bit

Enable Bit

Event-driven

Internal RoutingOutput can be used by other analog blocksOutput can be used by other analog blocks