ATmega328P // 32k 28-pin dip

I was looking over the Atmel website and noticed that there is now available a newer
ATmega328P /// a 32k version 28-pin dip...

It seems to be identical to the ATmega168 pin-out wise...

Another thing I noticed is that arduino uses the ATmega168, but noticed that there
is a "P" version... ATmega168P

What's the difference between the 168 and the 168P... they seem identical...

But, what I would like to know most... is, could the Arduino Decimilia Board and software
also support the newer 32k version ... the ATmega328P

Sure would be nice to jump up to 32k and 2k sram...
I'm already bumping near the 16k limit...

Any gurus out there that could advise and also make this work????

thanks!

the 328 will be out in 2008, probably feb/march. i expect that arduino will support this chip.
P just means DIP part Er, looks like it means something else, maybe some core revision. probably not a big deal.

think I now know what the "P" stands for...
"P" = PicoPower version...

Trying to find out as of when the chip would be available???
From the Atmel site it seems to be in production????

I hate that about the chips. There is no way to easily compare them.
You have to dive in to the datasheet for each and compare individual figures until you find whats different.

A Atmel chip comparison page would be invaluable.

The P-suffix "picopower" feature set is described somewhat here: http://www.atmel.com/products/avr/picopower/Default.asp

Quoting:

The key elements are:

  • True 1.8V Supply Voltage
  • Minimized Leakage Current
  • Sleeping BOD
  • Ultra Low Power 32 kHz Crystal Oscillator
  • Digital Input Disable Registers
  • Power Reduction Register
  • Clock Gating
  • Flash Sampling

I should note that the Arduino core firmware is not currently set up to utilize even the more primitive power saving modes available on the current AVR cpus, so the "picopower" aspects are not likely to be so interesting as the doubling of flash, ram, and eeprom...

None of the 28-pin picopower AVRs are showing up at (digikey, mouser, etc) and the atmel page says "by the end of 2007", so I suspect Limor's "sometime in 2008" is a good estimate, unless you're a major player...

I hate that about the chips. There is no way to easily compare them.
You have to dive in to the datasheet for each and compare individual figures until you find whats different.

A Atmel chip comparison page would be invaluable.

This page is pretty good... http://www.avrfreaks.net/index.php?module=Freaks%20Devices&func=viewDev

It doesn't provide chip-to-chip comparison, but you have all the features listed in a single page for each chip.

A Atmel chip comparison page would be invaluable.

This?

A combination of both those pages would probably be the best.
Neither is ideal by them selves.

yum! samples just arrived for me

Oh sure! Rub it in our faces!! :wink:

Heh. I've never felt motivated to try to get samples out of Atmel, but it's nice to know that people who deserve them DO get them!

I had to talk to an Atmel Sales rep anyway, who confirmed the Atmega328 is expected in production quantities for 2008 Q3 (so only a little later than LadyAda's ball-parking).

Any news to know if it's compatible with the 168 ?

It took us about 5 hours to modify and test a code move from the Atmega168 to Atmega328P for another project; 4.5 hours of that was testing. We really just chose the '328 in AVRStudio, make'd, and I think we had to change one memory constant.

If you're not using the picopower bits (which the Arduino isn't), it's really just a 168 with more flash, ram, and eeprom.
I expect the Arduino code would require a modified bootloader (IIRC the bootloader address moved to the new top of ram location) and a new chip definition to use all the extra memory.

Testing the 328 with Arduino is on my todo list, it's just not at the top yet :-/

ive ported the bootloader, seems fine...but until they're available for purchase it aint much use :slight_smile:

I thought the other picopower atmels in this series (48p,88p,168p) could only run at 10mhz - can this one run at 20? or were you thinking of the using the mods (I think they were added for the lilypad?) that allows for slower clock?

The pico-power chips come in both 10 and 20 variants (see ATMEGA168P-20PU and ATMEGA168PV-10PU).
Someone else could likely comment better, but my literature shows the Pico-power enhancements are primarily more/better sleep modes, so having both speed/voltage ranges still make sense.

@Ladyada: What did you change in the bootloader code (youtalked about "porting"). Is there anyway you could share this code so I/someone else could burn my own atmega328? I'm running out of program memory fast here.

Does anyone know where we can get these ATmega328P chip from and ladaya can you please post the bootloader somewhere so we can test that out.

I see mouser has got them but their on order Mfr. Part #ATMEGA328P-PU would be really great if someone can point me to a place that has them in stock, and where to download the bootloader and instructions to put that on it.

Thanks in advance.

well considering the arduino IDE can't compile sketches for the atmega328 it doesn't really matter at this point :slight_smile: