Trying to see the difference between the two. Datasheet didn't seem to say anything that I could find. On digikey it seems to say that the P has 2 more ADC channels. Is this the only difference? And why is the P cheaper than the regular 328 then?
Difference between 328 and 328p
Author
Message
Level: Moderator
Joined: Mon. Jul 18, 2005
Posts: 101069 View posts
Location: (using avr-gcc in) Finchingfield, Essex, England
P=picopower - look at the sleep and power saving functionality in the respective datasheets - I think you'll find the 328P offers more.
(and usually the two extra ADC is a difference in the number of pins on the device, nothing to do with whether it's P or not)
Ah ok. But as far as extra pins go for ADC channels, both chips are 28 DIP, so I don't know how that works.
Thats either a misprint or a misread.
ltkenbo wrote:
I wouldn't trust any parametric information found on Digi-Key or any other supplier's website - too many humans are involved for it to be error free. When you want to know something specific about any part, AVR or otherwise, *always* study the manufacturer's datasheet. Of course, even those are known to have errors and omissions from time to time.
On digikey it seems to say that the P has 2 more ADC channels.
Atmel website says 28 DIP for both of those chips:
Level: Resident
Joined: Sun. Jun 25, 2006
Posts: 867 View posts
Location: San Luis Valley, Colorado ( 2,318m )
ltkenbo wrote:
Atmel website says 28 DIP for both of those chips.
But that's not the point. Even in the lowly ( ancient ) AtMega8 you have six ADC channels in the 28 DIP and eight channels in the 32-TQPF; it is the package, not the model that determines the number of ADC channels. Also, a parametric table, as dkinzer says - be it Atmel's site or other - will never be a suitable replacement for proper datasheets. None are above errors.
Martin Jay McKee