Hi, Mirko,
I think it is a known bug for the 12 bits ADC module. It says:
"
4578: Possible incorrect readings on second ADC conversion when sampling two ADC
channels and first channel input voltage < VREFL or > VREFH
Description: When sampling two ADC channels that are time-consecutively listed, if the first channel input
voltage is less than VREFL or greater than VREFH, incorrect readings on the second
conversion may result.
Impact: See Description.
Workaround: For the ADC pins used for the conversions, ensure that the voltages are between the values
VREFL + 0.1 V and VREFH - 0.1 V.
"
For your case, when you use x4 amplifier, the AMP output is saturated, which will take effect on the next sampling.
BR
Xiangjun Rong