...the world's most energy friendly microcontrollers
2014-07-02 - Tiny Gecko Family - d0034_Rev1.20
447
www.silabs.com
26.3.2.3 Inverting input PGA
Figure 26.5 (p. 447) shows the inverting input PGA configuration. In this mode the negative
input is connected to the resistor ladder by setting the OPAxNEGSEL bit-field to OPATAP in the
DACn_OPAxMUX register. This setting provides a programmable gain on the negative input, which
can be set by choosing the wanted gain value in the RESSEL bit-field in DACn_OPAxMUX. Signal
ground for the positive input can be generated off-chip through the pad by setting OPAxPOSSEL bit-
field to PAD in DACn_OPAxMUX. In addition the output is configured by the OUTPEN bit-field, located
in DACn_OPAxMUX.
Figure 26.5. Inverting input PGA Overview
VOUT
VOUT= - (VIN- POS) R2/ R1 + POS
R1
R2
POS
-
+
VIN
Table 26.3. Inverting input PGA Configuration
OPA bit-fields
OPA Configuration
OPAx POSSEL
POSPADx
OPAx NEGSEL
OPATAP
OPAx RESINMUX
NEXTOUT, NEGPADx, POSPADx
26.3.2.4 Non-inverting PGA
Figure 26.6 (p. 447) shows the non-inverting input configuration. In this mode the negative input is
connected to the resistor ladder by setting the OPAxNEGSEL bit-field to OPATAP in DACn_OPAxMUX.
This setting provides a programmable gain on the negative input, which can be set by choosing the
wanted gain value in the RESSEL bit-field in DACn_OPAxMUX. In addition the OPAxRESINMUX
bit-field must be set to VSS or NEGPAD in DACn_OPAxMUX. The positive input is selected by
the OPAxPOSSEL bit-field, and the output is configured by the OUTPEN bit-field, both located in
DACn_OPAxMUX.
Figure 26.6. Non-inverting PGA Overview
R1
R2
VIN
-
+
VOUT
VOUT= VIN(1+ R2/ R1)
Table 26.4. Non-inverting PGA Configuration
OPA bit-fields
OPA Configuration
OPAx POSSEL
NEXTOUT, POSPADx
OPAx NEGSEL
OPATAP
OPAx RESINMUX
VSS, NEGPAD
Summary of Contents for EFM32TG
Page 543: ......