Sign In

Loading ADCON0 In 18f46k22 Problem

sivanantham India

Hardware: Pic18f46k22 Using Internal Oscillator 8Mhz Software: C Project Using MPLAB, Hitech C Compiler

im using pic18f46k22 to read 8 + 9 totally 17 analog channels, for configuring the adc channel upto 16 channels no problem. when i load channel 17 in ADCON0, ADCON0.6 (7th bit) is not enabled its always 0. when i move 0b01000000 to ADCON0 result is 0b00000000. any other settings are there to make this bit enable. pls help me. i have searched the datasheet but i can't able to find.


Post a reply to sivanantham

Think you can help sivanantham ? Then post your thoughts that might help sivanantham. You will earn a lot of reputation in the technical community.

If your program is in multiple files, then ZIP the entire folder and attach below

Images and Screenshots

These helps other better understand your suggestion.