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;

Parents
  • Keil is used by kind people to program also ADuC845 and those kind people will share with same tips how to solved it.
    1) only FEW use the ADuC845
    2) Keil is used by impatient people to program also ADuC845 and those kind people will imaptiently not wait for same tips how to solved it.

    I doubt any (possibly except the homewrecker) sits just waiting for a post to respond to.
    I would believe, that had you not lost your patience, an answer would eventually appear. I know of one poster that is not allowed to post at work and thus only post on weekends, that person might just have been the one with the answer, had you not cut of any interest in helpng you with the above.

    Erik

Reply
  • Keil is used by kind people to program also ADuC845 and those kind people will share with same tips how to solved it.
    1) only FEW use the ADuC845
    2) Keil is used by impatient people to program also ADuC845 and those kind people will imaptiently not wait for same tips how to solved it.

    I doubt any (possibly except the homewrecker) sits just waiting for a post to respond to.
    I would believe, that had you not lost your patience, an answer would eventually appear. I know of one poster that is not allowed to post at work and thus only post on weekends, that person might just have been the one with the answer, had you not cut of any interest in helpng you with the above.

    Erik

Children