Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Significance of AVcc pin in ATMEGA 16

  1. May 1, 2008 #1
    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?
  2. jcsd
  3. May 1, 2008 #2
    from the datasheet...

    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.
  4. May 1, 2008 #3
    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...

  5. May 1, 2008 #4
    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: May 1, 2008
  6. May 1, 2008 #5
    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?
  7. May 1, 2008 #6
    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.
  8. May 1, 2008 #7
    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.
  9. May 2, 2008 #8
    Yeah...thats it exactly.
    No worries and you're welcome.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook