Stm32g0 vref beginner question
I want to use a bidirectional current sense such as ina181 and read the values into stm32g0 Mcu.
This does not need to be super accurate (max current is +/- 500mA and just want an idea of if approaching that) but I am struggling to find a canonical circuit that makes best use of the available features of the vrefbuf and is not adding a lot of expense and complexity with external reference when just a ballpark number is needed.
it seems like using the Mcu vref+ to bias the zero on the current sense would be the best and cheapest option.
is this as simple as resistor dividing the 2.5v vref pin down to 1.65 (for 3.3v supply and symmetrical +- current) and connecting it to vref on the current sense amplifier?
also I notice a lot of designs connect vref to vdd so I assume this should not be done if using internal ref. But if I decide not to use the internal vref in the future will it be a problem that it has the divider resistance to ground connected ?
Thanks
tom
