avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] atmega16


From: Russell Shaw
Subject: Re: [avr-gcc-list] atmega16
Date: Tue, 28 Dec 2004 21:40:58 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040820 Debian/1.7.2-4

address@hidden wrote:
I'll like to now some details about atmega16. Can I use some pins of
Port A as Analog Inputs while some others will be used as d\ igital
in/out ?

Yes, but noise may be induced on an analog input if a port A output switches 
levels.


Do you mean that coupling among the same port is somehow tighter then
coupling with pins of another port? My gues would be no, but your
formulation provoked this question in my mind:

 If one have to switch output level during the A/D conversion, are
 there better and worse pin assignments to choose from?

My choice would be to use pins which are physically far apart but
maybe somebody knows better...

Vaclav Hanzl

P.204 of mega16 data sheet:

4. If any ADC port pins are used as digital outputs, it is essential that these 
do
   not switch while a conversion is in progress.

Load currents cause a voltage glitch in any ground wiring common to the
other port A pins.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]