E-LAB Computers
 

Xmega32D4 TWIE

Maugan
Benutzer
Avatar
Geschlecht: keine Angabe
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
Anhänge an diesem Beitrag
 
Dateiname: TWIE.txt
Dateigröße: 2.52 KB
Titel: program that I used
Heruntergeladen: 18
pvs-deck
PowerUser
Avatar
Geschlecht:
Beiträge: 1344
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
Anhänge an diesem Beitrag
ATxmega32D4
Dateiname: 20-09-_2018_15-02-11.jpg
Dateigröße: 440.82 KB
Titel: ATxmega32D4
Information: ATxmega32D4
Heruntergeladen: 74
Maugan
Benutzer
Avatar
Geschlecht: keine Angabe
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:
Beiträge: 1344
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.