TFT 3.2" in 8 bit interface mode

Thread Starter

sairfan1

Joined May 24, 2012
107
Hi,

I have some TFT 3.2" (driver SSD1289, HX8352 and ILI9481) as these all have 16bit interface. after spending hours still i could not find out how can i interface it in 8 bit mode, in datasheet i read that it can be connected in 8 bit mode and even in serial mode, but did not find any instruction or command. Please help if any one have tried it. thanks
 

shteii01

Joined Feb 19, 2010
4,644
Generally, first you setup the TFT to work in 8 bit mode, second you divide your data into 8 bit chunks, you send the high 8 bits first then you send low 8 bits. That's about it.

Do you have TFT command and instruction set/list/table?
 

Thread Starter

sairfan1

Joined May 24, 2012
107
sorry for late reply, i dont know why i did not receive notification of reply posted.

Anyway i have attached datasheets, these are general China based TFTs 320x240, i noticed basic config is common, i have successfully run in 16bit mode. but no further ports left on my mcu, must need to run in 8 bit mode.
 

Attachments

NorthGuy

Joined Jun 28, 2014
611
Look at the very beginning of table 4.1 on page 12. It explains how to set P68,BS0,BS1, and BS2 pins to select a mode.
 

Thread Starter

sairfan1

Joined May 24, 2012
107
i understand, these are pins of TFT driver, not interface pins, i need to set this value through some command. at page 16 of SSD1289 there are some instructions, but i could not get the point.
 
Last edited:

NorthGuy

Joined Jun 28, 2014
611
i understand, these are pins of TFT driver, not interface pins, i need to set this value through some command. at page 16 of SSD1289 there are some instructions, but i could not get the point.
Page 19. PS0-PS3 pins.

Also Page 21. The very beginning of section 7.1.
 

Thread Starter

sairfan1

Joined May 24, 2012
107
Thanks for reply, im working on SSD1298 for now, can you please advise when using in SPI (3pin) mode which of the data pins are used for SPI mode like CLK, SDI, SDO?
 

Thread Starter

sairfan1

Joined May 24, 2012
107
yes but these are not on TFT interface, looks like some of data pins D0 to D15 are used for serial communication alternatively, i uploaded image for pin reference

 
Last edited:

Thread Starter

sairfan1

Joined May 24, 2012
107
Hi,

while discussing with some friends i came to know that most of Chinese suppliers do not provide correct datasheet of product, you have to do effort at your own, i was advised to pull out TFT from its PCB mount, there i found exact driver number which is SSD1289, furthermore most of vendors do not provide configuration pins on PCB, so you have to pullout TFT and find where configuration pins are, if you are expert you may change its configurations, it may damage your TFT so should be done very carefully.

Incase i change configuration still it is not clear that which pins act like SPI pins in serial mode. because there are no pins marked with SPI interface.
 

shteii01

Joined Feb 19, 2010
4,644
Hi,

while discussing with some friends i came to know that most of Chinese suppliers do not provide correct datasheet of product, you have to do effort at your own, i was advised to pull out TFT from its PCB mount, there i found exact driver number which is SSD1289, furthermore most of vendors do not provide configuration pins on PCB, so you have to pullout TFT and find where configuration pins are, if you are expert you may change its configurations, it may damage your TFT so should be done very carefully.

Incase i change configuration still it is not clear that which pins act like SPI pins in serial mode. because there are no pins marked with SPI interface.
Vote with your wallet. If they don't provide accurate information, don't buy their products.
 

THE_RB

Joined Feb 11, 2008
5,438
No, they are the SPI pins for the SD card which is also on the PCB.

And the pins marked T_xx are SPI for the touchpanel controller.

The display pins are on the left side, REST, CS, RD, WR, RS etc.

It's a standard China ebay TFT pinout and there are plenty of wiring diagrams and code examples to google.
 

Thread Starter

sairfan1

Joined May 24, 2012
107
there is also SPI interface for SD Card and Touch Panel, SD_CLK ... are pins for SD Card, T_CLK pins are Touch Panel interface. While reading different datasheets i understand some of data pins (D0 to D15) act as SPI interface in serial mode.
 

shteii01

Joined Feb 19, 2010
4,644
No, they are the SPI pins for the SD card which is also on the PCB.

And the pins marked T_xx are SPI for the touchpanel controller.

The display pins are on the left side, REST, CS, RD, WR, RS etc.

It's a standard China ebay TFT pinout and there are plenty of wiring diagrams and code examples to google.
Ah, that explains SD in front.
 
Top