RM0351
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
Figure 144. PGA mode, internal gain setting (x2/x4/x8/x16), inverting input not used
DocID024597 Rev 3
Operational amplifiers (OPAMP)
divided by the selected gain.
DDA
593/1693
602
Need help?
Do you have a question about the STM32L4x6 and is the answer not in the manual?
Questions and answers