Hello,
I'm getting started with my first ARM7 application using the AT91SAM7S-EK eval board and a getting started tutorial I found here:
http://www.atmel.com/dyn/resources/prod_documents/atmel_tutorial_source.zipand I noticed that the register definition header file doesn't include PA31 in the "PIO DEFINITIONS" section. Also some of the pin definitions seem to be wrong, for example: AT91C_PA30_PCK2 is defined (it seems as though PCK2 should belong to PA31) and most of the peripheral B functions for the PA3x pins are off by 1, according to the data sheet. The header section reads "PIO DEFINITIONS FOR AT91SAM7XC256", I assumed that the XC and S are pin compatible but maybe not.
I'm not sure if the files in the tutorial are out of date or I'm just missing something. I just wanted to check to see if there is a clear explanation before I modify the header files to match the data sheet. Of course if there is an updated version of the definition header and someone could point me to it I would appreciate it.
Thanks in advance,
-mtburt