Battery Voltage Reading with a Voltage Divider on the nRF54L15 DK

Hello Nordic Team,

I am working on measuring battery voltage (3.7V) using a voltage divider (220KΩ and 100KΩ) connected to AIN2 on the nRF54L15 DK.

However, I am experiencing an issue where the ADC reading is incorrect. I am using the existing sample to measure AIN2, but the readings are significantly off (~25mV). Interestingly, when I use an external power supply, the measurements are accurate.

I suspect that the voltage divider circuit or an internal resistor on the AIN2 pin is affecting the readings. Is there any additional configuration required for the GPIO pin to ensure accurate ADC measurements?

Thanks in advance for your support.

Best regards,
Ahmed

Related