0

TXB0104 not working with 23LC1024
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

TXB0104 not working with 23LC1024

by vigiler on Thu Dec 10, 2015 4:20 am

I've tried to use Sram 23LC1024 chip with arduino mega using the txb0104, and it isn't working. i've connected them directly and nothing happenning. I've tested the library:ok, the connections: ok. Don'tknow what's happening. Could you help me to find out what's happening?
P.D: I know 23LC1024 can work at 5V, but it should work as well with 3.3. Why i'm using this chip? haven't got another chip to test the txb0104 till i receive the FM25V20A-G (SPI FRAM memory) which works at 3.3V.

vigiler
 
Posts: 3
Joined: Thu Dec 10, 2015 4:06 am

Re: TXB0104 not working with 23LC1024

by adafruit_support_mike on Thu Dec 10, 2015 4:31 am

Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.

The TXB0104 has relatively weak output (which is part of its direction autodetect circuit), but should work well for chip-to-chip communication.

adafruit_support_mike
 
Posts: 63134
Joined: Thu Feb 11, 2010 2:51 pm

Re: TXB0104 not working with 23LC1024

by vigiler on Fri Dec 11, 2015 3:17 am

20151210_235647.jpg
On the other side is Arduino Mega
20151210_235647.jpg (172.17 KiB) Viewed 484 times

As can be seen on the picture it is a simple conecction. On one side is Arduino Mega, in between TXB0104, and on the other side is the SRAM.
Chip Select pin is attached to Mega's pin 53, and on the sketch i use is declared as cs of the ram.
I've checked solders, and pads of the SRAM board, and they're ok.
I've even got to work the whole set just by touching on CS (A1) pin of TXB0104 (very strange).
Don't know what's wrong.
I've tried using another level shifter, like this one : "4-channel I2C-safe Bi-directional Logic Level Converter", and i works from second 1 without any problem at SPI_CLOCK_DIV2!!

vigiler
 
Posts: 3
Joined: Thu Dec 10, 2015 4:06 am

Re: TXB0104 not working with 23LC1024

by adafruit_support_mike on Fri Dec 11, 2015 3:55 am

Sounds like a problem along the CS signal path.

Try loading a simple sketch that just toggles that pin high and low on 1-second intervals, and check the voltage on the appropriate input and output pins to see if the signal is getting to (then through) the TBX0104. If so, then check the CS connection on the SRAM chip.

Touch your probes to the solder joints on the PCBs, not on the wiring. Breadboards are notorious for connection problems, so the header joints are the best place to find out what the chip sees.

adafruit_support_mike
 
Posts: 63134
Joined: Thu Feb 11, 2010 2:51 pm

Re: TXB0104 not working with 23LC1024

by vigiler on Mon Dec 14, 2015 6:16 pm

Hello
After testing the output of txb0104 i've seen irregular values so i've changed the txb0104 for another i had and now everything is working fine.
Thank you.

vigiler
 
Posts: 3
Joined: Thu Dec 10, 2015 4:06 am

Re: TXB0104 not working with 23LC1024

by adafruit_support_mike on Tue Dec 15, 2015 2:54 am

Glad to hear it's working for you. Happy hacking!

adafruit_support_mike
 
Posts: 63134
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.


cron