SAM L10/L11 Digital-to-Analog Converter (DAC)

Digital-to-Analog Converter (DAC)


The Digital-to-Analog Converter (DAC) converts a digital value to a voltage. The DAC has one channel with 10-bit resolution and it is capable of converting up to 350,000 samples per second (350 ksps).


  • DAC with 10-bit resolution
  • Up to 350 ksps conversion rate
  • Hardware support for 14-bit using dithering
  • Multiple trigger sources
  • High-drive capabilities
  • Output can be used as input to the Analog Comparator (AC), Analog-to-Digital Converter (ADC), and Operational Amplifier Controller (OPAMP)
  • Direct Memory Access (DMA) support

Block Diagram


Principle of Operation

Using the DAC Controller’s I/O lines requires the I/O pins to be configured using the IO Pin Controller (PORT).

The DAC has one output pin (VOUT) and one analog input pin (VREFA) that must be configured first. When internal input is used, it must be enabled before the DAC Controller is enabled.

The DAC bus clock (CLK_DAC_APB) can be enabled and disabled by the Main Clock module, and the default state of CLK_DAC_APB can be found in the Peripheral Clock Masking section. A generic clock (GCLK_DAC) is required to clock the DAC Controller. This clock must be configured and enabled in the Generic Clock Controller before using the DAC Controller. Refer to GCLK – Generic Clock Controller for details. This generic clock is asynchronous to the bus clock (CLK_DAC_APB). Due to this asynchronicity, writes to certain registers will require synchronization between the clock domains.

The DMA request line is connected to the DMA Controller (DMAC). Using the DAC Controller, DMA requests requires to configure the DMAC first. The interrupt request line is connected to the interrupt controller. Using the DAC Controller interrupt(s) requires the interrupt controller to be configured first.

The DAC converts the digital value located in the data register (DATA) into an analog voltage on the DAC output (VOUT). A conversion is started when new data is written to the data register. The resulting voltage is available on the DAC output after the conversion time. A conversion can also be started by input events from the Event System.

Refer to the "DAC – Digital-to-Analog Converter, Functional Description" from the product data sheet for more details.

© 2019 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.