Hi all, I'm trying to translate a project from using a Nano to using the Atmega328PU directly to save some board space. When checking the schematic for the nano and the pinouts for the 328 there seems to be an anomally in that the Nano has 8 analog inputs but the 328 seems to have only 6. Can anyone explain what I'm missing here? Many thanks
An ATmega328p-PU is in a 28 pin DIP package
while an ATmega328p-AU is in a 32 pin TQFP package
https://www.digikey.com/products/en?keywords=ATmega328p-AU
Atmel added ADC6 and ADC7 pins to the TQFP package but they are not in the DIP package.
The datasheet has other packages and more info.
Ah, I see now, many thanks Ron all cleared up, cheers, Bob
Yeah. I get the impression that it was like "Okay, we have 4 more pins on the TQFP package - what do we do with them" and someone was like "Hey, we've got 2 unused channels on the ADC MUX, let's use two of the pins for that!" - that would sort of explain how come they're the only ADC-only pins in the entire 8-bit AVR product line (as far as I know)