STM32H743 ADC values fluctuating after voltage divider
I have a +30V -30V input to be fed to STM32H7 ADC 16-bit
I tried using a 2 resistor potential divider using 33K 3.3K ; 1K 100E, 1M 100K, resistor combinations but the output is not correctly read by the ADC. (For 3V input, ADC reads from 2.2V to 3.2V randomly fluctuating) Not constant
But if I bypass the divider circuit and feed an input less than 3.3V to the ADC pin directly, it reads perfectly (For 3V input, it reads 2.9999).
Should sampling time affect the resistor values?
