EasyManua.ls Logo

ST STM32G431 User Manual

ST STM32G431
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #793 background imageLoading...
Page #793 background image
RM0440 Rev 4 793/2126
RM0440 Operational amplifiers (OPAMP)
829
Programmable gain amplifier, non-inverting with external bias
or inverting mode
The procedure to use the OPAMP to amplify the amplitude of an input signal with bias
voltage for non-inverting mode or inverting mode.
configure VM_SEL bits as “Feedback resistor is connected to OPAMPx_VINM input”,
10
configure PGA_GAIN bits as “Inverting gain = -1, -3, -7, -15, -31, -63 / Non-inverting
gain =2, 4, 8, 16, 32, 64 with VINM0”, 01000 to 01101
configure VP_SEL bits as “GPIO connected to OPAMPx_VINP”.
Figure 175. PGA mode, non-inverting gain setting (x2/x4/x8/x16/x32/x64)
or inverting gain setting (x-1/x-3/x-7/x-15/x-31/x-63)
Programmable gain amplifier, non-inverting with external bias
or inverting mode with filtering
The procedure to use the OPAMP to amplify the amplitude of an input signal with bias
voltage for non-inverting mode or inverting mode with filtering
configure VM_SEL bits as “Feedback resistor is connected to OPAMPx_VINM input”,
10
configure PGA_GAIN bits as “Inverting gain = -1, -3, -7, -15, -31, -63 / Non-inverting
gain = 2, 4, 8, 16, 32, 64 with VINM0, VINM1 pin for filtering”, 11000 to 11101
configure VP_SEL bits as “GPIO connected to OPAMPx_VINP”.
Any external connection on VINM1 can be used in parallel with the internal PGA, for
example a capacitor can be connected between opamp_out and VINM1 for filtering
purpose (see datasheet for the value of resistors used in the PGA resistor network).
STM32
+
-
VINM0
MSv48043V1
VOUT
VINP3 or DACx_CHy
VINP2
VINP1
VINP0
1. opamp_out can be redirected internally to an ADC channel by setting OPAINTOEN bit.
In this case, the I/O on which is mapped the OPAMPx_VOUT is free and can be used for another purpose.
opamp_out
(1)

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the ST STM32G431 and is the answer not in the manual?

ST STM32G431 Specifications

General IconGeneral
SeriesSTM32G4
CoreARM Cortex-M4
Max Clock Frequency170 MHz
Flash Memory128 KB
GPIO PinsUp to 51
Operating Voltage1.71 V to 3.6 V
ADC12-bit
DAC12-bit
Communication InterfacesI2C, SPI, USART, CAN
Operating Temperature-40°C to 85°C
PackageUFQFPN48, LQFP48
SRAM32 KB

Related product manuals