We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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;
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.