TFTLCD breakout has unexpected driver chip
Moderators: adafruit_support_bill, adafruit

TFTLCD breakout has unexpected driver chip

by DigitalJohnson on Fri Nov 16, 2012 8:57 pm

I just purchased a TFTLCD breakout (ID:335) from adafruit. This is the second one I've bought. The new board is reporting the driver chip as 9321 and does not work with the provided libraries, and is not listed in those libraries. Does anyone have or know where I can get a library that works with this driver?

Thanks for any replies,
DigitalJohnson
DigitalJohnson
 
Posts: 1
Joined: Tue Mar 01, 2011 4:53 am

Re: TFTLCD breakout has unexpected driver chip

by adafruit on Fri Nov 16, 2012 9:10 pm

sounds like a wiring issue or a cold solder joint - check your soldering
User avatar
adafruit
 
Posts: 11671
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: TFTLCD breakout has unexpected driver chip

by pburgess on Sat Nov 17, 2012 12:13 am

Especially check the order of the 8 data lines...I've put this combo together a billion times and I STILL get wires swapped sometimes! :)
User avatar
pburgess
 
Posts: 2532
Joined: Sun Oct 26, 2008 1:29 am

Re: TFTLCD breakout has unexpected driver chip

by madhunm on Mon Nov 19, 2012 10:07 am

Hello Adafruit team,

I have an unusual problem with the latest version of the TFTLCD Library:

I have the 2.8" TFT Touch Shield for Arduino with a HX8347G driver and if I use

Code: Select all | TOGGLE FULL SIZE
uint16_t identifier = tft.readID();
from the new version of the library, readID() returns 5555.

However, if I use
Code: Select all | TOGGLE FULL SIZE
uint16_t identifier = tft.readRegister(0x0);
from the old version of the library, it works just fine.

Any ideas what could have gone wrong?

Thanks,
Madhu.
madhunm
 
Posts: 40
Joined: Thu Dec 16, 2010 5:06 pm

Re: TFTLCD breakout has unexpected driver chip

by adafruit on Wed Nov 21, 2012 10:42 am

readID is not the same as reading the register - there's nothing wrong
User avatar
adafruit
 
Posts: 11671
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: TFTLCD breakout has unexpected driver chip

by madhunm on Wed Nov 21, 2012 11:46 am

Hello,

I am sorry if my question was not clear.

Let me try again:

As I have said before, I have the 2.8" TFT Touch Shield for Arduino with a HX8347G driver.

If I use
Code: Select all | TOGGLE FULL SIZE
uint16_t identifier = tft.readID();


In the new version of the library, readID() returns 5555 instead of 0x7575. The TFT shield does not initialise at all.

Thanks,
Madhu.
madhunm
 
Posts: 40
Joined: Thu Dec 16, 2010 5:06 pm

Re: TFTLCD breakout has unexpected driver chip

by pburgess on Wed Nov 21, 2012 4:18 pm

Howdy,

This issue has come up a few times recently, but I've not been able to reproduce it here yet. What type of Arduino board specifically are you using? The readID() function saw some optimization in the last commit...it might be pushing up against some boundary condition.

I might ask you to try a few tweaks in the library code. Are you familiar with editing library files outside the normal Arduino IDE?
User avatar
pburgess
 
Posts: 2532
Joined: Sun Oct 26, 2008 1:29 am

Re: TFTLCD breakout has unexpected driver chip

by madhunm on Wed Nov 21, 2012 6:14 pm

Hello,

I am using an Arduino Uno R2. I have attached the Serial Monitor output below for the 'graphicstest' example included with the library:

ADAFruit TFT.PNG
Serial Monitor Output
ADAFruit TFT.PNG (64.94 KiB) Viewed 902 times


I have not changed anything in the example; nor have I changed anything in how the Serial Monitor output looks like. I have copy-pasted it as-is.

And, Yes; I am familiar with editing library files. :)

Thanks,
Madhu.
madhunm
 
Posts: 40
Joined: Thu Dec 16, 2010 5:06 pm

Re: TFTLCD breakout has unexpected driver chip

by pburgess on Wed Nov 21, 2012 6:35 pm

Okay, I'm running the same hardware here, still not running into this. What version of the Arduino software are you running?

Thanks for your patience, we'll sort this out yet!
User avatar
pburgess
 
Posts: 2532
Joined: Sun Oct 26, 2008 1:29 am

Re: TFTLCD breakout has unexpected driver chip

by madhunm on Wed Nov 21, 2012 7:02 pm

I am using Arduino 1.0.2
madhunm
 
Posts: 40
Joined: Thu Dec 16, 2010 5:06 pm

Re: TFTLCD breakout has unexpected driver chip

by pburgess on Wed Nov 21, 2012 8:12 pm

Okay, thanks. Still trying to reproduce here. In the meantime though...please try the latest version of the code on Github, at the very least this should fix the problem of the Vogon poetry mixed in the serial output!
User avatar
pburgess
 
Posts: 2532
Joined: Sun Oct 26, 2008 1:29 am

Re: TFTLCD breakout has unexpected driver chip

by madhunm on Fri Nov 23, 2012 3:39 pm

Hello,

I tried the latest commit of the TFT library; except for the Vogon poetry, the problem of the unidentified driver chip ID still remains.

Here is the latest screen capture of the Serial Monitor output:

ADAfruit TFT Serial Monitor.PNG
Serial Monitor output
ADAfruit TFT Serial Monitor.PNG (66.69 KiB) Viewed 832 times


Thanks,
Madhu.
madhunm
 
Posts: 40
Joined: Thu Dec 16, 2010 5:06 pm

Re: TFTLCD breakout has unexpected driver chip

by adafruit on Sun Nov 25, 2012 2:30 pm

can you do me a favor and post the exact code you're running? the ID 0x5555 is valid and it should work...
User avatar
adafruit
 
Posts: 11671
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: TFTLCD breakout has unexpected driver chip

by madhunm on Sun Nov 25, 2012 7:41 pm

Hello,

Well, I am trying to run the 'graphicstest' example included with the library.

Thanks,
Madhu.
madhunm
 
Posts: 40
Joined: Thu Dec 16, 2010 5:06 pm

Re: TFTLCD breakout has unexpected driver chip

by pburgess on Mon Nov 26, 2012 9:37 am

Just something to try…

In the file Adafruit_TFTLCD/pin_magic.h, line #103 looks like this:
Code: Select all | TOGGLE FULL SIZE
  #define write8 write8inline

Immediately following that, try adding this extra line:
Code: Select all | TOGGLE FULL SIZE
  #define read8 read8inline

Compile and upload to board. Any change in results?
User avatar
pburgess
 
Posts: 2532
Joined: Sun Oct 26, 2008 1:29 am