Jump to content

OrangePi Zero LTS ili9341 TFT LCD (and later OrangePi Zero 3)


Go to solution Solved by robertoj,

Recommended Posts

Posted

If anyone needs h264 acceleration in opiz3, it is possible quickly with a version of Armbian from mid 2024, as shown in this thread:

https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/?do=findComment&comment=205516

 

(in opi zero, h264 is already possible with official debian debs)

 

There are a few suggestions to make it work in the latest Armbian... I am bumping this thread because I have limited time with my opiz3, but you may be able to do it (and share).

 

More references of success: https://forum.armbian.com/topic/31848-cant-use-ffmpeg-hardware-accelration-v4l2-orange-pi-4-lts/?do=findComment&comment=175688

 

^ Actually, if you see that link, you will see a way to compile your own Armbian image, with some linux patches that allow ffmpeg-v4l2request do its work.

Posted

i tried your dts for opiz2w, and thank you, its helped me! but i have two problems: first - screen size is not 320x240 for my system (somewhere the line is being moved, although there is still space further on the screen, and the beginning of the line vertically is not at the very top of the screen, but in the middle), and second - bgr... i tried bgr = <0> and bgr = <1> and rgb = <0> etc... do you know, how to fix at least one of it?

Posted

oke, i found out, that system defines display in 240x320 mode, but i need 320x240, idk i tried to change height and weight values in dts

Posted

I can't understand your situation :( can yoiu send a photo of the LCD, the kernel version, and do some of the tests that I wrote in this thread?

 

Start with the DTS here: https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/#findComment-205335

 

 

The bgr and rgb parameters are among the last things to fix (applies to only some LCD drivers)... do you even get a picture in the LCD with wrong colors?

Posted

Is anyone using the orange pi zero LTS or 3, with any ilitek LCD, with spi-gpio driver?

 

I had my LTS working with ili9341 and spi-gpio last year... but the touch is not working now... I think I changed the wiring or the DTS  in the running system but I can't tell.

Posted (edited)

I was having some trouble with newer ili9488 LCD v2.1, and I didn't have ili9488 LCD v1.1, so I decided to experiment again with ili9341 LCD v1.2.

 

I found that this DTS https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/#findComment-204672

 

Doesn't work with the touch chip.

 

By accident, I ran the ili9488 driver on this ili9341, and I saw garbled graphics... but the good news: touch was working. Something in the ili9488 DTS which doesn't work for the ili9488 LCD, works for ili9341.

 

I found the difference was not in the ads7846 section, but in the spi speed for the ili9xxx part.

 

I switched back to the ili9341 DTS (with adafruit driver), but changed the SPI speed from 24MHZ to 40MHz.... then the ili9341 DTS was working with graphics and touch again :) ALTHOUGH the graphics have some flashing pseudo-colors in some places.

 

Maybe the 40MHZ is too much, but I re-gained touch in ili9341 LCD v1.1. I will keep doing experiments.

 

Playing with the SPI Mhz didn't help with the ili9488

Edited by robertoj

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines