GD32F30x User Manual
261
13. Digital-to-analog converter (DAC)
13.1. Introduction
The Digital-to-analog converter converts 12-bit digital data to a voltage on the external pins.
The digital data can be configured in 8-bit or 12-bit mode, left-aligned or right-aligned mode.
DMA can be used to update the digital data on external triggers. The output voltage can be
optionally buffered for higher drive capability.
The two DACs can work independently or concurrently.
13.2. Characteristics
DAC’s main features are as follows:
◼ 8-bit or 12-bit resolution. Right or left data alignment.
◼ DMA support.
◼ Conversion update synchronously.
◼ Conversion triggered by external triggers.
◼ Configurable internal buffer.
◼ extern voltage reference, VREF+.
◼ Noise wave (LFSR noise mode and Triangle noise mode).
◼ Two DACs in concurrent mode.
Figure 13-1. DAC block diagram shows the block diagram of DAC and Table 13-1. DAC I/O
description gives the pin description.