Change ADC Reference of Arduino Due

Hi everybody out there! This is my first post, so please bear with me. Today, I was experimenting with the Arduino Due and wanted to read the voltage of the battery that was powering it. I realised from reading several other forum posts that the ADC reference has to be changed, and I had success doing that with an Arduino Uno. However, on the Arduino Documentation, it states that the ADC reference of the Arduino Due cannot be changed. Thus, I would like to ask if there is any way to change the ADC reference of the Arduino Due?

Any response would be greatly appreciated.

The ADC reference can't be changed.

You might consider reading the Atmel Application Note before using the ADC peripheral in order to calibrate the ADC:

https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en591316

Voltages higher than reference can be read by interfacing the input through a voltage divider of two resistors.