I am having problems reading the ADC channels on the Same70 Xplained board that I am experimenting with. I can read the ADC channels but the values read does not make sense. I am reading AFE0_AD0 channel on EXT2, and despite grounding the signal the ADC values read 4095. I tried using AFEC_SetAnalogOffset() to remove the offset and although this changes the values read, I cannot get a reading that makes sense to me. I believe that I am missing something here that I can't put my finger on. Any help with debugging this issue would be greatly appreciated.