249
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
DAC_SOTTR.TRxEN = 1 can enable the DAC software trigger. When the DAC is triggered by the software, the
data of the aligned data hold register will be transmitted to the DAC_DATOx register.
Note:
1. Do not change the DAC_CTRL.TxSEL[2:0] bit when the DAC is enabled.
2. It takes 1 APB1 clock cycle for the data of the aligned data holding register to be transferred to the DAC_DATOx
register when triggered by software..
10.3.5
DAC conversion
If DAC trigger is on, the data in the DAC alignment data hold register will be transferred to the DAC_DATOx register
after three APB1 cycles according to the selected trigger event when the hardware trigger occurs. When the software
trigger occurs, the data in the DAC alignment data hold register is transferred to the DAC_DATOx register after one
APB1 cycle..
After the DAC transfers data to the DAC_DATOx register from its data hold register, the output is valid for the time
t
SETTTLING
, which is related to the supply voltage and the analog output load.
Figure 10-4 Time diagram of transitions with trigger disabled
10.3.6
DAC output voltage
The digital input is converted to analog voltage output by a DAC module in a linear relationship ranging from 0 to
V
REF+
.The output voltage of DAC is calculated as follows:
DAC output = V
REF
X (DATO / 4095).
APB1_CLK
DACCHxD
DATOx
0x10B
0x10B
t
SETTLING
DACx_OUT