English
Language : 

EFM32WG Datasheet, PDF (727/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
Figure 30.2. OPAMP Overview
POS0
NEG0
PPEN
NPEN
NEXTOUT0
POSPAD
POSSEL[ 2:0]
NEXTOUT0
OPA0 TAP
+
OPA0
-
NEGPAD
OPA0 TAP
NEGSEL[ 1:0]
Unit y gain
R1
R2
POS1
NEG1
PPEN
VSS
RESINMUX[ 3:0]
POSPAD
POSSEL[ 2:0]
NEXTOUT0
OPA1 TAP
+
OPA1
-
NPEN
NEGPAD
OPA1 TAP
NEGSEL[ 1:0]
Unit y gain
R1
R2
NEXTOUT0
VSS
RESINMUX[ 3:0]
...the world's most energy friendly microcontrollers
Main output
Alternative output network
NEXTOUT0
POS2
PPEN
NEG2
NPEN
Main output
Alternative output network
NEXTOUT1
NEXTOUT1
POSPAD
POSSEL[ 2:0]
NEXTOUT1
OPA0 TAP
+
OPA2
-
NEGPAD
OPA2 TAP
NEGSEL[ 1:0]
Unit y gain
R1
R2
VSS
RESINMUX[ 3:0]
Main output
30.3.1 Opamp Configuration
Since two of the three opamps (OPA0, OPA1) are part of the DAC, the opamp configuration registers
are located in the DAC. The mux registers for OPA0/OPA1 together with OPA2 registers are separate
registers, also located under the DAC module. OPA0 and OPA1 can be enabled by setting OPAxEN
in DACn_OPACTRL and CHxEN in CHxCTRL. OPA2 can be enabled by only setting OPA2EN in
DACn_OPACTRL.
30.3.1.1 Input Configuration
The inputs to the opamps are controlled through a set of input muxes. The mux connected to the
positive input is configured by the POSSEL bit-field in the DACn_OPAxMUX register. Similarly, the mux
connected to the negative input is configured by setting the NEGSEL bit-field in DACn_OPAxMUX. To
connect the pins to the input muxes, the pin switches must also be enabled. Setting the PPEN bit-
field enables to POSPADx, while setting the NPEN bit-field enables the NEGPADx, both located in
DACn_OPAxMUX. The input into the resistor ladder can be configured by setting the RESINMUX bit-
field in DACn_OPAxMUX.
30.3.1.2 Output Configuration
The opamp have two outputs, one main output and one alternative output with lower drive strength.
These two outputs can be used to drive the different outputs as shown in Figure 30.3 (p. 728) . The main
opamp output can be used to drive the main output by setting OUTMODE to MAIN in DACn_OPAxMUX.
The alternative opamp output can drive the alternative output network by setting OUTMODE to ALT in
DACn_OPAxMUX. In addition, it is also possible to use the main opamp output to drive both the main
output and the alternative output network by setting OUTMODE to ALL in DACn_OPAxMUX.
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
727
www.energymicro.com