GithubHelp home page GithubHelp logo

yoyojacky / cm4_lcd_lt070me05000 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from harlab/cm4_lcd_lt070me05000

0.0 1.0 0.0 1.42 MB

Raspberry Pi CM4 bindings for JDI LT070ME05000 1200x1920 IPS display

cm4_lcd_lt070me05000's Introduction

CM4_LCD_LT070ME05000

Raspberry Pi CM4 bindings for JDI LT070ME05000 1200x1920 IPS display

Status: Adapter board V2 prototypres are manufactured. Let us know if you'd like to order it with CM4Ext Nano

CM4Ext Nano with LCD

Adapter board V2 with CM4Ext Nano CM4Ext Nano adapter V2

Adapter board V2

Adapter board V2 requires only 22 pin DSI cable and +5V power:

  • i2c GPIO expander eliminates need for 3 GPIO jumper wires
  • 3.3V LDO removed, as panel can operate from 5V

Overview

JDI LT070ME05000 is 7" 1200x1920 4-lane DSI IPS display used in Asus/Google Nexus 7 2013 tablet. To use it, 4-lane DSI interface is required, so it can be used with Raspberry Pi Compute Modules 3 and 4. Some suppliers have these displays available from ~$US20 shipped. There is a driver for this panel in a mainline already included, so we only need to compile/install it and make device tree overlay

Software installation

We need build rpi-5.10.y branch with LT070ME05000 module enabled. This is well documented at Raspberry Pi help pages here and here

sudo apt install git bc bison flex libssl-dev make
sudo apt install libncurses5-dev
git clone --depth=1 --branch rpi-5.10.y https://github.com/raspberrypi/linux
cd linux
KERNEL=kernel7l
make bcm2711_defconfig
make menuconfig

Navigate to Device Drivers/Graphics support/Display panel, check JDI LT070ME05000 panel and save

Now we need to build and install kernel:

make -j4 zImage modules dtbs
sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/$KERNEL.img

Device Tree Source can be modified to assign another GPIO numbers, then compiled and copied to boot partition:

sudo dtc -@ -I dts -O dtb -o vc4-kms-dsi-lt070me05000.dtbo vc4-kms-dsi-lt070me05000-overlay.dts
sudo cp vc4-kms-dsi-lt070me05000.dtbo /boot/overlays/

Then edit /boot/config.txt to add:

lcd_ignore=1
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-lt070me05000

and reboot

After reboot screen should we working and have portrait orientation. To adjust, use Main Menu/Preferences/Screen configuration utility

LCD pins defaults to:

  • Reset - GPIO17
  • Enable - GPIO4
  • DCDC Enable - GPIO5

Default pins can be changed, for example:

lcd_ignore=1
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-lt070me05000,reset=5,enable=17,dcdc-en=4

Hardware

Proof-of-concept schematics Adapter

Important notes:

  • This schematics comes with no warranties, use at your own risk
  • Verify pin 1 location for your application: two FPC connectors facing each other would have first pin at opposite side
  • 3V3 LDO gets hot. According to datasheet, VDD and VDDp can actually be powered from 3.0-5.0V
  • i2c part for TP is not tested
  • LCD_RST MUST be 1.8V with sufficient current, ie resistive divider 3.3->1.8 is likely not to work. If using with RPi CM3, LCD_RST can be directly driven by 1.8 powered GPIO bank

cm4_lcd_lt070me05000's People

Contributors

harlab avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.