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

White display on SSD2119 controller #484

Closed bgsuello closed 6 years ago

bgsuello commented 6 years ago

constroller: SSD2119 display: BOOSTXL-K350-QVG

I can't initialized(all white) the display via fbtft_device flexfb setaddrwin=2, in beaglebone black wireless. I already disable the HDMI, enable the SPIDEV1 in /boot/uEnv.txt

this is how I do it:

sudo modprobe fbtft_device name=flexfb gpios=reset:49,dc:48,led:50 busnum=1 verbose=2 debug=5 speed=15000000 bgr=1
sudo modprobe flexfb width=320 height=240 regwidth=16 setaddrwin=2 init=-1,0x0007,0x0021,-1,0x0000,0x0001,-1,0x0007,0x0023,-1,0x0010,0x0000,-2,30,-1,0x0007,0x0033,-1,0x0001,0x3AEF,-1,0x0002,0x0600,-1,0x0003,0x6A64,-1,0x0011,0x4270,-1,0X000F,0x0000,-1,0X000B,0x5308,-1,0x0025,0x8000,-1,0x0026,0x7800,-1,0x004E,0x0000,-1,0x004F,0x0000,-1,0x0012,0x08D9,-1,0x0030,0x0000,-1,0x0031,0x0104,-1,0x0032,0x0100,-1,0x0033,0x0305,-1,0x0034,0x0505,-1,0x0035,0x0305,-1,0x0036,0x0707,-1,0x0037,0x0300,-1,0x003A,0x1200,-1,0x003B,0x0800,-1,0x0007,0x0032,-1,0x0022,-3

also I'm having no errors on dmesg, I already follow the display on sequence in the datasheet, but idk if I'm doing it right.

bgsuello commented 6 years ago

already fix this, by changing my init code.