I'm having trouble getting the 16F616 to do a conversion on any ADC pin but RA0. Using the SourceBoost C compiler under MPLAB 8.10. With ANSEL = 1, TRISA = 1, adcon0.CHS0 = 0, and channel 0 selected, ADC works fine and writes ADC data to port c. With any other ADC input selected, and appropriate registers modified, the 'adc_measure( n )' function does not write the appropriate ADC value to port c.
See code below. Int Osc set to 4 MHz, all other features disabled except MCLR. Programmed using ICD2.
/*
16F616_analog_in.c */
//CODE to test 16F6