Xmega32D4 TWIE

Maugan
Benutzer
Avatar
Gender: n/a
Age: 25
Posts: 2
Registered: 09 / 2018
Subject:

Xmega32D4 TWIE

 · 
Posted: 20.09.2018 - 14:45  ·  #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
You must be logged in or your permissions are to low to see this Attachment(s).
pvs-deck
PowerUser
Avatar
Gender:
Age: 53
Homepage: pvs-deck.de
Posts: 1340
Registered: 02 / 2009
Subject:

Re: Xmega32D4 TWIE

 · 
Posted: 20.09.2018 - 15:07  ·  #2
Quote by 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
You must be logged in or your permissions are to low to see this Attachment(s).
Maugan
Benutzer
Avatar
Gender: n/a
Age: 25
Posts: 2
Registered: 09 / 2018
Subject:

Re: Xmega32D4 TWIE

 · 
Posted: 25.09.2018 - 14:24  ·  #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
Gender:
Age: 53
Homepage: pvs-deck.de
Posts: 1340
Registered: 02 / 2009
Subject:

Re: Xmega32D4 TWIE

 · 
Posted: 25.09.2018 - 18:45  ·  #4
Hello Maugan,

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

Thorsten
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: 15 · Cache Hits: 14   81   95 · Page-Gen-Time: 0.016318s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI