Pdip tqfp 644P

Ok, thank you very much for your reply. I saw in the datasheet that the pinout of both package differs, for example while in pdip package pin 1 is the PB0 in the tqfp is the PB5. I thought that it will influence the pinout but I supposse that the important thing is the relation between arduino pins and the atmels pin functions not the numbers pinout.
Thank you!!