Analog inputs pulled up to about +4V

I have a strange problem with my Nano Every. The analog inputs A0, A1 and A2 are pulled up to about +4V giving a reading of about 870. I try to connect them to a potentiometer, but to no use, as the analog input seems to pull the voltage up. I hard wired the input to GND and measured the current to 22 mA. While I did this, the analog input correctly showed a reading of 0. As soon as I took the hard wire away, the input went up to +4V again. It almost looks like there is a digital output providing a logical 1 on my analog inputs.

The code I use is:

void setup() {
Serial.begin(9600);
}

void loop() {
Serial.println(analogRead(A2));
}

For A3 it works as it should, but not for A0, A1 and A2.

Any suggestions?

I can't replicate your problem. My Nano Every behaves as it should and no current flows from A2 to ground when the pins are shorted. Maybe you have a dodgy board? Try with a different Every?

Yep, that was it. I got a new board. Now it works.

Thanks!