Figure 75. Dac Lfsr Register Calculation Algorithm; Figure 76. Dac Conversion (Sw Trigger Enabled) With Lfsr Wave Generation - STMicroelectronics STM32WLEx Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0461
XOR
X
The LFSR value, that may be masked partially or totally by means of the MAMP1[3:0] bits in
the DAC_CR register, is added up to the DAC_DHR1 contents without overflow and this
value is then transferred into the DAC_DOR1 register.
If LFSR is 0x0000, a '1 is injected into it (antilock-up mechanism).
It is possible to reset LFSR wave generation by resetting the WAVE1[1:0] bits.

Figure 76. DAC conversion (SW trigger enabled) with LFSR wave generation

dac_pclk
DHR
DOR
SWTRIG
Note:
The DAC trigger must be enabled for noise generation by setting the TEN1 bit in the
DAC_CR register.

Figure 75. DAC LFSR register calculation algorithm

12
11
10
9
0x00
6
X
8
7
6
5
12
NOR
0xAAA
RM0461 Rev 5
Digital-to-analog converter (DAC)
4
X
X
4
3
2
1
0xD55
0
X
0
ai14713c
MS45320V1
493/1306
512

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WLEx and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents