Datasheet

ADuC7124/ADuC7126 Data Sheet
Rev. C | Page 52 of 108
09123-024
AV
DD
AV
DD
– 100mV
100mV
0x00000000 0x0FFF0000
Figure 42. Endpoint Nonlinearities Due to Amplifier Saturation
The endpoint nonlinearities conceptually illustrated in Figure 42
becomes worse as a function of output loading. Most of the
ADuC7124/ADuC7126 data sheet specifications assume a 5 kΩ
resistive load to ground at the DAC output. As the output is
forced to source or sink more current, the nonlinear regions at
the top or bottom (respectively) of Figure 42 become larger.
With larger current demands, this can significantly limit output
voltage swing.
References to ADC and the DACs
The ADC and DACs can be configured to use the internal V
REF
or an external reference as a reference source. The internal V
REF
must work with an external 0.47 µF capacitor.
Table 66. Reference Source Selection for the ADC and DACs
REFCON[0] DACxCON[1:0] Description
0 00
ADC works with an external
reference. DACs are powered
down.
0 01
ADC works with an external
reference. DAC works with
DAC
REF
.
0 10 Reserved.
0 11
ADC works with an external
reference. DACs work with
internal AV
DD
.
1 00
ADC works with an internal V
REF
.
DACs are powered down.
1 01
ADC works with an external
reference. DACs work with
DAC
REF
.
1 10
ADC and DACs work with an
internal V
REF
.
1 11
ADC works with an internal V
REF
.
DACs work with an internal
AV
DD
.
Note that if REFCON[1] = 1, the internal V
REF
powers down
and the ADC cannot use the internal V
REF
.
Configuring DAC Buffers in Op Amp Mode
In op amp mode, the DAC output buffers are used as an op amp
with the DAC itself disabled.
If DACBCFG Bit 0 is set, ADC0 is the positive input to the op
amp, ADC1 is the negative input, and DAC0 is the output. In
this mode, the DAC should be powered down by clearing Bit 0
and Bit 1 of DAC0CON.
If DACBCFG Bit 1 is set, ADC2 is the positive input to the op
amp, ADC3 is the negative input, and DAC1 is the output. In
this mode, the DAC should be powered down by clearing Bit 0
and Bit 1 of DAC1CON.
If DACBCFG Bit 2 is set, ADC4 is the positive input to the op
amp, ADC5 is the negative input, and DAC2 is the output. In
this mode, the DAC should be powered down by clearing Bit 0
and Bit 1 of DAC2CON.
If DACBCFG Bit 3 is set, ADC8 is the positive input to the op
amp, ADC9 is the negative input, and DAC3 is the output. In
this mode, the DAC should be powered down by clearing Bit 0
and Bit 1 of DAC3CON.
DACBCFG Register
Name: DACBCFG
Address: 0xFFFF0654
Default Value: 0x00
Access: Read/write
Table 67. DACBCFG MMR Bit Descriptions
Bit Description
[7:4] Reserved. Always set to 0.
3
Set this bit to 1 to configure the DAC3 output
buffer in op amp mode.
Clear this bit for the DAC buffer to operate as
normal.
2
Set this bit to 1 to configure the DAC2 output
buffer in op amp mode.
Clear this bit for the DAC buffer to operate as
normal.
1
Set this bit to 1 to configure the DAC1 output
buffer in op amp mode.
Clear this bit for the DAC buffer to operate as
normal.
0
Set this bit to 1 to configure the DAC0 output
buffer in op amp mode.
Clear this bit for the DAC buffer to operate as
normal.
The DACBCFG write sequence is as follows:
1. Write Code 0x9A to Register DACBKEY1.
2. Write user value to Register DACBCFG.
3. Write Code 0x0C to Register DACBKEY2.