DocID024597 Rev 3 593/1693
RM0351 Operational amplifiers (OPAMP)
602
Programmable Gain Amplifier mode
The procedure to use the OPAMP to amplify the amplitude of an input signal is
presented hereafter.
• configure OPAMODE bits as “internal PGA enabled”,
• configure PGA_GAIN bits as “internal PGA Gain 2, 4, 8 or 16”,
• configure VM_SEL bits as “inverting not externally connected”,
• configure VP_SEL bits as “GPIO connected to VINP”.
As soon as the OPAEN bit is set, the signal on pin OPAMP_VINP is amplified by the
selected gain and visible on pin OPAMP_VOUT.
Note: To avoid saturation, the input voltage should stay below V
DDA
divided by the selected gain.
Figure 144. PGA mode, internal gain setting (x2/x4/x8/x16), inverting input not used
069
670
*3,2
'$&B287
*3,2
$'&
$OZD\VFRQQHFWHGWR
23$03RXWSXWFDQEH
XVHGGXULQJGHEXJ