This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ADC on ADuC845

Hi,

I have a feeling that making buff1, buff0 ON, it makes ADC work in Unipolar,

I am using internal temp on ADC1 and one input on ADC0 on ADuc845, I would like to use ADC0 in bipolar, buff, but when I do buff on with 0V on input I got from ADC 0x00 which in bipolar is -full scale, when buff is Offf, I got around 0x800000 which is OK, I think could please advise what I did wrong.
Thanks in advance.
Slawek

ADC1CON = 0x0E;
ADC0CON1=0x07; //buff on is 0x87
ADC0CON2=0x05;
ADCMODE = 0x24;
ADCMODE = 0x25;
ADCMODE = 0x3A;
SF = 0x03;