I'm trying to get the ADC to return somewhat plausible values, but they don't change at all. I've attached the current config.
VBat is on PC5, IBat is on PA5. I can use either ADC1 or ADC2 for those.
Symptom: Both values are stuck at unreasonable values, BF configurator shows 13.2 V and 24.8 A when powered from USB. VBat doesn't change when I short the battery pads (should report close to zero) or when I apply 5 V to the positive battery pad.