Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How would one create a DPI LCD interface?

Featured Replies

 

Hey guys,

I would like to interface a small RGB24 LCD on the H3 GPIO, similar to this on raspberry pi : 

https://www.raspberrypi.org/documentation/hardware/raspberrypi/dpi/README.md

http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi

 

Is this feature already present on armbian device tree overlay? 

If no, how would one make it? Could someone help drawing the big picture so I know where to start?

 

After having a look at this section : https://docs.armbian.com/Hardware_Allwinner_overlays/

I understand that it would require writing a dt overlay (.dts file) to attribute the different functions to the GPIOs. But then how to write the functions?

I am quite familiar with the LCD datasheet and RGB pins function, the part that is still mistery for me is the driver writing: what file format? what programming language? where to drop the file?

 

Thanks!

Pierre

 

This isn't a feature with the H2/H3 device trees because those CPUs don't have a DPI interface. You could try to use notro's fbtft library using the parallel option to drive your display, but I don't think he has support for RGB24. 

All display interfaces require hardware support (well, except for SPI which is relatively low speed and is not a specialized display interface). H3 supports only HDMI and CVBS display outputs so it's impossible to connect a parallel RGB display without using a HDMI to RGB converter, or using a board based on a different SoC.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.