Using an STM32G484 OpAmp as a Shunt Sensor
I'm developing a power bus manager where I monitor current and voltage drop across a shunt resistor. I chose the STM32G484 as the MCU because it has enough OpAmps and ADCs for my project.
However, I have a question that might only be related to electronics, but I'd like to be sure it won't affect the MCU.
The bus is supplied by a DC-DC switched-mode power supply where the highest voltage is 12V. We know the voltage drop across the shunt resistor is minimal. So, could I connect the "plus" and "minus" inputs directly to the shunt resistor? Is it necessary to define the gain loop? Or can I work without it? In this case, the question is whether the MCU allows parameterizing the input where "plus" and "minus" are connected directly to the GPIO without any internal interference.
Thank you for your support.
ps: The project is being developed under CC-By 4.0 license and is available at https://kepr.rapport.tec.br
