Adafruit Industries, Essential service and business: NYC – Executive Order 202.6 - Read more. Accepting essential orders - here's how.
0

2,8 " display on beagleBone black
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

2,8 " display on beagleBone black

by Juu on Wed Apr 27, 2016 6:29 am

Hi all

I'm trying to use the 2.8" TFT LCD WITH CAP TOUCH(https://www.adafruit.com/product/2090) display with my BBB but I don't find any driver for.

I don't want use the python librairy, i wish use it like an hdmi display, for display the deskktop and apps.

I find this on the web http://beagleboard.org/project/bbb-lcd-fbtft-prebuilt/ but it is for the others adafruits screens.

it might work ?

thanks for any answer, help or troll :)

ps: sorry for my bad english.

Juu
 
Posts: 18
Joined: Wed Apr 27, 2016 6:19 am

Re: 2,8 " display on beagleBone black

by arenyx on Wed Apr 27, 2016 1:23 pm

Hi,

I just wanted to say that I'm having a similar problem with the same product. I posted in the microcontroller forum and someone said to post here. I saw your post and decided it would be better to not make a whole new topic for essentially the same thing. If I should make my own topic, let me know and I'll edit and do so.

Anyways, this display connects through SPI (or 8-bit) and I2C, with the SPI for the displaying and the I2C for the touching. The first thing that you might still need to do is enable some of those ports in the Device Tree Overlay. The python library is sufficient for the SPI/8bit portion, but both of us would like to use the C++ library instead of the python library, which is built for Arduino, and so we need to port that over. Additionally, the ILI9341 C++ lib depends on the Adafruit_GFX library, and the I2C part of the device uses the FT6206 library. All of these, as far as I'm aware, need to be ported in some way.

Just to illuminate some of the arduino dependencies (I don't know if these are all of them or if any of them actually need to be changed), here's a pastebin of what I found in the libraries.

There also includes like Wire.h in most of these that I'm guessing are arduino flavored.
Lastly, in the example .ino files it gets Spi.h and Wire.h, as well as defining pins as integers (like 9, 10 rather than P9_9, P9_10). I'm assuming the pin integer references can be found in sudo cat sys/kernel/debug/pinctrl/44e10800.pinmux/pingroups but if someone could verify that, that would be great.

Could anyone help us port these libraries?

arenyx
 
Posts: 3
Joined: Tue Apr 26, 2016 9:23 pm

Re: 2,8 " display on beagleBone black

by drewfustini on Thu Apr 28, 2016 12:20 am

Juu wrote:I'm trying to use the 2.8" TFT LCD WITH CAP TOUCH(https://www.adafruit.com/product/2090) display with my BBB but I don't find any driver for.

I don't want use the python librairy, i wish use it like an hdmi display, for display the deskktop and apps.

I find this on the web http://beagleboard.org/project/bbb-lcd-fbtft-prebuilt/ but it is for the others adafruits screens.


Yup, that was me that wrote that. It was part of a series of posts on element14 about using fbtft for different versions of the Linux kernel on the BeagleBone Black.

Your 2.8" Adafruit display has the ILI9341 controller chip which is supported by fbtft

I'll have 2.8" TFT LCD (PID: 2090) sent to me so that I can replicate your setup. I'll post a reply here once I've received it and wired it up.

drewfustini
 
Posts: 920
Joined: Sat Dec 26, 2015 1:19 pm

Re: 2,8 " display on beagleBone black

by Juu on Thu Apr 28, 2016 5:32 am

drewfustini wrote:
Juu wrote:I'm trying to use the 2.8" TFT LCD WITH CAP TOUCH(https://www.adafruit.com/product/2090) display with my BBB but I don't find any driver for.

I don't want use the python librairy, i wish use it like an hdmi display, for display the deskktop and apps.

I find this on the web http://beagleboard.org/project/bbb-lcd-fbtft-prebuilt/ but it is for the others adafruits screens.


Yup, that was me that wrote that. It was part of a series of posts on element14 about using fbtft for different versions of the Linux kernel on the BeagleBone Black.

Your 2.8" Adafruit display has the ILI9341 controller chip which is supported by fbtft

I'll have 2.8" TFT LCD (PID: 2090) sent to me so that I can replicate your setup. I'll post a reply here once I've received it and wired it up.



Hi,

Thank you for the anwer i have make the them conclusion, :" suported by the fbft"

i'm now trying to wiring but I'm totaly lost xD

waiting your answer



Edit :

I've follow your link ( https://www.element14.com/community/com ... 813-kernel )

at the step 2: Run build script :

I've missing dependencies

so i try to resolve that by


sudo apt-get install bc lzma lzop libncurses5-dev



but I have this error:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'xz-utils' instead of 'lzma'
Package bc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'bc' has no installation candidate
E: Unable to locate package lzop
E: Unable to locate package libncurses5-dev


any idea of what i'm doing wrong ?


Edit 2 :

I've solved the dependecies problem. :D

Juu
 
Posts: 18
Joined: Wed Apr 27, 2016 6:19 am

Re: 2,8 " display on beagleBone black

by Juu on Tue Jun 07, 2016 9:24 am

drewfustini wrote:
Juu wrote:I'm trying to use the 2.8" TFT LCD WITH CAP TOUCH(https://www.adafruit.com/product/2090) display with my BBB but I don't find any driver for.

I don't want use the python librairy, i wish use it like an hdmi display, for display the deskktop and apps.

I find this on the web http://beagleboard.org/project/bbb-lcd-fbtft-prebuilt/ but it is for the others adafruits screens.


Yup, that was me that wrote that. It was part of a series of posts on element14 about using fbtft for different versions of the Linux kernel on the BeagleBone Black.

Your 2.8" Adafruit display has the ILI9341 controller chip which is supported by fbtft

I'll have 2.8" TFT LCD (PID: 2090) sent to me so that I can replicate your setup. I'll post a reply here once I've received it and wired it up.




Hi have you received it ?

Can you explain to me how to set up the display,

have a good day

Juu
 
Posts: 18
Joined: Wed Apr 27, 2016 6:19 am

Re: 2,8 " display on beagleBone black

by drewfustini on Wed Jun 08, 2016 1:25 pm

Hello, sorry for the delay. I did receive it, but am currently traveling. I'll wire it up when I return home and let you know the results.

drewfustini
 
Posts: 920
Joined: Sat Dec 26, 2015 1:19 pm

Re: 2,8 " display on beagleBone black

by Juu on Mon Jun 13, 2016 4:39 am

drewfustini wrote:Hello, sorry for the delay. I did receive it, but am currently traveling. I'll wire it up when I return home and let you know the results.



Thanks, I am eager to know your solution.

Juu
 
Posts: 18
Joined: Wed Apr 27, 2016 6:19 am

Re: 2,8 " display on beagleBone black

by Arminhmt on Wed Jun 22, 2016 1:26 am

hi
i want to know that does this driver "Adafruit_Python_ILI9341" support 3.2" to be connected to beaglebone too or not?!
i couldn't find 2.8" LCD with this driver in my country!!!

my LCD INFO:
ili9341
240*320
3.2"

Arminhmt
 
Posts: 3
Joined: Wed Jun 22, 2016 1:21 am

Re: 2,8 " display on beagleBone black

by drewfustini on Wed Jun 22, 2016 1:49 am

Arminhmt: Please open a new topic in Beagle Bone & Adafruit Beagle Bone products. Also please specify the exact model number of your LCD.

drewfustini
 
Posts: 920
Joined: Sat Dec 26, 2015 1:19 pm

Re: 2,8 " display on beagleBone black

by drewfustini on Wed Jun 22, 2016 2:05 am

Juu: Unfortunately, I've NOT yet been able to get fbtft driver working with the 2.8" TFT LCD - ILI9341. It does work OK with the Python library.

The issue I believe is that the fbtft/fb_ili9341 driver lacks that correct the init sequence.

I would recommend you use one of these displays if you wish to use a small Adafruit TFT LCD as the primary display:
Adafruit 1.8" TFT LCD
Adafruit 2.2" TFT LCD

drewfustini
 
Posts: 920
Joined: Sat Dec 26, 2015 1:19 pm

Re: 2,8 " display on beagleBone black

by drewfustini on Fri Jun 24, 2016 10:08 pm

Juu: I did finally get the display to work with the fbtft driver on the BeagleBone Black.

Display:
2.8" TFT LCD with Cap Touch Breakout Board w/MicroSD Socket. PRODUCT ID: 2090

I followed the instructions I had here:
BeagleBone Black LCDs with Prebuilt FBTFT drivers

I used this line to load the driver:
modprobe fbtft_device busnum=1 name=adafruit22a verbose=3 gpios=dc:48,reset:60


Here is the full transcript from the terminal:
Adafruit 2.8" TFT LCD with ILI9341

Here is photos of the wiring:
https://photos.google.com/share/AF1QipN ... pTNFRSdUJ3

ili9341-wiring.jpg
ili9341-wiring.jpg (250.49 KiB) Viewed 687 times

IMG_20160624_053230.jpg
IMG_20160624_053230.jpg (62 KiB) Viewed 687 times

drewfustini
 
Posts: 920
Joined: Sat Dec 26, 2015 1:19 pm

Re: 2,8 " display on beagleBone black

by Juu on Fri Jul 08, 2016 6:33 am

Hi,

That's great thank you so much.

can you display the linux desktop with this setup ?


I would like to show my use nodeWebkit (https://github.com/nwjs/nw.js/) GUI and so I need to load the desktop.

have a nice day

Juu
 
Posts: 18
Joined: Wed Apr 27, 2016 6:19 am

Re: 2,8 " display on beagleBone black

by drewfustini on Fri Jul 08, 2016 2:14 pm

Yes, the X Windows desktop will be displayed if you have a Linux desktop environment installed (like LXDE, XFCE, Gnome, etc).

Check out this FBTFT wiki page:
https://github.com/notro/fbtft/wiki/Fra ... e#x-server

drewfustini
 
Posts: 920
Joined: Sat Dec 26, 2015 1:19 pm

Re: 2,8 " display on beagleBone black

by Juu on Wed Jul 20, 2016 9:59 am

Hello,
I followed the instruction , the backlight of the screen works but I can not view the image on the screen. I had no errors by following the procedure.

thank you for help,
Julien

Juu
 
Posts: 18
Joined: Wed Apr 27, 2016 6:19 am

Re: 2,8 " display on beagleBone black

by drewfustini on Fri Jul 22, 2016 2:31 am

Could you please post a photo of your wiring?

drewfustini
 
Posts: 920
Joined: Sat Dec 26, 2015 1:19 pm

Please be positive and constructive with your questions and comments.