By any chance... is there still any ADC or Comparator enabled on those specific pins...