...the world's most energy friendly microcontrollers
2014-07-02 - Tiny Gecko Family - d0034_Rev1.20
445
www.silabs.com
Figure 26.3. Opamp Output Stage Overview
-
+
OPA0
OPA0
out put
MAIN/ ALL
OPA0 Alt ernat ive
out put net work
A
L
T
/
A
L
L
OUT0
OUT1
OUT2
OUT3
OUT4
NEXTOUT
OPA0 Main out put
ADC CH0
input m ux
-
+
OPA1
OPA1
out put
MAIN/ ALL
OPA1 Alt ernat ive
out put net work
A
L
T
/
A
L
L
OUT0
OUT1
OUT2
OUT3
OUT4
NEXTOUT
OPA1 Main out put
ADC CH1
input m ux
-
+
OPA2
OPA2
out put
OUT0
OUT1
OPA2 Main out put s
ADC CH5
input m ux
ADC CH0
input m ux
MAIN
The alternative output network consists of connections to pins, ADC, and a connection to the next opamp
(OPA0 to OPA1, and OPA1 to OPA2). The connections to pins can be individually enabled by configuring
OUTPEN in DACn_OPAxMUX register. To enable cascaded opamp configurations, each opamp has a
NEXTOUT connection. This output makes it possible to connect OPA0 to OPA1, and OPA1 to OPA2.
This output connection is enabled by setting NEXTOUT in DACn_OPAxMUX.
The opamps can also be routed to the ADC. OPA0 can be connected to ADC CH0, OPA1 to ADC CH1
and OPA2 can be connected to both ADC CH1 and CH5. The ADC connections are created by routing
the OPA output by setting corresponding bits in OUTPEN in DACn_OPAxMUX. For OPA0 alternative
output 4 is connected to ADC input mux CH0 when enabled. OPA1's alternative output 4 is connected
to ADC input mux CH1 when enabled. For OPA2, the two main outputs can be connected to ADC input
mux CH0 and ADC input mux CH5 respectively when enabled. See Section 24.3.4 (p. 401) , in the ADC
chapter for information on how to configure the ADC input mux.
26.3.1.3 Gain Programming
The feedback path of each mux includes a resistor ladder, which can be used to select a set of gain
values. The gain can be selected by the RESSEL bit-field located in DACn_OPAxMUX register. The
gain values are taken from tappings of the resistor ladder based on ratio of R2/R1. It is also possible to
bypass the resistor ladder in Unity Gain (UG) mode.
26.3.1.4 Offset Calibration
The offset calibration registers are located in different registers for the opamps. OPA0 and OPA1's offset
can be set through the CH0OFFSET and CH1OFFSET bit-fields respectively in DACn_CAL. The offset
for OPA2 can be set through OPA2OFFSET in DACn_OPAOFFSET.
26.3.1.5 Shorting Non-inverting and Inverting Input
Functionality for offset calibration of the opamps has been added, this functionality is enabled by
setting the OPAxSHORT bit-field in DACn_OPAxCTRL. Setting this bit-field enables a switch that shorts
between the inverting and non-inverting input of the OPA, effectively driving the offset voltage of the
opamp to the output. Using the ADC to measure this offset, the calibration register can be adjusted to
minimize the output offset.
26.3.1.6 Low Pass Filter
The low pass filter is located between the pad and the positive input. The low-pass filter is designed to
couple the input signal to local VSS for high frequencies and has a 3 dB frequency of approximately 130
Summary of Contents for EFM32TG
Page 543: ......