Xmega pin functions

  • 1
  • 2
  • Page 1 of 2
Marco
Benutzer
Avatar
Gender: n/a
Location: Italy
Posts: 270
Registered: 10 / 2004
Subject:

Xmega pin functions

 · 
Posted: 11.10.2012 - 10:24  ·  #1
Hello all,

I have a little project which I'd like use to experiment with an XMega instead of "usual" megas.
But the first problem I found is the pin naming of the new CPU component I must define
in my schematic cad.

Respect to standard megas there are many Alternate Fuynctions on many pins
and it's not a problem; I'll draw a large component.
Because it's importat to me see the function of the pin I am connecting during schematic development.

But I have difficult to understand what are the exact functions on the pins and how these are enabled.
On Atmel datasheet I have seen only a table for "Alternate Pin Functions" but I do not understand the meaning of some columns, expecially for ADC and Timers.

Someone knows of datasheet or Appnotes which better explain the Alternate Pin Functions topic ?

Thank you,
Marco
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Xmega pin functions

 · 
Posted: 11.10.2012 - 13:48  ·  #2
Hello Marco,

the advantage of the XMegas is that they are all "port conpatible".
This means if a device has a PortE this PortE is always the same as
PortE with other devices. If there are alternate pin functions they
are always the same with all devices. But some exceptions still
exist. If a device has no USB then PortD 6+7 have no USB connection.

You have to read the main family datasheet thoroughly to get more
details.

Take a look onto my picture below. Here you can see most of the
standard port alternatives.

rolf
Attachments
Xmega pin functions
Filename: XMega.png
Filesize: 10.6 KB
Title:
Download counter: 83
Marco
Benutzer
Avatar
Gender: n/a
Location: Italy
Posts: 270
Registered: 10 / 2004
Subject:

Re: Xmega pin functions

 · 
Posted: 11.10.2012 - 17:33  ·  #3
Thank you very much Rolf.
Your tips and picture is a good starting point to understand the new logic in the xmega pinout.

I have also a question about the ISP-3 modification (resistor removal) necessary to program through PDI interface;
after removal of the two resistors as described in the manual, is it still possible program normal Megas via JTAG ?

Regards,
Marco
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Xmega pin functions

 · 
Posted: 11.10.2012 - 18:16  ·  #4
Hello Marco,

yes, the other AVRs are not concerned. But please note that programmers
older than midth 2011 must be returned for a complete hardware and
software update.

rolf
Marco
Benutzer
Avatar
Gender: n/a
Location: Italy
Posts: 270
Registered: 10 / 2004
Subject:

Re: Xmega pin functions

 · 
Posted: 12.10.2012 - 11:16  ·  #5
Hi Rolf,

I don't remember the exact date I returned the programmer for upgrade...
There is a label with this number: 18580FBA [1.01]
Is there any ID on pcb to understand if it's an old version ?

Marco
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Xmega pin functions

 · 
Posted: 12.10.2012 - 15:27  ·  #6
Hello Marco,

run AVRprog.exe. Click the button with the loupe. The you can see some details. See below.

rolf
Attachments
Xmega pin functions
Filename: ProgDate.JPG
Filesize: 56.65 KB
Title:
Download counter: 61
Marco
Benutzer
Avatar
Gender: n/a
Location: Italy
Posts: 270
Registered: 10 / 2004
Subject:

Re: Xmega pin functions

 · 
Posted: 12.10.2012 - 15:51  ·  #7
Than you Rolf !
I am so used to see that page of AVRprog for device programming
that I completely removed the presence of other informations... :'(

So mine should be ok ?
Attachments
Xmega pin functions
Filename: AVR Prog version.JPG
Filesize: 34.99 KB
Title:
Download counter: 75
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Xmega pin functions

 · 
Posted: 12.10.2012 - 20:00  ·  #8
Hello Marco,

this is ok. But maybe these two resistors must be removed propably...

rolf
  • 1
  • 2
  • Page 1 of 2
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 18 · Cache Hits: 15   146   161 · Page-Gen-Time: 0.044895s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI