Problem: EMIC2 + Arduino-Due + Level-Converter (TXB0108)

Breakout boards, sensors, Drawdio, Game of Life, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Problem: EMIC2 + Arduino-Due + Level-Converter (TXB0108)

Postby randomvibe » Sat Jan 19, 2013 4:36 am

I'm having intermittent problems with this setup: EMIC2 + Arduino-Due + Level-Converter (TXB0108). I traced it to the TXB0108. Background:

The EMIC2 works perfectly on its own when I interact with it using my desktop serial port and terminal program (PuTTy).

The Arduino-Due's hardware serial also works fine when I test it with my desktop and PuTTy.

The Adafruit TXB0108 between the Due and emic does not work. If I directly patch Due-TX to the EMIC-SIN pin (SIN is 3.3V compliant per spec), then It does work intermittently, however hangs now and then because the TXB0108 delays or completely fails to pass EMIC's ready-to-receive-command symbol.

All problems disappear when I directly patch Due-RX to EMIC-SOUT, and bypass TXB0108 completely. Now I risk damaging the Due.

The TBXB0108 is known to have issues with I2C. Is it known to have issues with the Arduino Due hardware serial ports? Do I need to add a resistors and/or other components somewhere? Thank you.
randomvibe
 
Posts: 33
Joined: Tue Jan 24, 2012 6:26 am

Re: Problem: EMIC2 + Arduino-Due + Level-Converter (TXB0108)

Postby adafruit » Sat Jan 19, 2013 7:49 am

Never heard of a problem with serial - do you have any pullups or anything?
User avatar
adafruit
 
Posts: 10483
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Problem: EMIC2 + Arduino-Due + Level-Converter (TXB0108)

Postby randomvibe » Sun Jan 20, 2013 1:38 am

adafruit wrote:Never heard of a problem with serial ...

Have you tried the TXB0108 through hardware serial? From an A-Due? A-Due's are very new I realize.

adafruit wrote: - do you have any pullups or anything?

No pullups, just A-Due to TXB to EMIC2. Are pullups required for serial? Anything else needed?

Or, is there a better option over the TXB0108 for this application? Thank you.
randomvibe
 
Posts: 33
Joined: Tue Jan 24, 2012 6:26 am

Re: Problem: EMIC2 + Arduino-Due + Level-Converter (TXB0108)

Postby adafruit » Sun Jan 20, 2013 11:33 am

we have not tried it, but also don't know why it wouldn't work. you could try our FET based 4-channel shifter.
User avatar
adafruit
 
Posts: 10483
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Problem: EMIC2 + Arduino-Due + Level-Converter (TXB0108)

Postby randomvibe » Sun Jan 20, 2013 9:35 pm

adafruit wrote:Never heard of a problem with serial - do you have any pullups or anything?


Are you also suggesting I try to adding pullups? What value and on which side (3.3V, or 5V, or both)?
randomvibe
 
Posts: 33
Joined: Tue Jan 24, 2012 6:26 am



Return to Other Adafruit products

Who is online

Users browsing this forum: LePaul and 8 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]