GD32F10x User Manual
238
12.3.7.
DAC output calculate
The output voltage on the DAC pin is determined by the following equation:
V
DAC_out
= V
REF+
∗ DAC_DO/4096
(12-1)
The digital input is linearly converted to an analog output voltage, its range is 0 to V
REF+
.
12.3.8.
DMA function
When the external trigger is enabled, the DMA request can be enabled by setting the
DDMAENx bit of the DAC_CTL register. When an external hardware trigger (not a software
trigger) occurs ,a DMA request will be generated by DAC.
12.3.9.
DAC concurrent conversion
In order to maximize the utilization of the bus bandwidth, we can make the two DACs work at
the same time using concurrent mode. In this mode, the data transfer (DACx_DH to
DACx_DO) of two DACs is performing at the same time.
There are three concurrent registers that can be used to load the DACx_DH value:
DACC_R8DH, DACC_R12DH and DACC_L12DH. One of the three registers needs to be
configured for driving two DACs at the same time.
When external trigger is enabled, DTENx bit of two DACs must be set both. DTSEL0 and
DTSEL1 bits should be configured with the same value.
When DMA is enabled, only one of the DDMAENx bit should be set.
The noise mode and noise bit width can be configured either the same or different, depending
on the application scenario.
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...