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;
Never mind feelings - what does the Datasheet say?
that I can have all options: -uni buff ON -uni buff Off -bip buff ON -bip buff Off,
and that with buff on it could +/- 100mV offset error, but I got 2.6V error so this is not case.
What does this have to do with Keil?
One important thing, that Keil is used by kind people to program also ADuC845 and those kind people will share with same tips how to solved it. Anyway thanks for your input and it was my very last post on this forum.I never ever met with............ like here. Good Luck
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
"I know of one poster that is not allowed to post at work and thus only post on weekends,"
my heart goes out to you, erik.
why?
you of all people should know that I post on weekdays.
OP: In this business brother, and I _know_ just about anybody here agrees with me, nerve of steel and a supreme amount of patience are of the highest importance you can imagine.
That is because quite a few problem are exotic; To demonstrate how exotic, you should know that I have created a "war stories" file for the last 2 projects I designed and later (partially) coded which contains details of interesting failure encountered during development for the sake of future problem solvers/maintenance. Sometimes it is really hard to find problems - sometimes questions remain lingering until the end of life of the product.
www.youtube.com/watch