Previous in Forum: Serial Communication   Next in Forum: GPS Vehicle Tracker al900c
Close
Close
Close
9 comments
Rating: Comments: Nested
Associate
India - Member - New Member

Join Date: Aug 2011
Posts: 37

Electrical Characteristics

03/15/2012 12:29 AM

Hi all,

In datasheet of Atmega64A MCU, they have mentioned that

DC current per I/O pin is 40mA

DC current VCC and GND pins is 200mA-400mA

Can any one tell me the meaning of this two statements, I am confused with this.

Regards,

RImpul

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#1

Re: Electrical characteristics

03/15/2012 2:04 AM

What part don't you understand? these are the current limits...

http://www.atmel.com/Images/2490S.pdf

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Associate
India - Member - New Member

Join Date: Aug 2011
Posts: 37
#2
In reply to #1

Re: Electrical characteristics

03/15/2012 2:15 AM

I understand this is a current limits..

I am running my MCU (atmega64a) with LDO regulator which has a output current of 150mA, but the datasheet of controller says that dc current b/w vcc and gnd is 200ma-400ma, If this is the case my controller will not even work with min current?? but in actual my MCU is running well.

so my question is whether this current limits are only with certain conditions or the operating current of MCU?

Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#3
In reply to #2

Re: Electrical characteristics

03/15/2012 2:40 AM

I believe those are the design limits..

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Participant

Join Date: Mar 2012
Posts: 1
#8
In reply to #2

Re: Electrical characteristics

03/16/2012 4:38 AM

Within your design, the max load current (400mA) of the part should be considered. A more robust LDO would be a start. The I/O sink/source current limitation can be overcome with the use of an external transistor or a buffer depending on the number of I/O's. The greater number of I/o's would push one toward a buffer part where real estate is at issue. Again the source power supply should be capable of supporting the max possible load current or you run risk of damage as stated in another reply. The LDO appears to be your initial weak link, solving that issue gives you more options. The other solution is to be sure that the part does not draw >150mA with all I/O's sourcing. You can get LDO regulator in the 50mA-500mA range. It's assumed this is a batt operated or portable device.

Register to Reply
Guru
Popular Science - Weaponology - New Member Netherlands - Member - New Member Fans of Old Computers - Commodore 64 - New Member

Join Date: Sep 2007
Location: Japan
Posts: 2703
Good Answers: 38
#4

Re: Electrical characteristics

03/15/2012 2:48 AM

i think he means the sinking and sourcing of the I/O ports if all the ports output at the same time(source) it may not exceed 400 mA

when all the I/O ports are set to input at the same time the maximum sink current may not exceed 100 mA.

The CPU logic itself uses maximal 20 mA

__________________
From the Movie "The Big Lebowski" Don't pee on the carpet man!
Register to Reply Score 1 for Good Answer
Associate
India - Member - New Member

Join Date: Aug 2011
Posts: 37
#5
In reply to #4

Re: Electrical characteristics

03/15/2012 3:18 AM

Thanks for reply,

I am using some 6 pins which sinks more current,

2 adc pin for led

1 pin for gsm ring

1 pin for audio sbt

1 pin for motor start

1 pin for motor stop

so, now as per the datasheet if any one of these pin exceed 40mA ,then it will not work?? right!!

Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#6
In reply to #5

Re: Electrical characteristics

03/15/2012 1:07 PM

Well it might work for a time, but you risk damage...

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Guru
Popular Science - Weaponology - New Member Netherlands - Member - New Member Fans of Old Computers - Commodore 64 - New Member

Join Date: Sep 2007
Location: Japan
Posts: 2703
Good Answers: 38
#7

Re: Electrical Characteristics

03/15/2012 11:06 PM

never use a port to directly drive something, use a transistor, fet or opamp to take the load of the CPU.

__________________
From the Movie "The Big Lebowski" Don't pee on the carpet man!
Register to Reply Score 1 for Good Answer
Member

Join Date: Jul 2011
Location: UK Somerset
Posts: 7
#9

Re: Electrical Characteristics

03/16/2012 6:30 AM

Those are absolute maximum ratings.

Read the note to the right in the data sheet.

You don't say how you are using the MCU, but I would expect the actual current consumtion to be way below those values.

Typical current drawn by the core is only 20 mA at 8 MHz, add to that what your peripheral circuits are taking, and what you are asking the MCU to source (no more than 20 mA per pin with a 5V supply) and you should find that your LDO is more than adequate.

As Ekpe says, don't drive high loads directly, always buffer.

__________________
deltronic
Register to Reply
Register to Reply 9 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

deltronic (1); Epke (2); phillyvirgo (1); rimpul (2); SolarEagle (3)

Previous in Forum: Serial Communication   Next in Forum: GPS Vehicle Tracker al900c

Advertisement