Xmega32D4 TWIE

Maugan
Benutzer
Avatar
Geschlecht: keine Angabe
Alter: 27
Beiträge: 2
Dabei seit: 09 / 2018
Betreff:

Xmega32D4 TWIE

 · 
Gepostet: 20.09.2018 - 14:45 Uhr  ·  #1
Hello,

I'm working with a microcontroller ATXmega32D4. I would like to use the TWIE (I2C port E) to communicate with others circuits boards. I have no signal even though I use the TWIC, It's working.

You could find my program (attachment).

Please, why do I can't use TWIE ?
It can't be a hardware problem because the when I use the TWIC it's working.

Thank's
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
pvs-deck
PowerUser
Avatar
Geschlecht:
Alter: 54
Beiträge: 1343
Dabei seit: 02 / 2009
Betreff:

Re: Xmega32D4 TWIE

 · 
Gepostet: 20.09.2018 - 15:07 Uhr  ·  #2
Zitat geschrieben von Maugan

Hello,

I'm working with a microcontroller ATXmega32D4. I would like to use the TWIE (I2C port E) to communicate with others circuits boards. I have no signal even though I use the TWIC, It's working.

You could find my program (attachment).

Please, why do I can't use TWIE ?
It can't be a hardware problem because the when I use the TWIC it's working.

Thank's

Hello Maugan,

I do not know this CPU, but I once made my look in the datasheet,
which revision do you have?
On page 310, chapter 34.1.5, "TWIE is not available"
;-)

But you can use it with a software solution to these PINs, check out the manual "I2CPORT". If your revision of the TWIE does not work, a software interface is a possible solution or another CPU.

Thorsten
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
Maugan
Benutzer
Avatar
Geschlecht: keine Angabe
Alter: 27
Beiträge: 2
Dabei seit: 09 / 2018
Betreff:

Re: Xmega32D4 TWIE

 · 
Gepostet: 25.09.2018 - 14:24 Uhr  ·  #3
Hello,

Thank you for your answer. Actually, you're right, I didn't use the good version of the microcontroller.

Tahnk's
pvs-deck
PowerUser
Avatar
Geschlecht:
Alter: 54
Beiträge: 1343
Dabei seit: 02 / 2009
Betreff:

Re: Xmega32D4 TWIE

 · 
Gepostet: 25.09.2018 - 18:45 Uhr  ·  #4
Hello Maugan,

no problem, did you test the software solution and did it work with it?

Thorsten
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: 14 · Cache Hits: 14   81   95 · Page-Gen-Time: 0.02211s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI