Significance of AVcc pin in ATMEGA 16

  • Thread starter Thread starter varunag
  • Start date Start date
  • Tags Tags
    Pin Significance
Click For Summary

Discussion Overview

The discussion revolves around the significance of the AVcc pin in the ATMEGA16 microcontroller, particularly addressing the necessity of connecting it to the Vcc pin even when the analog-to-digital converter (ADC) is not in use. The scope includes technical explanations and clarifications regarding microcontroller design and functionality.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant notes that the AVcc pin should be connected to Vcc to ensure proper functioning of Port A and the internal circuits, regardless of ADC usage.
  • Another participant cites the datasheet, explaining that AVcc is the supply voltage for Port A and the ADC, and emphasizes the importance of separating analog and digital power lines to avoid crosstalk noise.
  • There is a suggestion that connecting AVcc to Vcc allows for the option to use a low-pass filter if the ADC is utilized, which helps block high-frequency noise from digital circuits.
  • Some participants express uncertainty about the necessity of the external connection, with one questioning if it is a trivial concern.
  • Clarifications are made that while AVcc must always be powered, it can be directly connected to Vcc if the ADC feature is not needed.

Areas of Agreement / Disagreement

Participants generally agree that the AVcc pin must be connected to Vcc for proper functionality, but there is some uncertainty regarding the underlying reasons for this requirement, particularly when the ADC is not used. The discussion remains somewhat unresolved regarding the necessity of this connection in all scenarios.

Contextual Notes

Participants reference the datasheet for technical specifications, but there are varying interpretations of the implications of connecting AVcc to Vcc, particularly concerning noise management and circuit design.

Who May Find This Useful

This discussion may be useful for electronics enthusiasts, engineers working with microcontrollers, and students studying embedded systems who are interested in the design considerations of analog and digital circuitry.

varunag
Messages
25
Reaction score
0
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?
 
Engineering news on Phys.org
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 separation is for when you have a mixed mode circuit or board so that you can run your power lines separately to avoid crosstalk noise.
Digital switching noise may affect your analog signals and vice versa. So the best design separates 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.
 
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
 
Otherise port A won't 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:
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?
 
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 couldn't do it.
 
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.
 
Yeah...thats it exactly.
No worries and you're welcome.
 

Similar threads

Replies
37
Views
7K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
5
Views
3K
  • · Replies 27 ·
Replies
27
Views
4K
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K