Information
DACx_C1 field descriptions (continued)
Field Description
01 2 words
10 3 words
11 4 words
2–1
DACBFMD
DAC buffer work mode select
00 Normal Mode
01 Swing Mode
10 One-Time Scan Mode
11 Reserved
0
DACBFEN
DAC buffer enable
0 Buffer read pointer disabled. The converted data is always the first word of the buffer.
1 Buffer read pointer enabled. The converted data is the word that the read pointer points to. It means
converted data can be from any word of the buffer.
34.4.6 DAC Control Register 2 (DACx_C2)
Addresses: DAC0_C2 is 400C_C000h base + 23h offset = 400C_C023h
Bit 7 6 5 4 3 2 1 0
Read
DACBFRP DACBFUP
Write
Reset
0 0 0 0 1 1 1 1
DACx_C2 field descriptions
Field Description
7–4
DACBFRP
DAC buffer read pointer
These 4 bits keep the current value of the buffer read pointer.
3–0
DACBFUP
DAC buffer upper limit
These 4 bits select the buffer's upper limit. The buffer read pointer cannot exceed it.
34.5 Functional Description
The 12-bit DAC module can select one of the two reference inputs — DACREF_1 and
DACREF_2 as the DAC reference voltage (V
in
) by DACRFS bit of C0 register. Refer to
the module introduction for information on the source for DACREF_1 and DACREF_2.
When the DAC is enabled, it converts the data in DACDAT0[11:0] or the data from the
DAC data buffer to a stepped analog output voltage. The output voltage range is from
V
in
/4096 to V
in
, and the step is V
in
/4096.
Functional Description
K20 Sub-Family Reference Manual, Rev. 6, Nov 2011
812 Freescale Semiconductor, Inc.
