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 496 forks source link

AdaFruit PiTFT Plus 480x320 3.5" Display #410

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hello,

I am using an AdaFruit PiTFT Plus 480x320 3.5" Display (https://www.adafruit.com/products/2441), and I noticed the HX8357 drivers were in staging but I have been unable to get these drivers to work on my ARM based board (not a Raspberry Pi).

I wanted to find out the state of the driver for the HX8357 and who has had success getting this display to work.

Regards!

DRAgon734465502 commented 8 years ago

are you sure the LCD is HX8357 drivers chip

ghost commented 8 years ago

Hello and thank you for the reply. This is what I am referencing: https://learn.adafruit.com/adafruit-pitft-3-dot-5-touch-screen-for-raspberry-pi/downloads

DRAgon734465502 commented 8 years ago

http://www.spotpear.com/learn/HX8357-D.rar

This is the LCD from china as the same HX8357d

Hope will help you

ghost commented 8 years ago

I will look at that.

I am getting a lot debug messages written to the serial console ...

fb_hx8357d spi2.0: fbtft_write_reg8_bus8: 2a 00 00 01 df fb_hx8357d spi2.0: fbtft_write_spi(len=1): 2a fb_hx8357d spi2.0: fbtft_write_spi(len=4): 00 00 01 df fb_hx8357d spi2.0: fbtft_write_reg8_bus8: 2b 00 18 00 1f fb_hx8357d spi2.0: fbtft_write_spi(len=1): 2b fb_hx8357d spi2.0: fbtft_write_spi(len=4): 00 18 00 1f fb_hx8357d spi2.0: fbtft_write_reg8_bus8: 2c fb_hx8357d spi2.0: fbtft_write_spi(len=1): 2c fb_hx8357d spi2.0: fbtft_write_vmem16_bus8(offset=23040, len=7680) fb_hx8357d spi2.0: fbtft_write_spi(len=4096): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... fb_hx8357d spi2.0: fbtft_write_spi(len=3584): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... fb_hx8357d spi2.0: Display update: 86 kB/s, fps=0 fb_hx8357d spi2.0: fbtft_update_display(start_line=24, end_line=31) fb_hx8357d spi2.0: fbtft_write_reg8_bus8: 2a 00 00 01 df fb_hx8357d spi2.0: fbtft_write_spi(len=1): 2a fb_hx8357d spi2.0: fbtft_write_spi(len=4): 00 00 01 df fb_hx8357d spi2.0: fbtft_write_reg8_bus8: 2b 00 18 00 1f fb_hx8357d spi2.0: fbtft_write_spi(len=1): 2b fb_hx8357d spi2.0: fbtft_write_spi(len=4): 00 18 00 1f fb_hx8357d spi2.0: fbtft_write_reg8_bus8: 2c fb_hx8357d spi2.0: fbtft_write_spi(len=1): 2c fb_hx8357d spi2.0: fbtft_write_vmem16_bus8(offset=23040, len=7680) fb_hx8357d spi2.0: fbtft_write_spi(len=4096): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... fb_hx8357d spi2.0: fbtft_write_spi(len=3584): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... fb_hx8357d spi2.0: Display update: 95 kB/s, fps=0

<<

ghost commented 8 years ago

Things are looking good.

DRAgon734465502 commented 8 years ago

hello do you solve your problem ?