mahegaik
mahegaik

Reputation: 11

Getting 2.4" SPI TFT LCD working with Beaglebone Black

What Kernel Fragment needs to be enabled. Changes needed to Beaglebone Black Devicetree to enable SPI and adding drivier for TFT LCD The physical connection details to get board up and running

Kernel Fragment for FB_TFT and Devicetree changes

Upvotes: 0

Views: 371

Answers (1)

mahegaik
mahegaik

Reputation: 11

Background

Wanted to explore the SPI-TFT-LCD available at cheape price. Here is the link for the LCD i used Adafruit-2.4"-SPI-TFT-LCD

Connections with BBB

Connection-Details-With-BBB

Kernel fragment to add

fragment-to-add-to-append

Devicetree Updates

DTS-Changes DTS-Changes
Note : Its mandatory to have backlight node, even if we are directly connecting LED to +3.3, without this node things wont work. Plus buswidth needs to be set to <8>, this did the trick for me, all the while i had this 9 considering the data sheet of LCD which suggested this as 4-wire, 9bit.

Update to bbappend in my-layer

  • meta-mylayer/recipe-kernel/linux/linux-yocto_5.4.bbappend
    -> I am using poky-dunfell for my builds
    bbpappend-changes

Finally loading the image and fb_ili9341.ko module

console-log

Outcome

Outcome

Upvotes: 1

Related Questions