Is it possible to use the internal OPAMP from the STM32G4 series with only the VINPx pin assigned to a physical pin? Configured as non-inverting, negative feedback with a gain.
I would like to implement a current sensing using a grounded shunt resistor. Therefore I would like to use the build-in OPAMP from the STM32G491 Series. But I'm not satisfied with the CubeMX configuration.
In AN5306 I found a configuration under 4.4.1. But within CubeMX I'm not able to configure the OPAMP using only one pin.
I would like to use the VINPx pin, connect the output intern to the ADC and use the feedback loop internally with a gain of 64.
Further, is it possible to use VINPx as input with the output connected internally and externally with a "static" configuration?
Again, not using the VINMx pin.