
GD32F10x User Manual
237
12.3.6.
DAC noise wave
There are two methods to add noise wave to the DAC output signal: LFSR noise wave mode
and Triangle wave mode. The noise wave mode can be selected by the DWMx bits in the
DAC_CTL register. The amplitude of the noise can be configured by the DAC noise wave bit
width (DWBWx) bits in the DAC_CTL register.
LFSR noise wave mode: there is a Linear Feedback Shift Register (LFSR) in the DAC control
logic, it controls the LFSR noise signal which is added to the DACx_DH value. When the
configured DAC noise wave bit width is less than 12, the noise signal equals to the LSB
DWBWx bits of the LFSR register, while the MSB bits are masked.
Figure 12-2. DAC LFSR algorithm
9
7
8
6
5
4
3
2
1
11
10
0
X
6
X
0
X
4
X
XOR
X
12
NOR
12
Triangle noise mode: in this mode, a triangle signal is added to the DACx_DH value. The
minimum value of the triangle signal is 0, while the maximum value of the triangle signal is (2
<< DWBWx) - 1.
Figure 12-3. DAC triangle noise wave
(2<<DWBWx)-1
DACx_DH value
Содержание 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 ...