Xmega pin functions

  • 1
  • 2
  • Seite 1 von 2
Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Xmega pin functions

 · 
Gepostet: 11.10.2012 - 10:24 Uhr  ·  #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
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Xmega pin functions

 · 
Gepostet: 11.10.2012 - 13:48 Uhr  ·  #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
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Re: Xmega pin functions

 · 
Gepostet: 11.10.2012 - 17:33 Uhr  ·  #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
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Xmega pin functions

 · 
Gepostet: 11.10.2012 - 18:16 Uhr  ·  #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
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Re: Xmega pin functions

 · 
Gepostet: 12.10.2012 - 11:16 Uhr  ·  #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
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Xmega pin functions

 · 
Gepostet: 12.10.2012 - 15:27 Uhr  ·  #6
Hello Marco,

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

rolf
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
Marco
Benutzer
Avatar
Geschlecht: keine Angabe
Herkunft: Italy
Beiträge: 270
Dabei seit: 10 / 2004
Betreff:

Re: Xmega pin functions

 · 
Gepostet: 12.10.2012 - 15:51 Uhr  ·  #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 ?
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
rh
Administrator
Avatar
Geschlecht:
Herkunft: Germany
Alter: 25
Homepage: e-lab.de
Beiträge: 5558
Dabei seit: 03 / 2002
Betreff:

Re: Xmega pin functions

 · 
Gepostet: 12.10.2012 - 20:00 Uhr  ·  #8
Hello Marco,

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

rolf
  • 1
  • 2
  • Seite 1 von 2
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 15 · Cache Hits: 14   141   155 · Page-Gen-Time: 0.039521s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI