I'm not sure if this is the problem, but try:

ADCON2.7=1