correct reading without 1 MHz setting on CLKOUT not routed to PIO1_27.
step one : connect 1.65 V to adc input channel 0
step two : adc readings will fluctuate a little but in average it will produce a raw count of 2080 (theoretically expected 2048)
NOW connect internally 1 MHz to CLKOUT routed to PIO1_27.
NO OTHER SETUP CHANGES
step three : adc readings will fluctuate a little but in average it will produce NOW a raw count of 2110 (previously 2080)
reading 2080 "WITHOUT" internally connecting 1MHz CLKOUT to PIO1_27.
reading 2110 " WITH " internally connecting 1MHz CLKOUT to PIO1_27.
in my opinion internally connecting 1 MHz to CLKOUT and routing it to PIO1_27 should not cause the adc reading to jump from 2080 to 2110 when a mid range voltage of 1.650 V is applied to adc channel 0.
how can, or should, an adc unrelated digital setup change (i.e. enabling the CLKOUT signal) within the mpu cause the data output reading of a calibrated adc to change by a count of 30 = 0.73 % full scale