Significance of AVcc pin in ATMEGA 16

  • Thread starter varunag
  • Start date
  • #1
25
0

Main Question or Discussion Point

I'm using a ATMEGA16 microcontroller. I was having problem getting it to work. I found somewhere on the internet that even if I'm not using the analog signals, I need to short the AVcc pin to the Vcc. Can anyone give any reason as to why we need to do this?
 

Answers and Replies

  • #2
61
0
from the datasheet...

AVCC AVCC is the supply voltage pin for Port A and the A/D Converter. It should be externally connected
to VCC, even if the ADC is not used. If the ADC is used, it should be connected to VCC
through a low-pass filter.
VCC is the standard power in for the digital circuitry and AVCC is for the analog.
The seperation is for when you have a mixed mode circuit or board so that you can run your power lines seperately to avoid crosstalk noise.
Digital switching noise may affect your analog signals and vice versa. So the best design seperates them on the board.
You will notice that they suggest a low pass filter when using the AVCC power from the digital power and this allows your dc through while blocking the high frequency digital surges as demanded from the switching circuits.
 
  • #3
25
0
thanks deakie for the reply.

well this information is what I get from most of the places. I suppose that I did not frame my question properly. What I meant in my question is "why do we have to connect the AVcc externally to the Vcc, even if the ADC is not used?"

I suppose my question will be more clear to you now...

thanks,
varun
 
  • #4
61
0
Otherise port A wont function along with the interconnecting circuits inside the chip.

To expand....its a choice for when you use the ADC only...the AVCC port allows an independent voltage line for the ADC for use under analog conditions but must always be connected nevertheless. you just get the choice to filter it.
 
Last edited:
  • #5
25
0
well thanks. but there must be some reason for it. I hope someone might be knowing the reason for this.
Or I'm asking a too trivial thing, and I shouldn't be bothering about it?
 
  • #6
61
0
I just said....you just get the choice to filter it.
How else would you get that choice if it wasnt connected externally?
if it was internal, you couldnt do it.
 
  • #7
25
0
oh okay. got it.
so you mean, that we always need to power the AVcc. If we don't need to use the ADC feature then we can short AVcc and Vcc.
But if we want to use ADC, then we can use a filter at AVcc.

thanks deakie.
 
  • #8
61
0
Yeah...thats it exactly.
No worries and you're welcome.
 

Related Threads for: Significance of AVcc pin in ATMEGA 16

  • Last Post
Replies
5
Views
8K
Replies
1
Views
1K
  • Last Post
Replies
8
Views
1K
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
12
Views
4K
  • Last Post
Replies
10
Views
5K
  • Last Post
Replies
4
Views
3K
Top