TFTLCD breakout has unexpected driver chip

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

TFTLCD breakout has unexpected driver chip

Postby DigitalJohnson » 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

Postby adafruit » Fri Nov 16, 2012 9:10 pm

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

Re: TFTLCD breakout has unexpected driver chip

Postby pburgess » 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: 1327
Joined: Sun Oct 26, 2008 1:29 am

Re: TFTLCD breakout has unexpected driver chip

Postby madhunm » 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
uint16_t identifier = tft.readID();
from the new version of the library, readID() returns 5555.

However, if I use
Code: Select all
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

Postby adafruit » Wed Nov 21, 2012 10:42 am

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

Re: TFTLCD breakout has unexpected driver chip

Postby madhunm » 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
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

Postby pburgess » 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: 1327
Joined: Sun Oct 26, 2008 1:29 am

Re: TFTLCD breakout has unexpected driver chip

Postby madhunm » 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 672 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

Postby pburgess » 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: 1327
Joined: Sun Oct 26, 2008 1:29 am

Re: TFTLCD breakout has unexpected driver chip

Postby madhunm » 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

Postby pburgess » 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: 1327
Joined: Sun Oct 26, 2008 1:29 am

Re: TFTLCD breakout has unexpected driver chip

Postby madhunm » 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 602 times


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

Re: TFTLCD breakout has unexpected driver chip

Postby adafruit » 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: 10483
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: TFTLCD breakout has unexpected driver chip

Postby madhunm » 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

Postby pburgess » 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
  #define write8 write8inline

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

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

Next

Return to Glowy things (LCD, LED, TFT, EL) purchased at Adafruit

Who is online

Users browsing this forum: No registered users and 4 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]