notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.85k stars 494 forks source link

ILI9325DS white screen #375

Closed tERB00 closed 7 years ago

tERB00 commented 8 years ago

Hello,

I'm trying to get 2.8 TFT LCD Touch Shield by ITEAD Studio working with my original Raspberry Pi but still have no luck.

It is a Arduino shield similar to ITDB02-2.8 so i wired it manually. The OS is latest Raspbian Jessie lite.

My config is: options fbtft_device name=itdb28 gpios=dc:1,wr:0,cs:21,db00:9,db01:11,db02:18,db03:23,db04:24,db05:25,db06:8,db07:7

Dmesg output is: `[ 4.911767] fbtft: module is from the staging directory, the quality is unknown, you have been warned.

[ 4.918572] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.

[ 4.920288] fbtft_device: SPI devices registered:

[ 4.920306] fbtft_device: spidev spi0.0 500kHz 8 bits mode=0x00

[ 4.920315] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00

[ 4.920319] fbtft_device: 'fb' Platform devices registered:

[ 4.920362] fbtft_device: soc:fb id=-1 pdata? no

[ 4.920584] fbtft_device: GPIOS used by 'itdb28':

[ 4.920591] fbtft_device: 'dc' = GPIO1

[ 4.920597] fbtft_device: 'wr' = GPIO0

[ 4.920602] fbtft_device: 'cs' = GPIO21

[ 4.920606] fbtft_device: 'db00' = GPIO9

[ 4.920613] fbtft_device: 'db01' = GPIO11

[ 4.920617] fbtft_device: 'db02' = GPIO18

[ 4.920621] fbtft_device: 'db03' = GPIO23

[ 4.920625] fbtft_device: 'db04' = GPIO24

[ 4.920629] fbtft_device: 'db05' = GPIO25

[ 4.920633] fbtft_device: 'db06' = GPIO8

[ 4.920637] fbtft_device: 'db07' = GPIO7

[ 4.920641] fbtft_device: 'fb' Platform devices registered:

[ 4.920672] fbtft_device: soc:fb id=-1 pdata? no

[ 4.920706] fbtft_device: fb_ili9325 id=0 pdata? yes

[ 6.881028] fb_ili9325: module is from the staging directory, the quality is unknown, you have been warned.

[ 12.726849] graphics fb1: fb_ili9325 frame buffer, 240x320, 150 KiB video memory, 4 KiB DMA buffer memory, fps=20`

It shows no errors but the screen remains white even after con2fbmap 1 1 command.

Here is the link to the shield: http://wiki.iteadstudio.com/2.8_TFT_LCD_Touch_Shield

The only difference between this display and ITDB02-2.8 is that it have ILI9325DS chip instead of ILI9325C, a reset line is pulled up to VCC via resistor and it have onboard regulator for 3.3v

I've double checked my wiring and it all seems to be fine and correct, screen worked fine with arduino so i don't know what to do at this point.

Any suggestions how to troubleshoot this issue?

Thanks

Krakawet commented 8 years ago

Maybe try to make it work "manually", with wiringPi (see http://blog.iteadstudio.com/raspberry-pi-with-tft-lcd-demo/ )? Once you've done with this, I hope you will be able to reproduce the change you've done in your fbtft_device source, and compile the driver you want.

notro commented 7 years ago

Closing issue since there has been no activity in a long time. Reopen if needed.