Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Noisy ADC lines

2004-05-11 by David VanHorn

>
>> This is pretty typical in my experience, just beware the "precision" reference on chip.
>> 2.7V for a 2.5V reference, into a 10 bit ADC, is pretty funny, in my opinion.
>
>No kidding! This is at the top of the ADC module:
>
>
>        // adc "precision" ref correction value in EEPROM
>
>        #pragma data:eeprom
>
>        //double  Ref_Cal_Val = 1.071094;     // Bd #1 = 2.742V
>        double  Ref_Cal_Val = 0.9921875;     // Bd #2 = 2.540V
>
>        #pragma data:data


In my case, when I discovered this, I had to add an external reference.
Now this meant that the external reference would be a hand-add until the new PCBs became available, so I had to check wether the external PRECISION reference was present by checking it against the internal "precision" reference..  

Isn't development fun?

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.